unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: 23695@debbugs.gnu.org
Subject: bug#23695: 25.0.94; todo-mode breaks minibuffer-complete-word
Date: Fri, 10 Jun 2016 11:28:14 +0200	[thread overview]
Message-ID: <8760thxuj5.fsf@gmx.net> (raw)
In-Reply-To: <87y46km1s9.fsf@gmx.net> (Stephen Berman's message of "Sun, 05 Jun 2016 11:18:46 +0200")

On Sun, 05 Jun 2016 11:18:46 +0200 Stephen Berman <stephen.berman@gmx.net> wrote:

> 0. emacs -Q
> 1. Sanity check: Typing e.g. `C-h f url- SPC' should pop up a
>    *Completions* buffer showing functions beginning with "url-", since
>    SPC in the minibuffer is bound to minibuffer-complete-word.
> 2. C-g to exit the minibuffer, then, if you have no files made by
>    todo-mode (i.e. no directory ~/.emacs.d/todo), type `M-x todo-show
>    RET RET RET RET RET' (accepting defaults) to create a todo file with
>    a category and an entry.
> 3. Type `q' to quit todo-mode (optional) and redo step 1.
> => Upon typing SPC this time, instead of getting the *Completions*
>    buffer, a space is inserted in the minibuffer after "url-".
>
> If at step 2 you already have one or more todo-files, then invoking a
> number of todo-mode commands, e.g. `j' to jump to another category or
> `C a' to add a new category, will likewise globally change the effect of
> all subsequent uses of SPC in the minibuffer.
>
> The patch below fixes this.  I request approval to push this fix to
> emacs-25, since without it, todo-mode-specific behavior changes the
> minibuffer behavior in rest of Emacs.  Also, the fix is certainly safe,
> since it replaces naively implemented functionality by canonical code to
> temporarily change a minibuffer key binding.

Ping!  Any objections to pushing this fix to emacs-25?

Steve Berman





  reply	other threads:[~2016-06-10  9:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-05  9:18 bug#23695: 25.0.94; todo-mode breaks minibuffer-complete-word Stephen Berman
2016-06-10  9:28 ` Stephen Berman [this message]
2016-06-10 10:18   ` Eli Zaretskii
2016-06-10 10:36     ` Stephen Berman
2016-06-14 17:05       ` Eli Zaretskii
2016-06-14 21:46         ` Stephen Berman
2016-06-29  9:52           ` Stephen Berman

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8760thxuj5.fsf@gmx.net \
    --to=stephen.berman@gmx.net \
    --cc=23695@debbugs.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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