GNU bug report logs - #32987
27.0.50; `revert-buffer' fails in occur

Previous Next

Package: emacs;

Reported by: Karl Otness <karl <at> karlotness.com>

Date: Mon, 8 Oct 2018 11:17:02 UTC

Severity: normal

Found in version 27.0.50

Done: Eli Zaretskii <eliz <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 32987 in the body.
You can then email your comments to 32987 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#32987; Package emacs. (Mon, 08 Oct 2018 11:17:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Karl Otness <karl <at> karlotness.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 08 Oct 2018 11:17:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Karl Otness <karl <at> karlotness.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.0.50; `revert-buffer' fails in occur
Date: Mon, 8 Oct 2018 12:01:36 +0100
I get an error when reverting occur buffers. Specifically:
"apply: Wrong number of arguments: (3 . 4), 1"

Seems to be during apply of `occur-1'. Not sure what the correct call
would look like, but I grabbed a quick backtrace.
Here it is:
Debugger entered--Lisp error: (wrong-number-of-arguments (3 . 4) 1)
  occur-1("test.txt")
  apply(occur-1 "test.txt")
  occur-revert-function(t nil)
  revert-buffer(t)
  funcall-interactively(revert-buffer t)
  call-interactively(revert-buffer nil nil)
  command-execute(revert-buffer)

To reproduce with emacs -q:
Fill a buffer with some text. M-x occur, and search for something,
switch to the occur buffer then hit g to revert. Error message is
printed.

I saw this error running occur on text-mode and org-mode buffers. This
is a build off of master "44bf4a6b" from a few days ago.

Thanks,
Karl




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Tue, 09 Oct 2018 14:52:03 GMT) Full text and rfc822 format available.

Notification sent to Karl Otness <karl <at> karlotness.com>:
bug acknowledged by developer. (Tue, 09 Oct 2018 14:52:03 GMT) Full text and rfc822 format available.

Message #10 received at 32987-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Karl Otness <karl <at> karlotness.com>
Cc: 32987-done <at> debbugs.gnu.org
Subject: Re: bug#32987: 27.0.50; `revert-buffer' fails in occur
Date: Tue, 09 Oct 2018 17:50:44 +0300
> From: Karl Otness <karl <at> karlotness.com>
> Date: Mon, 8 Oct 2018 12:01:36 +0100
> 
> I get an error when reverting occur buffers. Specifically:
> "apply: Wrong number of arguments: (3 . 4), 1"
> 
> Seems to be during apply of `occur-1'. Not sure what the correct call
> would look like, but I grabbed a quick backtrace.
> Here it is:
> Debugger entered--Lisp error: (wrong-number-of-arguments (3 . 4) 1)
>   occur-1("test.txt")
>   apply(occur-1 "test.txt")
>   occur-revert-function(t nil)
>   revert-buffer(t)
>   funcall-interactively(revert-buffer t)
>   call-interactively(revert-buffer nil nil)
>   command-execute(revert-buffer)
> 
> To reproduce with emacs -q:
> Fill a buffer with some text. M-x occur, and search for something,
> switch to the occur buffer then hit g to revert. Error message is
> printed.

Thanks, should be fixed now.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 07 Nov 2018 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 228 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.