Subject: bug#23410: closed (Re: bug#23410: 25.1.50; M-s . C-g doesn't quit isearch gracefully)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 01 May 2016 20:32:02 +0000

Your bug report

#23410: 25.1.50; M-s . C-g doesn't quit isearch gracefully

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
23410: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23410
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#23410: 25.1.50; M-s . C-g doesn't quit isearch gracefully
From: Juri Linkov <[email-masked]>
To: Chunyang Xu <[email-masked]>
Cc: [email-masked]
Date: Sun, 01 May 2016 23:31:12 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

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

Subject: 25.1.50; M-s . C-g doesn't quit isearch gracefully
From: Chunyang Xu <[email-masked]>
To: [email-masked]
Date: Sun, 01 May 2016 15:22:56 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

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