all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

* 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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.