From: Antoine Levitt <antoine.levitt@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: ERC tracking broken
Date: Wed, 30 Mar 2011 07:59:00 +0200 [thread overview]
Message-ID: <87hbal409n.fsf@gmail.com> (raw)
In-Reply-To: <jwvy63x5syo.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 29 Mar 2011 20:56:42 -0400")
30/03/11 02:56, Stefan Monnier
>> Alright, I finally traced it back to something not ERC-related. The
>> easiest way I could reproduce it is with some code to highlight
>> parentheses. So here's a simple recipe:
>
>> - Get http://pastebin.com/UafFZ9qy and put it in your load path (I got
>> this code from emacswiki some time ago, it worked fine until today -
>> which doesn't mean it's correct, maybe your changes simply exposed a
>> bug in it)
>
>> - Put
>
>> (require 'highlight-parentheses)
>> (global-highlight-parentheses-mode t)
>> (ido-mode 1)
>> (icomplete-mode 1)
>
>> in a blank .emacs
>
>> - M-x a, observe there's a nice completion list
>> - C-g to get out of the completion
>> - M-x a, observe the completion list has disappeared (for the rest
>> of the session)
>
> I did:
>
> % trunk/src/emacs -Q -l /.../highlight-parentheses.el \
> -f global-highlight-parentheses-mode \
> -f ido-mode \
> -f icomplete-mode
This is fine
> M-x a, observe the completion list
> C-g to get out of M-x
> M-x a
>
> and I observed the completion list again.
> I.e. I can't reproduce it here :-(
That's weird. I just checked using a make bootstrap, the problem is
still there, at latest bzr.
>
>
> Stefan
>
>
> PS: Why use ido and icomplete? Doesn't ido already do what icomplete does?
No, icomplete adds "inline" completion, which icomplete doesn't
do. Maybe I wasn't too clear earlier: when I was speaking of the
completion list, I meant the completion list from icomplete that appears
in real time in the minibuffer when typing things (which probably uses
post-command-hook), not the one you get by pressing TAB (which probably
doesn't). Are we talking about the same thing?
PS: actually, this is slighty more subtle than I thought. Try the
following, still with the same initialisation
M-x C-g
M-x t (inline completion on) o (inline completion off, which is a bug)
TAB (inline completion on)
Antoine
next prev parent reply other threads:[~2011-03-30 5:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-29 17:07 ERC tracking broken Antoine Levitt
2011-03-29 21:20 ` Stefan Monnier
2011-03-29 22:05 ` Antoine Levitt
2011-03-30 0:56 ` Stefan Monnier
2011-03-30 5:59 ` Antoine Levitt [this message]
2011-04-04 15:54 ` Stefan Monnier
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=87hbal409n.fsf@gmail.com \
--to=antoine.levitt@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.