GNU bug report logs - #23410
25.1.50; M-s . C-g doesn't quit isearch gracefully

Previous Next

Package: emacs;

Reported by: Chunyang Xu <xuchunyang.me <at> gmail.com>

Date: Sun, 1 May 2016 07:25:01 UTC

Severity: normal

Found in version 25.1.50

Done: Juri Linkov <juri <at> linkov.net>

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 23410 in the body.
You can then email your comments to 23410 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#23410; Package emacs. (Sun, 01 May 2016 07:25:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chunyang Xu <xuchunyang.me <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 01 May 2016 07:25:01 GMT) Full text and rfc822 format available.

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

From: Chunyang Xu <xuchunyang.me <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.1.50; M-s . C-g doesn't quit isearch gracefully
Date: Sun, 01 May 2016 15:22:56 +0800
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




Reply sent to Juri Linkov <juri <at> linkov.net>:
You have taken responsibility. (Sun, 01 May 2016 20:32:02 GMT) Full text and rfc822 format available.

Notification sent to Chunyang Xu <xuchunyang.me <at> gmail.com>:
bug acknowledged by developer. (Sun, 01 May 2016 20:32:02 GMT) Full text and rfc822 format available.

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

From: Juri Linkov <juri <at> linkov.net>
To: Chunyang Xu <xuchunyang.me <at> gmail.com>
Cc: 23410-done <at> debbugs.gnu.org
Subject: Re: bug#23410: 25.1.50; M-s . C-g doesn't quit isearch gracefully
Date: Sun, 01 May 2016 23:31:12 +0300
> 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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 30 May 2016 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 81 days ago.

Previous Next


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