all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
To: emacs-devel@gnu.org
Subject: Re: Bug with icomplete-mode
Date: Sun, 17 May 2015 07:36:09 -0500	[thread overview]
Message-ID: <85h9rbidom.fsf@stephe-leake.org> (raw)
In-Reply-To: <55574E21.7070301@yandex.ru> (Dmitry Gutov's message of "Sat, 16 May 2015 17:03:13 +0300")

Dmitry Gutov <dgutov@yandex.ru> writes:

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

+1
-- 
-- Stephe



      reply	other threads:[~2015-05-17 12:36 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
2015-05-17 12:36   ` Stephen Leake [this message]

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=85h9rbidom.fsf@stephe-leake.org \
    --to=stephen_leake@stephe-leake.org \
    --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.