all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* partial-completion-mode and eval
@ 2007-03-27 17:35 A Soare
  2007-03-27 20:30 ` Chong Yidong
  2007-03-27 21:26 ` Chong Yidong
  0 siblings, 2 replies; 3+ messages in thread
From: A Soare @ 2007-03-27 17:35 UTC (permalink / raw)
  To: Emacs   Dev  [emacs-devel]

1. Emacs -Q

2. switch on partial completion mode.

3. M-:

Eval: (fo-ch <M-TAB>

=> (fo-char and the point position after fo.

Now press

Eval: (forw-char <M-TAB>

=> Eval: (forward--char

There are 2 -- instead of 1.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: partial-completion-mode and eval
  2007-03-27 17:35 partial-completion-mode and eval A Soare
@ 2007-03-27 20:30 ` Chong Yidong
  2007-03-27 21:26 ` Chong Yidong
  1 sibling, 0 replies; 3+ messages in thread
From: Chong Yidong @ 2007-03-27 20:30 UTC (permalink / raw)
  To: Emacs Dev [emacs-devel]

A Soare <alinsoar@voila.fr> writes:

> 1. Emacs -Q
>
> 2. switch on partial completion mode.
>
> 3. M-:
>
> Eval: (fo-ch <M-TAB>
>
> => (fo-char and the point position after fo.
>
> Now press
>
> Eval: (forw-char <M-TAB>
>
> => Eval: (forward--char
>
> There are 2 -- instead of 1.

This is why it's a bad idea to add new features during a pretest, even
if it looks trivial.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: partial-completion-mode and eval
  2007-03-27 17:35 partial-completion-mode and eval A Soare
  2007-03-27 20:30 ` Chong Yidong
@ 2007-03-27 21:26 ` Chong Yidong
  1 sibling, 0 replies; 3+ messages in thread
From: Chong Yidong @ 2007-03-27 21:26 UTC (permalink / raw)
  To: alinsoar; +Cc: Emacs Dev [emacs-devel]

A Soare <alinsoar@voila.fr> writes:

> 1. Emacs -Q
>
> 2. switch on partial completion mode.
>
> 3. M-:
>
> Eval: (fo-ch <M-TAB>
>
> => (fo-char and the point position after fo.
>
> Now press
>
> Eval: (forw-char <M-TAB>
>
> => Eval: (forward--char
>
> There are 2 -- instead of 1.

After looking at this again, I think this is a generic behavior of
PC-lisp-complete-symbol in partial completion mode; it happens even
outside the minibuffer, and the logic is that PC-lisp-complete-symbol
completes the part of the symbol before point.  It's arguably true
that the alternative behavior you suggested is better, but I think we
should leave this alone, at least for now.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-03-27 21:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-27 17:35 partial-completion-mode and eval A Soare
2007-03-27 20:30 ` Chong Yidong
2007-03-27 21:26 ` Chong Yidong

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.