Re: [O] Per-window visibility cycling

2013-07-08 Thread Thorsten Jolitz
Bob Newell bobnew...@bobnewell.net writes: This likely has been asked in the past but I didn't find it so please allow me :) Is visibility cycling per-buffer and not per-window? I ask because I want to do a horizontal split of a window containing an org-mode file. Then I want to do a

Re: [O] Can `org-element-map' act on secondary-strings?

2013-07-08 Thread Thorsten Jolitz
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Thorsten Jolitz tjol...@gmail.com writes: when parsing an Org file with org-element-parse-buffer, headline titles and section contents (e.g.) end up as secondary strings in the parse-tree that do have a ':parent' attribute. When I try to

[O] Adding support for limits and exclusions to iCal recurring events

2013-07-08 Thread Toke Høiland-Jørgensen
Hi I've been wanting to have support for exporting recurring events to iCal while limiting the number of repetitions, as well as excluding dates. The patch below is my attempt to add this functionality. However, I'm in doubt as to whether or not this is the right way to go about it (parsing dates

[O] Problem with export

2013-07-08 Thread Mark Elston
I have just upgraded my org to the latest from git. Now I cannot do an export. I have completely commented out any customization in my .emacs for org mode and the problem still remains. Every time I try to export (C-c C-e) I get: Debugger entered--Lisp error: (void-function

Re: [O] Can `org-element-map' act on secondary-strings?

2013-07-08 Thread Nicolas Goaziou
Hello, Thorsten Jolitz tjol...@gmail.com writes: I meant these strings that I find in parse-trees that apparently do have a parent-proptery: #+begin_src emacs-lisp (headline ... :title (#(topic number one 0 16 (:parent #1 (paragraph (:begin 114 ...) #(Hello subtopic number one 0 26

Re: [O] Problem with export

2013-07-08 Thread Noorul Islam K M
Mark Elston melston1...@gmail.com writes: I have just upgraded my org to the latest from git. Now I cannot do an export. I have completely commented out any customization in my .emacs for org mode and the problem still remains. Every time I try to export (C-c C-e) I get: Debugger

Re: [O] [PATCH] C-3 C-c C-w to copy the subtree instead of moving it

2013-07-08 Thread Carsten Dominik
Hi Bastien, this looks like a useful function to me. However, the documentation should warn about duplicate IDs that might result from this. - Carsten On Jul 5, 2013, at 2:45 PM, Bastien b...@gnu.org wrote: When taking notes in a meeting, I often need to refile a subtree by copying it (so

Re: [O] org-export-section-number-format does not work

2013-07-08 Thread Bastien
Hi Jisang, Jisang Yoo jisang.yoo.ac+...@gmail.com writes: C-h v cannot find the variable org-export-section-number-format but M-x customize-group RET org-export-general RET shows its documentation, after that C-h v shows it is defined in org-exp.el which is a file bundled with Emacs, and is

Re: [O] org-export-section-number-format does not work

2013-07-08 Thread Jisang Yoo
On Mon, Jul 8, 2013 at 5:05 PM, Bastien b...@gnu.org wrote: Hi Jisang, Jisang Yoo jisang.yoo.ac+...@gmail.com writes: C-h v cannot find the variable org-export-section-number-format but M-x customize-group RET org-export-general RET shows its documentation, after that C-h v shows it is

Re: [O] org-export-section-number-format does not work

2013-07-08 Thread Bastien
Hi Jisang, Jisang Yoo jisang.yoo.ac+...@gmail.com writes: There seems no new option that can be found from exploring customization group org-export. You can check `org-html-format-headline-function' and its docstring as an example on how to customize the display of headlines in HTML. There

Re: [O] How to remove spaces for soft line-breaks

2013-07-08 Thread Bastien
Hi Yujie, Yujie Wen yjwen...@gmail.com writes: I am wondering whether there is a way to forbid such spaces, or if no such a way, whether it is possible to work out a patch to forbid it. I would try M-x visual-line-mode RET and see if you like it. HTH, -- Bastien

Re: [O] [PATCH] C-3 C-c C-w to copy the subtree instead of moving it

2013-07-08 Thread Bastien
Hi Carsten, Carsten Dominik carsten.domi...@gmail.com writes: this looks like a useful function to me. However, the documentation should warn about duplicate IDs that might result from this. Thanks. I've pushed the feature on master and documented it a bit better, both on the docstring and

[O] [BUG] orgstruct++-mode and emacs-lisp-mode: user-error: An element cannot be parsed line 11492

2013-07-08 Thread Bastien
Hi all, when using orgstruct++-mode I often get this error: user-error: An element cannot be parsed line 11492 It happens when (auto-)refilling expressions. I don't get a backtrace for it, I'll try. I'll switch back to orgstruct-mode for now to see if the same error happens here. Thanks, --

Re: [O] [PATCH] C-3 C-c C-w to copy the subtree instead of moving it

2013-07-08 Thread Carsten Dominik
Excellent, thank you very much! - Carsten On Jul 8, 2013, at 10:26 AM, Bastien b...@gnu.org wrote: Hi Carsten, Carsten Dominik carsten.domi...@gmail.com writes: this looks like a useful function to me. However, the documentation should warn about duplicate IDs that might result from

[O] Export changing loaded zenburn theme to unreadable color scheme

2013-07-08 Thread Jeffrey Spencer
If I try to export with the zenburn theme loaded it causes the theme color scheme to change and makes the page unviewable. Then I have to reload it. Has anyone had this problem or know a solution. I still use the old export so the org version is the last repository before it changed over to the

Re: [O] [RFC] Changing internal representation of back-ends to defstructs

2013-07-08 Thread Eric S Fraga
Bastien b...@gnu.org writes: Hi Eric, Eric S Fraga e.fr...@ucl.ac.uk writes: Funnily enough, I had to export a table in CSV format just last week and this function would have been great. Well, you do have M-x org-table-export RET table.csv and it exports to csv already... Arggghhh.

Re: [O] Can `org-element-map' act on secondary-strings?

2013-07-08 Thread Thorsten Jolitz
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, All strings contained in an element or a secondary string have a parent property. Try (org-element-map (org-element-parse-buffer) 'plain-text 'identity) Do you have a simple example showing what you want to achieve? Thanks, the

[O] agenda problem or my set up is a problem?

2013-07-08 Thread Charles
I just did a clean org mode install (twice) * Org-mode version 8.0.5 (release_8.0.5-318-gfdaa99 @ c:/cygwin/home/Charlie/elisp/Org-Mode/lisp/) * emacs GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) of 2012-08-28 on MARVIN emacs on windows 7, home premium org on cywin 1.7.20 I call the agenda

