From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: latex export and beamer columns Date: Thu, 26 Nov 2009 10:05:06 +0100 Message-ID: <042AC9EF-A8A5-4065-B7B5-06730B34EAD0@gmail.com> References: <876394m49f.wl%ucecesf@ucl.ac.uk> <3CB39269-FB18-4155-AF32-00F6B46F8061@gmail.com> <878wdylpw5.wl%ucecesf@ucl.ac.uk> <876392lhfh.wl%ucecesf@ucl.ac.uk> <87hbsklwfa.wl%ucecesf@ucl.ac.uk> <87iqd09uju.wl%ucecesf@ucl.ac.uk> <8C1EA010-04C9-49C1-9F7F-5F0AB12EF4D0@gmail.com> <87ws1fg5rk.wl%ucecesf@ucl.ac.uk> <5900E2ED-795D-4168-9BFA-B1E590106001@gmail.com> <87k4xetrbl.wl%ucecesf@ucl.ac.uk> <67F9BEBF-F031-4076-AF98-BCBC74E06FB0@gmail.com> <878wdtk8ex.wl%ucecesf@ucl.ac.uk> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDaHq-0003xK-Mq for emacs-orgmode@gnu.org; Thu, 26 Nov 2009 04:05:14 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDaHl-0003uQ-KG for emacs-orgmode@gnu.org; Thu, 26 Nov 2009 04:05:14 -0500 Received: from [199.232.76.173] (port=53347 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDaHl-0003uK-F4 for emacs-orgmode@gnu.org; Thu, 26 Nov 2009 04:05:09 -0500 Received: from mail-bw0-f215.google.com ([209.85.218.215]:33027) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NDaHk-0001FG-UD for emacs-orgmode@gnu.org; Thu, 26 Nov 2009 04:05:09 -0500 Received: by bwz7 with SMTP id 7so392592bwz.26 for ; Thu, 26 Nov 2009 01:05:08 -0800 (PST) In-Reply-To: <878wdtk8ex.wl%ucecesf@ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric S Fraga Cc: org-mode mailing list 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