unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Ido and Wanderlust
@ 2018-12-05 22:33 Greg Bognar
  2018-12-06  2:54 ` Óscar Fuentes
  0 siblings, 1 reply; 5+ messages in thread
From: Greg Bognar @ 2018-12-05 22:33 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

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.

An alternative is to use Wanderlust's own wl-mime-save-content (defined in
wl-mime.el, line 894,
https://github.com/wanderlust/wanderlust/blob/master/wl/wl-mime.el), which
beings by inserting the attachment's file name into its own prompt, but if you
want to change the directory it switches to the ido prompt with the same result
as above.  The only solution in both cases is to exit the ido prompt with C-f.

Both functions use ido-read-file-name for read-file-name as ido sets
read-file-name-function.  I'm wondering what it is about ido-read-file-name that
causes this behavior.

Thanks,
Greg



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-12-06 22:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-05 22:33 Ido and Wanderlust Greg Bognar
2018-12-06  2:54 ` Óscar Fuentes
2018-12-06  8:54   ` Greg Bognar
2018-12-06 16:42     ` Óscar Fuentes
2018-12-06 22:03       ` Greg Bognar

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).