From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Bretfeld Newsgroups: gmane.emacs.help Subject: Re: Required empty fields in BibTeX mode Date: Mon, 19 Nov 2007 23:00:36 +0100 Message-ID: <877ikd99q3.fsf@kamaloka.dhatu> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1520818006==" X-Trace: ger.gmane.org 1195509672 8418 80.91.229.12 (19 Nov 2007 22:01:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2007 22:01:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 19 23:01:18 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IuEg9-0006kv-Dj for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Nov 2007 23:01:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IuEfv-0000I2-N3 for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Nov 2007 17:01:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IuEfg-0000Hg-KV for help-gnu-emacs@gnu.org; Mon, 19 Nov 2007 17:00:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IuEfe-0000GR-U3 for help-gnu-emacs@gnu.org; Mon, 19 Nov 2007 17:00:48 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IuEfe-0000GH-PF for help-gnu-emacs@gnu.org; Mon, 19 Nov 2007 17:00:46 -0500 Original-Received: from viefep28-int.chello.at ([62.179.121.48]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IuEfd-000249-Kf for help-gnu-emacs@gnu.org; Mon, 19 Nov 2007 17:00:46 -0500 Original-Received: from kamaloka.dhatu ([80.219.162.86]) by viefep28-int.chello.at (InterMail vM.7.08.02.02 201-2186-121-104-20070414) with ESMTP id <20071119220042.OWLX9569.viefep28-int.chello.at@kamaloka.dhatu> for ; Mon, 19 Nov 2007 23:00:42 +0100 In-Reply-To: (Roland Winkler's message of "Mon, 19 Nov 2007 15:46:41 +0100") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:49353 Archived-At: --===============1520818006== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Roland Winkler writes: > Roland Winkler writes: >> Formatting of BibTeX entries is controlled by the variable >> bibtex-entry-format which contains a list of formatting options. >> Empty fields are deleted if this list contains 'opts-or-alts. Remove >> this from the list and you should get what you want. > > Ooops, this is just part one of your more specific question. With > the above you will keep all empty fields. You could then put a > function into bibtex-clean-entry-hook that deletes all empty fields > except for the one you want to keep. Thank you, I've done it that way now. At least half of it. For the second part, the hook, I have to experiment a bit. Greetings Sven --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHQgeHV5JTHLAduAYRAkx/AJ4lcGXY5CAlFHxR04lEzh/FCQkvdwCcC2oB Ep23ugJbz1RSQ8B/ZC+Rvss= =Yk2q -----END PGP SIGNATURE----- --=-=-=-- --===============1520818006== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-gnu-emacs mailing list help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============1520818006==--