From: Carsten Dominik <carsten.dominik@gmail.com>
To: Eric S Fraga <e.fraga@ucl.ac.uk>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: latex export and beamer columns
Date: Thu, 26 Nov 2009 10:05:06 +0100 [thread overview]
Message-ID: <042AC9EF-A8A5-4065-B7B5-06730B34EAD0@gmail.com> (raw)
In-Reply-To: <878wdtk8ex.wl%ucecesf@ucl.ac.uk>
On Nov 26, 2009, at 9:16 AM, Eric S Fraga wrote:
> At Thu, 26 Nov 2009 00:25:21 +0100,
> Carsten Dominik wrote:
>
>> On Nov 25, 2009, at 7:03 PM, Eric S Fraga wrote:
>>
>>> Carsten,
>>>
>>> I am puzzled. I can get this to work (and it works very well
>>> indeed)
>>> but only if I set these variables through the customisation
>>> interface
>>> in Emacs (custom-set-variables) and not if I setq them after loading
>>> the packages as I normally do. No other variables in org-mode
>>> give me
>>> this behaviour.
>>>
>>> I haven't yet tried seeing if both variables have to be set through
>>> custom-set-variables or only one of them but will try that later.
>>
>> Hi Eric,
>>
>> I wrote in my reply that a restart of Emacs is necessary to make the
>> work.
>> The reason is that the information in these variables must be
>> converted into complicated regexp, and that only happens if you do
>> it
>> through customize
>> (which sets the variable and then calls a hook to do the necessary
>> updates),
>> or if you set the variables in Lisp *before* org.el is loaded.
>>
>> The docstring of org-emphasis-alist says:
>>
>> "Use customize to modify this, or restart Emacs after changing it."
>>
>> If that is not clear enough, what should I write there?
>>
>> - Carsten
>>
>
> This is all perfectly clear: I did restart emacs (several times) after
> putting in the setq commands to set those variables.
>
> However, I guess the instructions you give are actually subtly
> incorrect? That is, from what you say above, using setq is not going
> to work because that doesn't invoke any hooks for the particular
> variables. Therefore these variable must (?) be set through
> customize? Or is there some way to invoke, automatically, the hooks
> when setting a variable directly? Probably not.
setq will work when you do it *before* loading org.el
- Carsten
>
> FYI, I am happy in principle to use customize but I don't use it in
> general because I share my emacs configuration amongst a number of
> machines and tend to use customize *only* for those variables that are
> different on each system (e.g. only emacs 22 is available on my
> internet table). This makes it easy to have an almost consistent
> environment regardless of the system I'm using.
>
> Anyway, thanks again: using @text@ now works very nicely both in org
> mode and in the export!
>
> eric
- Carsten
next prev parent reply other threads:[~2009-11-26 9:05 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-21 12:49 latex export and beamer columns Eric S Fraga
2009-11-21 13:34 ` Carsten Dominik
2009-11-22 12:12 ` Eric S Fraga
2009-11-22 15:15 ` Eric S Fraga
2009-11-22 15:29 ` Matt Lundin
2009-11-22 19:31 ` Eric S Fraga
2009-11-23 13:55 ` Carsten Dominik
2009-11-23 22:15 ` Eric S Fraga
2009-11-24 0:02 ` Daniel Martins
2009-11-24 6:55 ` Carsten Dominik
2009-11-24 8:36 ` Eric S Fraga
2009-11-24 8:49 ` Eric S Fraga
2009-11-24 8:59 ` Carsten Dominik
2009-11-24 18:02 ` Eric S Fraga
2009-11-25 6:28 ` Carsten Dominik
2009-11-25 9:27 ` Eric S Fraga
2009-11-25 18:03 ` Eric S Fraga
2009-11-25 23:25 ` Carsten Dominik
2009-11-26 8:16 ` Eric S Fraga
2009-11-26 9:05 ` Carsten Dominik [this message]
2009-11-26 10:33 ` Eric S Fraga
2009-11-23 14:53 ` Sébastien Vauban
2009-11-21 16:33 ` Thomas S. Dye
2009-11-22 12:00 ` Eric S Fraga
2009-11-26 1:52 ` Łukasz Stelmach
2009-11-26 18:25 ` Eric S Fraga
2009-11-26 19:54 ` Darlan Cavalcante Moreira
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=042AC9EF-A8A5-4065-B7B5-06730B34EAD0@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).