Re: [O] electric-pair-mode

2013-12-06 Thread Bastien
Hi Harald, Harald Hanche-Olsen writes: > [Bastien (2013-12-06 13:50:58 UTC)] > >> > So is there a way to make org-self-insert-command compatible with >> > electric-pair-mode? >> >> it works fine for me. > > I have been told (off list) that delete-selection-mode could be the > culprit. And inde

Re: [O] [ESS] Keyboard shortcut - is there a principle behind them?

2013-12-06 Thread Matthew Fidler
See http://www.gnu.org/software/emacs/manual/html_node/elisp/Key-Binding-Conventions.html On Dec 6, 2013 3:02 AM, "Rainer M Krug" wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi > > one alternative subject could be "because it is Friday"... > > I am using org-mode and ess regular

Re: [O] How can I convert a org file to a flowchart

2013-12-06 Thread Feng Shu
Rainer M Krug writes: > On Fri Dec 6 15:07:56 2013, Bastien wrote: >> Hi Feng, >> >> Feng Shu writes: >> >>> I have to draw a flowchart with many many nodes (about 500) and less >>> construct types(only sequence construct and condition construct), >>> >>> Now I use org file record all the node

[O] Changing capture frame/window behavior depending on source

2013-12-06 Thread Josiah Schwab
Hi All, I have some bookmarks in chrome which trigger capture via org-protocol. I would like the windowing behavior of capture to be different depending where it is invoked. For example, when I invoke capture from my bookmark, I want the frame that the capture used to vanish after C-c C-c or C-c

Re: [O] [Babel] [Bug] Cache

2013-12-06 Thread Eric Schulte
Achim Gratz writes: > Eric Schulte writes: >> In that thread we agreed that the expansion of no-web references >> *should* be included in code blocks for hashing, but no-one has had the >> time to implement this. > > I think we may have discussed this before, but if you make the hashes > dependen

Re: [O] [Bug] commit 39070b7fc7 breaks babel test

2013-12-06 Thread Eric Schulte
Achim Gratz writes: > Eric Schulte writes: >> Fixed. > > The test was trying to ascertain that an inline babel codeblock didn't > force a newline at the end. What makes this code block inline? > You've just made it test that there is a trailing newline introduced > by the inline babel call, whi

Re: [O] [Bug] commit 39070b7fc7 breaks babel test

2013-12-06 Thread Eric Schulte
Skip Collins writes: > On Fri, Dec 6, 2013 at 2:05 PM, Eric Schulte wrote: >> Skip Collins writes: >>> Would it make sense to automatically enforce passing all tests before >>> git accepts a change? >> >> I for one would strongly oppose this change. This would only make it >> take longer and t

Re: [O] words starting with call_ confuse C-c C-c and export

