From: Dmitry Gutov <dgutov@yandex.ru>
To: Slawomir Nowaczyk <Slawomir.Nowaczyk@hh.se>, emacs-devel@gnu.org
Subject: Re: Bug with icomplete-mode
Date: Sat, 16 May 2015 17:03:13 +0300 [thread overview]
Message-ID: <55574E21.7070301@yandex.ru> (raw)
In-Reply-To: <20150516134912.B8B3.32A02D17@hh.se>
On 05/16/2015 02:49 PM, Slawomir Nowaczyk wrote:
> Emacs switches to "*Messages*", not the "aaa" buffer I have selected.
Yep, looks like a problem. But next time please do M-x report-emacs-bug.
> As far as I can tell, it's because of this part in the minibuffer-force-complete-and-exit
> (if (and (eq (minibuffer-prompt-end) (point-max))
> minibuffer-default)
> ;; Use the provided default if there's one (bug#17545).
And this part is due to the bug that is referenced in the comment.
Looking at it, it seems that a better way to resolve it would be to
always make the default value the first item, even when it's not in the
collection passed to completing-read.
next prev parent reply other threads:[~2015-05-16 14:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-16 11:49 Bug with icomplete-mode Slawomir Nowaczyk
2015-05-16 14:03 ` Dmitry Gutov [this message]
2015-05-17 12:36 ` Stephen Leake
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=55574E21.7070301@yandex.ru \
--to=dgutov@yandex.ru \
--cc=Slawomir.Nowaczyk@hh.se \
--cc=emacs-devel@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.