From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Greg Bognar Newsgroups: gmane.emacs.help Subject: Re: Ido and Wanderlust Date: Thu, 06 Dec 2018 09:54:19 +0100 Message-ID: <87o99zox1g.wl-greg.bognar@startmail.com> References: <87bm5z61te.wl-greg.bognar@startmail.com> <87d0qf1i20.fsf@telefonica.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1544087335 22754 195.159.176.226 (6 Dec 2018 09:08:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 6 Dec 2018 09:08:55 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: =?ISO-8859-1?Q?=D3scar?= Fuentes Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 06 10:08:51 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUpeM-0005hm-Eu for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Dec 2018 10:08:50 +0100 Original-Received: from localhost ([::1]:39679 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUpgN-0005ct-GE for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Dec 2018 04:10:55 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUpfU-0004y5-KH for help-gnu-emacs@gnu.org; Thu, 06 Dec 2018 04:10:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUpQG-0005am-NZ for help-gnu-emacs@gnu.org; Thu, 06 Dec 2018 03:54:20 -0500 Original-Received: from mx-out1.startmail.com ([145.131.90.139]:53006) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gUpQF-0005ZH-Dn for help-gnu-emacs@gnu.org; Thu, 06 Dec 2018 03:54:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=startmail.com; s=2017-11; t=1544086453; bh=FuJ+yXWujqjMuzS5bWGQCctS/txXksKBKwSeQPUwoqg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=bRc9uqE9rOvlOo5zYT4Q64BVSlORIFYfk6RZ/uyDFbvVQ8LGIdMbveEh19zDol/BB 2oZ0lGv7o9OJVVpb/U7N0flD1QsLKlpVcHHKwpojO07wezsl82JzlujWVqeuarbrQn xRjereVDaLEXT8i+CuK+357AY/1JpfwqYG+pIBYS5KmI/VGHdITzexefiKWPAkRO6c hS0G157OyXGRFSrji4B8XDtLHHRODIijJB3UyMcne2YN3AaGcgpoq1PoJUZjznTTk6 fgUEE5nU4o9/1945kFyvri1nEpTxDy/DR5y+Zzrv2xyKNglz7HN/c/GCeqwH/1KCbX bOW4bEzyt9r/A== In-Reply-To: <87d0qf1i20.fsf@telefonica.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 145.131.90.139 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:118885 Archived-At: I don't see how C-j is a solution. C-j won't insert by default the attachm= ent's file name, so you end up having to type it after the directory (or type a different file name). That's very inconvenient. Dropping back to the default prompt with C-f solves this problem -- it "remembers" the attachment's file name so you can save it to the directory = of your choice. But shouldn't this be considered a bug with ido, especially if it has the s= ame problem in other prompts? After all, the default read-file-name *can* hand= le the situation, while ido cannot. Given that ido is advertised as a "drop-in replacement" for read-file-name, it should provide the same functionality, = one would think. On Thu 6 Dec 2018 at 03:54 =D3scar Fuentes wrote: > Greg Bognar writes: >=20 > > I use Wanderlust (https://github.com/wanderlust/wanderlust) for email. = It > > depends on SEMI (https://github.com/wanderlust/semi) to provide MIME fe= atures, > > one of which is the mime-save-content function to save attachments (def= ined in > > mime-play.el, line 263, > > https://github.com/wanderlust/semi/blob/semi-1_14-wl/mime-play.el). > > > > I also use ido. But when I enable ido.el with > > > > (ido-everywhere)=20 > > > > mime-save-content stops working. It wants to save the attachment with = the file > > name that's on top of the completion list (prompting to overwrite it) a= nd the > > default name (ie, the name of the attached file) does not get inserted. >=20 > I see this behavior in other prompts. The solution is to use C-j, which > tells Ido to accept wathever is written on the prompt instead of the > proposed completion.