emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bibtex-find-entry PATCH


From: JD Smith
Subject: bibtex-find-entry PATCH
Date: Mon, 17 Apr 2006 17:59:40 -0700
User-agent: Pan/0.14.2.91 (As She Crawled Across the Table)

`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]*\\("







reply via email to

[Prev in Thread] Current Thread [Next in Thread]