Re: [O] agenda problem or my set up is a problem?

2013-07-08 Thread Noorul Islam K M
Charles mill...@verizon.net writes: I just did a clean org mode install (twice) * Org-mode version 8.0.5 (release_8.0.5-318-gfdaa99 @ c:/cygwin/home/Charlie/elisp/Org-Mode/lisp/) * emacs GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) of 2012-08-28 on MARVIN emacs on windows 7, home premium org

Re: [O] Can `org-element-map' act on secondary-strings?

2013-07-08 Thread Nicolas Goaziou
Thorsten Jolitz tjol...@gmail.com writes: Nicolas Goaziou n.goaz...@gmail.com writes: Thanks, the 'plain-text type was what I missed. I used #+begin_src emacs-lisp (append '(org-data) org-element-all-elements org-element-all-objects) #+end_src as types for

[O] build + odt-export issues

2013-07-08 Thread Rustom Mody
I have org from git make autoloads works make all seems to work except that it ends with - Compiling /src/pdsw/org-mode-8/lisp/ox.el... In toplevel form: ox.el:5791:62:Warning: variable assignment to constant `org-export-stack-mode-map' In end

[O] ox-bibtex works well with \cite{} entries but not with cite: links

2013-07-08 Thread Eric S Fraga
Hi, as noted a while back, I use cite:bibref type links in org to write LaTeX papers. I have defined the cite link type as follows: #+begin_src emacs-lisp (org-add-link-type cite 'ebib (lambda (path desc format) (cond ((eq format

