From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: latex export and beamer columns Date: Thu, 26 Nov 2009 08:16:38 +0000 Message-ID: <878wdtk8ex.wl%ucecesf@ucl.ac.uk> 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> Reply-To: Eric S Fraga Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDZX7-0003td-7D for emacs-orgmode@gnu.org; Thu, 26 Nov 2009 03:16:57 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDZX2-0003rw-EP for emacs-orgmode@gnu.org; Thu, 26 Nov 2009 03:16:56 -0500 Received: from [199.232.76.173] (port=56776 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDZX2-0003rf-8g for emacs-orgmode@gnu.org; Thu, 26 Nov 2009 03:16:52 -0500 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:33018) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NDZX0-0004RY-PI for emacs-orgmode@gnu.org; Thu, 26 Nov 2009 03:16:51 -0500 In-Reply-To: <67F9BEBF-F031-4076-AF98-BCBC74E06FB0@gmail.com> 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: Carsten Dominik Cc: org-mode mailing list 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. 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