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: reenabling icomplete operation during read-buffer Date: Wed, 11 Feb 2009 21:21:22 -0500 Message-ID: References: <2cd46e7f0902091527p7886f1fap33e330e73165f039@mail.gmail.com> <2cd46e7f0902111608s3c41cba2tc1ed14f861b6f2d4@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1234405297 10416 80.91.229.12 (12 Feb 2009 02:21:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Feb 2009 02:21:37 +0000 (UTC) Cc: emacs-devel To: ken manheimer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 12 03:22:52 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LXRE3-0007iu-Jm for ged-emacs-devel@m.gmane.org; Thu, 12 Feb 2009 03:22:52 +0100 Original-Received: from localhost ([127.0.0.1]:45058 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXRCj-0002Xu-L0 for ged-emacs-devel@m.gmane.org; Wed, 11 Feb 2009 21:21:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LXRCf-0002Xp-8i for emacs-devel@gnu.org; Wed, 11 Feb 2009 21:21:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LXRCd-0002Xc-Tt for emacs-devel@gnu.org; Wed, 11 Feb 2009 21:21:25 -0500 Original-Received: from [199.232.76.173] (port=35411 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXRCd-0002XZ-L9 for emacs-devel@gnu.org; Wed, 11 Feb 2009 21:21:23 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:45200 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LXRCd-0006QR-BE for emacs-devel@gnu.org; Wed, 11 Feb 2009 21:21:23 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArwEAOMVk0lFxIvi/2dsb2JhbACBbtJohBsGgyQ X-IronPort-AV: E=Sophos;i="4.38,194,1233550800"; d="scan'208";a="33747683" Original-Received: from 69-196-139-226.dsl.teksavvy.com (HELO pastel.home) ([69.196.139.226]) by ironport2-out.teksavvy.com with ESMTP; 11 Feb 2009 21:21:22 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 2C5FA7FE6; Wed, 11 Feb 2009 21:21:22 -0500 (EST) In-Reply-To: <2cd46e7f0902111608s3c41cba2tc1ed14f861b6f2d4@mail.gmail.com> (ken manheimer's message of "Wed, 11 Feb 2009 19:08:17 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:109000 Archived-At: > i'd love to simplify that to default icomplete-with-completion-tables > to t, but it misbehaves dramatically for special tramp file visits, > like /sudo:root@localhost:/etc/hosts or /ftp:... These need to be fixed. At some point, they worked OK. > unfortunately, it looks like read-buffer-to-switch (files.el) was > changed to use a manufactured lambda as the completion table, which > means that icomplete can't statically match it to recognize being > within that completion context. i can add a condition like: > (and (boundp 'rbts-completion-table) > (equal minibuffer-completion-table rbts-completion-table)) > to get the behavior i want, but that is much too brittle - it depends > on an internal detail of read-buffer-to-switch. I've installed a different fix. Stefan