Re: [O] Can `org-element-map' act on secondary-strings?

2013-07-08 Thread Thorsten Jolitz
Nicolas Goaziou n.goaz...@gmail.com writes: You don't need `org-data' type. The tree root doesn't have any property anyway. I used that because I wanted the whole parse-tree as return value, but no matter what `org-element-map' returns, it changes the parse-tree by side-effects anyway, so I

Re: [O] agenda problem or my set up is a problem?

2013-07-08 Thread Noorul Islam K M
Charles mill...@verizon.net writes: Noorul, On 7/8/2013 8:36 AM, Noorul Islam K M wrote: Charles mill...@verizon.net writes: I just did a clean org mode install (twice) * Org-mode version 8.0.5 (release_8.0.5-318-gfdaa99 @ c:/cygwin/home/Charlie/elisp/Org-Mode/lisp/) * emacs GNU Emacs

Re: [O] ox-bibtex works well with \cite{} entries but not with cite: links

2013-07-08 Thread Nicolas Goaziou
Hello, Eric S Fraga e.fr...@ucl.ac.uk writes: as noted a while back, I use cite:bibref type links in org to write LaTeX papers. I have defined the cite link type as follows: #+begin_src emacs-lisp (org-add-link-type cite 'ebib (lambda (path desc format)

Re: [O] [RFC] Changing internal representation of back-ends to defstructs

2013-07-08 Thread Bastien
Hi Eric, Eric S Fraga e.fr...@ucl.ac.uk writes: Playing around now, it seems that if any extension is given (I tried .csv, .data, .txt, .blah, .foobar), then export-to-csv is the default. If no extension is given, export-to-tsv is the only option. Not what I expected! See the docstring

[O] Handling Repeating events from google calendar / repeater interval

2013-07-08 Thread Stephen Eglen
I'm experimenting using ical2org.sh to import google calendars. One limitation, as noted in the header is: # - does process RRULE recurring events, but ignores COUNT specifiers so if you have a repeating event in google (e.g. every day for four week), the ics file has: RRULE:FREQ=DAILY;COUNT=4

[O] two latex bugs

2013-07-08 Thread renato
Hi, 1) could someone please substitute last-command-char with last-command-event in cdlatex.el, as was suggested here [1], to be able to insert carets and underscores in math-mode? 2) this: \begin{align}\label{mylabel} \left\{ \begin{array}{ll} 2+2 = 4 \\ 2+2 \neq 4 \end{array} \right.

Re: [O] Handling Repeating events from google calendar / repeater interval

2013-07-08 Thread Guido Van Hoecke
Hu Stephen, Stephen Eglen s.j.eg...@damtp.cam.ac.uk writes: I'm experimenting using ical2org.sh to import google calendars. One limitation, as noted in the header is: # - does process RRULE recurring events, but ignores COUNT specifiers so if you have a repeating event in google (e.g.

Re: [O] advice needed: how do you guys sync org files between devices?

2013-07-08 Thread Christopher Allan Webber
Ian Barton writes: On 01/07/13 13:06, Xebar Saram wrote: Hi all I have been using dropbox since i started using orgmode a few weeks ago (yeah im a neewb :)), which kinda works but i find it very annoying as it keeps creating conflicted copies, isnt reliable on my Linux main machine etc

Re: [O] Can `org-element-map' act on secondary-strings?

2013-07-08 Thread Jambunathan K
Thorsten Jolitz tjol...@gmail.com writes: Nicolas Goaziou n.goaz...@gmail.com writes: You don't need `org-data' type. The tree root doesn't have any property anyway. I used that because I wanted the whole parse-tree as return value, but no matter what `org-element-map' returns, it changes

Re: [O] two latex bugs

2013-07-08 Thread Nick Dokos
renato renn...@gmail.com writes: Hi, 1) could someone please substitute last-command-char with last-command-event in cdlatex.el, as was suggested here [1], to be able to insert carets and underscores in math-mode? AFAIK, cdlatex.el is not part of emacs or org-mode, so you must have

Re: [O] Can `org-element-map' act on secondary-strings?

2013-07-08 Thread Thorsten Jolitz
Jambunathan K kjambunat...@gmail.com writes: Thorsten Jolitz tjol...@gmail.com writes: Nicolas Goaziou n.goaz...@gmail.com writes: You don't need `org-data' type. The tree root doesn't have any property anyway. I used that because I wanted the whole parse-tree as return value, but no

Re: [O] org-export-section-number-format does not work

