[O] Babel-R TBLFM example
Hi all, I am looking at the Babel R example in http://orgmode.org/worg/org-tutorials/org-R/org-R.html This short example show how to use code block in Org Tables. The example first makes an org-mode table, which I can follow and reproduce the result: #+name: tbl-example-data() #+begin_src R runif(n=5, min=0, max=1) #+end_src #+RESULTS: tbl-example-data | 0.118510485393927 | | 0.742342338664457 | | 0.438421099446714 | | 0.0867570964619517 | | 0.604204315226525 | Then it defines r source code block and use TBLFM #+name: R-mean(x) #+begin_src R mean(x) #+end_src #+RESULTS: R-mean #+tblname: summaries | mean | || | #ERROR | #+TBLFM: @2$1='(sbe R-mean (x tbl-example-data())) When I export to html(C-c C-e h o), the #+TBLFM seems to be ignored and shows no effect. When I place my cursor in the table and recalculate the table formula using C-u C-c C-c in the table. I got an error as shown above. In the *Message* buffer, I can see the following messages. byte-code: Beginning of buffer [8 times] Re-applying formulas to full table... Re-applying formula to field: @2$1 Re-applying formulas to full table...(line 1) Re-applying formula to field: @2$1 Re-applying formulas to 1 lines...done Re-applying formulas...done [2 times] Any steps I missed? I am using org mode 8.2.6 Also, I found this tutorial for org-R http://orgmode.org/worg/org-tutorials/org-R/org-R.html, however, the org-R-apply function seems no longer available in my org mode 8.2.6. Is org-R supposed to be deprecated? Thanks. Shiyuan
[O] Babel-R vs. ESS
Hi all, I am learning R and use Emacs to work with R. I googled around and I found two options: ESS and Org-R/Org-Babel. Babel speaks multiple languages( Any languages?-if we write some sort of parser, which I assume is not terribly difficult under Babel?). But if R is the primary language I would use, which option (Babel-R vs ESS) is more advisable? I do want a nice integration of graphics/source code into a paper/slides. Any suggestions/options are appreciated. Shiyuan
Re: [O] still seeing semi-regular lockups
Matt Lundin wrote: Eric Abrahamsen e...@ericabrahamsen.net writes: Nicolas Goaziou m...@nicolasgoaziou.fr writes: Eric Abrahamsen e...@ericabrahamsen.net writes: None of those three, I'm afraid! It was hanging on a variety of editing operations that, as far as I can tell, had little in common. There's a possibility that they were list-item-related, but really there wasn't much commonality. FYI, I recently fixed a bug[fn:1] that could introduce uncommon random lockups. Hopefully, it may be related to your problem (which is different from Daimrod's). Thanks for the followup! I was watching Daimrod's thread, and also Matt's most recent posting -- that also seemed more relevant to my problems, which were almost solely confined to log/state notes. I've pulled the fix, and will let you know if I see any more problems. With the latest git, I've experienced three lock-ups/freezes this evening when a) archiving a subtree to a file, b) changing a todo state with repeating timestamp, and 3) calling C-c C-c in an org-capture buffer. (I don't think this is due to a recent change - I've been running into these lockups sporadically for several months.) The freezes are very difficult to replicate reliably. When they happen, emacs is unresponsive and can only be killed from the outside. Any tips on how to debug this would be greatly appreciated. I also still experience semi-regular Emacs infloops, particularly when editing clocking entries manually (with the arrow keys), in the LOGBOOK drawer. It's quite often in such a situation, though not 100% reproducible. Unluckily, these infloops are not stoppable via C-g, as it seems to occur in portions of code where quit is inhibited (see recent comments from Stefan). Current environment: - GNU Emacs 24.4.50.1 (i686-pc-mingw32) of 2014-06-15 on LEG570 - Org-mode version 8.2.7 (release_8.2.7-1119-gfcc51c/) -- though I'll update right now! Best regards, Seb -- Sebastien Vauban
[O] Printing org file in color
I'd like to print out my org file in expanded mode in color. How do I do that? Thanks.
Re: [O] still seeing semi-regular lockups
Matt Lundin m...@imapmail.org writes: Eric Abrahamsen e...@ericabrahamsen.net writes: Nicolas Goaziou m...@nicolasgoaziou.fr writes: Hello, Eric Abrahamsen e...@ericabrahamsen.net writes: None of those three, I'm afraid! It was hanging on a variety of editing operations that, as far as I can tell, had little in common. There's a possibility that they were list-item-related, but really there wasn't much commonality. FYI, I recently fixed a bug[fn:1] that could introduce uncommon random lockups. Hopefully, it may be related to your problem (which is different from Daimrod's). Thanks for the followup! I was watching Daimrod's thread, and also Matt's most recent posting -- that also seemed more relevant to my problems, which were almost solely confined to log/state notes. I've pulled the fix, and will let you know if I see any more problems. With the latest git, I've experienced three lock-ups/freezes this evening when a) archiving a subtree to a file, b) changing a todo state with repeating timestamp, and 3) calling C-c C-c in an org-capture buffer. (I don't think this is due to a recent change - I've been running into these lockups sporadically for several months.) The freezes are very difficult to replicate reliably. When they happen, emacs is unresponsive and can only be killed from the outside. Any tips on how to debug this would be greatly appreciated. See my previous post: http://thread.gmane.org/gmane.emacs.orgmode/86255/focus=86263 You can wrap `jit-lock--debug-fontify' with: (advice-add 'jit-lock--debug-fontify :around (lambda (fun rest args) (with-local-quit (apply fun args and then force emacs to break and display a backtrace by sending the SIGUSR2 to the emacs process. Best, -- Daimrod/Greg
[O] Guide to writing custom skip functions for agenda views using org-agenda-skip-function
Hi, Is there a guide on writing functions for implementing custom skip criteria for agenda items using org-agenda-skip-function ? I understand the basic premise behind org-agenda-skip-function but examples from other people's configs don't make much sense. What are the inputs to the skip function, there seem to be none. If so, how do I figure out which entry is the skip function is being called on and how do I evaluate predicates over that entry ? e.g. I'd like to have a skip function that skips entries only if they are scheduled *in the future*. How would I go about implementing such a function ? Thanks, Arunabha
Re: [O] still seeing semi-regular lockups
Daimrod daim...@gmail.com writes: Matt Lundin m...@imapmail.org writes: Eric Abrahamsen e...@ericabrahamsen.net writes: Nicolas Goaziou m...@nicolasgoaziou.fr writes: Hello, Eric Abrahamsen e...@ericabrahamsen.net writes: None of those three, I'm afraid! It was hanging on a variety of editing operations that, as far as I can tell, had little in common. There's a possibility that they were list-item-related, but really there wasn't much commonality. FYI, I recently fixed a bug[fn:1] that could introduce uncommon random lockups. Hopefully, it may be related to your problem (which is different from Daimrod's). Thanks for the followup! I was watching Daimrod's thread, and also Matt's most recent posting -- that also seemed more relevant to my problems, which were almost solely confined to log/state notes. I've pulled the fix, and will let you know if I see any more problems. With the latest git, I've experienced three lock-ups/freezes this evening when a) archiving a subtree to a file, b) changing a todo state with repeating timestamp, and 3) calling C-c C-c in an org-capture buffer. (I don't think this is due to a recent change - I've been running into these lockups sporadically for several months.) The freezes are very difficult to replicate reliably. When they happen, emacs is unresponsive and can only be killed from the outside. Any tips on how to debug this would be greatly appreciated. See my previous post: http://thread.gmane.org/gmane.emacs.orgmode/86255/focus=86263 You can wrap `jit-lock--debug-fontify' with: (advice-add 'jit-lock--debug-fontify :around (lambda (fun rest args) (with-local-quit (apply fun args and then force emacs to break and display a backtrace by sending the SIGUSR2 to the emacs process. I think the advice here was also to run Org uncompiled, as that produces a more useful backtrace, is that right? A couple of times I've gotten SIGUSR2 to knock emacs out of a lock, but it was only while I was running a compiled org. The one time I was running uncompiled and got a lock, even SIGUSR2 couldn't bring it back...
Re: [O] Printing org file in color
Hi Chris, Chris Henderson henders...@gmail.com writes: I'd like to print out my org file in expanded mode in color. How do I do that? I suggest M-x htmlize-buffer RET then printing from your web browser. -- Bastien
Re: [O] still seeing semi-regular lockups
Hi Eric, Eric Abrahamsen e...@ericabrahamsen.net writes: I think the advice here was also to run Org uncompiled, as that produces a more useful backtrace, is that right? Yes, that's right -- generally, backtraces from compiled Org are mungled, while backtraces from an uncompiled Org are readable. A couple of times I've gotten SIGUSR2 to knock emacs out of a lock, but it was only while I was running a compiled org. The one time I was running uncompiled and got a lock, even SIGUSR2 couldn't bring it back... Yes, compilation does not affect whether or not you can escape a lock. -- Bastien
Re: [O] Enabling another language in org-babel
Hi Ista, Ista Zahn istaz...@gmail.com writes: The code is available at https://gist.github.com/izahn/5745dcf6dd07a6b05084 Looks good -- would you like to add it to the contrib/ directory in Org's repository? As for the original question, I think it would be a nice addition, let's put it somewhere on our collective TODO list :) -- Bastien
[O] How to deactivate key binding ! for org-agenda-toggle-deadlines?
Hi, Id like to deactivate the key binding ! (which is bound to org-agenda-toggle-deadlines) in agendas, as I often hit it accidentally and then my deadlines have suddenly disappeared. Where is it defined and how can I deactivate it? Thanks a lot and sorry for the (I assume) trivial question. Kind regards Martin
Re: [O] impossible to have footnote touching verbatim
Eric Schulte schulte.e...@gmail.com writes: Done. Thanks for this. I agree with Nicolas that small changes like this won't encourage a structural change by themselves, but they do not harm either, so let's not refrain from making them. -- Bastien
Re: [O] [PATCH] ob-shell: honor the specified shell for :session
Hi Achim, thanks for this. Achim Gratz strom...@nexgo.de writes: In the case you mention above shell-file-name is used. Which means that if you change it in a running emacs session, then it will be picked up for shell blocks (as one might reasonably expect), whereas you would have had to change org-babel-sh-command before. None of that was documented anyway (and still isn't). In the perspective of Org 8.3, we need to start updating etc/ORG-NEWS. Regardless of whether this was documented in the official manual or not, a note in ORG-NEWS would be useful -- feel free to start editing this file. -- Bastien
Re: [O] still seeing semi-regular lockups
Bastien b...@gnu.org writes: Hi Eric, Eric Abrahamsen e...@ericabrahamsen.net writes: I think the advice here was also to run Org uncompiled, as that produces a more useful backtrace, is that right? Yes, that's right -- generally, backtraces from compiled Org are mungled, while backtraces from an uncompiled Org are readable. A couple of times I've gotten SIGUSR2 to knock emacs out of a lock, but it was only while I was running a compiled org. The one time I was running uncompiled and got a lock, even SIGUSR2 couldn't bring it back... Yes, compilation does not affect whether or not you can escape a lock. Right, I didn't mean to imply that, just that SIGUSR2 doesn't always bring it back from the dead...
Re: [O] [PATCH] ob-java.el: Add `:var' variables import
Hi Bart, Thanks for the patch. It is larger than what we can apply into Org's core without a copyright assignment. You can start the process of signing by filling this form: http://orgmode.org/cgit.cgi/org-mode.git/plain/request-assign-future.txt In the meantime, if someone who speaks java can review the patch, that'd be great! Thanks, -- Bastien
Re: [O] Guide to writing custom skip functions for agenda views using org-agenda-skip-function
Arunabha Ghosh wrote: Is there a guide on writing functions for implementing custom skip criteria for agenda items using org-agenda-skip-function ? I understand the basic premise behind org-agenda-skip-function but examples from other people's configs don't make much sense. Here some working examples extracted from my config: --8---cut here---start-8--- ... (org-agenda-skip-function '(org-agenda-skip-entry-if 'notdeadline)) --8---cut here---end---8--- and --8---cut here---start-8--- ... (org-agenda-skip-function '(org-agenda-skip-entry-when-regexp-matches)) (org-agenda-skip-regexp \\[#A\\]))) --8---cut here---end---8--- A more complex one: --8---cut here---start-8--- (add-to-list 'org-agenda-custom-commands `(r All active tasks, by due date ((agenda ((org-agenda-overriding-header Today) ;; !FIXME! We don't see timed DEADLINE (org-agenda-skip-function (lambda () (let* ((dl (org-entry-get nil DEADLINE))) (if (or (not dl) (equal dl ) (org-time dl (org-time-today))) (progn (outline-next-heading) (point)) (org-agenda-skip-scheduled-if-deadline-is-shown t) (org-agenda-span 'day) (org-deadline-warning-days 0)) --8---cut here---end---8--- Best regards, Seb -- Sebastien Vauban
Re: [O] Invalid function
Hi Thomas, t...@tsdye.com (Thomas S. Dye) writes: What's going on? Do you still see this errors? Worg suggests that the invalid function problem might be solved by running make clean and then make again, but doing this didn't help me. Can you try reinstalling by first remove local.mk or regenerating it with ~$ make config ? -- Bastien
Re: [O] eliminate creation of backup files in :publishing-directory
regcl re...@channing.harvard.edu writes: Is there a way to stop org mode from creating backup files in the :publishing-directory? What are backup files exactly? There is `org-publish-after-publishing-hook' which may help cleaning up stuff if needed. -- Bastien
Re: [O] :exclude sub folder in org-publish
regcl re...@channing.harvard.edu writes: Or, maybe there something obvious I am missing? Please tell us what you wanted to do, show us what you tried by sharing parts of your configuration, and we'll be able to help. -- Bastien
Re: [O] publishing to gihub gh-pages branch
regcl re...@channing.harvard.edu writes: Does anyone have suggestions regarding how to automate HTML publishing to the gh-pages branch of a github repo? There are several solutions here. What did you try? -- Bastien
Re: [O] org-ref in action
Hi John, thanks for working on this! The demo is impressive. I've not explored or tested org-ref.el directly, but my feeling is that there are some neat features that could sneak into Org's core, like for example multiple targets for the same custom link, sorting of those targets, etc. I'll have a closer look ASAP -- thanks again, -- Bastien
Re: [O] How to deactivate key binding ! for org-agenda-toggle-deadlines?
Hi Martin, Martin Beck elwood...@web.de writes: I'd like to deactivate the key binding ! (which is bound to org-agenda-toggle-deadlines) in agendas, (add-hook 'org-agenda-mode-hook (lambda () (local-unset-key !))) -- Bastien
Re: [O] Tidy automatically HTML files
Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org writes: Though, when executed interactively on an HTML buffer, it does work as expected. I don't get what's wrong... Maybe one of you can have an idea? What's wrong is that (with-output-to-string (shell-command-on-region ...)) will not give you what you want, since the output of (shell-command-on-region ...) is not sent to standard-output. -- Bastien
Re: [O] Section of Org manual on images in latex export
Hi Christopher, Nick Dokos ndo...@gmail.com writes: Christopher Witte ch...@witte.net.au writes: ps. I tried to find out if I could make those changes myself, but after much clicking and searching, I could only find: http://orgmode.org/worg/org-contribute.html but that doesn't say anything about contributing to the documentation. Even so, it does apply to the documentation as well. Yes, exactly. The basic workflow is pretty simple. C-x C-f ~/org-from-git/doc/org.texi RET [hack hack hack] C-x v = C-x s enhance-documentation-for-x.patch then send the patch to the list. Other workflows (with git-format-patch) are preferred but this is the simplest one. Thanks in advance for the patch! -- Bastien
Re: [O] Link to Top Most Heading
Hi Esben Esben Stien b...@esben-stien.name writes: I'm trying to figure out how I can get a link to the top most heading without actually moving point up there and doing C-c C-l. (defun my-org-store-link-to-top-level-heading () (interactive) (save-excursion (org-up-heading-all 10) (call-interactively 'org-store-link))) HTH, -- Bastien
Re: [O] Babel-R vs. ESS
Shiyuan gshy2...@gmail.com writes: Hi all, I am learning R and use Emacs to work with R. I googled around and I found two options: ESS and Org-R/Org-Babel. Babel speaks multiple languages( Any languages?-if we write some sort of parser, which I assume is not terribly difficult under Babel?). But if R is the primary language I would use, which option (Babel-R vs ESS) is more advisable? I do want a nice integration of graphics/source code into a paper/slides. Any suggestions/options are appreciated. When you write a paper or slides Org(-Babel) is your best friend, I would say. When its more about R programming with some sophisticated documentation you could use outshine.el + outorg.el alternatively. With Org, you are in a text-mode and have your (multi-language) code 'hidden' in source-blocks. For editing code, you switch to temporary buffers in the programming-language mode. With OutshineOutorg, you are in a programming-mode (ESS[R]) and have your documentation 'hidden' as comments. For editing (comment-) text, you switch to a temporary edit buffer in org-mode. I think there is even a third option, i.e. just using ESS[R] and nothing else, I remember reading it has some multi-mode capabilities for literate programming with sweave, but I'm not sure. -- cheers, Thorsten
Re: [O] [PATCH] ob-java.el: Add `:var' variables import
Hi Bastien, Thanks for your reply! I already started the copyright assignment process, for now I need to wait for a disclaimer form from my employer, but I will notify you as soon as there is progress. While discussing the patch with a roommate, we came to the conclusion that a java class which implements, extends or throws, may not compile correctly with the added data. So the patch will need some rework, or documentation about (im-)possible usage situations. In any way, there will be more! Regards, Bart On Wed, Jun 25, 2014 at 10:44 AM, Bastien b...@gnu.org wrote: Hi Bart, Thanks for the patch. It is larger than what we can apply into Org's core without a copyright assignment. You can start the process of signing by filling this form: http://orgmode.org/cgit.cgi/org-mode.git/plain/request-assign-future.txt In the meantime, if someone who speaks java can review the patch, that'd be great! Thanks, -- Bastien
Re: [O] Link to Top Most Heading
Bastien b...@gnu.org writes: (defun my-org-store-link-to-top-level-heading () (interactive) (save-excursion (org-up-heading-all 10) (call-interactively 'org-store-link))) Perfect. So simple with org-up-heading-all. Didn't find that. Thanks a lot. Saves me so much time;) -- Esben Stien is b0ef@e s a http://www. s tn m irc://irc. b - i . e/%23contact sip:b0ef@ e e jid:b0ef@n n
[O] Automatically Increasing Priority
Does there exist such a concept of automatically increasing priority after a while? Or also decreasing priority. I find that I prioritize stuff and never get to it because I got so many other things with higher priority. Maybe I'm wrong, but automatically increasing priority after a while seems logical at this point in my life;) -- Esben Stien is b0ef@e s a http://www. s tn m irc://irc. b - i . e/%23contact sip:b0ef@ e e jid:b0ef@n n
[O] Rebuilding agenda causes error
Hi As soon as I want to rebuild an agenda view, I get the following error Rebuilding agenda buffer... cond: Variable binding depth exceeds max-specpdl-size Any idea what I am doing wrong (I don't know if it started after updating to the last version of Org-Mode). Using Emacs 24.3.1 Thanks Renger _ Renger van Nieuwkoop Centre of Economic Research (CER-ETH) Zürichbergstrasse 18 (ZUE) CH - 8032 Zürich +41 44 632 02 63 mailto: reng...@etzh.ch blog.modelworks.ch
[O] [Latex] Don't push code blocks to end of document (was: Source blocks with captions)
On 2014-06-24 14:31 Alexander Baier wrote: [...] With this code: * Test #+CAPTION: Test #+BEGIN_SRC java // some code #+END_SRC I get a figure with a caption when exporting to LaTeX: \section{Test} \label{sec-1} \begin{figure}[H] \begin{verbatim} // some code \end{verbatim}\caption{Test} \end{figure} You don't need to name the source code block, although it is typically a good idea to do so. I always only looked at the generated PDF to see if there was a caption added. When opening the generated .tex file I found the same code you are seeing. It seems the document class I am using just drops the caption. The class in question is LLNCS, does anyone know why this could happen? In fact, the document class does not drop those captions, it just moves the listings to the end of the document, where I did not see them. How do I prevent this from happening? It is not much use to me if _all_ my listings are pushed to the very end of my document. I would like latex to place them in the vicinity of where I defined my code block in org. This is the test file showing the behaviour described above: #+LANGUAGE: de #+OPTIONS: tasks:nil num:3 toc:nil ':t :t #+LATEX_CLASS: llncs #+TITLE: Test * A headline Some words before the source code block. For good measure, here is a link to listing [[src:foo]]. #+NAME: src:foo #+CAPTION: test caption. #+BEGIN_SRC java interface Foo { void bar(); } #+END_SRC And some words after the block. Thanks, -- Alexander Baier
Re: [O] [Latex] Don't push code blocks to end of document
Hello again, this is another follow up, I am sorry for so much noise. On 2014-06-25 13:20 Alexander Baier wrote: On 2014-06-24 14:31 Alexander Baier wrote: [...] With this code: * Test #+CAPTION: Test #+BEGIN_SRC java // some code #+END_SRC I get a figure with a caption when exporting to LaTeX: \section{Test} \label{sec-1} \begin{figure}[H] \begin{verbatim} // some code \end{verbatim}\caption{Test} \end{figure} You don't need to name the source code block, although it is typically a good idea to do so. I always only looked at the generated PDF to see if there was a caption added. When opening the generated .tex file I found the same code you are seeing. It seems the document class I am using just drops the caption. The class in question is LLNCS, does anyone know why this could happen? In fact, the document class does not drop those captions, it just moves the listings to the end of the document, where I did not see them. How do I prevent this from happening? It is not much use to me if _all_ my listings are pushed to the very end of my document. I would like latex to place them in the vicinity of where I defined my code block in org. I fixed this by using the listings package. I set org-latex-listings to true and followed the instructions in the doc string of said variable. Now, my code blocks are placed where I want them and are even syntax highlighted! [...] Regards, -- Alexander Baier
Re: [O] Invalid function
Bastien bzg at gnu.org writes: Can you try reinstalling by first remove local.mk or regenerating it with ~$ make config ? The local.mk is never touched if one exists, make config simply shows you the most important settings there. In any case, the error was most likely caused by an incorrect defcustom entry that was corrected a few hours later. Regards, Achim.
Re: [O] Enabling another language in org-babel
Hi Bastien, I don't know if this is ready for contrib yet (though I don't object if you think it is). I'm not sure what quality standards exist for contrib, but this is really quick and dirty; it would be nice to at least implement graphics support. On the other hand its better than nothing, so maybe it does make sense to add it to contrib. Also I'm not sure what the development process is once things go in contrib (sorry for my ignorance!). Does contrib live in the same code repository as the rest of org, or are things in contrib developed separately and pulled in later? In short feel free to add it to contrib if you want, but be aware that it is in pretty rough shape. Best, Ista On Wed, Jun 25, 2014 at 4:33 AM, Bastien b...@gnu.org wrote: Hi Ista, Ista Zahn istaz...@gmail.com writes: The code is available at https://gist.github.com/izahn/5745dcf6dd07a6b05084 Looks good -- would you like to add it to the contrib/ directory in Org's repository? As for the original question, I think it would be a nice addition, let's put it somewhere on our collective TODO list :) -- Bastien
Re: [O] still seeing semi-regular lockups
Daimrod daim...@gmail.com writes: Matt Lundin m...@imapmail.org writes: The freezes are very difficult to replicate reliably. When they happen, emacs is unresponsive and can only be killed from the outside. Any tips on how to debug this would be greatly appreciated. See my previous post: http://thread.gmane.org/gmane.emacs.orgmode/86255/focus=86263 You can wrap `jit-lock--debug-fontify' with: (advice-add 'jit-lock--debug-fontify :around (lambda (fun rest args) (with-local-quit (apply fun args and then force emacs to break and display a backtrace by sending the SIGUSR2 to the emacs process. Thanks, that's helpful. It seems jit-lock--debug-fontify is the development emacs. I'll build that in a moment... For the record, I've been seeing these lockups with stable releases of emacs (currently 24.3). Thanks, Matt
[O] Attaching hook to subtree
Hi list, I wonder if someone has already tried the following. It could be useful to trigger some action whenever a subtree is modified. This would require to attach a hook to the subtree, which can be done using a property drawer. The real problem is how to (efficiently) track the fact that some subtree has been modified? Maybe by keeping an md5 sum and checking if it has changed when writing the file. Any other idea? Thanks for your inputs, -- Fabrice
Re: [O] Babel-R vs. ESS
Hi Shiyuan, On Wed, Jun 25, 2014 at 3:08 AM, Shiyuan gshy2...@gmail.com wrote: Hi all, I am learning R and use Emacs to work with R. I googled around and I found two options: ESS and Org-R/Org-Babel. Org-Babel and ESS are not really alternatives; in fact the complement each other nicely. Org gives you a lightweight markup language, and a way to embed source code blocks. You can edit/evaluate/test R source code blocks using ESS. Babel speaks multiple languages( Any languages?-if we write some sort of parser, which I assume is not terribly difficult under Babel?). But if R is the primary language I would use, which option (Babel-R vs ESS) is more advisable? I do want a nice integration of graphics/source code into a paper/slides. Basically if you're using R in emacs you want to be using ESS. You can also use org-mode to easily create reports, slides, etc. with embedded R code. Best, Ista Any suggestions/options are appreciated. Shiyuan
Re: [O] unattractive list spacing in ox-html export
On 2014-06-24 09:24, Nicolas Goaziou wrote: Hello, Achim Gratz strom...@nexgo.de writes: You can disagree all you want, that doesn't make the underlying problem go away. The reason for the unattractive spacing is that list items, while conceptually paragraphs, do not have additional spacing after them so the list becomes more compact. The W3C doesn't really encourage to use lists with paragraphs, but if you do (like Org), an explicit paragraph inside a list environment either should also not have that spacing or should have it at the beginning (in which case the first paragraph must be implicit). So you'll have to modify the CSS anyway or the lists are still having ugly spacing. Your patch only makes it consistently ugly as soon as there is a single explicit paragraph needed. So, would a better solution be to remove the patch and tweak default CSS so it provides better spacing for paragraphs in li tags? Yes. But arguably, in a multi-paragraph list item, the first paragraph should be explicit and not implicit --- hence my previous suggestion to wrap all list items longer that [X] in an explicit paragraph. rick
Re: [O] Babel-R vs. ESS
+1 for Ista. Use both. I tend to write a lot of R code for reading in data, and then merging it with other sources and cleaning it. For my purposes, I usually do those activities in a .R file (so using ESS in Emacs), and output a 'tidy' data.frame ready for analysis. Then I might use org-mode to write a report using the data prepared in the .R script(s). Related, if you haven't checked out knitr, you might look at that too. It allows you to create reports in markdown and embed R code, similar to org-mode. Somewhere I have support for this in ESS, but it's been a while since I looked at it. Slidify is another cool package, using markdown to create HTML slides. On Wed, Jun 25, 2014 at 9:31 AM, Ista Zahn istaz...@gmail.com wrote: Hi Shiyuan, On Wed, Jun 25, 2014 at 3:08 AM, Shiyuan gshy2...@gmail.com wrote: Hi all, I am learning R and use Emacs to work with R. I googled around and I found two options: ESS and Org-R/Org-Babel. Org-Babel and ESS are not really alternatives; in fact the complement each other nicely. Org gives you a lightweight markup language, and a way to embed source code blocks. You can edit/evaluate/test R source code blocks using ESS. Babel speaks multiple languages( Any languages?-if we write some sort of parser, which I assume is not terribly difficult under Babel?). But if R is the primary language I would use, which option (Babel-R vs ESS) is more advisable? I do want a nice integration of graphics/source code into a paper/slides. Basically if you're using R in emacs you want to be using ESS. You can also use org-mode to easily create reports, slides, etc. with embedded R code. Best, Ista Any suggestions/options are appreciated. Shiyuan
[O] [PATCH] org-taskjuggler.el - add valid project attributes
From bc21dacd0bb400c5bb92acff9bbf2d00560f1c92 Mon Sep 17 00:00:00 2001 From: tj t...@data-driven.de Date: Wed, 25 Jun 2014 16:27:42 +0200 Subject: [PATCH] Taskjuggler: Add valid project attributes * ox-taskjuggler.el (org-taskjuggler--build-project): Insert all valid attributes from project. * ox-taskjuggler.el (org-taskjuggler--build-attributes): Add project as possible ITEM to docstring. * ox-taskjuggler.el (org-taskjuggler-valid-project-attributes): New defcustom. As reported by Nick Garber, project attributes like 'timingresolution' could not be changed via Org-mode properties. This patch makes the exporter treat project-attributes just like it treats task-, resource- and report-attributes. --- contrib/lisp/ox-taskjuggler.el | 52 ++ 1 file changed, 37 insertions(+), 15 deletions(-) diff --git a/contrib/lisp/ox-taskjuggler.el b/contrib/lisp/ox-taskjuggler.el index 761e180..b3a691a 100644 --- a/contrib/lisp/ox-taskjuggler.el +++ b/contrib/lisp/ox-taskjuggler.el @@ -310,6 +310,19 @@ If one of these appears as a property for a headline, it will be exported with the corresponding task. :group 'org-export-taskjuggler) +(defcustom org-taskjuggler-valid-project-attributes + '(timingresolution timezone alertlevels currency currencyformat + dailyworkinghours extend includejournalentry now numberformat + outputdir scenario shorttimeformat timeformat trackingscenario + weekstartsmonday weekstartssunday workinghours + yearlyworkingdays) + Valid attributes for Taskjuggler project. +If one of these appears as a property for a headline that is a +project definition, it will be exported with the corresponding +task. Attribute 'timingresolution' should be the first in the +list. + :group 'org-export-taskjuggler) + (defcustom org-taskjuggler-valid-resource-attributes '(limits vacation shift booking efficiency journalentry rate workinghours flags) @@ -483,9 +496,9 @@ Return new string. If S is the empty string, return it. (if (equal s) s (replace-regexp-in-string ^ *\\S- \\ s))) (defun org-taskjuggler--build-attributes (item attributes) - Return attributes string for task, resource or report ITEM. -ITEM is a headline. ATTRIBUTES is a list of symbols -representing valid attributes for ITEM. + Return attributes string for ITEM. +ITEM is a project, task, resource or report headline. ATTRIBUTES +is a list of symbols representing valid attributes for ITEM. (mapconcat (lambda (attribute) (let ((value (org-element-property @@ -715,18 +728,27 @@ PROJECT is a headline. INFO is a plist used as a communication channel. If no start date is specified, start today. If no end date is specified, end `org-taskjuggler-default-project-duration' days from now. - (format project %s \%s\ \%s\ %s %s {\n}\n - (org-taskjuggler-get-id project info) - (org-taskjuggler-get-name project) - ;; Version is obtained through :TASKJUGGLER_VERSION: - ;; property or `org-taskjuggler-default-project-version'. - (or (org-element-property :VERSION project) - org-taskjuggler-default-project-version) - (or (org-taskjuggler-get-start project) - (format-time-string %Y-%m-%d)) - (let ((end (org-taskjuggler-get-end project))) -(or (and end (format - %s end)) -(format +%sd org-taskjuggler-default-project-duration) + (concat + ;; Opening project. + (format project %s \%s\ \%s\ %s %s {\n + (org-taskjuggler-get-id project info) + (org-taskjuggler-get-name project) + ;; Version is obtained through :TASKJUGGLER_VERSION: + ;; property or `org-taskjuggler-default-project-version'. + (or (org-element-property :VERSION project) + org-taskjuggler-default-project-version) + (or (org-taskjuggler-get-start project) + (format-time-string %Y-%m-%d)) + (let ((end (org-taskjuggler-get-end project))) + (or (and end (format - %s end)) + (format +%sd + org-taskjuggler-default-project-duration + ;; Add attributes. + (org-taskjuggler--indent-string +(org-taskjuggler--build-attributes + project org-taskjuggler-valid-project-attributes)) + ;; Closing project. + }\n)) (defun org-taskjuggler--build-resource (resource info) Return a resource declaration. -- 2.0.0 -- cheers, Thorsten
Re: [O] ox taskjuggler issues: (1) unable to set 'timingresolution' (2) taskjuggler_resource not found (3) property/attribute aliases
Nick Garber nick.gar...@gmail.com writes: Hello, In exploring the use of OrgMode for advanced project planning I've run across a few questions/problems with the taskjuggler exporter that I'd like to raise. (1) unable to set 'timingresolution' My project contains some short tasks, such as brief but required meetings, that are less than the default timing resolution of 60 mins and so causes the Taskjuggler export-and-process to fail with EM: TaskJuggler failed with errors: Error: Effort value must at least as large as the timing resolution (60min). I'd like to set the default value for the attribute to 5 min, the minimum value, but apparently a facility for this is not provided via orgmode. What I'm doing so far is creating the .tjp file, editing in this value, then exporting with =tj3 somefile.tjp= from the command line, and this _does_ work, but is awkward and hopefully avoidable. This might be most sensibly resolved by adding an, 'Org Export Taskjuggler Default Project Attributes' variable to those available via M-x customize-group org-export-taskjuggler . I'm going to submit a patch for this. (2) taskjuggler_resource not found When specifying the OrgMode heading where the project resources will live with the :taskjuggler_resource: tag, I've found that this tag is not exported unless it is attached to a top level headline. To work around this I've moved the project's tree from it's main .org file, in order to promote the * Project Resource Info headline without disrupting my normal and thus precious ;-) headline schema. I didn't see attach to first-level headline described as a resource export requirement and thought it unusual enough to mention in case it is not an intended limitation. Seems to be an intended limitation, see this comment in the sources , | (let ((main-resourc |;; Collect contents from various trees marked with |;; `org-taskjuggler-resource-tag'. Only gather top level |;; resources. ...))) ` This is because the mapping function following this comment ,[ C-h f org-element-map RET ] | org-element-map is a compiled Lisp function in `org-element.el'. | | (org-element-map DATA TYPES FUN optional INFO FIRST-MATCH | NO-RECURSION WITH-AFFILIATED) ` sets 'headline as NO-RECURSION argument. This could easily be dropped, but I don't know which implications and side-effects this would have. -- cheers, Thorsten
Re: [O] org-ref in action
John, Thanks for a very interesting tutorial. I was trying to load org-ref.el, but get the following error: Debugger entered--Lisp error: (wrong-type-argument consp nil) setcar(nil ((87 . textcite:%l) (122 . newcite:%l))) (let* ((c (nthcdr 2 (assoc (quote org) reftex-cite-format-builtin (setcar c (append (nth 2 (assoc (quote org) reftex-cite-format-builtin)) (quote ((87 . textcite:%l) (122 . newcite:%l)) eval-buffer() ; Reading at buffer position 194 call-interactively(eval-buffer record nil) command-execute(eval-buffer record) execute-extended-command(nil eval-buffer) call-interactively(execute-extended-command nil nil) Am I missing something? Vikas On 24-Jun-2014, at 8:45 pm, John Kitchin jkitc...@andrew.cmu.edu wrote: Hello everyone, org-ref has basically stabilized. You can get the latest code at https://github.com/jkitchin/jmax/blob/master/org-ref.org. I made a little screen capture video here to show you what it does: https://www.youtube.com/watch?v=JyvpSVl4_dg Try it out, if it looks interesting, and let me know if you find any bugs! Thanks, -- --- John Kitchin
Re: [O] Invalid function
Bastien b...@gnu.org writes: Hi Thomas, t...@tsdye.com (Thomas S. Dye) writes: What's going on? Do you still see this errors? No, the errors are gone. Thanks for following up. All the best, Tom -- T.S. Dye Colleagues, Archaeologists 735 Bishop St, Suite 315, Honolulu, HI 96813 Tel: 808-529-0866, Fax: 808-529-0884 http://www.tsdye.com
Re: [O] Automatically Increasing Priority
Hi Esben, Esben Stien b...@esben-stien.name writes: Does there exist such a concept of automatically increasing priority after a while? I'm not aware of any way of automatically changing the priority of a headline, though if you really need this, it looks like it would be fairly simple to do it in Elisp using the `org-map-entries' and `org-priority' functions. I have the same problem you do: the priorities feature does not really map well onto my work. I used to capture a priority with every item, but I've recently stopped doing that because I found it didn't make sense for me. I think it makes more sense to assign priorities manually, when you're in a context of figuring out which tasks to work on, rather than in a context of recording tasks to be done in the future. I suggest that, if you aren't doing this already, you put deadlines on your TODO items, rather than priorities, and then sort the agenda by deadline. This has the advantage that it `prioritizes' all your tasks in a natural way in the agenda: anything due soon (or past due) comes up before things that are due later on. So if you assign every task an initial deadline, its `priority' will go up automatically, as time passes. When it comes due, you can always readjust the deadline if your initial estimate didn't work out. It's also useful, I think, to make one of your tasks a recurring weekly review: go through all your other tasks, make sure you still want to do them, adjust deadlines as necessary, etc. If you find you still want priority cookies in addition to deadlines, you could assign them during this review for tasks due in the upcoming week. At that point, you'll be in a context where assigning priorities to these items makes more sense, since you'll be looking at the other tasks each task competes with. Hope that helps! Best, Richard (If possible, please encrypt your reply to me using my PGP key: Key ID: CF6FA646 Fingerprint: 9969 43E1 CF6F A646. See http://www.ocf.berkeley.edu/~rwl/encryption.html for more information.)
Re: [O] Babel-R vs. ESS
Shiyuan, Babel-R uses ESS (session: parameter) for R-evaluation and interactive development/debugging. Babel-R is more than sufficient for publications with mixed text and graphs. regards, Joost Shiyuan == Shiyuan gshy2...@gmail.com writes: From: Shiyuan gshy2...@gmail.com To: emacs-orgmode@gnu.org Subject: [O] Babel-R vs. ESS Date: 2014-06-25T09:08:29+0200 Hi all, I am learning R and use Emacs to work with R. I googled around and I found two options: ESS and Org-R/Org-Babel. Babel speaks multiple languages( Any languages?-if we write some sort of parser, which I assume is not terribly difficult under Babel?). But if R is the primary language I would use, which option (Babel-R vs ESS) is more advisable? I do want a nice integration of graphics/source code into a paper/slides. Any suggestions/options are appreciated. Shiyuan -- Snow B.V.
[O] Massive tangle speedup in the 8.2.7a release
Hi, Just want to share what I experienced: Tangle time sped up by 50%! Thank you for that. Kind regards, Grant Rettke | ACM, ASA, FSF, IEEE, SIAM g...@wisdomandwonder.com | http://www.wisdomandwonder.com/ “Wisdom begins in wonder.” --Socrates ((λ (x) (x x)) (λ (x) (x x))) “Life has become immeasurably better since I have been forced to stop taking it seriously.” --Thompson
Re: [O] MobileOrg
Sean Escriva sean.escr...@gmail.com writes: org-mobile.el which is responsible for the sync has a custom var defined called 'org-mobile-files-exclude-regexp' which should exlude files that match. OK. I've tried to play with this, but clearly my understanding of emacs and regex is inadequate for this. Ideally I would like to exclude all of the files except for two, agenda.org and organizer.org. Alternatively, is there a way to list all files you want excluded in the regex match pattern? I tried [[:name.of.file:]][[:name.of.another:]] but it didn't like that. I can exclude a single file just by putting it's name in, but I am not clear on how to make a list of files to exclude. Thanks, Aric -- ~O /\_, ###-\ |_ (*) / (*)
Re: [O] MobileOrg
Aric Gregson aorc...@mac.com writes: Sean Escriva sean.escr...@gmail.com writes: org-mobile.el which is responsible for the sync has a custom var defined called 'org-mobile-files-exclude-regexp' which should exlude files that match. OK. I've tried to play with this, but clearly my understanding of emacs and regex is inadequate for this. Ideally I would like to exclude all of the files except for two, agenda.org and organizer.org. Alternatively, is there a way to list all files you want excluded in the regex match pattern? I tried [[:name.of.file:]][[:name.of.another:]] but it didn't like that. I can exclude a single file just by putting it's name in, but I am not clear on how to make a list of files to exclude. Instead of starting with everything and trying to exclude most of them, go the other way: start with nothing and include just what you want: C-h v org-mobile-files RET Something like this: (setq org-mobile-files '(/path/to/agenda.org /path/to/organizer.org)) Nick
[O] BUG variable expansion with table
Hi there seems to be a bug in the table transfer. The org file below evaluates as shown, i.e. the TABLE_BLOCK contains one column less then it should as the first column is discarded and the second one used as the row names. This only occurs when there is a second variable defined. When the second variable is not passed, the code works (see second example below). I did not get far when debugging, only that in the function org-babel-R-assign-elisp when assigning TABLE_FILE the rownames are missing in the =value=. Rainer First example: --8---cut here---start-8--- #+PROPERTY: rownames yes #+PROPERTY: colnames yes #+NAME: TABLE | | name | description| |--+--+| | annee| year | Year of simulation | | id | ipoints_Qdiv | Point Number | | iespece | species | species number | | scenario | scenario | Type of forest | #+PROPERTY: var TABLE_FILE=TABLE #+PROPERTY: var+ float=123.45 * Data Assessment Results #+HEADERS: :var TABLE_BLOCK=TABLE #+HEADERS: :rownames yes #+HEADERS: :colnames yes #+begin_src R :results output wrap TABLE_FILE TABLE_BLOCK #+end_src #+RESULTS: :RESULTS: namedescription anneeyear Year of simulation id ipoints_Qdiv Point Number iespece species species number scenario scenario Type of forest Year.of.simulation ipoints_Qdiv Point Number species species number scenario Type of forest :END: --8---cut here---end---8--- Second example: --8---cut here---start-8--- #+PROPERTY: rownames yes #+PROPERTY: colnames yes #+NAME: TABLE | | name | description| |--+--+| | annee| year | Year of simulation | | id | ipoints_Qdiv | Point Number | | iespece | species | species number | | scenario | scenario | Type of forest | #+PROPERTY: var TABLE_FILE=TABLE #+ PROPERTY: var+ float=123.45 * Data Assessment Results #+HEADERS: :var TABLE_BLOCK=TABLE #+HEADERS: :rownames yes #+HEADERS: :colnames yes #+begin_src R :results output wrap TABLE_FILE TABLE_BLOCK #+end_src #+RESULTS: :RESULTS: namedescription anneeyear Year of simulation id ipoints_Qdiv Point Number iespece species species number scenario scenario Type of forest namedescription anneeyear Year of simulation id ipoints_Qdiv Point Number iespece species species number scenario scenario Type of forest :END: --8---cut here---end---8--- -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D):+49 - (0)3 21 21 25 22 44 email: rai...@krugs.de Skype: RMkrug PGP: 0x0F52F982 pgpKCZv5YIVzt.pgp Description: PGP signature
Re: [O] Linked tasks
it seems to me that it's more 'depend' in the sense of 'this task has to be done for this other task to be doable'. IIRC, the TRIGGER property in org-depend.el allows you to change the state of another tree when the current one is marked done. I imagine you could use it to have a clone task in another tree that is TRIGGERed to change to done when the other is. Example * Some tree ** TODO Update CV :PROPERTIES: :TRIGGER: cv-clone(DONE) :END: * Some other tree ** TODO Update CV clone :PROPERTIES: :ID: cv-clone :END:
Re: [O] org-ref in action
John Kitchin jkitc...@andrew.cmu.edu writes: Hello everyone, org-ref has basically stabilized. You can get the latest code at https://github.com/jkitchin/jmax/blob/master/org-ref.org. I made a little screen capture video here to show you what it does: https://www.youtube.com/watch?v=JyvpSVl4_dg Try it out, if it looks interesting, and let me know if you find any bugs! Thanks, Great, This is a lot of useful functionality, and very nicely presented. Did you happen to try the built in bibtex support in Org-mode core and contrib? And if so, is there a reason that you implemented this all independently? I think part of the problem with existing Org-mode bibtex support is that no-one knows it exists. To help address this I threw up a very quick-and-dirty screen cast demonstrating some of Org's existing bibtex functionality. https://vimeo.com/99167082 Best, Eric -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D (see https://u.fsf.org/yw)
[O] :header-args: over several lines?
Hi I want to add many variables to a subtree. But it seems that :header-args: only allows one line - is this true? In my case, this line would be exceedingly long and very difficult to debug. Is there a way of having :header-args: span several lines (like var+)? Thanks, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D):+49 - (0)3 21 21 25 22 44 email: rai...@krugs.de Skype: RMkrug PGP: 0x0F52F982 pgpoMvxXbjInZ.pgp Description: PGP signature
[O] Tangling an org table to tab delimited format?
I guess it is not possible, but I might be missing something: is it possible top tangle an org table into a tab delimited file? Together with some R code to be tangled into the ./R directory, I would like to tangle some tables containing the parameter into the ./data/ directory. I could obviously execute R (or elisp code) to create the code, but I would prefer to have it while tangling. Thanks, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D):+49 - (0)3 21 21 25 22 44 email: rai...@krugs.de Skype: RMkrug PGP: 0x0F52F982 pgpSiUBgvU9_g.pgp Description: PGP signature
[O] Around-advice on org-foo-export function?
Hi List, sometimes I want to call one of the org-foo-export functions with a different environment, i.e. with different values for the backend-specific customizable export variables, e.g. , | (let ((org-taskjuggler-default-project-duration 1)) ; default is 280 |(org-taskjuggler-export-and-process ...)) ` I activate an around-advice for org-taskjuggler-export (which does the real work) doing that , | (defadvice org-taskjuggler-export (around org-taskjuggler-export-around) | (let ((org-taskjuggler-default-project-duration 1)) | ad-do-it)) | | ((ad-activate 'org-taskjuggler-export) ` but nothing changes - default duration is still shown as 280, not 1. Is this supposed to work? -- cheers, Thorsten
Re: [O] :header-args: over several lines?
2014ko ekainak 25an, Rainer M Krug-ek idatzi zuen: Hi I want to add many variables to a subtree. But it seems that :header-args: only allows one line - is this true? In my case, this line would be exceedingly long and very difficult to debug. Is there a way of having :header-args: span several lines (like var+)? Exactly that should work, i.e. using header-args+: , | * foo | :PROPERTIES: | :header-args+: :exports none | :header-args+: :results value | :END: | | #+begin_src elisp | (org-entry-get nil header-args) | #+end_src | | #+RESULTS: | : :exports none :results value ` -- Aaron Ecay
Re: [O] org-ref in action
John: Beautiful, thanks! Eric: My goodness, that 8 minute video sums up what was not obvious to many even after wantingly browsing the documentation on it. Thanks! Grant Rettke | ACM, ASA, FSF, IEEE, SIAM g...@wisdomandwonder.com | http://www.wisdomandwonder.com/ “Wisdom begins in wonder.” --Socrates ((λ (x) (x x)) (λ (x) (x x))) “Life has become immeasurably better since I have been forced to stop taking it seriously.” --Thompson On Wed, Jun 25, 2014 at 3:25 PM, Eric Schulte schulte.e...@gmail.com wrote: John Kitchin jkitc...@andrew.cmu.edu writes: Hello everyone, org-ref has basically stabilized. You can get the latest code at https://github.com/jkitchin/jmax/blob/master/org-ref.org. I made a little screen capture video here to show you what it does: https://www.youtube.com/watch?v=JyvpSVl4_dg Try it out, if it looks interesting, and let me know if you find any bugs! Thanks, Great, This is a lot of useful functionality, and very nicely presented. Did you happen to try the built in bibtex support in Org-mode core and contrib? And if so, is there a reason that you implemented this all independently? I think part of the problem with existing Org-mode bibtex support is that no-one knows it exists. To help address this I threw up a very quick-and-dirty screen cast demonstrating some of Org's existing bibtex functionality. https://vimeo.com/99167082 Best, Eric -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D (see https://u.fsf.org/yw)
Re: [O] org-ref in action
Eric Schulte schulte.e...@gmail.com writes: This is a lot of useful functionality, and very nicely presented. Did you happen to try the built in bibtex support in Org-mode core and contrib? And if so, is there a reason that you implemented this all independently? I think part of the problem with existing Org-mode bibtex support is that no-one knows it exists. Well, you can count on one big fan of org-bibtex.el here! (Though I must admit that I have not used ox-bibtex.el.) To help address this I threw up a very quick-and-dirty screen cast demonstrating some of Org's existing bibtex functionality. https://vimeo.com/99167082 Thanks! Over the years, I've particularly appreciated the way org-bibtex.el makes it easy to keep bib data together with notes/todos. Both org-bibtex-read and org-bibtex-yank have become indispensable to my own workflow. Best, Matt
[O] /some 'text'/
I have the following expression in my manuscript: /Caltex Oil (Aust) Pty Ltd v The Dredge 'Willemstad'/ [1976] HCA 65 I want the /.../ part to be italicised on export, but (of course) it isn't. The variable org-emphasis-regexp-components was customizable before 8.0. Is there some workaround to get my desired results? I suppose writing some filters is one way. Anything simpler? Thanks, Alan -- Alan L Tyreehttp://www2.austlii.edu.au/~alan Tel: 04 2748 6206 sip:typh...@iptel.org
Re: [O] still seeing semi-regular lockups
Daimrod daim...@gmail.com writes: Matt Lundin m...@imapmail.org writes: With the latest git, I've experienced three lock-ups/freezes this evening when a) archiving a subtree to a file, b) changing a todo state with repeating timestamp, and 3) calling C-c C-c in an org-capture buffer. (I don't think this is due to a recent change - I've been running into these lockups sporadically for several months.) The freezes are very difficult to replicate reliably. When they happen, emacs is unresponsive and can only be killed from the outside. Any tips on how to debug this would be greatly appreciated. See my previous post: http://thread.gmane.org/gmane.emacs.orgmode/86255/focus=86263 You can wrap `jit-lock--debug-fontify' with: (advice-add 'jit-lock--debug-fontify :around (lambda (fun rest args) (with-local-quit (apply fun args and then force emacs to break and display a backtrace by sending the SIGUSR2 to the emacs process. O.K., I built the most emacs development from bzr and used the advice above. With killall -USR2 emacs, the following backtrace popped up, which highlights flyspell as the culrpit. Note: I have flyspell turned on in all text buffers, but I have (for several months) only experienced lockups when using org-mode. I spend more time in TeX buffers than in org-mode, and I have never had a lockup with AUCTeX. --8---cut here---start-8--- * (setq quit-flag t) (condition-case nil (let ((inhibit-quit nil)) (let ((command this-command) deactivate-mark) (if (flyspell-check-pre-word-p) (save-excursion (quote (flyspell-debug-signal-pre-word-checked)) (goto-char flyspell-pre-point) (flyspell-word))) (if (flyspell-check-word-p) (progn (quote (flyspell-debug-signal-word-checked)) (flyspell-word) (setq flyspell-pre-pre-buffer (current-buffer)) (setq flyspell-pre-pre-point (point))) (setq flyspell-pre-pre-buffer nil) (setq flyspell-pre-pre-point nil) (if (and (symbolp this-command) (get this-command (quote flyspell-delayed))) (progn (setq flyspell-word-cache-end -1) (setq flyspell-word-cache-result (quote _) (while (and (not (input-pending-p)) (consp flyspell-changes)) (let ((start (car ...)) (stop (cdr ...))) (if (flyspell-check-changed-word-p start stop) (save-excursion (quote ...) (goto-char start) (flyspell-word))) (setq flyspell-changes (cdr flyspell-changes (setq flyspell-previous-command command))) (quit (setq quit-flag t) (eval (quote (ignore nil) (progn (condition-case nil (let ((inhibit-quit nil)) (let ((command this-command) deactivate-mark) (if (flyspell-check-pre-word-p) (save-excursion (quote (flyspell-debug-signal-pre-word-checked)) (goto-char flyspell-pre-point) (flyspell-word))) (if (flyspell-check-word-p) (progn (quote (flyspell-debug-signal-word-checked)) (flyspell-word) (setq flyspell-pre-pre-buffer (current-buffer)) (setq flyspell-pre-pre-point (point))) (setq flyspell-pre-pre-buffer nil) (setq flyspell-pre-pre-point nil) (if (and (symbolp this-command) (get this-command ...)) (progn (setq flyspell-word-cache-end -1) (setq flyspell-word-cache-result ... (while (and (not (input-pending-p)) (consp flyspell-changes)) (let ((start ...) (stop ...)) (if (flyspell-check-changed-word-p start stop) (save-excursion ... ... ...)) (setq flyspell-changes (cdr flyspell-changes (setq flyspell-previous-command command))) (quit (setq quit-flag t) (eval (quote (ignore nil)) (if flyspell-mode (progn (condition-case nil (let ((inhibit-quit nil)) (let ((command this-command) deactivate-mark) (if (flyspell-check-pre-word-p) (save-excursion (quote ...) (goto-char flyspell-pre-point) (flyspell-word))) (if (flyspell-check-word-p) (progn (quote ...) (flyspell-word) (setq flyspell-pre-pre-buffer ...) (setq flyspell-pre-pre-point ...)) (setq flyspell-pre-pre-buffer nil) (setq flyspell-pre-pre-point nil) (if (and ... ...) (progn ... ...))) (while (and (not ...) (consp flyspell-changes)) (let (... ...) (if ... ...) (setq flyspell-changes ...))) (setq flyspell-previous-command command))) (quit (setq quit-flag t) (eval (quote (ignore nil))) flyspell-post-command-hook() recursive-edit() --8---cut here---end---8--- Matt
Re: [O] still seeing semi-regular lockups
Matt Lundin m...@imapmail.org writes: With killall -USR2 emacs, the following backtrace popped up, which highlights flyspell as the culrpit. ~~~ And, of course, I had flyspell turned off when writing this email. :) Matt
[O] refile affects kill ring
in recent maint, it seems that refiling an entry will put that entry into the kill ring. perhaps it should leave the kill ring intact?