all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [alinsoar@voila.fr: EVAL and partial-completion-mode]
@ 2007-03-05 21:50 Richard Stallman
  2007-03-05 22:06 ` Chong Yidong
  0 siblings, 1 reply; 7+ messages in thread
From: Richard Stallman @ 2007-03-05 21:50 UTC (permalink / raw)
  To: emacs-devel

Would someone please fix this, then ack?

------- Start of forwarded message -------
From: A Soare <alinsoar@voila.fr>
To: "Emacs   Dev  [emacs-devel]" <emacs-devel@gnu.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Date: Mon,  5 Mar 2007 15:18:24 +0100 (CET)
Subject: EVAL and partial-completion-mode
Reply-To: alinsoar@voila.fr
X-Spam-Status: No, score=1.1 required=5.0 tests=SUBJ_HAS_UNIQ_ID autolearn=no 
	version=3.0.4

1. M-:
Eval: partial-completion-mode

=> t

2. M-:
Eval: (set-w-te <TAB>

=> Can't find completion for "set-w-te"

However, there is (defun set-window-text-height (window height)

So it must be added the completion from partial-completion-mode in this case.





_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
------- End of forwarded message -------

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

* Re: [alinsoar@voila.fr: EVAL and partial-completion-mode]
  2007-03-05 21:50 [alinsoar@voila.fr: EVAL and partial-completion-mode] Richard Stallman
@ 2007-03-05 22:06 ` Chong Yidong
  2007-03-05 22:23   ` Glenn Morris
  2007-03-06 22:36   ` Richard Stallman
  0 siblings, 2 replies; 7+ messages in thread
From: Chong Yidong @ 2007-03-05 22:06 UTC (permalink / raw)
  To: rms; +Cc: emacs-devel

Richard Stallman <rms@gnu.org> writes:

> Would someone please fix this, then ack?

I don't think partial-completion-mode has ever worked for this (i.e.,
completing Lisp symbols in M-:), has it?  It may not be trivial to add
this functionality.

> 1. M-:
> Eval: partial-completion-mode
>
> => t
>
> 2. M-:
> Eval: (set-w-te <TAB>
>
> => Can't find completion for "set-w-te"
>
> However, there is (defun set-window-text-height (window height)
>
> So it must be added the completion from partial-completion-mode in this case.

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

* Re: [alinsoar@voila.fr: EVAL and partial-completion-mode]
  2007-03-05 22:06 ` Chong Yidong
@ 2007-03-05 22:23   ` Glenn Morris
  2007-03-06 22:36     ` Richard Stallman
  2007-03-06 22:36   ` Richard Stallman
  1 sibling, 1 reply; 7+ messages in thread
From: Glenn Morris @ 2007-03-05 22:23 UTC (permalink / raw)
  To: Chong Yidong; +Cc: rms, emacs-devel

Chong Yidong wrote:

> Richard Stallman <rms@gnu.org> writes:
>
>> Would someone please fix this, then ack?
>
> I don't think partial-completion-mode has ever worked for this (i.e.,
> completing Lisp symbols in M-:), has it?  It may not be trivial to add
> this functionality.

I think it's just because TAB is bound to lisp-complete-symbol in
M-:, which uses read-expression-map. Enabling recursive minibuffers,
PC-lisp-complete-symbol works as it should in this example.

(define-key read-expression-map "\t" 'PC-lisp-complete-symbol)

would get the desired behaviour.

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

* Re: [alinsoar@voila.fr: EVAL and partial-completion-mode]
  2007-03-05 22:06 ` Chong Yidong
  2007-03-05 22:23   ` Glenn Morris
@ 2007-03-06 22:36   ` Richard Stallman
  1 sibling, 0 replies; 7+ messages in thread
From: Richard Stallman @ 2007-03-06 22:36 UTC (permalink / raw)
  To: Chong Yidong; +Cc: emacs-devel

    I don't think partial-completion-mode has ever worked for this (i.e.,
    completing Lisp symbols in M-:), has it?

Indeed, TAB is not the way to complete a symbol there.
It is M-TAB.  Does M-TAB inside M-: work correctly when
Partial Completion mode is enabled?

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

* Re: [alinsoar@voila.fr: EVAL and partial-completion-mode]
  2007-03-05 22:23   ` Glenn Morris
@ 2007-03-06 22:36     ` Richard Stallman
  2007-03-07  1:35       ` Glenn Morris
  0 siblings, 1 reply; 7+ messages in thread
From: Richard Stallman @ 2007-03-06 22:36 UTC (permalink / raw)
  To: Glenn Morris; +Cc: cyd, emacs-devel

    I think it's just because TAB is bound to lisp-complete-symbol in
    M-:, which uses read-expression-map.

Actually it is M-TAB which has that binding.

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

* Re: [alinsoar@voila.fr: EVAL and partial-completion-mode]
  2007-03-06 22:36     ` Richard Stallman
@ 2007-03-07  1:35       ` Glenn Morris
  0 siblings, 0 replies; 7+ messages in thread
From: Glenn Morris @ 2007-03-07  1:35 UTC (permalink / raw)
  To: rms; +Cc: cyd, emacs-devel

Richard Stallman wrote:

>     I think it's just because TAB is bound to lisp-complete-symbol in
>     M-:, which uses read-expression-map.
>
> Actually it is M-TAB which has that binding.

I was operating under the assumption that the OP meant to say "M-TAB"
rather than "TAB", because otherwise the bug report makes no sense.

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

* Re: [alinsoar@voila.fr: EVAL and partial-completion-mode]
@ 2007-03-07 10:41 A Soare
  0 siblings, 0 replies; 7+ messages in thread
From: A Soare @ 2007-03-07 10:41 UTC (permalink / raw)
  To: Emacs   Dev  [emacs-devel]

> I was operating under the assumption that the OP meant to say "M-TAB"
> rather than "TAB", because otherwise the bug report makes no sense. 

Indeed, ALT-TAB.

ALT-TAB for the [alinsoar@voila.fr: EVAL and mouse selection in *Completions*] message also.

Alin Soare

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

end of thread, other threads:[~2007-03-07 10:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-05 21:50 [alinsoar@voila.fr: EVAL and partial-completion-mode] Richard Stallman
2007-03-05 22:06 ` Chong Yidong
2007-03-05 22:23   ` Glenn Morris
2007-03-06 22:36     ` Richard Stallman
2007-03-07  1:35       ` Glenn Morris
2007-03-06 22:36   ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2007-03-07 10:41 A Soare

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.