From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] trunk r113958: * minibuffer.el (completion--sifn-requote): Bind `non-essential'. Date: Thu, 22 Aug 2013 23:21:23 -0400 Message-ID: References: <87zjs9sh5o.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1377228106 22715 80.91.229.3 (23 Aug 2013 03:21:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Aug 2013 03:21:46 +0000 (UTC) Cc: emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 23 05:21:48 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VChwX-0003BA-8k for ged-emacs-devel@m.gmane.org; Fri, 23 Aug 2013 05:21:45 +0200 Original-Received: from localhost ([::1]:34805 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VChwW-0003U1-Rv for ged-emacs-devel@m.gmane.org; Thu, 22 Aug 2013 23:21:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VChwN-0003Te-NM for emacs-devel@gnu.org; Thu, 22 Aug 2013 23:21:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VChwC-0002SI-Gr for emacs-devel@gnu.org; Thu, 22 Aug 2013 23:21:35 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:19107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VChwC-0002SB-CD for emacs-devel@gnu.org; Thu, 22 Aug 2013 23:21:24 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFHO+LNT/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOkeoFegxM X-IPAS-Result: Av4EABK/CFHO+LNT/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOkeoFegxM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="23046234" Original-Received: from 206-248-179-83.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([206.248.179.83]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 22 Aug 2013 23:21:16 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 6FB8AAE1E0; Thu, 22 Aug 2013 23:21:23 -0400 (EDT) In-Reply-To: <87zjs9sh5o.fsf@gmx.de> (Michael Albinus's message of "Thu, 22 Aug 2013 20:40:35 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:162989 Archived-At: > Well, I could try to implement it in Tramp's `substitute-in-file-name' > handler. However, I don't know which other functions with file name > handlers are called when applying `minibuffer--complete-and-exit'. > Let's see. (But it would be a just a hack) If you only do it in substitute-in-file-name it will be a hack, indeed. But if you do it by moving the check to a place where the ambiguity has consequences, I think it would not be a hack. > Minibuffer decoration is such a case where Tramp needs such an advice, > and file name completion is another case. I don't see why you put completion in the same camp as decorations. Stefan