From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "N. Raghavendra" Newsgroups: gmane.emacs.help Subject: Re: BibTeX mode --- remove unwanted fields Date: Fri, 29 Apr 2016 12:46:28 +0530 Message-ID: References: <87fuu4yk6r.fsf@student.uu.se> Reply-To: "N. Raghavendra" NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1461918450 4905 80.91.229.3 (29 Apr 2016 08:27:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Apr 2016 08:27:30 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 29 10:27:18 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aw3lc-0002pP-LI for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Apr 2016 10:27:16 +0200 Original-Received: from localhost ([::1]:52688 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aw3lZ-0007MN-2j for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Apr 2016 04:27:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aw3l5-0006z2-HG for help-gnu-emacs@gnu.org; Fri, 29 Apr 2016 04:26:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aw3kx-0000cd-VQ for help-gnu-emacs@gnu.org; Fri, 29 Apr 2016 04:26:42 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:53875) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aw3kx-0000aU-Q0 for help-gnu-emacs@gnu.org; Fri, 29 Apr 2016 04:26:35 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aw2fJ-0003qt-Az for help-gnu-emacs@gnu.org; Fri, 29 Apr 2016 09:16:41 +0200 Original-Received: from hrimail2.hri.res.in ([220.227.103.136]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Apr 2016 09:16:41 +0200 Original-Received: from raghu by hrimail2.hri.res.in with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Apr 2016 09:16:41 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 19 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: hrimail2.hri.res.in User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (darwin) Cancel-Lock: sha1:b5mvB22rUMmcMfuSQHP7/B9bgoA= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:109831 Archived-At: At 2016-04-29T08:59:24+02:00, Emanuel Berg wrote: > There is already `bibtex-next-field'. Then get the > data preferrable with a built-in, otherwise use > `thing-at-point' or something to that end. Oh, and the > "data" here is the field name, not the field data! > Then use `member' and see if that data is in your > variable of desired fields. If it isn't, kill with > `bibtex-kill-field'. After that/otherwise loop the > whole thing. Thanks, I'll look at bibtex.el, and see if I can cook up a method. Cheers, Raghu. -- N. Raghavendra , http://www.retrotexts.net/ Harish-Chandra Research Institute, http://www.hri.res.in/