emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Completion keys and rectangles


From: Stefan Monnier
Subject: Re: Completion keys and rectangles
Date: Mon, 16 Nov 2009 16:32:26 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

> M-TAB is very often used by the window manager. "(emacs) Symbol
> Completion" therefore advices to use ESC TAB
> or C-M-i instead to avoid that when using a completion command in Emacs.

> nxml-mode avoids the problem by binding C-RET as well to
> nxml-complete, and only that when Emacs is used under
> a window system. (See nxml-bind-meta-tab-to-complete-flag.)

C-RET doesn't sound like a good choice to me, both because it's
counter-intuitive (I expect C-RET to "terminate" something like RET
terminates a line or terminates minibuffer input), and because it's not
available in xterms (which also can't use M-TAB).

I agree that Emacs should choose a binding for it.

Personally, I've been using TAB for that purpose.  It's convenient and
natural since TAB is already used for completion in many other contexts,
but it's also kind of tricky since TAB is also used for indentation.
I resolve this problem by first trying indentation and if indentation
did not do anything, then I try completion.  It works for me, but I'm
not that thrilled about it.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]