all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jeremy Bryant via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Liu Hui <liuhui1610@gmail.com>
Cc: 71946@debbugs.gnu.org
Subject: bug#71946: 30.0.50; [PATCH] Fix bibtex validation for non-file buffers
Date: Sat, 06 Jul 2024 23:38:28 +0100	[thread overview]
Message-ID: <87sewmp2mz.fsf@jeremybryant.net> (raw)
In-Reply-To: <CAOQTW-MHvt0jDbsPaFkOoBkgnFGzusXBcnYvu--ViToAgYLGiQ@mail.gmail.com> (Liu Hui's message of "Fri, 5 Jul 2024 18:00:00 +0800")

Liu Hui <liuhui1610@gmail.com> writes:

> Hi,
>
> I find that bibtex-validate has a minor issue for non-file buffers
> with syntax errors:
>
> 1. emacs -Q
> 2. create an empty buffer containing the following text:
>
> @article{1,
>   title = {Title},
>   author = {authors},
>   year = {2019}
>
> 3. M-x bibtex-mode, then M-x bibtex-validate
>    => Wrong type argument: stringp, nil

I have tested this recipe and reproduced this bug

>
> This patch fixes the problem. Thanks.

I have no comments on this patch yet.

>
> [2. text/x-patch; 0001-Fix-bibtex-validation-for-non-file-buffers.patch]...





  reply	other threads:[~2024-07-06 22:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-05 10:00 bug#71946: 30.0.50; [PATCH] Fix bibtex validation for non-file buffers Liu Hui
2024-07-06 22:38 ` Jeremy Bryant via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-07-13 10:26 ` Eli Zaretskii
     [not found]   ` <87a5fzlcl9.fsf@gnu.org>
2024-09-22 19:57     ` Roland Winkler
     [not found]     ` <875xqnlccs.fsf@gnu.org>
2024-09-23 11:44       ` Eli Zaretskii
2024-09-25  4:24         ` Roland Winkler
2024-07-20  9:49 ` Eli Zaretskii

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

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

  git send-email \
    --in-reply-to=87sewmp2mz.fsf@jeremybryant.net \
    --to=bug-gnu-emacs@gnu.org \
    --cc=71946@debbugs.gnu.org \
    --cc=jb@jeremybryant.net \
    --cc=liuhui1610@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.