unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: JD Smith <jdsmith@as.arizona.edu>
Subject: bibtex-find-entry PATCH
Date: Mon, 17 Apr 2006 17:59:40 -0700	[thread overview]
Message-ID: <pan.2006.04.18.00.59.39.374068@as.arizona.edu> (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]*\\("

                 reply	other threads:[~2006-04-18  0:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pan.2006.04.18.00.59.39.374068@as.arizona.edu \
    --to=jdsmith@as.arizona.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).