all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: Dave Abrahams <dave@boostpro.com>
Cc: 34292@debbugs.gnu.org
Subject: bug#34292: 26.1; ido-everywhere interferes with find-file
Date: Mon, 01 Apr 2019 19:37:10 -0400	[thread overview]
Message-ID: <874l7hi9g9.fsf@gmail.com> (raw)
In-Reply-To: <4E3F935E-5A44-4E3E-BC47-1BEA9D60223E@boostpro.com> (Dave Abrahams's message of "Sat, 2 Feb 2019 12:26:21 -0800")

severity 34292 minor
quit

Dave Abrahams <dave@boostpro.com> writes:

> emacs -Q
>
> evaluate the following elisp:
>
> (make-directory "/tmp/foo/bar/baz" t)
> (require 'ido)
> (ido-everywhere)
> (find-file "/tmp/foo/bar/baz")
> (call-interactively 'find-file)
>
> Now type DEL C-f RET, which should open "/tmp/foo/bar/"
> Instead, nothing happens

So are you looking for something like this?

diff --git i/lisp/ido.el w/lisp/ido.el
index f9a9607a3a..6dcd5bcd99 100644
--- i/lisp/ido.el
+++ w/lisp/ido.el
@@ -1588,6 +1588,8 @@ (define-minor-mode ido-everywhere
   (remove-function read-file-name-function #'ido-read-file-name)
   (remove-function read-buffer-function #'ido-read-buffer)
   (when ido-everywhere
+    (unless ido-mode
+      (error "Can't turn on `ido-everywhere' without `ido-mode'"))
     (add-function :override read-file-name-function #'ido-read-file-name)
     (add-function :override read-buffer-function #'ido-read-buffer)))






  reply	other threads:[~2019-04-01 23:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-02 20:26 bug#34292: 26.1; ido-everywhere interferes with find-file Dave Abrahams
2019-04-01 23:37 ` Noam Postavsky [this message]
2019-04-02 23:58 ` Noam Postavsky
2019-04-03  0:01   ` Noam Postavsky
2019-04-03 23:37     ` Dave Abrahams
2019-04-04  0:49       ` Noam Postavsky
2020-08-19 10:49         ` Lars Ingebrigtsen

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=874l7hi9g9.fsf@gmail.com \
    --to=npostavs@gmail.com \
    --cc=34292@debbugs.gnu.org \
    --cc=dave@boostpro.com \
    /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.