Re: [O] new exporter

2012-06-27 Thread Achim Gratz
Achim Gratz writes: > Nicolas Goaziou writes: >> That may not solve the problem, but could at least simplify it. > > The problem can be demonstrated with just this code snippet in place of > org-export.el: [...] > So it might be a bit easier to solve now (I hope). This code snippet has at last aft

Re: [O] Is Org mode gonna break on emacs 24.50.1x ?

2012-06-27 Thread Bastien
Achim Gratz writes: > Vladimir Lomov writes: >> I don't know if I understand what I do but I changed several `flet' to >> `labels' (I read `cl.el' and they go consequently). > > The problem really is (or really was, it should be fixed) in Emacs > trunk. Yes, apparently this has been fixed. ht

Re: [O] Is Org mode gonna break on emacs 24.50.1x ?

2012-06-27 Thread Achim Gratz
Vladimir Lomov writes: > I don't know if I understand what I do but I changed several `flet' to > `labels' (I read `cl.el' and they go consequently). The problem really is (or really was, it should be fixed) in Emacs trunk. Getting rid of unneccesary flet's would be nice on general principle sinc

Re: [O] How to turn off font-lock-mode per file

2012-06-27 Thread Nick Dokos
Enda wrote: > Thanks, I already read that section of the manual. > > I know I can turn on font-lock-mode for any file with > # -*- mode: font-lock; -*- > even though it is the default, the manual does not specify how to turn off a > mode. > > (I know C-u -1 M-x font-lock-mode always disables f

Re: [O] How to turn off font-lock-mode per file

2012-06-27 Thread Enda
Thanks, I already read that section of the manual. I know I can turn on font-lock-mode for any file with # -*- mode: font-lock; -*- even though it is the default, the manual does not specify how to turn off a mode. (I know C-u -1 M-x font-lock-mode always disables font lock mode, but I do not k

Re: [O] org-icalendar-alarm-time in org file as an #+OPTION

2012-06-27 Thread Nick Dokos
Enda wrote: > There are #+OPTIONs, etc. in Org-mode, either "C-h v enable-local-variables" > or pressing '!' after I > am warned about the potentially dangerous local variable in order that I am > not warned again about > that particular local variable is not ideal. Having an #+OPTION, etc to s

Re: [O] How to turn off font-lock-mode per file

