From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 05 03:54:00 2016 Received: (at submit) by debbugs.gnu.org; 5 Jan 2016 08:54:00 +0000 Received: from localhost ([127.0.0.1]:38107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGNNQ-0001aF-5O for submit@debbugs.gnu.org; Tue, 05 Jan 2016 03:54:00 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55746) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGNNO-0001a3-PY for submit@debbugs.gnu.org; Tue, 05 Jan 2016 03:53:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGNNI-00067M-Fh for submit@debbugs.gnu.org; Tue, 05 Jan 2016 03:53:53 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58061) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGNNI-00067I-CQ for submit@debbugs.gnu.org; Tue, 05 Jan 2016 03:53:52 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGNNG-00070D-P7 for bug-gnu-emacs@gnu.org; Tue, 05 Jan 2016 03:53:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGNNC-00066g-MH for bug-gnu-emacs@gnu.org; Tue, 05 Jan 2016 03:53:50 -0500 Received: from smtp04.smtpout.orange.fr ([80.12.242.126]:52496 helo=smtp.smtpout.orange.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGNNC-00066c-BM for bug-gnu-emacs@gnu.org; Tue, 05 Jan 2016 03:53:46 -0500 Received: from AigleRoyal ([2.10.181.99]) by mwinf5d60 with ME id 28tk1s003294V9N038tk6Z; Tue, 05 Jan 2016 09:53:44 +0100 X-ME-Helo: AigleRoyal X-ME-Auth: dmluY2VudGJlbGFpY2hlQG9yYW5nZS5mcg== X-ME-Date: Tue, 05 Jan 2016 09:53:44 +0100 X-ME-IP: 2.10.181.99 From: =?iso-8859-1?Q?Vincent_Bela=EFche?= To: bug-gnu-emacs@gnu.org Subject: 25.1.50; Bad input method description with spurious \= escapes Date: Tue, 05 Jan 2016 09:53:43 +0100 Message-ID: <84vb78v23s.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit Cc: =?iso-8859-1?Q?Vincent_Bela=EFche?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) I get the following for the French postfix input method: Input method: french-postfix (mode line indicator:FR<) French (Fran=C3=A7ais) input method with postfix modifiers \=3D` pour grave, \=3D' pour aigu, ^ pour circonflexe, et " pour tr=C3=A9ma. Par exemple: a\=3D` -> =C3=A0 e\=3D' -> =C3=A9. I think that the `\=3D' are spurious, these escapes were added for docstrings, but they seem to be irrelevant for input method descriptions. Vincent. In GNU Emacs 25.1.50.1 (i686-pc-mingw32) of 2015-12-16 Repository revision: 23b5c22703eeee7b4fe6608ce12ffe3b87794933 Windowing system distributor 'Microsoft Corp.', version 10.0.10586 Configured using: 'configure --prefix=3Dc:/Nos_Programmes/GNU/Emacs --without-jpeg --without-tiff --without-gif --without-png 'CPPFLAGS=3D -DFOR_MSW=3D1 -I C:/Programmes/installation/emacs-install/libXpm-3.5.8/include -I C:/Programmes/installation/emacs-install/libXpm-3.5.8/src -L C:/Programmes/installation/emacs-install/libXpm-3.5.8/src'' Configured features: XPM SOUND NOTIFY ACL TOOLKIT_SCROLL_BARS Important settings: value of $LANG: FRA locale-coding-system: cp1252 Major mode: Help Minor modes in effect: diff-auto-refine-mode: t shell-dirtrack-mode: t recentf-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-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 buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Sending...done GNU Emacs 25.1.50.1 (i686-pc-mingw32) of 2015-12-16 Loading quail/latin-pre...done Loading quail/latin-post...done You can run the command =E2=80=98set-input-method=E2=80=99 with C-x RET C-\ Mark set [3 times] You can run the command =E2=80=98describe-input-method=E2=80=99 with C-h I next-line: End of buffer [9 times] previous-line: Beginning of buffer [13 times] next-line: End of buffer [10 times] previous-line: Beginning of buffer [12 times] Load-path shadows: c:/Programmes/installation/cedet-install/cedet-git/lisp/speedbar/loaddefs h= ides c:/Nos_Programmes/GNU/Emacs/share/emacs/25.1.50/lisp/loaddefs c:/Programmes/installation/cedet-install/cedet-git/lisp/speedbar/loaddefs h= ides c:/Programmes/installation/cedet-install/cedet-git/lisp/cedet/loaddefs Features: (shadow emacsbug quail rect cursor-sensor nndraft nnmh nnfolder bbdb-gnus bbdb-mua gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view mml-smime smime dig nntp gnus-cache gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range gnus-win gnus gnus-ems nnheader mailcap parse-time vc-cvs hl-line balance eieio-compat calc-forms dired-aux calc-units calccomp calc-alg calc-aent calc-menu org-element org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view image-mode org-bibtex bibtex org-bbdb org-w3m org org-macro org-footnote org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint ob-core ob-eval org-compat org-macs org-loaddefs cal-menu calendar cal-loaddefs jka-compr info eieio-opt speedbar sb-image ezimage dframe find-func vc vc-dispatcher vc-git diff-mode network-stream nsm starttls tls mailalias smtpmail auth-source eieio eieio-core password-cache qp sort pp cus-start cus-load mail-extr bbdb-com crm bbdb-message sendmail gnus-util message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mailabbrev mail-utils gmm-utils mailheader gud easy-mmode map seq byte-opt bytecomp byte-compile cconv cl-extra help-mode dired-x dired character-fold misearch multi-isearch pcmpl-unix shell pcomplete comint ansi-color ring edmacro kmacro skeleton calc-misc calc-arith calc-ext calc calc-loaddefs calc-macs tex-mik preview-latex tex-site auto-loads bbdb bbdb-site timezone bbdb-loaddefs template w32utils cl-seq cl-macs cl gv recentf tree-widget wid-edit cl-loaddefs pcase cl-lib easymenu load-path-to-cedet-svn time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote w32notify w32 multi-tty make-network-process emacs) Memory information: ((conses 8 502485 83658) (symbols 32 44243 0) (miscs 32 1025 1149) (strings 16 99414 14427) (string-bytes 1 2972823) (vectors 8 53570) (vector-slots 4 1725433 16046) (floats 8 560 526) (intervals 28 15557 1931) (buffers 516 38)) From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 05 13:33:45 2016 Received: (at control) by debbugs.gnu.org; 5 Jan 2016 18:33:45 +0000 Received: from localhost ([127.0.0.1]:39084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGWQS-0005Lx-Uq for submit@debbugs.gnu.org; Tue, 05 Jan 2016 13:33:45 -0500 Received: from eggs.gnu.org ([208.118.235.92]:47014) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGWQR-0005Lh-Kz for control@debbugs.gnu.org; Tue, 05 Jan 2016 13:33:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGWQL-0002L8-O7 for control@debbugs.gnu.org; Tue, 05 Jan 2016 13:33:38 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGWQL-0002L4-Ks for control@debbugs.gnu.org; Tue, 05 Jan 2016 13:33:37 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1aGWQL-0000hC-CB for control@debbugs.gnu.org; Tue, 05 Jan 2016 13:33:37 -0500 Subject: control message for bug 19759 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Tue, 05 Jan 2016 13:33:37 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) block 19759 by 22309 From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 19 02:13:01 2016 Received: (at 22309-done) by debbugs.gnu.org; 19 Jan 2016 07:13:01 +0000 Received: from localhost ([127.0.0.1]:53326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aLQTM-0000ZT-QH for submit@debbugs.gnu.org; Tue, 19 Jan 2016 02:13:01 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:56746) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aLQTK-0000ZG-FC for 22309-done@debbugs.gnu.org; Tue, 19 Jan 2016 02:12:59 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id AA066160E67; Mon, 18 Jan 2016 23:12:51 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id F-05MLE3-Vox; Mon, 18 Jan 2016 23:12:50 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id DEEBC160E6B; Mon, 18 Jan 2016 23:12:50 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id cXtZCUIJ9dDY; Mon, 18 Jan 2016 23:12:50 -0800 (PST) Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id BD6B1160E67; Mon, 18 Jan 2016 23:12:50 -0800 (PST) To: =?UTF-8?Q?Vincent_Bela=c3=afche?= From: Paul Eggert Subject: Re: 25.1.50; Bad input method description with spurious \= escapes Organization: UCLA Computer Science Department Message-ID: <569DE1F2.9080607@cs.ucla.edu> Date: Mon, 18 Jan 2016 23:12:50 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------030706010104080305050603" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22309-done Cc: 22309-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) This is a multi-part message in MIME format. --------------030706010104080305050603 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Thanks for reporting this. I reproduce the problem, and installed the attached fix into the emacs-25 branch. --------------030706010104080305050603 Content-Type: text/x-diff; name="0001-Fix-spurious-escapes-in-describe-input-method.patch" Content-Disposition: attachment; filename="0001-Fix-spurious-escapes-in-describe-input-method.patch" Content-Transfer-Encoding: quoted-printable >From 5ead1ecb8d084b4fab258c18fcea5233b0a22949 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 18 Jan 2016 23:09:15 -0800 Subject: [PATCH] Fix spurious escapes in describe-input-method MIME-Version: 1.0 Content-Type: text/plain; charset=3DUTF-8 Content-Transfer-Encoding: 8bit Problem reported by Vincent Bela=C3=AFche (Bug#22309). * lisp/international/mule-cmds.el (describe-language-environment): * lisp/international/quail.el (quail-help): Apply substitute-command-keys to doc strings before displaying them. --- lisp/international/mule-cmds.el | 2 +- lisp/international/quail.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cm= ds.el index 79e9c7b..2df847a 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el @@ -2119,7 +2119,7 @@ describe-language-environment (with-current-buffer standard-output (insert language-name " language environment\n\n") (if (stringp doc) - (insert doc "\n\n")) + (insert (substitute-command-keys doc) "\n\n")) (condition-case nil (let ((str (eval (get-language-info language-name 'sample-text)))) (if (stringp str) diff --git a/lisp/international/quail.el b/lisp/international/quail.el index 75cb7f7..f5e3902 100644 --- a/lisp/international/quail.el +++ b/lisp/international/quail.el @@ -2516,7 +2516,7 @@ quail-help ")\n\n") (save-restriction (narrow-to-region (point) (point)) - (insert (quail-docstring)) + (insert (substitute-command-keys (quail-docstring))) (goto-char (point-min)) (with-syntax-table emacs-lisp-mode-syntax-table (while (re-search-forward "\\\\<\\sw\\(\\sw\\|\\s_\\)+>" nil t) --=20 2.5.0 --------------030706010104080305050603-- From unknown Tue Aug 19 21:03:03 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 16 Feb 2016 12:24:03 +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