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: Thu, 21 Aug 2008 12:30:11 -0700 Message-ID: <48ADC243.40104@porkrind.org> References: <87abf61i99.fsf@cyd.mit.edu> Reply-To: David Caldwell , 754@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1219378886 1599 80.91.229.12 (22 Aug 2008 04:21:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Aug 2008 04:21:26 +0000 (UTC) Cc: 754@emacsbugs.donarmstrong.com To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 22 06:22:18 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KWOAE-00048S-BD for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Aug 2008 06:22:18 +0200 Original-Received: from localhost ([127.0.0.1]:52046 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWO9G-0000OS-RE for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Aug 2008 00:21:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KWG83-0002D8-3M for bug-gnu-emacs@gnu.org; Thu, 21 Aug 2008 15:47:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KWG82-0002CU-7g for bug-gnu-emacs@gnu.org; Thu, 21 Aug 2008 15:47:30 -0400 Original-Received: from [199.232.76.173] (port=48166 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWG81-0002CJ-QR for bug-gnu-emacs@gnu.org; Thu, 21 Aug 2008 15:47:29 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44198) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KWG81-0001AJ-NY for bug-gnu-emacs@gnu.org; Thu, 21 Aug 2008 15:47:30 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7LJlRaa024952; Thu, 21 Aug 2008 12:47:27 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7LJZ3j1020609; Thu, 21 Aug 2008 12:35:03 -0700 X-Loop: don@donarmstrong.com Resent-From: David Caldwell Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 21 Aug 2008 19:35:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 754 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 754-submit@emacsbugs.donarmstrong.com id=B754.121934703020218 (code B ref 754); Thu, 21 Aug 2008 19:35:03 +0000 Original-Received: (at 754) by emacsbugs.donarmstrong.com; 21 Aug 2008 19:30:30 +0000 Original-Received: from death.porkrind.org (cpe-76-87-215-142.socal.res.rr.com [76.87.215.142]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7LJUKwx019772 for <754@emacsbugs.donarmstrong.com>; Thu, 21 Aug 2008 12:30:21 -0700 Received-SPF: pass (death.porkrind.org: authenticated connection) receiver=death.porkrind.org; client-ip=127.0.0.1; helo=black.local; envelope-from=david@porkrind.org; x-software=spfmilter 0.97 http://www.acme.com/software/spfmilter/ with libspf-unknown; Original-Received: from black.local (localhost [127.0.0.1]) (authenticated bits=0) by death.porkrind.org (8.14.3/8.14.3/Debian-5) with ESMTP id m7LJUBQn017740 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 21 Aug 2008 12:30:15 -0700 User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) In-Reply-To: <87abf61i99.fsf@cyd.mit.edu> X-Enigmail-Version: 0.95.6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Thu, 21 Aug 2008 15:47:30 -0400 X-Mailman-Approved-At: Fri, 22 Aug 2008 00:18:56 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:19633 Archived-At: Chong Yidong wrote: >> 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. > > I don't see why C-g wouldn't work here. Could you apply the following > patch and see if the problem persists? (This is not a fix; it's an > attempt to diagnose the problem. As far as I know, quitting should not > be inhibited here.) > ;; Walk through the buffers till we find a match. > ! (let ((inhibit-quit nil) > ! expansion) I tried the patch but Emacs behaved the same as without it. -David