all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Kaushal <kaushal.modi@gmail.com>
Cc: 20532@debbugs.gnu.org
Subject: bug#20532: 25.0.50; void-variable cursor-sensor-inhibit
Date: Fri, 08 May 2015 14:02:04 -0400	[thread overview]
Message-ID: <jwvlhgzosyq.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <CAFyQvY1sWO-S6W=uHudDgKoQaHzb0VwLViV8RH1MnwcqCYEbVQ@mail.gmail.com> (Kaushal's message of "Fri, 08 May 2015 16:46:50 +0000")

> I get this error when I am trying to quit isearch. I don't know if this
> happens when I try to quit after I tried to search for a term that failed
> to be found in the buffer or when I try to quit after a successful search
> hit.

Hmmm... I can see 2 ways it could happen:
1- isearch-done is called without having called isearch-mode earlier.
2- isearch-done is called in a different buffer than the one in which
   isearch-mode was called.

I expect you're in case n°2.
Can you think of any reason why you might have started your search in
one buffer and ended it in another?  If not, maybe next time you bump
into it, try to figure what you've done in that search that might have
caused the buffer to be different at the end.

> ad-Advice-call-interactively(#<subr call-interactively> isearch-abort nil nil)

Obligatory side-question: what kind of advice do you have on
call-interactively (in case it might interact in odd ways and ends up
changing the current buffer, for example)?


        Stefan





  reply	other threads:[~2015-05-08 18:02 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-08 16:46 bug#20532: 25.0.50; void-variable cursor-sensor-inhibit Kaushal
2015-05-08 18:02 ` Stefan Monnier [this message]
2015-05-08 18:10   ` Kaushal
2015-05-08 22:37     ` Stefan Monnier
2015-05-25 21:00   ` Johan Bockgård
2015-05-25 22:54     ` Stefan Monnier
2015-05-27 16:18     ` Stefan Monnier
2015-05-06 16:44       ` bug#20516: 25.0.50; cursor-sensor is not loaded in isearch Vitalie Spinu
2015-05-06 16:54         ` Eli Zaretskii
2015-05-06 18:01           ` Vitalie Spinu
     [not found]         ` <handler.20516.D20532.143274351715092.notifdone@debbugs.gnu.org>
2015-05-27 16:58           ` bug#20516: closed (Re: bug#20532: 25.0.50; void-variable cursor-sensor-inhibit) Vitalie Spinu
2015-05-27 17:46             ` Vitalie Spinu
2015-05-27 20:52 ` bug#20532: 25.0.50; void-variable cursor-sensor-inhibit Christoph Ruegge
2015-05-28  1:49   ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvlhgzosyq.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=20532@debbugs.gnu.org \
    --cc=kaushal.modi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.