From: David Caldwell <david@porkrind.org>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: Chong Yidong <cyd@stupidchicken.com>, 754@debbugs.gnu.org
Subject: bug#754: Can't cancel dabbrev-expand (M-/) with C-g
Date: Wed, 06 Jul 2011 11:05:15 -0700 [thread overview]
Message-ID: <4E14A3DB.5050302@porkrind.org> (raw)
In-Reply-To: <m34o2z1ept.fsf@quimbies.gnus.org>
[-- Attachment #1: Type: text/plain, Size: 1752 bytes --]
On 7/6/11 10:49 AM, Lars Magne Ingebrigtsen wrote:
> David Caldwell <david@porkrind.org> writes:
>
>>>>> If I have many buffers open (284 at the moment) and if I run
>>>>> dabbrev-expand (M-/) to expand the word under my buffers then it
>>>>> searches through every buffer and takes an understandably long
>>>>> time. If I mispelled the word fragment then it never has a hope of
>>>>> finding it and I'd like to cancel the operation. But C-g does not work
>>>>> for some reason and so I have to wait a good 5 to 10 seconds for it to
>>>>> finish scanning all my buffers. This gets very frustrating after the
>>>>> third or fourth time.
>
> [...]
>
>> After further testing, I believe this is not really a bug in dabbrev.
>> C-g *does* cancel the operation, it's just that sometimes there is a
>> large lag before it cancels (though in my current tests I've never had
>> it go beyond 2 seconds). I have a ton of buffers open right this moment
>> and fulling scan them takes 15 to 20 seconds, so I can definitely tell
>> that it's canceling.
>>
>> The 1 to 2 second lag is still a little frustrating, but it's much
>> better than the originally reported 5 to 10 second lag. I wonder if it
>> has to do with how the Mac handles the quit signal in windowed mode...
>
> Do you know if this bug is still present in newer Emacs versions?
It's hard to tell--currently, it seems that scanning through all the
buffers is *really* fast. So it only takes about a second to scan
through my 600 buffers even if I don't cancel it. It doesn't really seem
like canceling makes the process any faster but my level of annoyance is
gone because of the search speedup.
I'm running a version built from bzr on 2011-06-09.
-David
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 305 bytes --]
next prev parent reply other threads:[~2011-07-06 18:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-21 15:48 bug#754: Can't cancel dabbrev-expand (M-/) with C-g Chong Yidong
2008-08-21 19:30 ` David Caldwell
2009-01-10 4:41 ` David Caldwell
2011-07-06 17:49 ` Lars Magne Ingebrigtsen
2011-07-06 18:05 ` David Caldwell [this message]
2011-07-07 17:53 ` Lars Magne Ingebrigtsen
2011-07-07 18:29 ` David Caldwell
-- strict thread matches above, loose matches on Subject: below --
2008-08-20 23:38 David Caldwell
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=4E14A3DB.5050302@porkrind.org \
--to=david@porkrind.org \
--cc=754@debbugs.gnu.org \
--cc=cyd@stupidchicken.com \
--cc=larsi@gnus.org \
/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.