GNU bug report logs -
#41285
28.0.50; bibtex-Book not defined
Previous Next
Reported by: Shuguang Sun <shuguang79 <at> qq.com>
Date: Fri, 15 May 2020 12:43:02 UTC
Severity: normal
Found in version 28.0.50
Fixed in version 28.1
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 41285 in the body.
You can then email your comments to 41285 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#41285
; Package
emacs
.
(Fri, 15 May 2020 12:43:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Shuguang Sun <shuguang79 <at> qq.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 15 May 2020 12:43:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Dear,
When I run bibtex-Book (C-c C-e b) in bibtex-mode buffer, it is said
"command-execute: Wrong type argument: commandp, bibtex-Book".
I think it happened after 6bcf7912aad6312d4bd521a3b8b5d9638d83dfa1 (patch), where it uses defalias to replace defun.
BR
Shuguang Sun
In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.17.3)
of 2020-05-15 built on lilydjwg
Repository revision: 779bc886f9bc2e3188bf2577c3df2ae662ca1b98
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12008000
System Description: Manjaro Linux
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#41285
; Package
emacs
.
(Sat, 16 May 2020 02:24:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 41285 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
It looks like the enclosing of the defalias and lamba is wrong. The body of th lambda is enclosed in the document.
Patch attached. Please review.
BR
Shuguang Sun
------------------ Original ------------------
Date: Fri, May 15, 2020 08:25 PM
To: "bug-gnu-emacs"<bug-gnu-emacs <at> gnu.org>;
Subject: 28.0.50; bibtex-Book not defined
Dear,
When I run bibtex-Book (C-c C-e b) in bibtex-mode buffer, it is said
"command-execute: Wrong type argument: commandp, bibtex-Book".
I think it happened after 6bcf7912aad6312d4bd521a3b8b5d9638d83dfa1 (patch), where it uses defalias to replace defun.
BR
Shuguang Sun
In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.17.3)
of 2020-05-15 built on lilydjwg
Repository revision: 779bc886f9bc2e3188bf2577c3df2ae662ca1b98
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12008000
System Description: Manjaro Linux
[bibtex_book-entry_bracket.diff (application/octet-stream, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#41285
; Package
emacs
.
(Sat, 16 May 2020 07:07:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 41285 <at> debbugs.gnu.org (full text, mbox):
> From: "Shuguang Sun" <shuguang79 <at> qq.com>
> Date: Sat, 16 May 2020 10:22:43 +0800
>
> It looks like the enclosing of the defalias and lamba is wrong. The body of th lambda is enclosed in the document.
>
> Patch attached. Please review.
CC'ing Stefan, who made that change.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#41285
; Package
emacs
.
(Sat, 16 May 2020 07:35:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 41285 <at> debbugs.gnu.org (full text, mbox):
On Mai 16 2020, Shuguang Sun wrote:
> --- a/lisp/textmodes/bibtex.el
> +++ b/lisp/textmodes/bibtex.el
> @@ -3559,9 +3559,9 @@ bibtex-set-dialect
> (lambda ()
> (:documentation
> (format "Insert a template for a @%s entry; see also `bibtex-entry'."
> - entry)
> + entry))
> (interactive "*")
> - (bibtex-entry entry)))))
> + (bibtex-entry entry))))
This makes the indentation disagreeing with the nesting.
Andreas.
--
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#41285
; Package
emacs
.
(Sat, 16 May 2020 13:10:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 41285 <at> debbugs.gnu.org (full text, mbox):
>> It looks like the enclosing of the defalias and lamba is wrong. The body
>> of th lambda is enclosed in the document.
>>
>> Patch attached. Please review.
>
> CC'ing Stefan, who made that change.
Should be fixed now,
Stefan
bug marked as fixed in version 28.1, send any further explanations to
41285 <at> debbugs.gnu.org and Shuguang Sun <shuguang79 <at> qq.com>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Thu, 21 May 2020 16:43:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 19 Jun 2020 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 55 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.