GNU bug report logs - #13363
Documentation bug - nXML mode: C-return is not defined as stated

Previous Next

Package: emacs;

Reported by: John Brown <johnbrown_105 <at> yahoo.com>

Date: Sat, 5 Jan 2013 17:28:02 UTC

Severity: minor

Fixed in version 24.2.92

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #19 received at 13363-done <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Jambunathan K <kjambunathan <at> gmail.com>
Cc: John Brown <johnbrown_105 <at> yahoo.com>,
	"13363-done <at> debbugs.gnu.org" <13363-done <at> debbugs.gnu.org>
Subject: Re: bug#13363: Documentation bug - nXML mode: C-return is not defined
	as stated
Date: Sun, 06 Jan 2013 11:27:20 +0400
Jambunathan K <kjambunathan <at> gmail.com> writes:

> John Brown <johnbrown_105 <at> 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.
>     `----




This bug report was last modified 12 years and 137 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.