2013-12-06 Thread Eric Schulte
Nicolas Goaziou writes: > Hello, > > Eric Schulte writes: > >>> We may tweak `org-babel-inline-lob-one-liner-regexp' in order to make it >>> harder to trigger it unwillingly. >>> >> >> The trade-off here is between raising an error when e.g., a like >> matching the call line syntax has a proble

Re: [O] Exams with Org?

2013-12-06 Thread Marvin Doyley
Hi there, I have been using the latex exam.cls and org-latex-classes. Just us add the following to your .emacs file (for more details see http://comments.gmane.org/gmane.emacs.orgmode/74512) (add-to-list 'org-latex-classes '("Prob" "\\documentclass[t]{exam} [NO-DEFAULT-PACKAGES] \\usepackag

Re: [O] probable caching bug?

2013-12-06 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > Eric Abrahamsen writes: > >> Yes, it's up to date -- after I sent this message I started wondering >> if it had been a while since I updated, so I pulled and reloaded, and >> not long after that saw the bug again. > > Well, too bad. > >> I expect to see this

Re: [O] How can I convert a org file to a flowchart

2013-12-06 Thread Feng Shu
Rainer M Krug writes: > On Fri Dec 6 15:07:56 2013, Bastien wrote: >> Hi Feng, >> >> Feng Shu writes: >> >>> I have to draw a flowchart with many many nodes (about 500) and less >>> construct types(only sequence construct and condition construct), >>> >>> Now I use org file record all the node

Re: [O] [ESS] Keyboard shortcut - is there a principle behind them?

2013-12-06 Thread Vitalie Spinu
Try https://github.com/emacs-helm/helm-descbinds . It will make your life with million emacs keys much easier. I can comment on ESS. Most of the shortcuts are actually mnemonic and hierarchical (C-c C-d for doc-map, C-c C-e for extra-map, C-c C-t for dev-map which includes mostly [t]racebug). So

Re: [O] html checkbox output

2013-12-06 Thread Nicolas Goaziou
Hello, Rick Frankel writes: > So, here's a patch I would like a couple of people to try before i > commit it. It provides customization of checkbox formatting for html > output (unicode, ascii, checkbox input fields or custom). I couldn't > figure out how to add an association list customization

Re: [O] Exams with Org?

2013-12-06 Thread John Kitchin
you find this along the lines you are thinking about: http://kitchingroup.cheme.cmu.edu/blog/2013/10/23/Writing-exams-in-org-mode/ I have not advanced the idea past this, and it doesn't do everything you mentioned. I had in mind to generate a grading table at the end. John -

[O] html checkbox output

2013-12-06 Thread Rick Frankel
So, here's a patch I would like a couple of people to try before i commit it. It provides customization of checkbox formatting for html output (unicode, ascii, checkbox input fields or custom). I couldn't figure out how to add an association list customization with preset options to a customization

Re: [O] A small hack to document programs externally

2013-12-06 Thread Suvayu Ali
On Fri, Dec 06, 2013 at 05:26:05PM +0100, Alan Schmitt wrote: > Hello, > > I've just written a small hack to refer to code in other files from an > org-mode buffer, so that the referred code would be copied in the buffer > to be exported when exporting the org buffer. (Our use case is a large > Co

Re: [O] [Bug] commit 39070b7fc7 breaks babel test

2013-12-06 Thread Bastien
Hi Skip, Skip Collins writes: > Designating something as an expected failure seems to be a good way to > track minor issues that need eventually to be resolved. As a user, I > frequently update with make up2 just to avoid getting bitten by stupid > errors that might sneak into master. Is it real

Re: [O] Exams with Org?

2013-12-06 Thread Suvayu Ali
On Fri, Dec 06, 2013 at 03:53:45PM -0330, Roger Mason wrote: > Hello, > > Has anyone used Org to create exams? It would be useful to have the value > per question totalled to provide the total per section etc and to be able to You could try to "reuse" the effort property; or a new property of yo

Re: [O] [Bug] commit 39070b7fc7 breaks babel test

2013-12-06 Thread Skip Collins
On Fri, Dec 6, 2013 at 2:05 PM, Eric Schulte wrote: > Skip Collins writes: >> Would it make sense to automatically enforce passing all tests before >> git accepts a change? > > I for one would strongly oppose this change. This would only make it > take longer and thus make it less likely that ne

Re: [O] bash alias and history in code block

2013-12-06 Thread OSiUX
El vie, 06 dic 2013, Sebastien Vauban decía: > OSiUX wrote: > > How to use alias and bash builtin functions? > > > > #+BEGIN_SRC sh :session :results output > >echo $SHELL > >echo $HOME > >source ~/.bashrc > >alias | wc > >env | grep HISTTIMEFORMAT > >history | wc > > #+E

Re: [O] [Babel] [Bug] Cache

2013-12-06 Thread Sebastien Vauban
Achim Gratz wrote: > Eric Schulte writes: >> In that thread we agreed that the expansion of no-web references >> *should* be included in code blocks for hashing, but no-one has had the >> time to implement this. > > I think we may have discussed this before, but if you make the hashes > dependent o

Re: [O] [Babel] [Bug] Cache

2013-12-06 Thread Achim Gratz
Eric Schulte writes: > In that thread we agreed that the expansion of no-web references > *should* be included in code blocks for hashing, but no-one has had the > time to implement this. I think we may have discussed this before, but if you make the hashes dependent on the possibly recursive nowe

Re: [O] [Bug] commit 39070b7fc7 breaks babel test

2013-12-06 Thread Achim Gratz
Eric Schulte writes: > Fixed. The test was trying to ascertain that an inline babel codeblock didn't force a newline at the end. You've just made it test that there is a trailing newline introduced by the inline babel call, which is clearly against its intent. You could have marked it as a known

Re: [O] words starting with call_ confuse C-c C-c and export

2013-12-06 Thread Nicolas Goaziou
Hello, Eric Schulte writes: >> We may tweak `org-babel-inline-lob-one-liner-regexp' in order to make it >> harder to trigger it unwillingly. >> > > The trade-off here is between raising an error when e.g., a like > matching the call line syntax has a problem or failing silently. The > former i

Re: [O] bash alias and history in code block

