all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Greg Bognar <greg.bognar@startmail.com>
To: help-gnu-emacs@gnu.org
Subject: Ido and Wanderlust
Date: Wed, 05 Dec 2018 23:33:49 +0100	[thread overview]
Message-ID: <87bm5z61te.wl-greg.bognar@startmail.com> (raw)

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



             reply	other threads:[~2018-12-05 22:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-05 22:33 Greg Bognar [this message]
2018-12-06  2:54 ` Ido and Wanderlust Óscar Fuentes
2018-12-06  8:54   ` Greg Bognar
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=87bm5z61te.wl-greg.bognar@startmail.com \
    --to=greg.bognar@startmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.