unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* bibtex-find-entry PATCH
@ 2006-04-18  0:59 JD Smith
  0 siblings, 0 replies; only message in thread
From: JD Smith @ 2006-04-18  0:59 UTC (permalink / raw)



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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-04-18  0:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-18  0:59 bibtex-find-entry PATCH JD Smith

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).