From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#5840: 24.0.50; wrong tramp-file-name-regexp Date: Wed, 14 Apr 2010 11:31:45 -0400 Message-ID: References: <87d3ydw1wr.fsf@tux.homenetwork> <87tyri53r7.fsf@gmx.de> <878w8tmgew.fsf@detlef.i-did-not-set--mail-host-address--so-tickle-me> <87sk703dqe.fsf@tux.homenetwork> <87ochoebei.fsf@gmx.de> <87y6gsug45.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1271261553 1928 80.91.229.12 (14 Apr 2010 16:12:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 14 Apr 2010 16:12:33 +0000 (UTC) Cc: "bug-gnu-emacs@gnu.org" , Thierry Volpiatto To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 14 18:12:19 2010 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.69) (envelope-from ) id 1O25CG-0007WU-0l for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Apr 2010 18:12:17 +0200 Original-Received: from localhost ([127.0.0.1]:47049 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O25C3-0004XI-TY for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Apr 2010 12:11:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O24zY-0000zP-Aj for bug-gnu-emacs@gnu.org; Wed, 14 Apr 2010 11:59:04 -0400 Original-Received: from [140.186.70.92] (port=42881 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O24zW-0000xz-M1 for bug-gnu-emacs@gnu.org; Wed, 14 Apr 2010 11:59:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O24zU-0005nd-An for bug-gnu-emacs@gnu.org; Wed, 14 Apr 2010 11:59:01 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40329) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O24zU-0005nX-6n for bug-gnu-emacs@gnu.org; Wed, 14 Apr 2010 11:59:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1O24aM-000163-5x; Wed, 14 Apr 2010 11:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Apr 2010 15:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5840 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.12712591224194 (code B ref -1); Wed, 14 Apr 2010 15:33:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Apr 2010 15:32:02 +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 1O24ZN-00015b-Kx for submit@debbugs.gnu.org; Wed, 14 Apr 2010 11:32:02 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O24ZL-00015P-CH for submit@debbugs.gnu.org; Wed, 14 Apr 2010 11:32:00 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:58511) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1O24ZG-0003Vk-CH for submit@debbugs.gnu.org; Wed, 14 Apr 2010 11:31:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O24ZF-0005gn-Cd for bug-gnu-emacs@gnu.org; Wed, 14 Apr 2010 11:31:53 -0400 Original-Received: from [140.186.70.92] (port=33721 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O24ZD-0005fx-U2 for bug-gnu-emacs@gnu.org; Wed, 14 Apr 2010 11:31:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O24Z9-0000yB-SC for bug-gnu-emacs@gnu.org; Wed, 14 Apr 2010 11:31:50 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:5188 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O24Z9-0000xf-P0 for bug-gnu-emacs@gnu.org; Wed, 14 Apr 2010 11:31:47 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAM58xUtMCpxH/2dsb2JhbACbVXK9RYJ6ghMEi1o X-IronPort-AV: E=Sophos;i="4.52,205,1270440000"; d="scan'208";a="60853225" Original-Received: from 76-10-156-71.dsl.teksavvy.com (HELO pastel.home) ([76.10.156.71]) by ironport2-out.pppoe.ca with ESMTP; 14 Apr 2010 11:31:46 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 3D4177F1B; Wed, 14 Apr 2010 11:31:45 -0400 (EDT) In-Reply-To: (Michael Albinus's message of "Tue, 13 Apr 2010 15:28:17 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 14 Apr 2010 11:33:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , 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:36246 Archived-At: >> Actually, now that I think about it, I think it's more general >> than that. It's basically the idea that the current execution is >> non-essential (e.g. part of some background computation, or some >> not-necessarily-expected part of a command like loading a desktop(.el)). >> So maybe the variable should be in simple.el and named `non-essential'. > Could you, please, add this variable to simple.el, with a proper > docstring? I tend to fail with understable descriptions ... I've just added it. *BUT* I also realized that your suggested patch: *************** *** 1028,1034 **** "Display a list of possible completions of the current minibuffer contents." (interactive) (message "Making completion list...") ! (let* ((start (field-beginning)) (string (field-string)) (completions (completion-all-completions string --- 1028,1035 ---- "Display a list of possible completions of the current minibuffer contents." (interactive) (message "Making completion list...") ! (let* ((non-essential t) ! (start (field-beginning)) (string (field-string)) (completions (completion-all-completions string is not OK: when I hit ? (or TAB) in the minibuffer, I really do want Tramp to give me the possible completions, even if that requires my entering a password. So, it should be added to ido/icomplete and to the original code: (add-hook 'minibuffer-setup-hook (lambda () (let ((non-essential t)) (add-hook 'post-command-hook 'minibuffer-completion-help nil t)))) but not to the minibuffer-completion-help itself. Stefan