From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: Tramp + ido-mode: error with "/su:" Date: Tue, 30 Dec 2008 06:27:26 +0100 Message-ID: <87hc4m6xmp.fsf@gmx.de> References: <8763l2rd9k.fsf@iki.fi> <87eizqzlm2.fsf@gmx.de> <87sko61uz3.fsf@iki.fi> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1230614880 26306 80.91.229.12 (30 Dec 2008 05:28:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Dec 2008 05:28:00 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Teemu Likonen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 30 06:29:05 2008 Return-path: Envelope-to: geh-help-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 1LHXA8-0007Io-Td for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Dec 2008 06:29:05 +0100 Original-Received: from localhost ([127.0.0.1]:44540 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHX8u-0000nK-Pp for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Dec 2008 00:27:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LHX8d-0000nD-M9 for help-gnu-emacs@gnu.org; Tue, 30 Dec 2008 00:27:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LHX8c-0000n0-3m for help-gnu-emacs@gnu.org; Tue, 30 Dec 2008 00:27:31 -0500 Original-Received: from [199.232.76.173] (port=53759 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHX8b-0000mx-UK for help-gnu-emacs@gnu.org; Tue, 30 Dec 2008 00:27:29 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]:59553) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LHX8b-0003TB-BP for help-gnu-emacs@gnu.org; Tue, 30 Dec 2008 00:27:29 -0500 Original-Received: (qmail invoked by alias); 30 Dec 2008 05:27:27 -0000 Original-Received: from p57A22CA4.dip0.t-ipconnect.de (EHLO arthur.local) [87.162.44.164] by mail.gmx.net (mp030) with SMTP; 30 Dec 2008 06:27:27 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX19bjbhOar1bbZWVsYxFibUeh2GB1wpLdVADhRJh85 goLQylmRM82ZWs In-Reply-To: <87sko61uz3.fsf@iki.fi> (Teemu Likonen's message of "Tue, 30 Dec 2008 00:23:44 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.65 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60973 Archived-At: Teemu Likonen writes: > Michael Albinus (2008-12-29 23:01 +0100) wrote: > >> Teemu Likonen writes: >> >>> I get annoying error when using Tramp and ido-mode together and try >>> to edit file through /su or /sudo. I do C-x C-f (ido-find-file), type > >> I guess you mean M-: (ido-find-file) > > When ido-mode is turned on C-x C-f runs command ido-find-file. With > parentheses I just wanted to tell what command exactly is executed when > I type that C-x C-f key sequence. Sorry for the being unclear. I see. Starting Emacs, and running M-x ido-mode, I could reproduce it as well. There is still no problem with Emacs 23 + built-in Tramp 2.1, as you have confirmed. The combination of Emacs 22 and Tramp 2.0 (built-in) or Tramp 2.1 gives the error. I remember a discussion a year ago about a similar problem, see . But I don't know, whether the published patch works also for Emacs 22. Maybe we let it as it is (with the given workaround presetting the default method). Best regards, Michael.