2013-07-08 Thread Jisang Yoo
On Mon, Jul 8, 2013 at 5:21 PM, Bastien b...@gnu.org wrote: Hi Jisang, Jisang Yoo jisang.yoo.ac+...@gmail.com writes: There seems no new option that can be found from exploring customization group org-export. You can check `org-html-format-headline-function' and its docstring as an

Re: [O] org-export-section-number-format does not work

2013-07-08 Thread Bastien
Hi Jisang, Jisang Yoo jisang.yoo.ac+...@gmail.com writes: (setq org-html-format-headline-function 'my-org-html-format-headline) (defun my-org-html-format-headline (todo todo-type priority text tags) Returns foo. foo) results in wrong-number-of-arguments error when I export to html.

Re: [O] org-export-section-number-format does not work

2013-07-08 Thread Nicolas Goaziou
Hello, Jisang Yoo jisang.yoo.ac+...@gmail.com writes: (setq org-html-format-headline-function 'my-org-html-format-headline) (defun my-org-html-format-headline (todo todo-type priority text tags) Returns foo. foo) results in wrong-number-of-arguments error when I export to html. (setq

[O] fill-paragraph broken

2013-07-08 Thread Samuel Wales
M-q anywhere here fills all three paragraphs together: # this is a paragraph. i want to fill it. # # this is too. and i commented the blank line because i am # a badass. # asdfasdf akjdn fkand sflkajnsd fklajns dfkjan dskfjna # kdsfn Samuel -- The Kafka Pandemic:

Re: [O] advice needed: how do you guys sync org files between devices?

2013-07-08 Thread Xebar Saram
Thx Chris its funny you just posted this as of all the excellent responses in this thread i was looking into git-annex as a solution. The issue is that im not very technical (im an academic not a programmer) and its seems mighty complicated. Also in addition git-assistant is currently isnt

Re: [O] agenda problem or my set up is a problem?

2013-07-08 Thread Charles
Noorul, On 7/8/2013 9:54 AM, Noorul Islam K M wrote: Charles mill...@verizon.net writes: Noorul, On 7/8/2013 8:36 AM, Noorul Islam K M wrote: Charles mill...@verizon.net writes: I just did a clean org mode install (twice) * Org-mode version 8.0.5 (release_8.0.5-318-gfdaa99 @

Re: [O] Problem with export

2013-07-08 Thread Mark Elston
Hi Noorul, In preparing to answer you I did a little more digging. It turns out my update script had a bug in it so I was not going through the entire update process properly. I was pointing to a non-existent emacs (I had upgraded from 23.1 to 24.1 a few months ago) so none of the autoloads

Re: [O] agenda problem or my set up is a problem?

2013-07-08 Thread Noorul Islam K M
Charles mill...@verizon.net writes: Noorul, On 7/8/2013 9:54 AM, Noorul Islam K M wrote: Charles mill...@verizon.net writes: Noorul, On 7/8/2013 8:36 AM, Noorul Islam K M wrote: Charles mill...@verizon.net writes: I just did a clean org mode install (twice) * Org-mode version 8.0.5

Re: [O] agenda problem or my set up is a problem?

2013-07-08 Thread Nick Dokos
Noorul Islam K M noo...@noorul.com writes: Charles mill...@verizon.net writes: I ran M-x debug-on-entry for org-agenda-list and org-todo-list. Attached are the backtraces. I think the attachment is not an error trace back. You need to do M-: (setq debug-on-error t) and execute the

[O] Orgmode fails to export specific web-links as latex/pdf

2013-07-08 Thread Mark Edgington
Hello all- When trying to export via latex - pdf, the following org-mode snippet fails to compile. Presumably there's something that should be changed in the export filters? Here's the org-mode snippet: - ***

[O] org build/git problems

2013-07-08 Thread Rustom Mody
Ive been having problems with odt export which seem to be related to build issues which seem to be related to git issues. http://thread.gmane.org/gmane.emacs.orgmode/74409 In more detail: http://orgmode.org/worg/dev/org-build-system.html says that the build structure includes (among other

Re: [O] org build/git problems

2013-07-08 Thread Rustom Mody
On Tue, Jul 9, 2013 at 8:27 AM, Rustom Mody rustompm...@gmail.com wrote: Ive been having problems with odt export which seem to be related to build issues which seem to be related to git issues. http://thread.gmane.org/gmane.emacs.orgmode/74409 In more detail: Ran a git reset --hard The

Re: [O] org-export-section-number-format does not work

2013-07-08 Thread Nick Dokos
Jisang Yoo jisang.yoo.ac+...@gmail.com writes: On Mon, Jul 8, 2013 at 5:21 PM, Bastien b...@gnu.org wrote: Hi Jisang, Jisang Yoo jisang.yoo.ac+...@gmail.com writes: There seems no new option that can be found from exploring customization group org-export. You can check

Re: [O] How to remove spaces for soft line-breaks

2013-07-08 Thread Christian Wittern
Hi Bastien, Yujie On 2013-07-08 17:22, Bastien wrote: Hi Yujie, Yujie Wen yjwen...@gmail.com writes: I am wondering whether there is a way to forbid such spaces, or if no such a way, whether it is possible to work out a patch to forbid it. I would try M-x visual-line-mode RET and see if you

Re: [O] How to remove spaces for soft line-breaks

2013-07-08 Thread Yujie Wen
Hi, Christian, 2013/7/9 Christian Wittern cwitt...@gmail.com Hi Bastien, Yujie On 2013-07-08 17:22, Bastien wrote: Hi Yujie, Yujie Wen yjwen...@gmail.com writes: I am wondering whether there is a way to forbid such spaces, or if no such a way, whether it is possible to work out a