2013-12-06 Thread Sebastien Vauban
OSiUX wrote: > How to use alias and bash builtin functions? > > #+BEGIN_SRC sh :session :results output >echo $SHELL >echo $HOME >source ~/.bashrc >alias | wc >env | grep HISTTIMEFORMAT >history | wc > #+END_SRC > > #+RESULTS: > : /bin/bash > : /home/osiris > : 0

[O] Exams with Org?

2013-12-06 Thread Roger Mason
Hello, Has anyone used Org to create exams? It would be useful to have the value per question totalled to provide the total per section etc and to be able to embed the answers in the exam and expose them in the final document using some kind of conditional processing. If anyone has done thi

Re: [O] [Bug] commit 39070b7fc7 breaks babel test

2013-12-06 Thread Eric Schulte
Skip Collins writes: > It's been a week and this test still fails. > Fixed. > > Would it make sense to automatically enforce passing all tests before > git accepts a change? > I for one would strongly oppose this change. This would only make it take longer and thus make it less likely that ne

Re: [O] bash alias and history in code block

2013-12-06 Thread Eric Schulte
OSiUX writes: > How to use alias and bash builtin functions? > > #+BEGIN_SRC sh :session :results output >echo $SHELL >echo $HOME >source ~/.bashrc >alias | wc >env | grep HISTTIMEFORMAT >history | wc > #+END_SRC > > #+RESULTS: > : /bin/bash > : /home/osiris > :

Re: [O] words starting with call_ confuse C-c C-c and export

2013-12-06 Thread Eric Schulte
> > We may tweak `org-babel-inline-lob-one-liner-regexp' in order to make it > harder to trigger it unwillingly. > The trade-off here is between raising an error when e.g., a like matching the call line syntax has a problem or failing silently. The former is preferable in the case where you inte

Re: [O] [Babel] [Bug] Cache

2013-12-06 Thread Eric Schulte
"Sebastien Vauban" writes: > Hi Eric, > > Eric Schulte wrote: >> "Sebastien Vauban" writes: >>> >>> IIRC, some time ago, a bug involving the computation of the hash (when >>> option cache is enabled) and NoWeb code blocks. I remember that it had been >>> fixed. >>> >>> However, the following exa

[O] bash alias and history in code block

2013-12-06 Thread OSiUX
How to use alias and bash builtin functions? #+BEGIN_SRC sh :session :results output echo $SHELL echo $HOME source ~/.bashrc alias | wc env | grep HISTTIMEFORMAT history | wc #+END_SRC #+RESULTS: : /bin/bash : /home/osiris : 0 0 0 : HISTTIMEFORMAT=%Y-%m-

Re: [O] electric-pair-mode

2013-12-06 Thread Harald Hanche-Olsen
[Bastien (2013-12-06 13:50:58 UTC)] > > So is there a way to make org-self-insert-command compatible with > > electric-pair-mode? > > it works fine for me. I have been told (off list) that delete-selection-mode could be the culprit. And indeed, turning it off fixes the problem. But I don't want

[O] A small hack to document programs externally

2013-12-06 Thread Alan Schmitt
Hello, I've just written a small hack to refer to code in other files from an org-mode buffer, so that the referred code would be copied in the buffer to be exported when exporting the org buffer. (Our use case is a large Coq development which we want to document online. Our may constraint is that

Re: [O] bug with :wrap when exporting

2013-12-06 Thread Nicolas Goaziou
Hello, Alan Schmitt writes: > Yes, it works great on the following example (which includes "direct > printing", in the sense of echoing the #+BEGIN_SRC lines) as well as in > the ":wrap" case. Applied, then. Thank you for your feedback. Regards, -- Nicolas Goaziou

Re: [O] bug with :wrap when exporting

2013-12-06 Thread Alan Schmitt
strom...@nexgo.de writes: > Alan Schmitt writes: >> I tried to do this, and do a "make clean" to make sure old elc files >> would not be picked up, but then export fails with > > You would want to do "make uncompiled" and also "(require 'org-loaddefs)". Thanks a lot, with this I was able to test

Re: [O] bug with :wrap when exporting

2013-12-06 Thread Alan Schmitt
n.goaz...@gmail.com writes: > Hello, > > Alan Schmitt writes: > >> I think I have found a bug with ":wrap" when exporting a block. Consider >> the following org file: >> >> #+name: mywrap >> #+BEGIN_SRC sh :exports none :results raw >> echo "(+ 1 2)" >> #+END_SRC >> >> Exporting with the result a

Re: [O] probable caching bug?

2013-12-06 Thread Nicolas Goaziou
Hello, Eric Abrahamsen writes: > Yes, it's up to date -- after I sent this message I started wondering > if it had been a while since I updated, so I pulled and reloaded, and > not long after that saw the bug again. Well, too bad. > I expect to see this again, so I can run the function above,

Re: [O] [ESS] Keyboard shortcut - is there a principle behind them?

2013-12-06 Thread Tyler Smith
Rainer M Krug wrote: >On 12/06/13, 10:49 , Oleh wrote: > >> Now only few shortcuts are reserved for user space and plugins, the >> most notable of which is the `C-c` prefix. That's why most custom >> modes such as org-mode and ESS bind to shortcuts with `C-c` prefix: >> there's a convention that E

Re: [O] org-indent-mode corrupted most of a big org file

2013-12-06 Thread Johann Spies
Hello Alexander, Thanks for your attention. The message I sent earlier was of my experience on my work computer. I have now tried the same on my home computer. The files on both edited was in /home/js/Dropbox/orgmode. I have also edited ~/.emacs and saved it. that is strange. I cannot rememb

Re: [O] multiple agenda custom commands causes tag-filter-preset not to work?

2013-12-06 Thread Bastien
Hi Miro, Miro Bezjak writes: > It appears that `org-agenda-tag-filter-preset' does not work when I > define > multiple commands under one. The agenda is rendered as if filter was > never set. > > On the other hand, if I remove `(alltodo)', thus defining only the > agenda, then > the filter works

