* bug#20953: 25.0.50; with icomplete, completion says "Matched" and then returns something else.
@ 2015-07-01 21:46 Nicolas Richard
2015-07-02 1:40 ` Dmitry Gutov
2020-12-04 11:03 ` Lars Ingebrigtsen
0 siblings, 2 replies; 3+ messages in thread
From: Nicolas Richard @ 2015-07-01 21:46 UTC (permalink / raw)
To: 20953
[-- Attachment #1: Type: text/plain, Size: 25 bytes --]
Given the following file
[-- Attachment #2: testcompletion.el --]
[-- Type: application/emacs-lisp, Size: 167 bytes --]
[-- Attachment #3: Type: text/plain, Size: 865 bytes --]
I run
emacs -Q -l ~/tmp/testcompletion.el
then hit the following keys: C-h f m i n i b u f TAB RET
After "TAB" I get :
minibufferp [Matched]
in the minibuffer.
After "RET" I get a description of `minibuffer-depth' which is totally
unexpected to me. I expected a description of the function `minibufferp'.
In GNU Emacs 25.0.50.2 (i686-pc-linux-gnu, X toolkit, Xaw scroll bars)
of 2015-06-11 on Aurora
Windowing system distributor `The X.Org Foundation', version 11.0.11501000
System Description: Ubuntu 14.04.2 LTS
Configured using:
`configure --with-x-toolkit=lucid --enable-checkings 'CFLAGS= -O0 -g3''
Configured features:
XPM JPEG TIFF GIF PNG SOUND GSETTINGS NOTIFY GNUTLS LIBXML2 FREETYPE
LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS LUCID
Important settings:
value of $LANG: fr_BE.UTF-8
value of $XMODIFIERS: @im=ibus
locale-coding-system: utf-8-unix
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#20953: 25.0.50; with icomplete, completion says "Matched" and then returns something else.
2015-07-01 21:46 bug#20953: 25.0.50; with icomplete, completion says "Matched" and then returns something else Nicolas Richard
@ 2015-07-02 1:40 ` Dmitry Gutov
2020-12-04 11:03 ` Lars Ingebrigtsen
1 sibling, 0 replies; 3+ messages in thread
From: Dmitry Gutov @ 2015-07-02 1:40 UTC (permalink / raw)
To: Nicolas Richard, 20953
On 07/02/2015 12:46 AM, Nicolas Richard wrote:
> I run
> emacs -Q -l ~/tmp/testcompletion.el
>
> then hit the following keys: C-h f m i n i b u f TAB RET
>
> After "TAB" I get :
> minibufferp [Matched]
> in the minibuffer.
I'm assuming that's because of (setq completion-cycle-threshold t).
> After "RET" I get a description of `minibuffer-depth' which is totally
> unexpected to me. I expected a description of the function `minibufferp'.
Apparently, that's because minibuffer-force-complete, called from
minibuffer-force-complete-and-exit, somehow interprets it as a repeated
invocation.
Maybe it should examine last-command and do something with it, instead
of performing the completion-in-region voodoo it's doing now. Or
minibuffer-force-complete-and-exit should call a non-cycling version.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#20953: 25.0.50; with icomplete, completion says "Matched" and then returns something else.
2015-07-01 21:46 bug#20953: 25.0.50; with icomplete, completion says "Matched" and then returns something else Nicolas Richard
2015-07-02 1:40 ` Dmitry Gutov
@ 2020-12-04 11:03 ` Lars Ingebrigtsen
1 sibling, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2020-12-04 11:03 UTC (permalink / raw)
To: Nicolas Richard; +Cc: 20953
Nicolas Richard <youngfrog@members.fsf.org> writes:
> I run
> emacs -Q -l ~/tmp/testcompletion.el
>
> then hit the following keys: C-h f m i n i b u f TAB RET
>
> After "TAB" I get :
> minibufferp [Matched]
> in the minibuffer.
>
> After "RET" I get a description of `minibuffer-depth' which is totally
> unexpected to me. I expected a description of the function `minibufferp'.
I tried reproducing this in Emacs 28, and with this test case, Emacs now
selects `minibufferp', so I think this was fixed earlier this year, and
I'm closing this bug report. If this is still and issue, please respond
to the debbugs address and we'll reopen.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-12-04 11:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-01 21:46 bug#20953: 25.0.50; with icomplete, completion says "Matched" and then returns something else Nicolas Richard
2015-07-02 1:40 ` Dmitry Gutov
2020-12-04 11:03 ` Lars Ingebrigtsen
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.