From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Caldwell Newsgroups: gmane.emacs.bugs Subject: bug#754: Can't cancel dabbrev-expand (M-/) with C-g Date: Wed, 06 Jul 2011 11:05:15 -0700 Message-ID: <4E14A3DB.5050302@porkrind.org> References: <87abf61i99.fsf@cyd.mit.edu> <48ADC243.40104@porkrind.org> <4968270F.4000105@porkrind.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig7500CC7F7195FDE641C5485F" X-Trace: dough.gmane.org 1309980404 18507 80.91.229.12 (6 Jul 2011 19:26:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 6 Jul 2011 19:26:44 +0000 (UTC) Cc: Chong Yidong , 754@debbugs.gnu.org To: Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 06 21:26:39 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QeXk6-00032S-2m for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Jul 2011 21:26:38 +0200 Original-Received: from localhost ([::1]:36648 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeXk4-0001Ap-Ns for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Jul 2011 15:26:36 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:46596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeWV7-0004En-4h for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2011 14:07:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QeWV5-00026K-2B for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2011 14:07:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52492) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QeWV4-000267-L8 for bug-gnu-emacs@gnu.org; Wed, 06 Jul 2011 14:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QeWV4-0007x9-3a; Wed, 06 Jul 2011 14:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Caldwell Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Jul 2011 18:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 754 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 754-submit@debbugs.gnu.org id=B754.130997557430511 (code B ref 754); Wed, 06 Jul 2011 18:07:02 +0000 Original-Received: (at 754) by debbugs.gnu.org; 6 Jul 2011 18:06:14 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QeWUH-0007w4-T7 for submit@debbugs.gnu.org; Wed, 06 Jul 2011 14:06:14 -0400 Original-Received: from kill.porkrind.org ([68.68.97.104] helo=david.xen.prgmr.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QeWTd-0007tf-Bg for 754@debbugs.gnu.org; Wed, 06 Jul 2011 14:05:34 -0400 Original-Received: from porkrind.org (cpe-98-151-185-99.socal.res.rr.com [98.151.185.99]) by david.xen.prgmr.com (Postfix) with ESMTPS id A1ED92BDE4; Wed, 6 Jul 2011 11:05:24 -0700 (PDT) Authentication-Results: david.xen.prgmr.com; dkim=pass (1536-bit key; insecure key) header.i=@porkrind.org header.b=QvCLGh01; dkim-adsp=pass Received-SPF: pass (porkrind.org: authenticated connection) receiver=porkrind.org; client-ip=127.0.0.1; helo=black.porkrind.org; envelope-from=david@porkrind.org; x-software=spfmilter 0.97 http://www.acme.com/software/spfmilter/ with libspf-unknown; Original-Received: from black.porkrind.org (localhost [127.0.0.1]) (authenticated bits=0) by porkrind.org (8.14.4/8.14.4/Debian-2) with ESMTP id p66I5JFa023742 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT); Wed, 6 Jul 2011 11:05:23 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=porkrind.org; s=apoptygma; t=1309975524; bh=vYFxqy5Ojica0vCLoINdt0X4/VhWFhcu53XWM+7I6zI=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=QvCLGh01F11UIElGKiZI0oxz6/5M4WhYC5sbYetbV7/5ZnsKXqIjFmjv2BPc6ydfD o2Pyi9tlpcldN6rA+6YUPFZQq96V7NmMnXMhwPnBQYYqSNgb8L3USG7cw/9lMHQVT9 W1mEnuzP6VCRZRN0IHbdjZTEs6K2ze8TQp+O8cyTQE+LQfMLC3fIxqi/s/ttvKlU5i H7+h971PeV6yog9ohPx0QlDU+D+qNSSIFTduNIzdoiRhnvK+22AqCr3pxBF User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 In-Reply-To: X-Enigmail-Version: 1.2 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAACXBIWXMAAAsTAAALEwEAmpwY AAAABGdBTUEAALGOfPtRkwAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+S X8VGAAABiklEQVR42rRYSZIDIQwzLv7/ZXLoEAzeBKG7ag4DRhZeBKQ0Qr5imLWCrKwn0HImc1Mx aAvmmc/cuAT7RMYws6v/gHeb0p4/y5792GJJlLZWOPgsdV5NaRes4Xe4632sLljD7wKv1Ta74H/h MxecN1Rc2TatYcP7zb+6WFfN/zMSHg1Ymuxjrzd+DuLw6Nlekggt1hvr7KK9tRIX85jjM6GTYhfv nzXH3jBdYc4koueBs66M+Xv9O9n5ML4urWssjGeMY3if3bzGSvk30BQ46OOaxJjLCpzPJAzXrOrD z5VFh58TIiwESIiCHNxxwPTy97qDei8YdpVdyYEv6EQcK8n+iTyE/Cn1eoe7HwN+F56oErVSGtJY Q1sR2ehaUHfjvJuv0tL7qAzEbBmfF2IHrVi8zp9N0pZtQZZHOXp/sLW4+hqKvm3iccaPwP3XgnKX n8/YtVeOsnenRG7VCBFlZ5fe3LOyANCVdGAIwDs7tTXGF4hIk15/iAfSgv2UkNFItSszOG3Ha7r0 GQBerhBkHOAzmQAAAABJRU5ErkJggg== X-Mailman-Approved-At: Wed, 06 Jul 2011 14:06:12 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 06 Jul 2011 14:07:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:48108 Archived-At: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7500CC7F7195FDE641C5485F Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 7/6/11 10:49 AM, Lars Magne Ingebrigtsen wrote: > David Caldwell writes: >=20 >>>>> 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 w= ork >>>>> 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 th= e >>>>> third or fourth time. >=20 > [...] >=20 >> 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 momen= t >> 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...= >=20 > 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 --------------enig7500CC7F7195FDE641C5485F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) iQCVAwUBThSj36f81MBhyqGFAQhAVAP+N1z1S4T9vWvnLCNBhBd3Y9DBpDKtPVuy lHehs6Z6WQ6tw8G1Jraa2bEu78z6ONcZF6cHIZlPkzzdhacHPNG1pH+X6DRsdK5H kbWvoaYBCEEhSoGZfJD1brzNL81vS8xY9IaY1Din1oy9XHhvL9b7TqPlThXYN4SE xW/yvTZLAHk= =VUNe -----END PGP SIGNATURE----- --------------enig7500CC7F7195FDE641C5485F--