Re: [O] Handshake: Org-mode + Emacs releases

2013-12-06 Thread Bastien
Nicolas Goaziou writes: > FWIW, considering the 15 days time frame we have, I think 8.2.3 family > is stable enough (modulo some features that might be cherry picked from > master) and would be the obvious safe choice for a quiet end of > year. I just released 8.2.4 and merged it with Emacs. We

Re: [O] hide leading starts in a specific sub-tree in an org file

2013-12-06 Thread Bastien
Hi Xebar, Xebar Saram writes: > i know there is an option to hiding leading stars in outline > headings, and for indenting outlines. i was wondering if there is an > option to do so for a specific header and sub headers (like can be > done for some properties etc.. Nope, sorry! -- Bastien

Re: [O] Bug: Symbol's function definition is void: vc-git-root

2013-12-06 Thread Bastien
Hi Jonathan, Jonathan Leech-Pepin writes: > Using 8.2.2 I get the following error when using any org-attach-* commands: > > (From *Messages* buffer) > > Select command: [acmlzoOfFdD] > org-attach-commit: Symbol's function definition is void: vc-git-root > > I don't have git installed on this Win

Re: [O] How can I convert a org file to a flowchart

2013-12-06 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri Dec 6 15:07:56 2013, Bastien wrote: > Hi Feng, > > Feng Shu writes: > >> I have to draw a flowchart with many many nodes (about 500) and less >> construct types(only sequence construct and condition construct), >> >> Now I use org file recor

Re: [O] How can I convert a org file to a flowchart

2013-12-06 Thread Bastien
Hi Feng, Feng Shu writes: > I have to draw a flowchart with many many nodes (about 500) and less > construct types(only sequence construct and condition construct), > > Now I use org file record all the node labels, How can I convert this > org to a flowchar if i use tag and link to record all t

Re: [O] Bug: The foreground color of "List of stuck projects:" in agenda cannot be change seperately. [8.2.3c (8.2.3c-dist @ /home/kuanyui/.emacs.d/lisps/org-8.2.3c/lisp/)]

2013-12-06 Thread Bastien
Hi Kuanyui, kuanyui writes: > The foreground color of "List of stuck projects:" in agenda cannot be > change separately. > > One screenshot to explain: > https://dl.dropboxusercontent.com/u/1776218/org-agenda-column-dateline.png M-x customize-face RET org-agenda-structure RET works fine here.

Re: [O] Org-mode in windows fires Tramp without any intervention

2013-12-06 Thread Bastien
Hi Toni, Toni Cebrián writes: > Do you know where to look or what to try? This same Org > file, the same init.el and the same emacs version work without any > problem in Linux. This is weird: I would first try with a bare emacs -Q and only the culprit link in Org. Then with a more complex .ema

Re: [O] Search to show only trees with no recent clock entries

2013-12-06 Thread Bastien
Hi Subhan, Subhan Tindall writes: > Looking for a search to show only first-level trees that meet the > following criteria: > > all clock entries under the heading are older than a given date (IE 2 > weeks ago) > clock entries may be under several different sub-headings, at levels > ranging from

Re: [O] org-babel-next-src-block respecting #+call lines

2013-12-06 Thread Bastien
Hi Andreas, Andreas Leha writes: > how could I make org-babel-next-src-block (bound to 'C-c C-v n' by > default) jump to the next src block or #+call line? You can't. > In its current form it skips over call lines. The need seems peculiar, maybe you can write your own simple function for this

Re: [O] electric-pair-mode

2013-12-06 Thread Bastien
Hi Harald, Harald Hanche-Olsen writes: > I am a new user of org-mode. But I have used electric-pair-mode for > quite a long time, and marking some text and hitting left parenthesis > to parenthesize the marked text has become second nature. > > However, if I try this in an org-mode buffer, it er

Re: [O] Org mode and "shunt" exporters?

2013-12-06 Thread John Kitchin
that sounds like an interesting approach. xml seems like what you really want, since looking at the parsetree there is a lot of information (e.g. attributes, properties, etc...) that would be tricky to generate a fully representative json scheme. This page suggests at the bottom you could export t

Re: [O] Keyboard shortcut - is there a principle behind them?

2013-12-06 Thread Jonathan Leech-Pepin
Hello, On 6 December 2013 05:01, Rainer M Krug wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > > On 12/06/13, 10:49 , Oleh wrote: >> Initially the shortcuts were mnemonic, e.g. C-e: >> `move-end-of-line'. Obviously the keys ran out pretty quick. > > I can really imagine. But this e

[O] org-caldav: Syncing Error: Could not find UID...

2013-12-06 Thread Daniel Thom
Hi, because of this error i switched from owncloud to baikal. But the error stays the same Every sync aborts with the message: Could not find UID TS10-aa7e8257-c44f-47ef-b8ac-eb72130b8156. The Message Buffer says: Duplicate ID "29b80a9d-597d-459e-bea5-f5f671b59ea5", also in file . .

Re: [O] [babel] how to pass data to gnuplot from another block

2013-12-06 Thread Eric S Fraga
Eric Schulte writes: [...] > Sounds like someone with an interest in octave support should take a > look at ob-octave.el, this shouldn't be a difficult fix and there are > many examples of other languages (e.g., sh) handling the combination of > output and vectors. Okay. I'll add it to my todo

[O] [babel] Can't write accented characters in R graphics

2013-12-06 Thread Sebastien Vauban
John Hendy wrote: > Can you do it straight from R? Might be a better place to start? If not, > I'd look into that first to avoid googling org and ESS stuff in vain! The 1'42" demo on http://screencast.com/t/A9q6CQlLY6 clearly shows that: - It (now [1]) works from the R terminal - It works from t

Re: [O] Keyboard shortcut - is there a principle behind them?

2013-12-06 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/06/13, 10:49 , Oleh wrote: > Initially the shortcuts were mnemonic, e.g. C-e: > `move-end-of-line'. Obviously the keys ran out pretty quick. I can really imagine. But this explains some - but following your example: C-a moves to the beginning

Re: [O] Keyboard shortcut - is there a principle behind them?

2013-12-06 Thread Oleh
Initially the shortcuts were mnemonic, e.g. C-e: `move-end-of-line'. Obviously the keys ran out pretty quick. Now only few shortcuts are reserved for user space and plugins, the most notable of which is the `C-c` prefix. That's why most custom modes such as org-mode and ESS bind to shortcuts with `

[O] Keyboard shortcut - is there a principle behind them?

2013-12-06 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi one alternative subject could be "because it is Friday"... I am using org-mode and ess regularly, and I use quite a few keyboard shortcuts, but each time I read about a new one, I am wondering: why the heck these specific (default!) keyboard short

Re: [O] bug with :wrap when exporting

2013-12-06 Thread Sebastien Vauban
Nick Dokos wrote: > Alan Schmitt writes: >> jsch...@gmail.com writes: >>> Alan Schmitt writes: >>> Off topic question: what does ECM stands for? (I understand it's a small example showing a bug, but I could not find the meaning of the acronym.) >>> >>> Exemple Complet Minimal >>> >>

Re: [O] #+PROPERTY: for babel header args worked... then it didn't

2013-12-06 Thread Sebastien Vauban
James Harkins wrote: > Achim Gratz nexgo.de> writes: >> James Harkins writes: >> > Now I'm working on a short article-class document, and I included the same >> > #+PROPERTY at the top, and... no effect. But... *the lines are identical*. >> > ?? >> >> Did you C-c C-c the configuration lines (or