Re: [O] koma letter exporter: changing the priority of options

2013-06-10 Thread Alan Schmitt
Viktor Rosenfeld writes: Hi Alan, Alan Schmitt wrote: Hello, I just had to write a new letter with a fresh LCO file, and I would like to propose to change the priority of options. The current priority is: local options emacs variables lco file. Unfortunately emacs variables have a

Re: [O] A simple way to search only headlines

2013-06-10 Thread Sebastien Vauban
Hi Nick, Nick Dokos wrote: The OP probably wants this in the global keymap, rather than in the org-mode-map: just like the agenda dispatcher C-c a, this functionality is useful outside an org file. (global-set-key (kbd C-M-h) (lambda () (interactive) (org-agenda nil s ))) Not sure to

Re: [O] org-cut-subtree, bug?

2013-06-10 Thread Carsten Dominik
On 10 jun. 2013, at 07:39, Andreas Röhler andreas.roeh...@easy-emacs.de wrote: Issue doesn't show up with Emacs built from trunk Thank your for following up, Andreas. - Carsten GNU Emacs 24.3.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.18) of 2013-06-07 Thanks, Andreas

Re: [O] Automatically adding local variables to tangled file

2013-06-10 Thread Rainer M Krug
Eric Schulte schulte.e...@gmail.com writes: We already set the permission of tangled files to be executable when they include a shebang line. Perhaps we could add an option (or change the default) to set the permissions of tangled files to be read only. Perhaps this could be done using

Re: [O] :session question

2013-06-10 Thread Rainer M Krug
top post - sorry: I overlooked this thread somehow. Eric Schulte schulte.e...@gmail.com writes: Achim Gratz strom...@nexgo.de writes: Eric Schulte writes: If you mean that there should be new syntax for setting header arguments on a file or sub-tree basis w/o using file local variables,

Re: [O] :session question

2013-06-10 Thread Rainer M Krug
Achim Gratz strom...@nexgo.de writes: Achim Gratz writes: The change on the Babel side was just a few lines, but reconciling Org's notion of property syntax in various places proved to be more difficult. It's still not very well tested (it does survive the test suite obviously) and I'll

Re: [O] :session question -- and changes to #+Property: syntax

2013-06-10 Thread Rainer M Krug
Andreas Leha andreas.l...@med.uni-goettingen.de writes: Hi Achim, Achim Gratz strom...@nexgo.de writes: Eric Schulte writes: As I recall I was fully in favor of applying these changes, however I am not qualified to address the changes to property behaviors. Hopefully someone who works

Re: [O] Wrong comment character when adding file local variables?

2013-06-10 Thread Rainer M Krug
Vitalie Spinu spinu...@gmail.com writes: Rainer M Krug r.m.k...@gmail.com on Fri, 7 Jun 2013 17:40:53 +0200 wrote: On Friday, June 7, 2013, Vitalie Spinu wrote: All your examples are placed in fundamental mode. The comments are treated by org and thus are correct, local

Re: [O] :session question -- and changes to #+Property: syntax

2013-06-10 Thread Rainer M Krug
Achim Gratz strom...@nexgo.de writes: Eric Schulte writes: Great. Would you be willing to go ahead and apply these changes (including documentation)? If it upsets anyone we'll sort things out on the mailing list. All right, then. I've pushed the first part as it is a preparation for

Re: [O] koma letter exporter: changing the priority of options

2013-06-10 Thread Rasmus
Viktor Rosenfeld listuse...@gmail.com writes: , | \KOMAoption{backaddress}{true} | \KOMAoption{foldmarks}{true} | \KOMAoption{fromphone}{true} | \KOMAoption{fromemail}{true} ` Perhaps the best option would be to change the default value of these variables to nil? We have almost

[O] [PATCH] org-contacts: Provide ordering when using cycle completion

2013-06-10 Thread Øyvind Stegard
Hello list, I have recently switched to using org-contacts, after several years of BBDB usage. When completing contacts in message-mode, I prefer cycling the completion alternatives, for instance when a single contact has multiple email addresses. So I set `completion-cycle-threshold' to some

