From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: org mode and reftex Date: Fri, 13 Jul 2007 12:36:24 +0200 Message-ID: <3b8d86984febb43bd550fa8f7f78a53c@science.uva.nl> References: <57102278d9c24eb3221bb0f00d49352b@science.uva.nl> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I9IWO-0006JE-AS for emacs-orgmode@gnu.org; Fri, 13 Jul 2007 06:37:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I9IWM-0006Ik-Mo for emacs-orgmode@gnu.org; Fri, 13 Jul 2007 06:37:11 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I9IWM-0006IT-9a for emacs-orgmode@gnu.org; Fri, 13 Jul 2007 06:37:10 -0400 Received: from korteweg.uva.nl ([146.50.98.70]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I9IWK-0004WZ-Tn for emacs-orgmode@gnu.org; Fri, 13 Jul 2007 06:37:09 -0400 In-Reply-To: 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: francois Cc: emacs-orgmode@gnu.org On Jul 13, 2007, at 9:18, francois wrote: > Carsten Dominik science.uva.nl> writes: > > thanks for your prompt reply. > >>> To customize this citation I have defined in my .emacs >>> (defun my-org-mode-setup () >> Are you adding this function to org-mode-hook? > yes > >> Change >>> (reftex-parse-all) ; to make reftex aware of the biblio >>> ; # \bibliography{biblio} >> to this: >> >> (if (buffer-file-name) (reftex-parse-all)) > > I have just tried, but it didn't change anything. > The reftex-parse-all seems to be still called. How about (and (buffer-file-name) (file-exists-p (buffer-file-name)) (reftex-parse-all)) ? - Carsten -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477