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

2013-07-08 Thread Simon Thum
It's not exactly answering your question but my little tool https://github.com/simonthum/ical2org handles these. HTH, Simon On 07/08/2013 05:00 PM, Stephen Eglen wrote: I'm experimenting using ical2org.sh to import google calendars. One limitation, as noted in the header is: # - does proce

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

2013-07-08 Thread Yujie Wen
Hi, Christian, 2013/7/9 Christian Wittern > Hi Bastien, Yujie > > On 2013-07-08 17:22, Bastien wrote: > >> Hi Yujie, >> >> Yujie Wen 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.

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 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. Well, thi

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

2013-07-08 Thread Nick Dokos
Jisang Yoo writes: > On Mon, Jul 8, 2013 at 5:21 PM, Bastien wrote: >> Hi Jisang, >> >> Jisang Yoo 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 exa

Re: [O] org build/git problems

2013-07-08 Thread Rustom Mody
On Tue, Jul 9, 2013 at 8:27 AM, Rustom Mody 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 deleted status-es

[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 makefile

[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: - *** [[http://www.example.com:90/search~S2?/Xsearchterm&searchscope%3D

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

2013-07-08 Thread Nick Dokos
Noorul Islam K M writes: > Charles 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 command. You are supposed

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

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

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 were

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 writes: Noorul, On 7/8/2013 8:36 AM, Noorul Islam K M wrote: Charles 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/) * emac

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 availab

[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: http://thekafkapandemic.blog

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

2013-07-08 Thread Nicolas Goaziou
Hello, Jisang Yoo 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 org-html-format

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

2013-07-08 Thread Bastien
Hi Jisang, Jisang Yoo 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 org-html-fo

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 wrote: > Hi Jisang, > > Jisang Yoo 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 dis

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

2013-07-08 Thread Thorsten Jolitz
Jambunathan K writes: > Thorsten Jolitz writes: > >> Nicolas Goaziou 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 ch

Re: [O] two latex bugs

2013-07-08 Thread Nick Dokos
renato 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 obtained your

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

2013-07-08 Thread Jambunathan K
Thorsten Jolitz writes: > Nicolas Goaziou 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-ef

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 >> mac

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

2013-07-08 Thread Guido Van Hoecke
Hu Stephen, Stephen Eglen 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. every day for four > we

[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. \

[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

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

2013-07-08 Thread Bastien
Hi Eric, Eric S Fraga 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 the `org-table-e

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

2013-07-08 Thread Nicolas Goaziou
Hello, Eric S Fraga 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) > (co

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

2013-07-08 Thread Noorul Islam K M
Charles writes: > Noorul, > > On 7/8/2013 8:36 AM, Noorul Islam K M wrote: >> Charles 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

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

2013-07-08 Thread Thorsten Jolitz
Nicolas Goaziou 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 can just ignore the

[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 'l

[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

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

2013-07-08 Thread Nicolas Goaziou
Thorsten Jolitz writes: > Nicolas Goaziou 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 mapping, but need to add '(plain-t

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

2013-07-08 Thread Noorul Islam K M
Charles 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 on cywin 1

[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 dispa

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

2013-07-08 Thread Thorsten Jolitz
Nicolas Goaziou 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 'plain-text type was w

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

2013-07-08 Thread Eric S Fraga
Bastien writes: > Hi Eric, > > Eric S Fraga 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. Yes, this is th

[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 new

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 wrote: > Hi Carsten, > > Carsten Dominik 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

[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 Bastien
Hi Carsten, Carsten Dominik 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 in the manual (`org-refi

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

2013-07-08 Thread Bastien
Hi Yujie, Yujie Wen 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] org-export-section-number-format does not work

2013-07-08 Thread Bastien
Hi Jisang, Jisang Yoo 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 are similar variables for ot

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 wrote: > Hi Jisang, > > Jisang Yoo 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

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

2013-07-08 Thread Bastien
Hi Jisang, Jisang Yoo 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 not part of the latest o

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 wrote: > When taking notes in a meeting, I often need to refile a subtree by > copying it (so that it stay

Re: [O] Problem with export

2013-07-08 Thread Noorul Islam K M
Mark Elston 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 entered--Lisp error:

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

2013-07-08 Thread Nicolas Goaziou
Hello, Thorsten Jolitz 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 (:pare

[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 org-export-dispatc

[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

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

2013-07-08 Thread Thorsten Jolitz
Nicolas Goaziou writes: > Hello, > > Thorsten Jolitz 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 modify all :parent att