From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: JD Smith Newsgroups: gmane.emacs.devel Subject: bibtex-find-entry PATCH Date: Mon, 17 Apr 2006 17:59:40 -0700 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1145322009 10759 80.91.229.2 (18 Apr 2006 01:00:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Apr 2006 01:00:09 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 18 03:00:08 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FVeZY-0007r3-4Z for ged-emacs-devel@m.gmane.org; Tue, 18 Apr 2006 03:00:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FVeZX-0005RN-O3 for ged-emacs-devel@m.gmane.org; Mon, 17 Apr 2006 21:00:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FVeZL-0005RI-Nf for emacs-devel@gnu.org; Mon, 17 Apr 2006 20:59:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FVeZJ-0005R6-DB for emacs-devel@gnu.org; Mon, 17 Apr 2006 20:59:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FVeZJ-0005R3-6A for emacs-devel@gnu.org; Mon, 17 Apr 2006 20:59:49 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FVea4-0005Ti-J9 for emacs-devel@gnu.org; Mon, 17 Apr 2006 21:00:36 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FVeZF-0007mg-HZ for emacs-devel@gnu.org; Tue, 18 Apr 2006 02:59:45 +0200 Original-Received: from turtle.as.arizona.edu ([128.196.208.207]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Apr 2006 02:59:45 +0200 Original-Received: from jdsmith by turtle.as.arizona.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Apr 2006 02:59:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 33 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: turtle.as.arizona.edu User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:52984 Archived-At: `bibtex-find-entry' (C-c C-s) fails on BibTeX entries without the exact casing for, e.g., "@Article". Would anyone object to this patch, which fixes this? BibTeX itself is happy with "@ARTICLE", or any other casing. JD Index: bibtex.el =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/textmodes/bibtex.el,v retrieving revision 1.113 diff -w -b -c -c -r1.113 bibtex.el *** bibtex.el 9 Apr 2006 18:29:19 -0000 1.113 --- bibtex.el 18 Apr 2006 00:57:36 -0000 *************** *** 3303,3309 **** (display (message "Key `%s' not found" key))) found) ! (let* (case-fold-search (pnt (save-excursion (goto-char (or start (point-min))) (if (re-search-forward (concat "^[ \t]*\\(" --- 3303,3309 ---- (display (message "Key `%s' not found" key))) found) ! (let* ((case-fold-search t) (pnt (save-excursion (goto-char (or start (point-min))) (if (re-search-forward (concat "^[ \t]*\\("