* Emacs mode first line and Org-mode
@ 2012-09-05 6:12 Fabrice Popineau
2012-09-05 8:06 ` Giovanni Ridolfi
0 siblings, 1 reply; 4+ messages in thread
From: Fabrice Popineau @ 2012-09-05 6:12 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 567 bytes --]
Hi,
Something changed recently with the handling of emacs mode first line. I
used to have :
#+-*- coding:utf-8; mode:org; mode:org-e-beamer;
ispell-local-dictionary:"fr_FR_hunspell" -*-
as the first line of my file. Recently, it started to get exported in
LaTeX/Beamer, even with :
#+OPTIONS: skip:t
Workaround : add some tag to the mode line
#+FOO: -*- coding:utf-8; mode:org; mode:org-e-beamer;
ispell-local-dictionary:"fr_FR_hunspell" -*-
(One of these days I'll have time again to dig inside the emacs lisp and
offer potential fixes)
Regards,
--
Fabrice
[-- Attachment #2: Type: text/html, Size: 831 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Emacs mode first line and Org-mode
2012-09-05 6:12 Emacs mode first line and Org-mode Fabrice Popineau
@ 2012-09-05 8:06 ` Giovanni Ridolfi
2012-09-05 8:35 ` Fabrice Popineau
0 siblings, 1 reply; 4+ messages in thread
From: Giovanni Ridolfi @ 2012-09-05 8:06 UTC (permalink / raw)
To: Fabrice Popineau, emacs-orgmode@gnu.org
Da: Fabrice Popineau <fabrice.popineau@supelec.fr>
A: emacs-orgmode@gnu.org
Inviato: Mercoledì 5 Settembre 2012 8:12
Hi, Fabrice,
> Something changed recently with the handling of emacs mode first line. I used to have :
> #+-*- coding:utf-8; mode:org; mode:org-e-beamer; ispell-local-dictionary:"fr_FR_hunspell" -*-
> as the first line of my file. Recently, it started to get exported in LaTeX/Beamer, even with :
> #+OPTIONS: skip:t
Please try leaving a space between # and +
# +-*- coding:utf-8; mode:org; mode:org-e-beamer; ispell-local-dictionary:"fr_FR_hunspell" -*-
hth
Giovanni
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Emacs mode first line and Org-mode
2012-09-05 8:06 ` Giovanni Ridolfi
@ 2012-09-05 8:35 ` Fabrice Popineau
2012-09-05 9:22 ` Giovanni Ridolfi
0 siblings, 1 reply; 4+ messages in thread
From: Fabrice Popineau @ 2012-09-05 8:35 UTC (permalink / raw)
To: Giovanni Ridolfi; +Cc: emacs-orgmode@gnu.org
[-- Attachment #1: Type: text/plain, Size: 102 bytes --]
>
> Please try leaving a space between # and +
Ok, a bit strange but it works :-)
Thanks,
Fabrice
[-- Attachment #2: Type: text/html, Size: 332 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Emacs mode first line and Org-mode
2012-09-05 8:35 ` Fabrice Popineau
@ 2012-09-05 9:22 ` Giovanni Ridolfi
0 siblings, 0 replies; 4+ messages in thread
From: Giovanni Ridolfi @ 2012-09-05 9:22 UTC (permalink / raw)
To: Fabrice Popineau; +Cc: emacs-orgmode@gnu.org
Da: Fabrice Popineau <fabrice.popineau@supelec.fr>
A: Giovanni Ridolfi <giovanni.ridolfi@yahoo.it>
Inviato: Mercoledì 5 Settembre 2012 10:35
>>Please try leaving a space between # and +
> Ok, a bit strange but it works :-)
Hi, Fabrice,
it is not strange at all, it is even documented in the release notes
of the software you're using.
Release notes of version 7.9.1 :
"Org Editing
[...]
Comments start with "[ \t]*# " anywhere on a line
Note that the space after the hashtag is mandatory. Comments with "^#+"
are not supported anymore. " [1]
[1] you can find the Release Notes in the file: your-org-path/etc/ORG-NEWS here a link:
[[file: please write here your path /org/etc/ORG-NEWS::*s%20start%20with%20"^%5B%20/t%5D*#%20"%20anywhere%20on%20a%20line][Comments start with "^{ \t}*# " anywhere on a line]
cancel these characters to close the parenthesis ]
or, if you prefer, reading online [2].
Thanks for understanding,
Giovanni
[2] http://orgmode.org/Changes.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-09-05 9:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-05 6:12 Emacs mode first line and Org-mode Fabrice Popineau
2012-09-05 8:06 ` Giovanni Ridolfi
2012-09-05 8:35 ` Fabrice Popineau
2012-09-05 9:22 ` Giovanni Ridolfi
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.