bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#13363: Documentation bug - nXML mode: C-return is not defined as sta


From: Dmitry Gutov
Subject: bug#13363: Documentation bug - nXML mode: C-return is not defined as stated
Date: Sun, 06 Jan 2013 11:27:20 +0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt)

Jambunathan K <kjambunathan@gmail.com> writes:

> John Brown <johnbrown_105@yahoo.com> writes:
>
>> Hello Glenn,
>>
>>
>> Glenn Morris wrote:
>>> 
>>> John Brown wrote:
>>> 
>>>>  The nXML mode documentation distributed with Emacs (24.2.1)
>>>>  states:
>>>> 
>>>>  <C-return> performs completion on the symbol preceding point.
>>> 
>>> That was fixed in the sources some time ago.
>>> 
>>>>  The GNU Emacs manual at
>>>>  http://www.gnu.org/software/emacs/manual/html_mono/emacs.html:
>>>>  also states:
>>>> 
>>>>  "The major mode for editing XML documents is called nXML mode.
>>>>  This is a powerful major mode that can recognize many existing
>>>>  XML schema and use them to provide completion of XML elements
>>>>  via C-<RET> or M-<TAB> ..."
>>> 
>>> Thanks, I fixed that in the source too. (The web-page probably won't be
>>> regenerated till at least when 24.3 is released though.)
>>> 
>>
>> Looking at nxml-mode.el, I see that the correct keystroke is M-TAB.
>> Since this combination is used to switch from one main application
>> window to the next by the MS Windows and Ubuntu Linux GUIs (and
>> no doubt other GUIs because they tend to copy one another),it is
>> likely to be a problem for many users.
>>
>> I recommend that the documentation suggest ways to work around
>> this.
>
> I use C-M-i.

Me too.

And ESC TAB is another synonym one can use.

>     ,---- NEWS
>     | ** nXML mode no longer binds C-RET to `nxml-complete'.
>     | Completion is now performed via `completion-at-point', bound to C-M-i
>     | or M-TAB.  If `nxml-bind-meta-tab-to-complete-flag' is non-nil (the
>     | default), this performs tag completion.
>     `----





reply via email to

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