2012-06-27 Thread Darlan Cavalcante Moreira
Add a file local variable. "M-x add-file-local-variable" Write "mode" for the variable and "font-lock-mode" for its value (without quotes). I tested this and it worked. -- Darlan At Wed, 27 Jun 2012 09:01:52 -0700 (PDT), Enda wrote: > > [1 ] > How do you turn off font-lock-mode per file (an

Re: [O] org-icalendar-alarm-time in org file as an #+OPTION

2012-06-27 Thread Enda
There are #+OPTIONs, etc. in Org-mode, either "C-h v enable-local-variables" or pressing '!' after I am warned about the potentially dangerous local variable in order that I am not warned again about that particular local variable is not ideal. Having an #+OPTION, etc to set org-icalendar-alarm-

Re: [O] How to turn off font-lock-mode per file

2012-06-27 Thread Nick Dokos
Enda wrote: > How do you turn off font-lock-mode per file (an org file)? > A lot of your questions are emacs questions and you could find the answers in the emacs manual, e.g. this exact question is answered in sec.48.2.4.1, "Specifying File Variables", of the emacs manual: (info "(emacs) Spec

Re: [O] org-icalendar-alarm-time in org file as an #+OPTION

2012-06-27 Thread Nick Dokos
Enda wrote: > http://orgmode.org/manual/iCalendar-export.html > > In Org options, I can set org-icalendar-alarm-time to '5' and when I export > the org file as an ical > file, and then import the ical file into a calendar application, I get > notified by the alarm of the > calendar application

[O] local-set-key: Key sequence C-c SPC a starts with non-prefix key C-c SPC

2012-06-27 Thread Giacomo M
Dear all, I'm getting the error in the subject when trying to export an .org file, e.g. to HTML or LATEX. who would be so kind to explain me what's happening? Thanks, Giacomo

Re: [O] MobileOrg - Symbol's value as variable is void: org-agenda-filter

2012-06-27 Thread Nick Dokos
Enda wrote: > MobileOrg -> Push files and views (C-c C-x RET p) > > *Backtrace* > > Debugger entered--Lisp error: (void-variable org-agenda-filter) > org-mobile-push() > call-interactively(org-mobile-push nil nil) > > Best wishes, > OK - thanks. But in the meantime, Simon Thum pointed ou

Re: [O] org-export-as-html-batch backup file

2012-06-27 Thread Nick Dokos
Enda wrote: > When I run: > emacs --batch --visit=index.org --funcall org-export-as-html-batch > > If index.html already exists a backup file index.html~ is created, > however when I export as html within Emacs no backup file is > created. How do I prevent a backup file being created in the abov

[O] move multiple lines of text at the same time

2012-06-27 Thread Enda
Say I have two lines of text like so, and I want to move both of them at the same time, could there be a C-u 2 M-down in order to do this. Best wishes, Enda

[O] first level heading = category

2012-06-27 Thread Enda
In an org file, I want the category of each item (and subitems) to be the name of the first level heading, is there a way to do this without setting the category for each heading like so?: * Web   :PROPERTIES:   :CATEGORY: Web   :END: ** Web1 ** Web2 * Holiday   :PROPERTIES:   :CATEGORY: Holiday  

Re: [O] MobileOrg - Symbol's value as variable is void: org-agenda-filter

2012-06-27 Thread Enda
MobileOrg -> Push files and views (C-c C-x RET p) *Backtrace* Debugger entered--Lisp error: (void-variable org-agenda-filter)   org-mobile-push()   call-interactively(org-mobile-push nil nil) Best wishes, Enda From: Nick Dokos To: Enda Cc: "emacs-orgmode@

[O] org-export-icalendar-this-file tmp file

2012-06-27 Thread Enda
When I run  M-x org-export-icalendar-this-file on a file, in the *Messages* buffer, it says: Saving file /tmp/orgics3698Kdg... Wrote /tmp/orgics3698Kdg Saving file ~/file.ics... Wrote ~/file.ics Does the tmp file need to be created since one is not needed for other exports? Best wishes, Enda

[O] How to turn off font-lock-mode per file

2012-06-27 Thread Enda
How do you turn off font-lock-mode per file (an org file)? Best wishes, Enda

[O] org-export-as-html-batch backup file

2012-06-27 Thread Enda
When I run: emacs --batch --visit=index.org --funcall org-export-as-html-batch If index.html already exists a backup file index.html~ is created, however when I export as html within Emacs no backup file is created. How do I prevent a backup file being created in the above scenario? Best wishes,

[O] org-icalendar-alarm-time in org file as an #+OPTION

2012-06-27 Thread Enda
http://orgmode.org/manual/iCalendar-export.html In Org options, I can set org-icalendar-alarm-time to '5' and when I export the org file as an ical file, and then import the ical file into a calendar application, I get notified by the alarm of the calendar application five minutes before the

Re: [O] Is Org mode gonna break on emacs 24.50.1x ?

2012-06-27 Thread Eric Schulte
This looks to be a bug in the most recent version of Emacs. http://thread.gmane.org/gmane.emacs.devel/151211 Vladimir Lomov writes: > Hello, > ** Achim Gratz [2012-06-26 06:52:19 +0200]: > >> Baptiste Fouques writes: >>> * lisp/emacs-lisp/cl.el (flet): Don't autoload. > >>> Makes my org no

Re: [O] Is Org mode gonna break on emacs 24.50.1x ?

2012-06-27 Thread Vladimir Lomov
Hello, ** Achim Gratz [2012-06-26 06:52:19 +0200]: > Baptiste Fouques writes: >> * lisp/emacs-lisp/cl.el (flet): Don't autoload. >> Makes my org not working in several places (babel, coupling with >> remenber, …). I think that the point in using 'flet' has appears >> several t