unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#32987: 27.0.50; `revert-buffer' fails in occur
@ 2018-10-08 11:01 Karl Otness
  2018-10-09 14:50 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Karl Otness @ 2018-10-08 11:01 UTC (permalink / raw)
  To: 32987

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#32987: 27.0.50; `revert-buffer' fails in occur
  2018-10-08 11:01 bug#32987: 27.0.50; `revert-buffer' fails in occur Karl Otness
@ 2018-10-09 14:50 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2018-10-09 14:50 UTC (permalink / raw)
  To: Karl Otness; +Cc: 32987-done

> From: Karl Otness <karl@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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-09 14:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-08 11:01 bug#32987: 27.0.50; `revert-buffer' fails in occur Karl Otness
2018-10-09 14:50 ` Eli Zaretskii

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).