unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Greg Bognar <greg.bognar@startmail.com>
To: "Óscar Fuentes" <ofv@wanadoo.es>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Ido and Wanderlust
Date: Thu, 06 Dec 2018 09:54:19 +0100	[thread overview]
Message-ID: <87o99zox1g.wl-greg.bognar@startmail.com> (raw)
In-Reply-To: <87d0qf1i20.fsf@telefonica.net>

I don't see how C-j is a solution.  C-j won't insert by default the attachment'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 same
problem in other prompts?  After all, the default read-file-name *can* handle
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 Óscar Fuentes wrote:
> Greg Bognar <greg.bognar@startmail.com> writes:
> 
> > I use Wanderlust (https://github.com/wanderlust/wanderlust) for email.  It
> > depends on SEMI (https://github.com/wanderlust/semi) to provide MIME features,
> > one of which is the mime-save-content function to save attachments (defined 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) 
> >
> > 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) and the
> > default name (ie, the name of the attached file) does not get inserted.
> 
> 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.



  reply	other threads:[~2018-12-06  8:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-05 22:33 Ido and Wanderlust Greg Bognar
2018-12-06  2:54 ` Óscar Fuentes
2018-12-06  8:54   ` Greg Bognar [this message]
2018-12-06 16:42     ` Óscar Fuentes
2018-12-06 22:03       ` Greg Bognar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o99zox1g.wl-greg.bognar@startmail.com \
    --to=greg.bognar@startmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=ofv@wanadoo.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).