From unknown Sat Jun 21 10:14:19 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#6776 <6776@debbugs.gnu.org> To: bug#6776 <6776@debbugs.gnu.org> Subject: Status: 24.0.50; nxml mode binds completion to c-return Reply-To: bug#6776 <6776@debbugs.gnu.org> Date: Sat, 21 Jun 2025 17:14:19 +0000 retitle 6776 24.0.50; nxml mode binds completion to c-return reassign 6776 emacs submitter 6776 joakim@verona.se severity 6776 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 02 03:52:43 2010 Received: (at submit) by debbugs.gnu.org; 2 Aug 2010 07:52:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OfppC-0001qG-2M for submit@debbugs.gnu.org; Mon, 02 Aug 2010 03:52:43 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ofpp8-0001q6-9s for submit@debbugs.gnu.org; Mon, 02 Aug 2010 03:52:40 -0400 Received: from lists.gnu.org ([199.232.76.165]:38009) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OfppU-0002Qu-SL for submit@debbugs.gnu.org; Mon, 02 Aug 2010 03:53:01 -0400 Received: from [140.186.70.92] (port=58654 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OfppR-0004aI-Ut for bug-gnu-emacs@gnu.org; Mon, 02 Aug 2010 03:53:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OfppP-0008DG-KK for bug-gnu-emacs@gnu.org; Mon, 02 Aug 2010 03:52:57 -0400 Received: from iwfs.imcode.com ([82.115.149.64]:35336 helo=gate.verona.se) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OfppP-0008CB-0g for bug-gnu-emacs@gnu.org; Mon, 02 Aug 2010 03:52:55 -0400 Received: from localhost.localdomain (IDENT:1005@localhost [127.0.0.1]) by gate.verona.se (8.13.4/8.11.4) with ESMTP id o727qZuC006631 for ; Mon, 2 Aug 2010 09:52:36 +0200 From: joakim@verona.se To: bug-gnu-emacs@gnu.org Subject: 24.0.50; nxml mode binds completion to c-return Date: Mon, 02 Aug 2010 09:52:34 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) nxml mode does this: (define-key map [C-return] 'nxml-complete) which isnt exactly a bug, but its annoying. Its annoying because mode specific completions should go somewhere consistent, such as M-tab, a binding which I dont like either, but at least most modes put their completion functionality there. Heres some further info from nxml mode: ,---- | nxml-bind-meta-tab-to-complete-flag is a variable defined in `nxml-mode.el'. | Its value is nil | | Documentation: | *Non-nil means bind M-TAB in `nxml-mode-map' to `nxml-complete'. | C-return will be bound to `nxml-complete' in any case. | M-TAB gets swallowed by many window systems/managers, and | `documentation' will show M-TAB rather than C-return as the | binding for `nxml-complete' when both are bound. So it's better | to bind M-TAB only when it will work. `---- So the mode expresses an opinion that c-return should always complete, but m-tab not always complete. I think it should be the other way around. Esc-tab always works in all window managers etc, and I also think completion should be solved once and for all in the core of Emacs, not left to various modes to opinionate about. Ok, the real reason I find this infuriating is that I want to use c-return for other-window, which is now very inconvenient. The keymaps are already polluted enough. In GNU Emacs 24.0.50.12 (i686-pc-linux-gnu, GTK+ Version 2.18.9) of 2010-06-26 on localhost.localdomain Windowing system distributor `Fedora Project', version 11.0.10802000 configured using `configure '--with-imagemagick'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.utf8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: diff-auto-refine-mode: t yas/global-mode: t yas/minor-mode: t erc-truncate-mode: t erc-track-mode: t erc-track-minor-mode: t erc-spelling-mode: t erc-ring-mode: t erc-pcomplete-mode: t erc-netsplit-mode: t erc-log-mode: t erc-button-mode: t erc-fill-mode: t erc-autojoin-mode: t erc-autoaway-mode: t ido-everywhere: t eldoc-mode: t erc-stamp-mode: t erc-match-mode: t delete-selection-mode: t show-paren-mode: t erc-smiley-mode: t erc-irccontrols-mode: t recentf-mode: t senator-minor-mode: t which-function-mode: t semantic-mru-bookmark-mode: t semantic-idle-summary-mode: t semantic-idle-scheduler-mode: t semantic-decoration-mode: t semantic-highlight-func-mode: t semantic-stickyfunc-mode: t shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: C-a M-% " u " - C-a M-% C-g M-s C-g M-s M-r C-a C-SPC M-w C-a M-% C-y C-y - ! C-x C-s C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-a C-SPC C-p C-SPC C-n C-SPC C-M-x C-SPC C-v C-v C-p M-x n a r r o SPC t SPC SPC r SPC M-< C-x h M-x s o r t SPC l SPC C-n C-n C-n C-n C-s C-w C-w C-w C-e C-SPC C-a C-s C-w C-a C-g C-SPC C-e C-a C-g C-SPC C-e C-s M-w C-z M-< M-< C-SPC C-e C-s M-y C-g C-h k C-s C-x o C-h k C-x o C-x C-w C-g C-x 1 C-r C-w C-w C-r C-r C-r C-r C-a C-SPC C-e M-w C-a M-x r e p o SPC r SPC e m SPC SPC b SPC Recent messages: Quit Type C-x 1 to delete the help window, C-M-v to scroll help. Cannot complete in this context [6 times] mouse-2, RET: find function's definition uncompressing nxml-mode.el.gz...done Loading semanticdb-file...done [2 times] Quit Mark saved where search started Mark set Making completion list... [2 times] Load-path shadows: ~/.elisp/emms/lisp/jack hides /home/joakim/.elisp/jack ~/.emacs.d/predictive/tNFA hides /home/joakim/.elisp/tNFA /home/joakim/.emacs.d/elpa/mediawiki-1.1/mediawiki hides /home/joakim/.elisp/mediawiki ~/.emacs.d/predictive/dict-tree hides /home/joakim/.elisp/dict-tree ~/.emacs.d/predictive/trie hides /home/joakim/.elisp/trie /home/joakim/.emacs.d/elpa/clojure-mode-1.6/clojure-mode hides /home/joakim/.elisp/clojure-mode ~/.emacs.d/predictive/heap hides /home/joakim/.elisp/heap ~/.emacs.d/predictive/queue hides /home/joakim/.elisp/queue /home/joakim/.emacs.d/elpa/slime-20091016/slime hides /home/joakim/.elisp/slime-2.0/slime /home/joakim/.elisp/slime-2.0/tree-widget hides /home/joakim/.elisp/sclang/tree-widget /home/joakim/.elisp/javascript-mode hides /home/joakim/.elisp/mdee/javascript-mode /home/joakim/.elisp/tuareg-mode-1.45.0/camldebug hides /home/joakim/.elisp/caml/camldebug /usr/local/share/emacs/site-lisp/bbdb-2.35/texinfo/infohack hides /usr/local/share/emacs/site-lisp/dvc/texinfo/infohack /home/joakim/.elisp/edb/edb-1int-to-single hides /usr/local/share/emacs/site-lisp/edb-1.31/lisp/edb-1int-to-single /home/joakim/.elisp/edb/db-isbn hides /usr/local/share/emacs/site-lisp/edb-1.31/lisp/db-isbn /home/joakim/.elisp/edb/db-search hides /usr/local/share/emacs/site-lisp/edb-1.31/lisp/db-search /home/joakim/.elisp/edb/edb-meta hides /usr/local/share/emacs/site-lisp/edb-1.31/lisp/edb-meta /home/joakim/.elisp/edb/edb-t-human-names hides /usr/local/share/emacs/site-lisp/edb-1.31/lisp/edb-t-human-names /home/joakim/.elisp/edb/edbcore hides /usr/local/share/emacs/site-lisp/edb-1.31/lisp/edbcore /home/joakim/.elisp/edb/db-tagged hides /usr/local/share/emacs/site-lisp/edb-1.31/lisp/db-tagged /home/joakim/.elisp/edb/db-rdb hides /usr/local/share/emacs/site-lisp/edb-1.31/lisp/db-rdb /home/joakim/.elisp/edb/db-two-dbs hides /usr/local/share/emacs/site-lisp/edb-1.31/lisp/db-two-dbs /home/joakim/.elisp/edb/db-nosetf hides /usr/local/share/emacs/site-lisp/edb-1.31/lisp/db-nosetf /home/joakim/.elisp/edb/db-sort hides /usr/local/share/emacs/site-lisp/edb-1.31/lisp/db-sort /home/joakim/.elisp/edb/edb-t-timedate1 hides /usr/local/share/emacs/site-lisp/edb-1.31/lisp/edb-t-timedate1 /home/joakim/.elisp/edb/database hides /usr/local/share/emacs/site-lisp/edb-1.31/lisp/database /home/joakim/.elisp/edb/edb-t-places-usuk hides /usr/local/share/emacs/site-lisp/edb-1.31/lisp/edb-t-places-usuk /home/joakim/.elisp/edb/db-oldnames hides /usr/local/share/emacs/site-lisp/edb-1.31/lisp/db-oldnames /home/joakim/.elisp/dictionary-1.8.7/connection hides /usr/local/share/emacs/site-lisp/edb-1.31/lisp/connection /home/joakim/.elisp/edb/db-lemacs hides /usr/local/share/emacs/site-lisp/edb-1.31/lisp/db-lemacs /home/joakim/.elisp/elip hides /usr/local/share/emacs/site-lisp/elip-0.803/source/elip /home/joakim/.elisp/regress hides /usr/local/share/emacs/site-lisp/jde/lisp/regress /usr/local/share/emacs/site-lisp/ecb/ecb2/test hides /usr/local/share/emacs/site-lisp/cedet/semantic/tests/test /home/joakim/.elisp/wisentjs/wisent-javascript-jv-wy hides /usr/local/share/emacs/site-lisp/cedet/semantic/wisent/wisent-javascript-jv-wy /home/joakim/.elisp/elunit hides /usr/local/share/emacs/site-lisp/dvc/lisp/contrib/elunit /home/joakim/.elisp/compile hides /usr/local/share/emacs/site-lisp/edb-1.31/examples/edbibtex/compile /usr/local/share/emacs/site-lisp/emacs-planner/muse/examples/johnw/muse-init hides /usr/local/share/emacs/site-lisp/emacs-planner/muse/examples/mwolson/muse-init /usr/local/share/emacs/site-lisp/cedet/speedbar/dframe hides /usr/local/share/emacs/24.0.50/lisp/dframe /usr/local/share/emacs/site-lisp/cedet/speedbar/sb-image hides /usr/local/share/emacs/24.0.50/lisp/sb-image /home/joakim/.elisp/slime-2.0/tree-widget hides /usr/local/share/emacs/24.0.50/lisp/tree-widget /home/joakim/.elisp/cedet/common/ezimage hides /usr/local/share/emacs/24.0.50/lisp/ezimage /usr/local/share/emacs/site-lisp/cedet/speedbar/speedbar hides /usr/local/share/emacs/24.0.50/lisp/speedbar /home/joakim/.emacs.d/elpa/json-1.2/json hides /usr/local/share/emacs/24.0.50/lisp/json /home/joakim/.elisp/emacs-planner/remember/remember hides /usr/local/share/emacs/24.0.50/lisp/textmodes/remember /home/joakim/.elisp/css-mode hides /usr/local/share/emacs/24.0.50/lisp/textmodes/css-mode /home/joakim/.elisp/compile hides /usr/local/share/emacs/24.0.50/lisp/progmodes/compile /usr/local/share/emacs/site-lisp/emacs-w3m/attic/rfc2368 hides /usr/local/share/emacs/24.0.50/lisp/mail/rfc2368 ~/.emacs.d/predictive/avl-tree hides /usr/local/share/emacs/24.0.50/lisp/emacs-lisp/avl-tree /usr/local/share/emacs/site-lisp/dvc/lisp/contrib/ewoc hides /usr/local/share/emacs/24.0.50/lisp/emacs-lisp/ewoc /usr/local/share/emacs/site-lisp/cedet/eieio/eieio-datadebug hides /usr/local/share/emacs/24.0.50/lisp/emacs-lisp/eieio-datadebug /usr/local/share/emacs/site-lisp/cedet/eieio/eieio hides /usr/local/share/emacs/24.0.50/lisp/emacs-lisp/eieio /usr/local/share/emacs/site-lisp/cedet/eieio/eieio-opt hides /usr/local/share/emacs/24.0.50/lisp/emacs-lisp/eieio-opt /usr/local/share/emacs/site-lisp/cedet/eieio/eieio-speedbar hides /usr/local/share/emacs/24.0.50/lisp/emacs-lisp/eieio-speedbar /usr/local/share/emacs/site-lisp/cedet/eieio/eieio-comp hides /usr/local/share/emacs/24.0.50/lisp/emacs-lisp/eieio-comp /usr/local/share/emacs/site-lisp/cedet/eieio/eieio-custom hides /usr/local/share/emacs/24.0.50/lisp/emacs-lisp/eieio-custom /usr/local/share/emacs/site-lisp/cedet/eieio/eieio-base hides /usr/local/share/emacs/24.0.50/lisp/emacs-lisp/eieio-base ~/.elisp/emms/lisp/tq hides /usr/local/share/emacs/24.0.50/lisp/emacs-lisp/tq /usr/local/share/emacs/site-lisp/cedet/eieio/chart hides /usr/local/share/emacs/24.0.50/lisp/emacs-lisp/chart /home/joakim/.elisp/cedet/common/cedet-cscope hides /usr/local/share/emacs/24.0.50/lisp/cedet/cedet-cscope /home/joakim/.elisp/cedet/common/pulse hides /usr/local/share/emacs/24.0.50/lisp/cedet/pulse /home/joakim/.elisp/cedet/common/cedet hides /usr/local/share/emacs/24.0.50/lisp/cedet/cedet /usr/local/share/emacs/site-lisp/cedet/ede/ede hides /usr/local/share/emacs/24.0.50/lisp/cedet/ede /home/joakim/.elisp/cedet/common/cedet-idutils hides /usr/local/share/emacs/24.0.50/lisp/cedet/cedet-idutils /home/joakim/.elisp/cedet/common/data-debug hides /usr/local/share/emacs/24.0.50/lisp/cedet/data-debug /home/joakim/.elisp/cedet/common/cedet-global hides /usr/local/share/emacs/24.0.50/lisp/cedet/cedet-global /home/joakim/.elisp/cedet/common/mode-local hides /usr/local/share/emacs/24.0.50/lisp/cedet/mode-local /home/joakim/.elisp/cedet/common/inversion hides /usr/local/share/emacs/24.0.50/lisp/cedet/inversion /usr/local/share/emacs/site-lisp/cedet/semantic/semantic hides /usr/local/share/emacs/24.0.50/lisp/cedet/semantic /home/joakim/.elisp/cedet/common/cedet-files hides /usr/local/share/emacs/24.0.50/lisp/cedet/cedet-files /usr/local/share/emacs/site-lisp/cedet/srecode/srecode hides /usr/local/share/emacs/24.0.50/lisp/cedet/srecode Features: (shadow emacsbug semantic-tag-write semantic-tag-ls semantic-tag-file semanticdb-file semantic-edit nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok ffap starttls mailalias smtpmail moy-bbdb nnagent eieio-opt help-mode view flow-fill bookmark multi-isearch diff-mode gnus-fun bbdb-gui gnus-cite smiley mule-util w3m-cookie w3m-bookmark w3m-tabmenu w3m-form w3m-symbol w3m w3m-hist w3m-fb w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util gnus-async gnus-bcklg qp gnus-ml gnus-topic parse-time nnfolder utf-7 utf7 nnimap imap nndraft nnmh bbdb-gnus bbdb-snarf mail-extr bbdb-com netrc gnus-agent gnus-srvr gnus-score score-mode nnvirtual nntp gnus-cache gnus-alias highline nnmairix nnml stef-elisp csound-x csound-lsp csound-csd csound-doc csound-opcodes csound-mid csound-ft graphs csound-spdb k csound-key keykit-interaction keykit-mode kk_utils i csound-eel comm-tests query-sheet embedded-elisp-library mmm-mode mmm-univ mmm-class mmm-region mmm-auto mmm-vars mmm-utils mmm-compat stef-elisp-compatibility slime-repl slime apropos hyperspec my-msf-abbrev msf-abbrev python-21 python sh-script cperl-mode perl-mode semantic-el semantic-bovine bovine-debug semantic-debug boxquote rect grep-edit winner vc-git browse-kill-ring jv-timeclock ses unsafep timeclock-visualize auto-edit-substitute clojure-test-mode-autoloads cssh-autoloads dired-isearch-autoloads epresent-autoloads ert-autoloads facebook-autoloads gtk-look-autoloads json-autoloads magit-autoloads mediawiki-autoloads pastie-autoloads smart-tab-autoloads swank-clojure-autoloads clojure-mode-autoloads slime-repl-autoloads slime-autoloads yasnippet-bundle-autoloads yasnippet-bundle dropdown-list yasnippet package reporter erc-truncate erc-track erc-spelling flyspell ispell erc-ring erc-pcomplete erc-netsplit erc-log erc-button erc-fill erc-join erc-autoaway image-file grep fsdired hide-lines memory-usage my-eshell dired-x dired-aux ido my-jde-init java-mode-indent-annotations jde-eclipse-compiler-server flymake jde etags jde-open-source jde-class jde-parse-class jde-import jde-java-font-lock jde-which-method jde-java-grammar jde-wiz jde-complete eldoc jde-plugins executable browse-url jde-gen tempo jde-run jde-jdb jde-bug jde-dbs jde-dbo regress jde-db jde-parse sregex jde-imenu semantic-java semantic-doc avltree stack-m elib-node jde-compile cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs jde-help jde-widgets beanshell jde-custom jde-project-file jde-autoload jde-util arc-mode archive-mode pager emms-jave emms-player-mymplayer emms-playlist-limit emms-volume emms-volume-amixer emms-tag-editor emms-info-metaflac emms-i18n emms-mark emms-history emms-bookmarks emms-score emms-stream-info emms-metaplaylist-mode emms-lastfm emms-browser emms-playlist-sort emms-last-played emms-player-xine emms-player-mpd tq emms-playing-time emms-lyrics emms-url url url-proxy url-privacy url-expand url-methods url-history url-cookie emms-streams emms-mode-line emms-cache emms-info-ogginfo emms-info-mp3info emms-info later-do emms-playlist-mode emms-player-vlc emms-player-mplayer emms-player-simple emms-source-playlist emms-source-file locate emms-dbus emms-setup emms emms-compat erc-stamp erc-match erc-ezbounce color-theme ansi-color delsel paren pcomplete plannerinit muse-backlink remember-planner remember noutline outline planner-cyclic solar cal-dst cal-bahai holidays hol-loaddefs ede-simple ede-linux ede-emacs ede-cpp-root planner-appt appt diary-lib diary-loaddefs planner-tasks-overview planner-erc erc-goodies erc erc-backend erc-compat pp planner-gnus gnus-msg gnus-art mm-uu mml2015 epg-config mm-view smime dig mailcap gnus-sum nnoo gnus-group time-date gnus-undo nnmail mail-source gnus-start gnus-spec gnus-int gnus-range gnus-win message sendmail mml mml-sec mailabbrev gmm-utils mailheader gnus gnus-ems nnheader mail-utils planner-multi crm planner-publish muse-xml muse-latex muse-wiki planner cal-menu calendar cal-loaddefs muse-html muse-xml-common muse-colors cus-edit cus-start cus-load muse-publish muse-project muse-protocols sb-info info muse-regexps muse muse-nested-tags muse-mode windmove abook mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums vcard bbdb-autoloads bbdb timezone pastebin pk-total-recall w3m-load dired-details+ dired dired-details sort winring ecb ecb-symboldef ecb-analyse ecb-compatibility ecb-winman-support ecb-autogen autoload ecb-tod ecb-cycle ecb-eshell ecb-help ecb-jde efc ecb-method-browser hideshow ecb-file-browser ecb-layout compile ecb-create-layout ecb-compilation ecb-speedbar ecb-common-browser ecb-semantic-wrapper ecb-navigate ecb-mode-line ecb-face tree-buffer ecb-upgrade ecb-util thingatpt jka-compr disp-table anything-config rx anything easy-mmode woman man recentf tree-widget semanticdb-java ede-proj-maven2 cedet-files cedet cedet-contrib-load contrib-loaddefs cogre-load cogre-loaddefs speedbar-load speedbar-loaddefs ede-load ede-loaddefs ede-speedbar ede-files ede eieio-speedbar semantic-ia-sb semantic-analyze semantic-scope semantic-analyze-fcn semantic-sort semantic-sb speedbar sb-image dframe eieio-custom wid-edit ede-source srecode-load srecode srecode-loaddefs semantic-load senator which-func semantic-imenu imenu semantic-format ezimage semantic-mru-bookmark semanticdb-mode semantic-idle semantic-ctxt semantic-decorate-include semanticdb-find semanticdb-ref semanticdb-el semanticdb-search semantic-find semanticdb eieio-base semantic-decorate-mode semantic-decorate pulse semantic-util-modes semantic-util semantic semantic-lex semantic-tag working fame semantic-fw semantic-loaddefs mode-local find-func derived eieio-load eieio-loaddefs cedet-load cedet-compat cedet-loaddefs eieio warnings byte-opt bytecomp byte-compile inversion cl cl-19 generic-x edmacro kmacro jvfetchmail mailcrypt rfc822 easymenu zen-mode tramp-imap assoc tramp-gw tramp-gvfs zeroconf url-util url-parse url-vars mm-util mail-prsvr tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp auth-source gnus-util advice help-fns advice-preload shell comint regexp-opt ring password-cache format-spec tramp-compat trampver server timeclock battery secrets dbus xml tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs) -- Joakim Verona From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 02 06:49:20 2010 Received: (at 6776) by debbugs.gnu.org; 2 Aug 2010 10:49:20 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ofsa8-0003Ny-1u for submit@debbugs.gnu.org; Mon, 02 Aug 2010 06:49:20 -0400 Received: from impaqm2.telefonica.net ([213.4.138.2]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ofsa4-0003Nr-VK for 6776@debbugs.gnu.org; Mon, 02 Aug 2010 06:49:18 -0400 Received: from IMPmailhost2.adm.correo ([10.20.102.39]) by IMPaqm2.telefonica.net with bizsmtp id pJzy1e00H0r0BT63MNpfGy; Mon, 02 Aug 2010 12:49:39 +0200 Received: from ceviche.home ([83.61.38.247]) by IMPmailhost2.adm.correo with BIZ IMP id pNpe1e0015KwfZf1iNpeAK; Mon, 02 Aug 2010 12:49:39 +0200 X-Brightmail-Tracker: AAAAAA== X-TE-authinfo: authemail="monnier$movistar.es" |auth_email="monnier@movistar.es" X-TE-AcuTerraCos: auth_cuTerraCos="cosuitnetc01" Received: by ceviche.home (Postfix, from userid 20848) id 014F466125; Mon, 2 Aug 2010 12:49:37 +0200 (CEST) From: Stefan Monnier To: joakim@verona.se Subject: Re: bug#6776: 24.0.50; nxml mode binds completion to c-return Message-ID: References: Date: Mon, 02 Aug 2010 12:49:37 +0200 In-Reply-To: (joakim@verona.se's message of "Mon, 02 Aug 2010 09:52:34 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 6776 Cc: 6776@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > nxml mode does this: > (define-key map [C-return] 'nxml-complete) > which isnt exactly a bug, but its annoying. Agreed. It should add to completion-at-point-functions instead. > Its annoying because mode > specific completions should go somewhere consistent, such as M-tab, a Actually, I just noticed that completion-at-point is globally bound to M-tab. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 02 18:42:32 2010 Received: (at 6776) by debbugs.gnu.org; 2 Aug 2010 22:42:32 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Og3iJ-0003GX-UL for submit@debbugs.gnu.org; Mon, 02 Aug 2010 18:42:32 -0400 Received: from iwfs.imcode.com ([82.115.149.64] helo=gate.verona.se) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Og3iH-0003GS-RO for 6776@debbugs.gnu.org; Mon, 02 Aug 2010 18:42:30 -0400 Received: from localhost.localdomain (IDENT:1005@localhost [127.0.0.1]) by gate.verona.se (8.13.4/8.11.4) with ESMTP id o72MgqmJ017496; Tue, 3 Aug 2010 00:42:52 +0200 From: joakim@verona.se To: Stefan Monnier Subject: Re: bug#6776: 24.0.50; nxml mode binds completion to c-return References: Date: Tue, 03 Aug 2010 00:42:52 +0200 In-Reply-To: (Stefan Monnier's message of "Mon, 02 Aug 2010 12:49:37 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: 6776 Cc: 6776@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.9 (---) Stefan Monnier writes: >> nxml mode does this: >> (define-key map [C-return] 'nxml-complete) >> which isnt exactly a bug, but its annoying. > > Agreed. It should add to completion-at-point-functions instead. > >> Its annoying because mode >> specific completions should go somewhere consistent, such as M-tab, a > > Actually, I just noticed that completion-at-point is globally bound to M-tab. > > > Stefan So, maybe something like this then? === modified file 'lisp/nxml/nxml-mode.el' *** lisp/nxml/nxml-mode.el 2010-06-14 01:43:11 +0000 --- lisp/nxml/nxml-mode.el 2010-08-02 22:37:47 +0000 *************** *** 415,423 **** (define-key map "\C-c\C-o" nxml-outline-prefix-map) (define-key map [S-mouse-2] 'nxml-mouse-hide-direct-text-content) (define-key map "/" 'nxml-electric-slash) - (define-key map [C-return] 'nxml-complete) - (when nxml-bind-meta-tab-to-complete-flag - (define-key map "\M-\t" 'nxml-complete)) map) "Keymap for nxml-mode.") --- 415,420 ---- *************** *** 525,531 **** (nxml-scan-prolog))))) (add-hook 'after-change-functions 'nxml-after-change nil t) (add-hook 'change-major-mode-hook 'nxml-cleanup nil t) ! ;; Emacs 23 handles the encoding attribute on the xml declaration ;; transparently to nxml-mode, so there is no longer a need for the below ;; hook. The hook also had the drawback of overriding explicit user --- 522,528 ---- (nxml-scan-prolog))))) (add-hook 'after-change-functions 'nxml-after-change nil t) (add-hook 'change-major-mode-hook 'nxml-cleanup nil t) ! (add-hook 'completion-at-point-functions 'nxml-complete nil 'local) ;; Emacs 23 handles the encoding attribute on the xml declaration ;; transparently to nxml-mode, so there is no longer a need for the below ;; hook. The hook also had the drawback of overriding explicit user -- Joakim Verona From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 05 04:55:58 2010 Received: (at 6776) by debbugs.gnu.org; 5 Aug 2010 08:55:58 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OgwF4-0008DI-Ea for submit@debbugs.gnu.org; Thu, 05 Aug 2010 04:55:58 -0400 Received: from impaqm5.telefonica.net ([213.4.138.5]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OgwEu-0008Ct-Kl for 6776@debbugs.gnu.org; Thu, 05 Aug 2010 04:55:49 -0400 Received: from IMPmailhost2.adm.correo ([10.20.102.39]) by IMPaqm5.telefonica.net with bizsmtp id qWJ21e00E0r0BT63RYw3HE; Thu, 05 Aug 2010 10:56:03 +0200 Received: from ceviche.home ([83.61.38.247]) by IMPmailhost2.adm.correo with BIZ IMP id qYw21e00B5KwfZf1iYw35N; Thu, 05 Aug 2010 10:56:03 +0200 X-Brightmail-Tracker: AAAAAA== X-TE-authinfo: authemail="monnier$movistar.es" |auth_email="monnier@movistar.es" X-TE-AcuTerraCos: auth_cuTerraCos="cosuitnetc01" Received: by ceviche.home (Postfix, from userid 20848) id 5C24B66125; Thu, 5 Aug 2010 10:56:02 +0200 (CEST) From: Stefan Monnier To: joakim@verona.se Subject: Re: bug#6776: 24.0.50; nxml mode binds completion to c-return In-Reply-To: (joakim@verona.se's message of "Tue, 03 Aug 2010 00:42:52 +0200") Date: Wed, 04 Aug 2010 14:46:21 +0200 Message-ID: References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: 6776 Cc: 6776@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.3 (-) > ! (add-hook 'completion-at-point-functions 'nxml-complete nil 'local) No: completion-at-point-functions should be functions that return completion data (that is then passed to the standard completion UI). Check C-h v completion-at-point-functions. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 12 00:29:11 2012 Received: (at 6776) by debbugs.gnu.org; 12 Mar 2012 04:29:11 +0000 Received: from localhost ([127.0.0.1]:45718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S6wsh-0008Vx-7Z for submit@debbugs.gnu.org; Mon, 12 Mar 2012 00:29:11 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:50523) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S6wsf-0008Vq-0P for 6776@debbugs.gnu.org; Mon, 12 Mar 2012 00:29:09 -0400 Received: from bb116-14-103-36.singnet.com.sg ([116.14.103.36]:59813 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1S6wPm-0006kS-Do; Sun, 11 Mar 2012 23:59:19 -0400 From: Chong Yidong To: Stefan Monnier Subject: Re: bug#6776: 24.0.50; nxml mode binds completion to c-return References: Date: Mon, 12 Mar 2012 11:59:05 +0800 In-Reply-To: (Stefan Monnier's message of "Wed, 04 Aug 2010 14:46:21 +0200") Message-ID: <87lin6eagm.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 6776 Cc: 6776@debbugs.gnu.org, joakim@verona.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Stefan Monnier writes: >> ! (add-hook 'completion-at-point-functions 'nxml-complete nil 'local) > > No: completion-at-point-functions should be functions that return > completion data (that is then passed to the standard completion UI). > Check C-h v completion-at-point-functions. I've committed a corrected fix. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 12 00:29:20 2012 Received: (at control) by debbugs.gnu.org; 12 Mar 2012 04:29:20 +0000 Received: from localhost ([127.0.0.1]:45721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S6wsp-0008WH-KV for submit@debbugs.gnu.org; Mon, 12 Mar 2012 00:29:20 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:50533) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S6wsn-0008WA-DY for control@debbugs.gnu.org; Mon, 12 Mar 2012 00:29:17 -0400 Received: from bb116-14-103-36.singnet.com.sg ([116.14.103.36]:59814 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1S6wPw-0006ln-4M for control@debbugs.gnu.org; Sun, 11 Mar 2012 23:59:28 -0400 From: Chong Yidong To: control@debbugs.gnu.org Subject: close 6776 Date: Mon, 12 Mar 2012 11:59:21 +0800 Message-ID: <87ehsyqxk6.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) close 6776 thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 26 20:38:22 2012 Received: (at control) by debbugs.gnu.org; 27 Mar 2012 00:38:22 +0000 Received: from localhost ([127.0.0.1]:40199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SCKQX-0007vE-CJ for submit@debbugs.gnu.org; Mon, 26 Mar 2012 20:38:21 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:37033) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SCKQV-0007v7-9H for control@debbugs.gnu.org; Mon, 26 Mar 2012 20:38:19 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1SCJwI-0002Y6-Df for control@debbugs.gnu.org; Mon, 26 Mar 2012 20:07:06 -0400 Date: Mon, 26 Mar 2012 20:07:06 -0400 Message-Id: Subject: control message for bug 11086 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) forcemerge 6776 11086 From unknown Sat Jun 21 10:14:19 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 25 Apr 2012 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator