From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Frederik Fouvry Newsgroups: gmane.emacs.bugs Subject: bibtex autokey + crossref + >1 bibtex file does not work Date: Thu, 4 Nov 2004 21:35:22 +0100 (CET) Message-ID: <20041104203522.7AD7510B36@cc.at.coli.uni-sb.de> Reply-To: Frederik.Fouvry@CoLi.Uni-SB.DE NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1099600580 29140 80.91.229.6 (4 Nov 2004 20:36:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Nov 2004 20:36:20 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 04 21:35:58 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CPoKr-0003aO-00 for ; Thu, 04 Nov 2004 21:35:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CPoT1-0001Uj-Dm for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Nov 2004 15:44:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CPoSz-0001Tu-9e for bug-gnu-emacs@gnu.org; Thu, 04 Nov 2004 15:44:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CPoSy-0001TB-6B for bug-gnu-emacs@gnu.org; Thu, 04 Nov 2004 15:44:20 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CPoSx-0001So-Uf for bug-gnu-emacs@gnu.org; Thu, 04 Nov 2004 15:44:19 -0500 Original-Received: from [134.96.7.3] (helo=indyio.rz.uni-saarland.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CPoKM-0003yC-0l for bug-gnu-emacs@gnu.org; Thu, 04 Nov 2004 15:35:26 -0500 Original-Received: from top.coli.uni-sb.de (top.coli.uni-sb.de [134.96.68.10]) by indyio.rz.uni-saarland.de (8.12.10/8.12.10) with ESMTP id iA4KZMc811615109 for ; Thu, 4 Nov 2004 21:35:23 +0100 (CET) Original-Received: from cc.at.coli.uni-sb.de (cc.at.coli.uni-sb.de [134.96.104.80]) by top.coli.uni-sb.de (8.9.3p3/8.9.3) with ESMTP id VAA00479 for ; Thu, 4 Nov 2004 21:35:22 +0100 (MET) Original-Received: by cc.at.coli.uni-sb.de (Postfix, from userid 1292) id 7AD7510B36; Thu, 4 Nov 2004 21:35:22 +0100 (CET) Original-To: bug-gnu-emacs@gnu.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.1 (indyio.rz.uni-saarland.de [134.96.7.3]); Thu, 04 Nov 2004 21:35:23 +0100 (CET) X-AntiVirus: checked by AntiVir Milter 1.0.6; AVE 6.28.0.12; VDF 6.28.0.56 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:9592 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:9592 This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English, because the Emacs maintainers do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. In GNU Emacs 21.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2004-02-19 on cc.at.coli.uni-sb.de configured using `configure --prefix=/export/black --with-xpm --with-jpeg --with-tiff --with-gif --with-png --with-x --with-gcc --with-pop --with-sound' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: POSIX value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: de_DE@euro value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_GB locale-coding-system: iso-latin-1 default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: In a BibTeX bibliography that contains entries that use the "crossref" attribute whose target entry is located in another file, the autokey facility does not find the attributes that are required for the generation of the key. Typically this is the year. The reason is obvious: only the current file is searched. To make this work, one has to make BibTeX-mode aware of other files that constitute the bibliography (like with the string-files), and either search these files, or generate on-the-fly one big temporary file/buffer. Setting the variable would probably best be done in the local variables section of the BibTeX file. Thanks, Frederik Fouvry