[O] Problem in tangle-mode -- WAS: Automatically adding local variables to tangled file

2013-06-10 Thread Rainer M Krug
Rainer M Krug rai...@krugs.de writes: Eric Schulte schulte.e...@gmail.com writes: We already set the permission of tangled files to be executable when they include a shebang line. Perhaps we could add an option (or change the default) to set the permissions of tangled files to be read

Re: [O] cannot open org files without heading

2013-06-10 Thread henry atts
henry atts s...@online.de writes: Let's say I have an org file without any heading. When I want to open it in emacs I have to try twice. First time nothing happens and emacs tells me ``before first heading''. It only will be opened at the second try. Okay, org files do need a heading and that

[O] absurd (was: Xemacs 21.5.32 org-8.03 almost)

2013-06-10 Thread Uwe Brauer
Now the make process is getting absurd. For example I put in org-agenda.el (if (featurep 'xemacs) (define-obsolete-variable-alias 'org-agenda-menu-two-column 'org-agenda-menu-two-columns) (define-obsolete-variable-alias 'org-agenda-menu-two-column 'org-agenda-menu-two-columns 24.3))

Re: [O] org-agenda-files defvar directory evaluation ?

2013-06-10 Thread 'Mash
Resolved this via stackoverflow. (setq org-agenda-files (list org-dir)) http://stackoverflow.com/questions/17020119/org-mode-org-agenda-files-defvar-directory-evaluation/17021834 Quoting 'Mash mash...@toshine.net: Sorry not quite sure how to phrase the problem in the subject line there. I

[O] SOLVED: Automatically adding local variables to tangled file

2013-06-10 Thread Rainer M Krug
Eric Schulte schulte.e...@gmail.com writes: [snip (41 lines)] He added the following to his config file to test the approach: , | (defvar org-babel-tangled-file nil | If non-nill, current file was tangled with org-babel-tangle) |(put 'org-babel-tangled-file

Re: [O] A simple way to search only headlines

2013-06-10 Thread Nick Dokos
Sebastien Vauban sva-n...@mygooglest.com writes: Hi Nick, Nick Dokos wrote: The OP probably wants this in the global keymap, rather than in the org-mode-map: just like the agenda dispatcher C-c a, this functionality is useful outside an org file. (global-set-key (kbd C-M-h) (lambda ()

Re: [O] org-agenda-files defvar directory evaluation ?

2013-06-10 Thread Nick Dokos
'Mash mash...@toshine.net writes: Resolved this via stackoverflow. (setq org-agenda-files (list org-dir)) Equivalently (setq org-agenda-files `(,org-dir)) That's a backquote (on a US keyboard, it's the key to the left of the 1 key in the top row), not a normal quote. See (info (elisp)

Re: [O] org-agenda-files defvar directory evaluation ?

2013-06-10 Thread 'Mash
Thanks, I did use a comma to evaluate the variable but without the backtick which I believed caused that old style backticks warning. Quoting Nick Dokos ndo...@gmail.com: 'Mash mash...@toshine.net writes: Resolved this via stackoverflow. (setq org-agenda-files (list org-dir))

Re: [O] Wrong comment character when adding file local variables?

2013-06-10 Thread Rainer M Krug
Nick Dokos ndo...@gmail.com writes: Rainer M Krug rai...@krugs.de writes: Vitalie Spinu spinu...@gmail.com writes: Rainer M Krug r.m.k...@gmail.com on Fri, 7 Jun 2013 17:40:53 +0200 wrote: On Friday, June 7, 2013, Vitalie Spinu wrote: All your examples are placed in

[O] koma letter export

2013-06-10 Thread Vikas Rawal
I am trying to use ox-koma-letter for my correspondence. I have a functioning test file that produces a nice pdf. But I would like to set it up so as to have one letter per headline, and do subtree export to produce the pdf. I am attaching the test file for the purpose. When I export it using

Re: [O] Problem in tangle-mode -- WAS: Automatically adding local variables to tangled file

2013-06-10 Thread Eric Schulte
I've added a :tangle-mode header argument which may be used to control the permissions of tangled files. See the manual for instructions on it's usage. Thanks a lot. I will try it out today or tomorrow. I did, and there is a problem with tangling multiple blocks into a single file:

[O] Org-mode and Taskjuggler

2013-06-10 Thread Louis Turk
Hi Christian, I'm very interested in your work to get Org-mode to export to Taskjuggler version 3 --- very exciting! Being able to export to tj3 from org-mode would be extremely helpful to me. However, I'm having trouble getting it to work. I suspect that the documentation I've been reading is

Re: [O] absurd

2013-06-10 Thread Achim Gratz
Uwe Brauer writes: Now the make process is getting absurd. What does that problem have to do with make? For example I put in org-agenda.el (if (featurep 'xemacs) (define-obsolete-variable-alias 'org-agenda-menu-two-column 'org-agenda-menu-two-columns)

[O] [PATCH] List: fix creation of new items with incorrect checkbox

2013-06-10 Thread Craig Tanis
In 8.0.3, org-meta-return at the end of a list wrongly adds a checkbox: 1. foo _ -- cursor here, org-meta-return 1. foo 2. [ ] to fix, this patches org-insert-heading to make sure that `org-list-full-item-re' actually matches before passing `(match-string 3)' to `org-insert-item'

Re: [O] absurd

2013-06-10 Thread Achim Gratz
Achim Gratz writes: That cannot work since the byte-compiler necessarily sees both branches of the if clause. I've changed the advices to actually remove any arguments past the second from the argument list. That should allow you to compile and load Org (at least it works with my copy of

Re: [O] Go to heading using LISP

2013-06-10 Thread Myles English
Hi Alexander, Alexander Wingård writes: I want to create special key-bindings that use the org-refile goto interface to jump to specific headings. It doesn't use org-refile but this is what I use: (defun my-goto-heading(file heading-text) Visit file `file' and goto headline `heading-text'

Re: [O] :session question -- and changes to #+Property: syntax

2013-06-10 Thread Achim Gratz
Rainer M Krug writes: As mentioned, I would then change my optional syntax of PROPERTY tomorrow. If you prefer earlier feedback, I could give it. An actual user document is much better than me trying to construct test cases (I'll still have do that later along with the documentation in the

Re: [O] koma letter export

2013-06-10 Thread Viktor Rosenfeld
Hi Vikas, Vikas Rawal wrote: I am trying to use ox-koma-letter for my correspondence. I have a functioning test file that produces a nice pdf. But I would like to set it up so as to have one letter per headline, and do subtree export to produce the pdf. I am attaching the test file for

Re: [O] absurd

2013-06-10 Thread Uwe Brauer
Achim == Achim Gratz strom...@nexgo.de writes: Uwe Brauer writes: Now the make process is getting absurd. What does that problem have to do with make? Because I can byte compile it manually, in dired via Shift-B! That I consider as bizarre, byte compiling works, but via make it

Re: [O] absurd

2013-06-10 Thread Uwe Brauer
Achim == Achim Gratz strom...@nexgo.de writes: Achim Gratz writes: That cannot work since the byte-compiler necessarily sees both branches of the if clause. I've changed the advices to actually remove any arguments past the second from the argument list. That should allow

Re: [O] absurd

2013-06-10 Thread Uwe Brauer
Achim == Achim Gratz strom...@nexgo.de writes: Achim Gratz writes: That cannot work since the byte-compiler necessarily sees both branches of the if clause. I've changed the advices to actually remove any arguments past the second from the argument list. That should allow

Re: [O] absurd

2013-06-10 Thread Achim Gratz
Uwe Brauer writes: Oops I just saw you second message. This new version I can obtain via git clone git://orgmode.org/org-mode.git I presume. If your current version was also obtained via git, then simply git checkout master git pull will update your work tree. You don't need to copy all

Re: [O] absurd

2013-06-10 Thread Achim Gratz
Uwe Brauer writes: I don't understand: (defun my-test-if () (interactive) (if (featurep 'xemacs) (message Xemacs) (message GNUS))) when executed in Xemacs returns Xemacs, when executed in GNU emacs returns GNUS. Yes, but the byte-compiler has to compile both branches,

Re: [O] absurd

2013-06-10 Thread Uwe Brauer
Achim == Achim Gratz strom...@nexgo.de writes: Uwe Brauer writes: Oops I just saw you second message. This new version I can obtain via git clone git://orgmode.org/org-mode.git I presume. If your current version was also obtained via git, then simply git checkout

Re: [O] Go to heading using LISP

2013-06-10 Thread Alexander Wingård
On 10 jun 2013, at 21:00, Myles English mylesengl...@gmail.com wrote: Hi Alexander, Alexander Wingård writes: I want to create special key-bindings that use the org-refile goto interface to jump to specific headings. It doesn't use org-refile but this is what I use: (defun

Re: [O] absurd

2013-06-10 Thread Uwe Brauer
Achim == Achim Gratz strom...@nexgo.de writes: when executed in Xemacs returns Xemacs, when executed in GNU emacs returns GNUS. Yes, but the byte-compiler has to compile both branches, since the if is actually resolved at run-time. You'd need to use a compatibility

[O] Bug: Babel Haskell mode [8.0.3 (8.0.3-30-g56b864-elpa @ /Users/ix/.emacs.d/elpa/org-20130610/)]

2013-06-10 Thread Simon Beaumont
? _ Emacs : GNU Emacs 24.3.1 (x86_64-apple-darwin12.3.0) of 2013-05-04 on psi Package: Org-mode version 8.0.3 (8.0.3-30-g56b864-elpa @ /Users/ix/.emacs.d/elpa/org-20130610/) current state: == (setq org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel

Re: [O] Bug: Babel Haskell mode [8.0.3 (8.0.3-30-g56b864-elpa @ /Users/ix/.emacs.d/elpa/org-20130610/)]

2013-06-10 Thread Eric Schulte
Simon Beaumont si...@datalligator.com writes: Whenever I try and evaluate the Haskell code block I get: Code block returned no value. #+begin_src haskell :results value let fac n = product [1..n] [(x,fac x) | x - [0..11]] #+end_src #+results: I can't reproduce this problem. With a

Re: [O] koma letter export

2013-06-10 Thread Vikas Rawal
However, using C-c C-e C-s k o I can create a letter from your example just fine. Note the C-s in the middle which selects the current subtree. Thank you. Works perfect. Vikas

[O] ox-koma-letter support for \cc and \encl?

2013-06-10 Thread Vikas Rawal
Does ox-koma-letter support \cc and \encl? Vikas

Re: [O] A simple way to search only headlines

2013-06-10 Thread Nick Dokos
Sebastien Vauban sva-n...@mygooglest.com writes: Hi Nick, Nick Dokos wrote: Sebastien Vauban sva-n...@mygooglest.com writes: Nick Dokos wrote: The OP probably wants this in the global keymap, rather than in the org-mode-map: just like the agenda dispatcher C-c a, this functionality is

Re: [O] ox-koma-letter support for \cc and \encl?

2013-06-10 Thread Viktor Rosenfeld
Hi Vikas, Vikas Rawal wrote: Does ox-koma-letter support \cc and \encl? Vikas Yes. Add two headlines to your letter, one tagged with :CC: and one with :ENCL:. The content below these headlines will be converted to the relevant LaTeX code. This also works with :PS:. However, you need a