unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23410: 25.1.50; M-s . C-g doesn't quit isearch gracefully
@ 2016-05-01  7:22 Chunyang Xu
  2016-05-01 20:31 ` Juri Linkov
  0 siblings, 1 reply; 2+ messages in thread
From: Chunyang Xu @ 2016-05-01  7:22 UTC (permalink / raw)
  To: 23410


To reproduce:

emacs -Q
M-s . C-g

then 'Isearch' remains in mode-line until next command and
'Wrong type argument: arrayp, nil' is displayed in echo area.
After one M-x toggle-debug-on-error, the following is
displayed in *Backtrace* buffer:

Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
  isearch--set-state(nil)
  isearch-pop-state()
  isearch-abort()
  funcall-interactively(isearch-abort)
  call-interactively(isearch-abort nil nil)
  command-execute(isearch-abort)


It should happen whenever the initial input is empty (saying 'No symbol
at point') and type a C-g immediately.


In GNU Emacs 25.1.50.1 (x86_64-apple-darwin15.4.0, NS appkit-1404.46 Version 10.11.4 (Build 15E65))
 of 2016-04-25 built on MBA.local
Repository revision: 12846626bfae795a173fdedf2850dfbd24065534
Windowing system distributor 'Apple', version 10.3.1404
Configured using:
 'configure --with-modules'

Configured features:
JPEG RSVG IMAGEMAGICK NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS
NS MODULES

Important settings:
  value of $LANG: en_CN.UTF-8
  locale-coding-system: utf-8-unix





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

* bug#23410: 25.1.50; M-s . C-g doesn't quit isearch gracefully
  2016-05-01  7:22 bug#23410: 25.1.50; M-s . C-g doesn't quit isearch gracefully Chunyang Xu
@ 2016-05-01 20:31 ` Juri Linkov
  0 siblings, 0 replies; 2+ messages in thread
From: Juri Linkov @ 2016-05-01 20:31 UTC (permalink / raw)
  To: Chunyang Xu; +Cc: 23410-done

> To reproduce:
>
> emacs -Q
> M-s . C-g
>
> then 'Isearch' remains in mode-line until next command and
> 'Wrong type argument: arrayp, nil' is displayed in echo area.
> After one M-x toggle-debug-on-error, the following is
> displayed in *Backtrace* buffer:
>
> Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
>   isearch--set-state(nil)
>   isearch-pop-state()
>   isearch-abort()
>   funcall-interactively(isearch-abort)
>   call-interactively(isearch-abort nil nil)
>   command-execute(isearch-abort)
>
> It should happen whenever the initial input is empty (saying 'No symbol
> at point') and type a C-g immediately.

Thanks for the report.  Now fixed in emacs-25.





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

end of thread, other threads:[~2016-05-01 20:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-01  7:22 bug#23410: 25.1.50; M-s . C-g doesn't quit isearch gracefully Chunyang Xu
2016-05-01 20:31 ` Juri Linkov

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