* bug#1266: 23.0.60; Cycling between possible completion points in partial-completion-mode
@ 2008-10-28 12:00 ` Tassilo Horn
2008-10-28 14:36 ` Stefan Monnier
2008-11-06 15:50 ` bug#1266: marked as done (23.0.60; Cycling between possible completion points in partial-completion-mode) Emacs bug Tracking System
0 siblings, 2 replies; 7+ messages in thread
From: Tassilo Horn @ 2008-10-28 12:00 UTC (permalink / raw
To: emacs-pretest-bug
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.
Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
I have the following directories below ~/uni/repos/
re-group/
redseeds-main/
redseeds-uko/
When I do
C-x C-f ~/uni/repos/re-<TAB>
the completions are shown and point moves before the hyphen. To
complete to re-group/ I have to move point explicitly to the end using
`C-e' and enter the g followed by an additional <TAB>.
I think it would be very convenient if <TAB> cycled between all possible
completion points, starting with the last position if the current entry
matches the start of an item completely. So in my example
C-x C-f ~/uni/repos/re-<TAB>
would pop up the completion list and let point stay at the end. An
additional <TAB> would move point to before the hyphen. Another <TAB>
would move it to the end again.
Is that possible?
It's all tested with emacs -Q.
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/share/emacs/23.0.60/etc/DEBUG for instructions.
In GNU Emacs 23.0.60.1 (x86_64-pc-linux-gnu, GTK+ Version 2.14.4)
of 2008-10-24 on thinkpad
Windowing system distributor `The X.Org Foundation', version 11.0.10502000
configured using `configure '--prefix=/usr' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--with-sound' '--with-x' '--with-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--with-freetype' '--with-xft' '--with-libotf' '--with-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--with-kerberos' '--with-kerberos5' '--with-gpm' '--with-dbus' '--build=x86_64-pc-linux-gnu' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-g -ggdb -O1 -pipe' 'LDFLAGS=''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default-enable-multibyte-characters: t
Major mode: Group
Minor modes in effect:
gnus-topic-mode: t
gnus-undo-mode: t
rcirc-track-minor-mode: t
yas/minor-mode: t
partial-completion-mode: t
shell-dirtrack-mode: t
recentf-mode: t
iswitchb-mode: t
window-number-meta-mode: t
window-number-mode: t
savehist-mode: t
exec-abbrev-cmd-mode: t
show-paren-mode: t
tooltip-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
<left> <left> <right> <right> <right> <right> <M-backspace>
w e n n SPC m ö g l i c h M-q M-q <down> <up> <down>
<down> <down> <down> M-q <down> <down> <down> <up>
<up> <up> <up> <down> <down> <down> <down> <up> <up>
<up> <up> <up> <up> <up> <up> <down> <down> <down>
<down> <down> <down> <left> <left> <left> <left> <left>
<left> <left> <left> <left> <M-backspace> M-q <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> C-c C-c c <return> c <return> SPC c
<return> <return> SPC c l s <down-mouse-1> <mouse-1>
C-c g <up> <up> <return> <return> <return> <return>
<return> <return> <return> <return> <return> <return>
<return> <return> <return> <return> ^ <return> <return>
<return> <return> <return> <return> <return> <return>
<return> <return> <return> <return> <return> <return>
<return> <return> <return> <return> <return> <return>
<return> <return> <return> <return> <return> <return>
<return> <return> <return> <return> <return> <return>
<return> <return> <return> <return> <return> <return>
q <return> c <up> <up> <up> <up> <return> <return>
<return> <return> <return> <return> <down> <return>
B <backspace> y q <return> <return> <return> q C-h
i u u u u m e m a <tab> <return> s p a r t i a l -
c o m p l e t i o n <return> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <left> <left> <left> <left>
<left> <left> <left> <left> <left> <left> <left> <left>
<left> <left> <left> <left> <left> <left> <left> <left>
<left> <left> <left> <left> <left> <left> <up> <up>
<up> <up> <up> <up> <up> q C-x C-f u n <tab> r <tab>
r e <tab> l <backspace> - <tab> <tab> <tab> <tab> <tab>
<tab> <tab> <tab> C-g M-x r e b <return> r e p <tab>
<return>
Recent messages:
20081028T124829.852> Scoring...
20081028T124829.854> Scoring...done
20081028T124829.855> Generating summary...
20081028T124829.856> Generating summary...done
20081028T124833.885> End of message
20081028T124835.101> Exiting summary buffer and applying spam rules
20081028T124835.110> nnimap: Setting marks in INBOX.mailinglists.emacs-devel...
20081028T124835.131> nnimap: Setting marks in INBOX.mailinglists.emacs-devel...done
20081028T124835.185> No more unread newsgroups
Info-extract-pointer: Node has no Up
Quit
--
The glass is neither half-full nor half-empty: it's twice as big as it
needs to be.
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#1266: 23.0.60; Cycling between possible completion points in partial-completion-mode
2008-10-28 12:00 ` bug#1266: 23.0.60; Cycling between possible completion points in partial-completion-mode Tassilo Horn
@ 2008-10-28 14:36 ` Stefan Monnier
2008-10-28 15:24 ` Tassilo Horn
[not found] ` <mailman.2274.1225207815.25473.bug-gnu-emacs@gnu.org>
2008-11-06 15:50 ` bug#1266: marked as done (23.0.60; Cycling between possible completion points in partial-completion-mode) Emacs bug Tracking System
1 sibling, 2 replies; 7+ messages in thread
From: Stefan Monnier @ 2008-10-28 14:36 UTC (permalink / raw
To: Tassilo Horn; +Cc: 1266, emacs-pretest-bug
> Is that possible?
FWIW the default completion now includes
partial-completion-like behavior. So you may want to turn off
partial-completion-mode in Emacs-23 (you may also want to tweak
completion-styles to bring the completion behavior closer to
partial-completion-mode by removing `basic').
It won't really answer your question, but it will slightly change the
behavior (e.g. point will not move to before the hyphen any more, at
least not until there's something to be typed at point).
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#1266: 23.0.60; Cycling between possible completion points in partial-completion-mode
2008-10-28 14:36 ` Stefan Monnier
@ 2008-10-28 15:24 ` Tassilo Horn
2008-10-28 17:54 ` Stefan Monnier
[not found] ` <mailman.2274.1225207815.25473.bug-gnu-emacs@gnu.org>
1 sibling, 1 reply; 7+ messages in thread
From: Tassilo Horn @ 2008-10-28 15:24 UTC (permalink / raw
To: Stefan Monnier; +Cc: 1266, Tassilo Horn, emacs-pretest-bug
Stefan Monnier <monnier@iro.umontreal.ca> writes:
Hi Stefan,
>> Is that possible?
>
> FWIW the default completion now includes partial-completion-like
> behavior. So you may want to turn off partial-completion-mode in
> Emacs-23 (you may also want to tweak completion-styles to bring the
> completion behavior closer to partial-completion-mode by removing
> `basic').
I did that and like the behavior. It's even better (simpler) than
cycling around.
Is partial-completion-mode going to be removed because of that new
feature?
Bye,
Tassilo
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#1266: 23.0.60; Cycling between possible completion points in partial-completion-mode
[not found] ` <mailman.2274.1225207815.25473.bug-gnu-emacs@gnu.org>
@ 2008-10-28 16:11 ` Markus Triska
0 siblings, 0 replies; 7+ messages in thread
From: Markus Triska @ 2008-10-28 16:11 UTC (permalink / raw
To: gnu-emacs-bug
Tassilo Horn <thorn@fastmail.fm> writes:
> Is partial-completion-mode going to be removed because of that new
> feature?
In case it stays: Its doc-string is no longer correct:
"For example, M-x p-c-m expands to M-x partial-completion-mode since
no other command begins with that sequence of characters"
For M-x p-c-m, I get as completions:
partial-completion-mode
pmail-edit-current-message
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#1266: 23.0.60; Cycling between possible completion points in partial-completion-mode
2008-10-28 15:24 ` Tassilo Horn
@ 2008-10-28 17:54 ` Stefan Monnier
2008-10-28 18:42 ` Dan Nicolaescu
0 siblings, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2008-10-28 17:54 UTC (permalink / raw
To: Tassilo Horn; +Cc: 1266, emacs-pretest-bug
>>> Is that possible?
>> FWIW the default completion now includes partial-completion-like
>> behavior. So you may want to turn off partial-completion-mode in
>> Emacs-23 (you may also want to tweak completion-styles to bring the
>> completion behavior closer to partial-completion-mode by removing
>> `basic').
> I did that and like the behavior. It's even better (simpler) than
> cycling around.
> Is partial-completion-mode going to be removed because of that new
> feature?
I think so, but I see no hurry to do that.
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#1266: 23.0.60; Cycling between possible completion points in partial-completion-mode
2008-10-28 17:54 ` Stefan Monnier
@ 2008-10-28 18:42 ` Dan Nicolaescu
0 siblings, 0 replies; 7+ messages in thread
From: Dan Nicolaescu @ 2008-10-28 18:42 UTC (permalink / raw
To: Stefan Monnier; +Cc: 1266, Tassilo Horn
Stefan Monnier <monnier@IRO.UMontreal.CA> writes:
> >>> Is that possible?
> >> FWIW the default completion now includes partial-completion-like
> >> behavior. So you may want to turn off partial-completion-mode in
> >> Emacs-23 (you may also want to tweak completion-styles to bring the
> >> completion behavior closer to partial-completion-mode by removing
> >> `basic').
>
> > I did that and like the behavior. It's even better (simpler) than
> > cycling around.
> > Is partial-completion-mode going to be removed because of that new
> > feature?
>
> I think so, but I see no hurry to do that.
Maybe NEWS should make it more clear that partial-completion-mode might
not be needed anymore...
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#1266: marked as done (23.0.60; Cycling between possible completion points in partial-completion-mode)
2008-10-28 12:00 ` bug#1266: 23.0.60; Cycling between possible completion points in partial-completion-mode Tassilo Horn
2008-10-28 14:36 ` Stefan Monnier
@ 2008-11-06 15:50 ` Emacs bug Tracking System
1 sibling, 0 replies; 7+ messages in thread
From: Emacs bug Tracking System @ 2008-11-06 15:50 UTC (permalink / raw
To: Chong Yidong
[-- Attachment #1: Type: text/plain, Size: 928 bytes --]
Your message dated Thu, 06 Nov 2008 10:43:19 -0500
with message-id <87bpwszwq0.fsf@cyd.mit.edu>
and subject line Re: bug#1266: 23.0.60; Cycling between possible completion points in partial-completion-mode
has caused the Emacs bug report #1266,
regarding 23.0.60; Cycling between possible completion points in partial-completion-mode
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)
--
1266: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1266
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems
[-- Attachment #2: Type: message/rfc822, Size: 8314 bytes --]
From: Tassilo Horn <thorn@fastmail.fm>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.60; Cycling between possible completion points in partial-completion-mode
Date: Tue, 28 Oct 2008 13:00:18 +0100
Message-ID: <87abcpexpp.fsf@thinkpad.tsdh.de>
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.
Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
I have the following directories below ~/uni/repos/
re-group/
redseeds-main/
redseeds-uko/
When I do
C-x C-f ~/uni/repos/re-<TAB>
the completions are shown and point moves before the hyphen. To
complete to re-group/ I have to move point explicitly to the end using
`C-e' and enter the g followed by an additional <TAB>.
I think it would be very convenient if <TAB> cycled between all possible
completion points, starting with the last position if the current entry
matches the start of an item completely. So in my example
C-x C-f ~/uni/repos/re-<TAB>
would pop up the completion list and let point stay at the end. An
additional <TAB> would move point to before the hyphen. Another <TAB>
would move it to the end again.
Is that possible?
It's all tested with emacs -Q.
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/share/emacs/23.0.60/etc/DEBUG for instructions.
In GNU Emacs 23.0.60.1 (x86_64-pc-linux-gnu, GTK+ Version 2.14.4)
of 2008-10-24 on thinkpad
Windowing system distributor `The X.Org Foundation', version 11.0.10502000
configured using `configure '--prefix=/usr' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--with-sound' '--with-x' '--with-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--with-freetype' '--with-xft' '--with-libotf' '--with-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--with-kerberos' '--with-kerberos5' '--with-gpm' '--with-dbus' '--build=x86_64-pc-linux-gnu' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-g -ggdb -O1 -pipe' 'LDFLAGS=''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default-enable-multibyte-characters: t
Major mode: Group
Minor modes in effect:
gnus-topic-mode: t
gnus-undo-mode: t
rcirc-track-minor-mode: t
yas/minor-mode: t
partial-completion-mode: t
shell-dirtrack-mode: t
recentf-mode: t
iswitchb-mode: t
window-number-meta-mode: t
window-number-mode: t
savehist-mode: t
exec-abbrev-cmd-mode: t
show-paren-mode: t
tooltip-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
<left> <left> <right> <right> <right> <right> <M-backspace>
w e n n SPC m ö g l i c h M-q M-q <down> <up> <down>
<down> <down> <down> M-q <down> <down> <down> <up>
<up> <up> <up> <down> <down> <down> <down> <up> <up>
<up> <up> <up> <up> <up> <up> <down> <down> <down>
<down> <down> <down> <left> <left> <left> <left> <left>
<left> <left> <left> <left> <M-backspace> M-q <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> C-c C-c c <return> c <return> SPC c
<return> <return> SPC c l s <down-mouse-1> <mouse-1>
C-c g <up> <up> <return> <return> <return> <return>
<return> <return> <return> <return> <return> <return>
<return> <return> <return> <return> ^ <return> <return>
<return> <return> <return> <return> <return> <return>
<return> <return> <return> <return> <return> <return>
<return> <return> <return> <return> <return> <return>
<return> <return> <return> <return> <return> <return>
<return> <return> <return> <return> <return> <return>
<return> <return> <return> <return> <return> <return>
q <return> c <up> <up> <up> <up> <return> <return>
<return> <return> <return> <return> <down> <return>
B <backspace> y q <return> <return> <return> q C-h
i u u u u m e m a <tab> <return> s p a r t i a l -
c o m p l e t i o n <return> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <left> <left> <left> <left>
<left> <left> <left> <left> <left> <left> <left> <left>
<left> <left> <left> <left> <left> <left> <left> <left>
<left> <left> <left> <left> <left> <left> <up> <up>
<up> <up> <up> <up> <up> q C-x C-f u n <tab> r <tab>
r e <tab> l <backspace> - <tab> <tab> <tab> <tab> <tab>
<tab> <tab> <tab> C-g M-x r e b <return> r e p <tab>
<return>
Recent messages:
20081028T124829.852> Scoring...
20081028T124829.854> Scoring...done
20081028T124829.855> Generating summary...
20081028T124829.856> Generating summary...done
20081028T124833.885> End of message
20081028T124835.101> Exiting summary buffer and applying spam rules
20081028T124835.110> nnimap: Setting marks in INBOX.mailinglists.emacs-devel...
20081028T124835.131> nnimap: Setting marks in INBOX.mailinglists.emacs-devel...done
20081028T124835.185> No more unread newsgroups
Info-extract-pointer: Node has no Up
Quit
--
The glass is neither half-full nor half-empty: it's twice as big as it
needs to be.
[-- Attachment #3: Type: message/rfc822, Size: 1417 bytes --]
From: Chong Yidong <cyd@stupidchicken.com>
To: Markus Triska <markus.triska@gmx.at>
Cc: 1266-done@emacsbugs.donarmstrong.com
Subject: Re: bug#1266: 23.0.60; Cycling between possible completion points in partial-completion-mode
Date: Thu, 06 Nov 2008 10:43:19 -0500
Message-ID: <87bpwszwq0.fsf@cyd.mit.edu>
> "For example, M-x p-c-m expands to M-x partial-completion-mode since
> no other command begins with that sequence of characters"
>
> For M-x p-c-m, I get as completions:
>
> partial-completion-mode
> pmail-edit-current-message
pmail-* will be renamed to rmail-* before the release, so we don't need
to worry about this.
This thread seems to be over, so I'm closing the bug in the tracker.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-11-06 15:50 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <87bpwszwq0.fsf@cyd.mit.edu>
2008-10-28 12:00 ` bug#1266: 23.0.60; Cycling between possible completion points in partial-completion-mode Tassilo Horn
2008-10-28 14:36 ` Stefan Monnier
2008-10-28 15:24 ` Tassilo Horn
2008-10-28 17:54 ` Stefan Monnier
2008-10-28 18:42 ` Dan Nicolaescu
[not found] ` <mailman.2274.1225207815.25473.bug-gnu-emacs@gnu.org>
2008-10-28 16:11 ` Markus Triska
2008-11-06 15:50 ` bug#1266: marked as done (23.0.60; Cycling between possible completion points in partial-completion-mode) Emacs bug Tracking System
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.