From unknown Wed Aug 20 00:02:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29729: [PATCH] Support French password prompts in shell Resent-From: Ian Johnson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Dec 2017 03:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 29729 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 29729@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15133938957592 (code B ref -1); Sat, 16 Dec 2017 03:12:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Dec 2017 03:11:35 +0000 Received: from localhost ([127.0.0.1]:36295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQ2sx-0001yO-CQ for submit@debbugs.gnu.org; Fri, 15 Dec 2017 22:11:35 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQ24e-0000jQ-Ef for submit@debbugs.gnu.org; Fri, 15 Dec 2017 21:19:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQ24Y-00076H-8a for submit@debbugs.gnu.org; Fri, 15 Dec 2017 21:19:31 -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.3 required=5.0 tests=BAYES_40, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60971) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eQ24Y-00075t-2c for submit@debbugs.gnu.org; Fri, 15 Dec 2017 21:19:30 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQ24W-0002d8-M9 for bug-gnu-emacs@gnu.org; Fri, 15 Dec 2017 21:19:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQ24R-0006wG-N7 for bug-gnu-emacs@gnu.org; Fri, 15 Dec 2017 21:19:28 -0500 Received: from mail-io0-x235.google.com ([2607:f8b0:4001:c06::235]:34742) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eQ24R-0006vh-HV for bug-gnu-emacs@gnu.org; Fri, 15 Dec 2017 21:19:23 -0500 Received: by mail-io0-x235.google.com with SMTP id n41so4528130ioe.1 for ; Fri, 15 Dec 2017 18:19:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=HdZ7+eZr8DUWik2wth4FkVF2jWUdFssV0CKTXrDWtSw=; b=k+h3nIujoCMGeIF8IbFs+RXOnqdD08n/TMEbnZMwALTjZicBPG7O4JnDujS/r3zLzC f3VxtgBL19HRg/38YTnEPtOhyloB/Hw+5C8JmLWtdUayQmRWXYCWj49UBLhk80AaN9hk 2KwxIyJ4RKTWqkj+RSbOGgsoRhdpV+nR1ldHG8zV5poc0hPvrxOnvka4Ccn7iwXHKJyB KYbummZTv0oXlP8jL/iAuxa8UQHqgEJB7e4SrcQoPUDXpY8glvxTuLDMNiN7W+S1408I vyD/sKl/hVl5GPqkmpJGovBJjvgeoXUIs2tk88MpCReb5WUDgtWVErkX8iWQJoRh27Cw Fi9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=HdZ7+eZr8DUWik2wth4FkVF2jWUdFssV0CKTXrDWtSw=; b=ITCv4RdIGvFCNqYw/5BhCbqy1XPLMJmSIPRCeNR3FAwyrkDiQt2a/uMjgXVyTq0LC3 W35QCLBFKGEYSs7cIUYW9dR3QTYgXm0PXfv/xjio7ageDqKwUtdImYu9Ro4PF+yb3JJt zae/E3HVtYsgREbNM2wx/S6vxas0X7pftoEZV4RktTSzA8N99NK6cQ5HTQKF5Jbw1MKU 6LgjGRKk4Gr/ICIQwD1KrNzcubQSnwBHbhH1osu+xYuWpC82qHaNyKRBYuuE/U6S2Ni9 Sj2kqWqwCXGZhFDNNE9ZLNnTuj2kuV88czwCiN+vWHkTYR0uG6ML7tTfo+yXSmFb26xM RmsA== X-Gm-Message-State: AKGB3mLe/zAa+GnAWSrgaq5tF0jRf7Ja6r3IVEaL9av2tbILXhODgxbe G9eduTIdGyvxwi+b6QWcvjSFZeK4 X-Google-Smtp-Source: ACJfBovYsXSjsGctbifZnkKwrgO6aAMjeKKo/G2HipaNdxup5/WBEEzvcUoC/lNaowIJfQA24J9nXQ== X-Received: by 10.107.130.78 with SMTP id e75mr59891iod.132.1513390762466; Fri, 15 Dec 2017 18:19:22 -0800 (PST) Received: from localhost (pool-173-79-139-183.washdc.fios.verizon.net. [173.79.139.183]) by smtp.gmail.com with ESMTPSA id d14sm4522339itj.11.2017.12.15.18.19.20 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Dec 2017 18:19:21 -0800 (PST) From: Ian Johnson Date: Fri, 15 Dec 2017 21:19:10 -0500 Message-ID: <87lgi3mn35.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-Mailman-Approved-At: Fri, 15 Dec 2017 22:11:34 -0500 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: -3.8 (---) --=-=-= Content-Type: text/plain I noticed that French password prompts in `shell-mode' weren't detected as such by `comint-watch-for-password-prompt' due to a space between the password prompt and the colon (as in `Mot de passe :'), so I modified `comint-password-prompt-regexp' to detect this space (as well as non-breaking spaces before and after the colon, which is used by sudo). Please let me know if I missed anything, as this is my first patch. Thank you! --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-Support-French-password-prompts-in-shell.patch Content-Transfer-Encoding: quoted-printable Content-Description: Patch for French password prompt detection >From 0d6d4e79e8fe94ae2f7424c2fac1b50b49d891d6 Mon Sep 17 00:00:00 2001 From: Ian Johnson Date: Fri, 15 Dec 2017 21:03:22 -0500 Subject: [PATCH] Support French password prompts in shell French punctuation rules require a space (preferably non-breaking) before the colon, but password prompts following this rule were not identified properly by `comint-watch-for-password-prompt'. * lisp/comint.el (comint-password-prompt-regexp): support spaces (including non-breaking spaces) before and after password prompt colon. --- lisp/comint.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/comint.el b/lisp/comint.el index aa7dab28f3..414ffd0f49 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -363,7 +363,7 @@ comint-password-prompt-regexp "\\(?:" (regexp-opt password-word-equivalents) "\\|Response\\)" "\\(?:\\(?:, try\\)? *again\\| (empty for no passphrase)\\| (again)\\)?" ;; "[[:alpha:]]" used to be "for", which fails to match non-English. - "\\(?: [[:alpha:]]+ .+\\)?[:=EF=BC=9A=E1=9F=96]\\s *\\'") + "\\(?: [[:alpha:]]+ .+\\)?[\\s =C2=A0]*[:=EF=BC=9A=E1=9F=96][\\s =C2=A0= ]*\\'") "Regexp matching prompts for passwords in the inferior process. This is used by `comint-watch-for-password-prompt'." :version "26.1" --=20 2.15.1 --=-=-=-- From unknown Wed Aug 20 00:02:39 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ian Johnson Subject: bug#29729: closed (Re: bug#29729: [PATCH] Support French password prompts in shell) Message-ID: References: <83zi6alukq.fsf@gnu.org> <87lgi3mn35.fsf@gmail.com> X-Gnu-PR-Message: they-closed 29729 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 29729@debbugs.gnu.org Date: Fri, 22 Dec 2017 14:14:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1513952042-19140-1" This is a multi-part message in MIME format... ------------=_1513952042-19140-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #29729: [PATCH] Support French password prompts in shell which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 29729@debbugs.gnu.org. --=20 29729: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D29729 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1513952042-19140-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 29729-done) by debbugs.gnu.org; 22 Dec 2017 14:13:22 +0000 Received: from localhost ([127.0.0.1]:47061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSO4g-0004xh-Dq for submit@debbugs.gnu.org; Fri, 22 Dec 2017 09:13:22 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49351) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSO4f-0004xV-I7 for 29729-done@debbugs.gnu.org; Fri, 22 Dec 2017 09:13:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eSO4V-0002vn-BP for 29729-done@debbugs.gnu.org; Fri, 22 Dec 2017 09:13:16 -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,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54373) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eSO4V-0002vj-8F; Fri, 22 Dec 2017 09:13:11 -0500 Received: from [176.228.60.248] (port=2116 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eSO4U-0001n0-KW; Fri, 22 Dec 2017 09:13:11 -0500 Date: Fri, 22 Dec 2017 16:13:09 +0200 Message-Id: <83zi6alukq.fsf@gnu.org> From: Eli Zaretskii To: Ian Johnson In-reply-to: <87lgi3mn35.fsf@gmail.com> (message from Ian Johnson on Fri, 15 Dec 2017 21:19:10 -0500) Subject: Re: bug#29729: [PATCH] Support French password prompts in shell References: <87lgi3mn35.fsf@gmail.com> 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: 29729-done Cc: 29729-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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Ian Johnson > Date: Fri, 15 Dec 2017 21:19:10 -0500 > > I noticed that French password prompts in `shell-mode' weren't detected > as such by `comint-watch-for-password-prompt' due to a space between the > password prompt and the colon (as in `Mot de passe :'), so I modified > `comint-password-prompt-regexp' to detect this space (as well as > non-breaking spaces before and after the colon, which is used by sudo). Thanks, pushed to the master branch. ------------=_1513952042-19140-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 16 Dec 2017 03:11:35 +0000 Received: from localhost ([127.0.0.1]:36295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQ2sx-0001yO-CQ for submit@debbugs.gnu.org; Fri, 15 Dec 2017 22:11:35 -0500 Received: from eggs.gnu.org ([208.118.235.92]:43188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQ24e-0000jQ-Ef for submit@debbugs.gnu.org; Fri, 15 Dec 2017 21:19:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQ24Y-00076H-8a for submit@debbugs.gnu.org; Fri, 15 Dec 2017 21:19:31 -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.3 required=5.0 tests=BAYES_40, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60971) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eQ24Y-00075t-2c for submit@debbugs.gnu.org; Fri, 15 Dec 2017 21:19:30 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQ24W-0002d8-M9 for bug-gnu-emacs@gnu.org; Fri, 15 Dec 2017 21:19:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQ24R-0006wG-N7 for bug-gnu-emacs@gnu.org; Fri, 15 Dec 2017 21:19:28 -0500 Received: from mail-io0-x235.google.com ([2607:f8b0:4001:c06::235]:34742) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eQ24R-0006vh-HV for bug-gnu-emacs@gnu.org; Fri, 15 Dec 2017 21:19:23 -0500 Received: by mail-io0-x235.google.com with SMTP id n41so4528130ioe.1 for ; Fri, 15 Dec 2017 18:19:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=HdZ7+eZr8DUWik2wth4FkVF2jWUdFssV0CKTXrDWtSw=; b=k+h3nIujoCMGeIF8IbFs+RXOnqdD08n/TMEbnZMwALTjZicBPG7O4JnDujS/r3zLzC f3VxtgBL19HRg/38YTnEPtOhyloB/Hw+5C8JmLWtdUayQmRWXYCWj49UBLhk80AaN9hk 2KwxIyJ4RKTWqkj+RSbOGgsoRhdpV+nR1ldHG8zV5poc0hPvrxOnvka4Ccn7iwXHKJyB KYbummZTv0oXlP8jL/iAuxa8UQHqgEJB7e4SrcQoPUDXpY8glvxTuLDMNiN7W+S1408I vyD/sKl/hVl5GPqkmpJGovBJjvgeoXUIs2tk88MpCReb5WUDgtWVErkX8iWQJoRh27Cw Fi9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=HdZ7+eZr8DUWik2wth4FkVF2jWUdFssV0CKTXrDWtSw=; b=ITCv4RdIGvFCNqYw/5BhCbqy1XPLMJmSIPRCeNR3FAwyrkDiQt2a/uMjgXVyTq0LC3 W35QCLBFKGEYSs7cIUYW9dR3QTYgXm0PXfv/xjio7ageDqKwUtdImYu9Ro4PF+yb3JJt zae/E3HVtYsgREbNM2wx/S6vxas0X7pftoEZV4RktTSzA8N99NK6cQ5HTQKF5Jbw1MKU 6LgjGRKk4Gr/ICIQwD1KrNzcubQSnwBHbhH1osu+xYuWpC82qHaNyKRBYuuE/U6S2Ni9 Sj2kqWqwCXGZhFDNNE9ZLNnTuj2kuV88czwCiN+vWHkTYR0uG6ML7tTfo+yXSmFb26xM RmsA== X-Gm-Message-State: AKGB3mLe/zAa+GnAWSrgaq5tF0jRf7Ja6r3IVEaL9av2tbILXhODgxbe G9eduTIdGyvxwi+b6QWcvjSFZeK4 X-Google-Smtp-Source: ACJfBovYsXSjsGctbifZnkKwrgO6aAMjeKKo/G2HipaNdxup5/WBEEzvcUoC/lNaowIJfQA24J9nXQ== X-Received: by 10.107.130.78 with SMTP id e75mr59891iod.132.1513390762466; Fri, 15 Dec 2017 18:19:22 -0800 (PST) Received: from localhost (pool-173-79-139-183.washdc.fios.verizon.net. [173.79.139.183]) by smtp.gmail.com with ESMTPSA id d14sm4522339itj.11.2017.12.15.18.19.20 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Dec 2017 18:19:21 -0800 (PST) From: Ian Johnson To: bug-gnu-emacs@gnu.org Subject: [PATCH] Support French password prompts in shell Date: Fri, 15 Dec 2017 21:19:10 -0500 Message-ID: <87lgi3mn35.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 15 Dec 2017 22:11:34 -0500 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: -3.8 (---) --=-=-= Content-Type: text/plain I noticed that French password prompts in `shell-mode' weren't detected as such by `comint-watch-for-password-prompt' due to a space between the password prompt and the colon (as in `Mot de passe :'), so I modified `comint-password-prompt-regexp' to detect this space (as well as non-breaking spaces before and after the colon, which is used by sudo). Please let me know if I missed anything, as this is my first patch. Thank you! --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-Support-French-password-prompts-in-shell.patch Content-Transfer-Encoding: quoted-printable Content-Description: Patch for French password prompt detection >From 0d6d4e79e8fe94ae2f7424c2fac1b50b49d891d6 Mon Sep 17 00:00:00 2001 From: Ian Johnson Date: Fri, 15 Dec 2017 21:03:22 -0500 Subject: [PATCH] Support French password prompts in shell French punctuation rules require a space (preferably non-breaking) before the colon, but password prompts following this rule were not identified properly by `comint-watch-for-password-prompt'. * lisp/comint.el (comint-password-prompt-regexp): support spaces (including non-breaking spaces) before and after password prompt colon. --- lisp/comint.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/comint.el b/lisp/comint.el index aa7dab28f3..414ffd0f49 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -363,7 +363,7 @@ comint-password-prompt-regexp "\\(?:" (regexp-opt password-word-equivalents) "\\|Response\\)" "\\(?:\\(?:, try\\)? *again\\| (empty for no passphrase)\\| (again)\\)?" ;; "[[:alpha:]]" used to be "for", which fails to match non-English. - "\\(?: [[:alpha:]]+ .+\\)?[:=EF=BC=9A=E1=9F=96]\\s *\\'") + "\\(?: [[:alpha:]]+ .+\\)?[\\s =C2=A0]*[:=EF=BC=9A=E1=9F=96][\\s =C2=A0= ]*\\'") "Regexp matching prompts for passwords in the inferior process. This is used by `comint-watch-for-password-prompt'." :version "26.1" --=20 2.15.1 --=-=-=-- ------------=_1513952042-19140-1-- From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 15 20:19:06 2018 Received: (at control) by debbugs.gnu.org; 16 Aug 2018 00:19:06 +0000 Received: from localhost ([127.0.0.1]:52164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fq60G-0005be-Sy for submit@debbugs.gnu.org; Wed, 15 Aug 2018 20:19:05 -0400 Received: from mail-it0-f43.google.com ([209.85.214.43]:36687) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fq60F-0005bB-5T for control@debbugs.gnu.org; Wed, 15 Aug 2018 20:19:03 -0400 Received: by mail-it0-f43.google.com with SMTP id p81-v6so4412592itp.1 for ; Wed, 15 Aug 2018 17:19:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=8WUXiUB+ai+7Xt7HDuqO9flnUtKzGhqRaseuiSiYAzM=; b=unPgwxwXkV/GntE0A748j56fG41r2fMOSc26g/C7D9AOIsuwDBcuVT5LKzHGz/dg6f Kdg3HMa5SC7IcqujQxyCHZ8C4HiCBbfZg+j4Yv9pfy+sFuMSTJIX3vOI4EBkOQC/2mvL MJ1MvDGJyOL1PxqKl84g34s4hEHph8uxSue4S++lAZvkt/oW9QcWqesNNm+c1ls118ht rx5i0QPXO5+OowNV3DX10ykB2Tfb2Qka3E8RkyYxsZoqtne7ki8UxSOysgtiKZbOwQZ3 l7h7EAtCEFQAZBtFL8P5b8IR3oC+Hv0l4K5dLWgycL0W5xM9CLPn0v6/3d1Hp5TdXV7Q RD9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=8WUXiUB+ai+7Xt7HDuqO9flnUtKzGhqRaseuiSiYAzM=; b=sxqB/Ku7TtxpqioBB+jsmiJaNth04waYYsO0up3TqOg9Sfamoxlc/JcN0TG8QSnGem 9bKF86mwPdW/n5l/IRZ4tJIqknQV1O8IvTKbWSM5yvrcOaMCQgAONRr/CXtJ5+2FDE1y 4TTokHqn64euH+G0gRAxCvrHUWwTpadCPkJhAmRiIee1/dtvSwDAHyrd4T3ApRkOG+vW vsoraVm+4oE/pNTMxdKaeXbDRqJ3iA826U4px5Dqo6Hh9jjQ3vEunhjMK+uh9XtSXHG4 hEFLwiRgqArezb2Ig5A/a/iMnuRHyLOwHlxd53a9QnyBAxJg/W3fCaP36HJQ+qgVFsFm 9QtA== X-Gm-Message-State: AOUpUlGhPJX5j2iCb1NYa+RJXdeRyjJVEEDVyRi8Kg3lg2m+HDHrbpYe jv5Vq91LL72DvJV2aorYkvSJZ/tg X-Google-Smtp-Source: AA+uWPykViAtb49mcA0yyfTEvcDk2KXo0uDNlO5W2J9JV4GDYSOaiebJaeUs8yPxBaoi6o0t9fAPwA== X-Received: by 2002:a02:18d0:: with SMTP id 77-v6mr25342993jar.25.1534378737489; Wed, 15 Aug 2018 17:18:57 -0700 (PDT) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id r126-v6sm1948171ita.26.2018.08.15.17.18.56 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 15 Aug 2018 17:18:57 -0700 (PDT) From: Noam Postavsky To: control@debbugs.gnu.org Subject: control message for bug #29729 Date: Wed, 15 Aug 2018 20:18:56 -0400 Message-ID: <87600bxixb.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.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: -1.0 (-) unarchive 29729 fixed 29729 27.1 quit From unknown Wed Aug 20 00:02:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29729: [PATCH] Support French password prompts in shell Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Aug 2018 00:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29729 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Ian Johnson Cc: 29729@debbugs.gnu.org Received: via spool by 29729-submit@debbugs.gnu.org id=B29729.153437945225350 (code B ref 29729); Thu, 16 Aug 2018 00:31:02 +0000 Received: (at 29729) by debbugs.gnu.org; 16 Aug 2018 00:30:52 +0000 Received: from localhost ([127.0.0.1]:52171 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fq6Bg-0006aa-BY for submit@debbugs.gnu.org; Wed, 15 Aug 2018 20:30:52 -0400 Received: from mail-it0-f42.google.com ([209.85.214.42]:37236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fq6Be-0006Uq-Uz for 29729@debbugs.gnu.org; Wed, 15 Aug 2018 20:30:51 -0400 Received: by mail-it0-f42.google.com with SMTP id h20-v6so4419058itf.2 for <29729@debbugs.gnu.org>; Wed, 15 Aug 2018 17:30:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=wUqCnHIH8y5XmBMfQizUu7NmKv9Mp4mkpH0lLDyuqqA=; b=XxtlXDTcpxrZ8vmp2z8VsUXREd5mCrT7AjgIJaRLS1eKRp6B5bba58sj/f7cCZK0la dXJ4mZEM+H7zgrMlJ/jqzNmQAbylMIdwj6Tc+7leRDTWV/rBC3APasd6mSE7rydSHT/X slLucpkVCtfjTYOzywjo1EE6lKa2UAsWe80x1JpdOuNZX7KPJok/Zj/X8SdfvfW8PRj2 LuB8j5QaEHRPryAW1XvLwabN7e00lbdt4qG16tE1DpBCoiAtSxPWnPLmA4ofaF5oFheY veLdrkNXv45iik04pHoTIuWd/u+0+Z4ZSFTZ8099922M+LT/6w1KyyYHtsoEJrHjDtLj BlTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=wUqCnHIH8y5XmBMfQizUu7NmKv9Mp4mkpH0lLDyuqqA=; b=r+qME2xqnjQ7l2037mew6hS6K4GVSVKGCnnQJeYeT1zF1Z5m44kePZ0PCBF/uW9NSB knNPUFe14HAlhKizrRDxb1Am5m2BessBk2akKpQj229EAQ9Pia20huvaVu3wVLk0zgOP OZuokwaWOUOLQEkK0zOENgn5hDOoxTkIM+JUUYASbZtaTO8advKKRcHrgp9UkbmaMtxL ghyXCJrZ7jvm6OmX3K3VKj4/9PkB9Kko/rUeGisRAKFAVgYoD3V4vvpOJ3kWZVcFylR9 X+F5yVHZWOdG3NQ1qxVyQDojRtl+Sjs+0zk80BW/nt+R2W9CYoc4tLEFlbxiudCFioYr QIqg== X-Gm-Message-State: AOUpUlGxndwE9c/od6jMSKNYoMb69lsdlBjvXdeJdKYnB2gmIVfj8SLh XuMK44TD9eter6iBv9WokdzAajYJ X-Google-Smtp-Source: AA+uWPzy8gAHeXREKXDzo+YH6eO2ZIRJHEsLzPWsCmnBzKHGqYna8YZLvR9imGh6eNawiGIGrsY9yg== X-Received: by 2002:a24:1ac7:: with SMTP id 190-v6mr20132885iti.104.1534379445425; Wed, 15 Aug 2018 17:30:45 -0700 (PDT) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id c71-v6sm11410157ioe.69.2018.08.15.17.30.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 15 Aug 2018 17:30:44 -0700 (PDT) From: Noam Postavsky References: <87lgi3mn35.fsf@gmail.com> Date: Wed, 15 Aug 2018 20:30:43 -0400 In-Reply-To: <87lgi3mn35.fsf@gmail.com> (Ian Johnson's message of "Fri, 15 Dec 2017 21:19:10 -0500") Message-ID: <8736vfxido.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) 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: -1.0 (-) Ian Johnson writes: > + "\\(?: [[:alpha:]]+ .+\\)?[\\s =C2=A0]*[:=EF=BC=9A=E1=9F=96][\\s =C2= =A0]*\\'") Actually, shouldn't that [\\s =C2=A0] be [[:whitespace:]=C2=A0] (and perhaps better written [[:whitespace:]\u00A0])? [\\s ] matches backslash, "s", and space, not whitespace syntax characters. Or maybe it should rather be [[:blank:]]. From unknown Wed Aug 20 00:02:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29729: [PATCH] Support French password prompts in shell Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Aug 2018 13:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29729 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Noam Postavsky Cc: 29729@debbugs.gnu.org, ianprime0509@gmail.com Received: via spool by 29729-submit@debbugs.gnu.org id=B29729.15344260553823 (code B ref 29729); Thu, 16 Aug 2018 13:28:02 +0000 Received: (at 29729) by debbugs.gnu.org; 16 Aug 2018 13:27:35 +0000 Received: from localhost ([127.0.0.1]:52385 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fqIJK-0000zZ-Qm for submit@debbugs.gnu.org; Thu, 16 Aug 2018 09:27:35 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35713) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fqIJI-0000zB-VV for 29729@debbugs.gnu.org; Thu, 16 Aug 2018 09:27:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fqIJ7-0005Hh-OR for 29729@debbugs.gnu.org; Thu, 16 Aug 2018 09:27:27 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41429) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fqIJ6-0005GA-Uu; Thu, 16 Aug 2018 09:27:21 -0400 Received: from [176.228.60.248] (port=2818 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fqIJ5-0007b6-Jm; Thu, 16 Aug 2018 09:27:20 -0400 Date: Thu, 16 Aug 2018 16:27:07 +0300 Message-Id: <83h8juigr8.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <8736vfxido.fsf@gmail.com> (message from Noam Postavsky on Wed, 15 Aug 2018 20:30:43 -0400) References: <87lgi3mn35.fsf@gmail.com> <8736vfxido.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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-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: -6.0 (------) > From: Noam Postavsky > Date: Wed, 15 Aug 2018 20:30:43 -0400 > Cc: 29729@debbugs.gnu.org > > Ian Johnson writes: > > > + "\\(?: [[:alpha:]]+ .+\\)?[\\s  ]*[::៖][\\s  ]*\\'") > > Actually, shouldn't that [\\s  ] be [[:whitespace:] ] (and perhaps > better written [[:whitespace:]\u00A0])? [\\s ] matches backslash, "s", > and space, not whitespace syntax characters. > > Or maybe it should rather be [[:blank:]]. I think [:blank:] is indeed what is needed here. From unknown Wed Aug 20 00:02:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29729: [PATCH] Support French password prompts in shell Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Aug 2018 11:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29729 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: 29729@debbugs.gnu.org, ianprime0509@gmail.com Received: via spool by 29729-submit@debbugs.gnu.org id=B29729.15351113954000 (code B ref 29729); Fri, 24 Aug 2018 11:50:02 +0000 Received: (at 29729) by debbugs.gnu.org; 24 Aug 2018 11:49:55 +0000 Received: from localhost ([127.0.0.1]:59379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ftAbC-00012N-Po for submit@debbugs.gnu.org; Fri, 24 Aug 2018 07:49:55 -0400 Received: from mail-io0-f178.google.com ([209.85.223.178]:36221) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ftAbA-000120-Js; Fri, 24 Aug 2018 07:49:52 -0400 Received: by mail-io0-f178.google.com with SMTP id q5-v6so3664227iop.3; Fri, 24 Aug 2018 04:49:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=2qMdalVpeiIkkHL0X/3JKnf2JWr6MQlRtNbRUVv6fYA=; b=fzI8Q12ngK5+zyYOey7uEu5MXsanCZHRz0bxhcdDk7PBoXAi/e4KS2SMTX2XDbdHF1 PthBDFj3FKV819Z1v8x29TNp8rydN3+2OcUcbtdqUHc38kpLuTnt7ssLN0mu0SGnMhC0 gph/Rf7uA41jPq3j0Gyrt8YLhTzAyX36W5nO+ctl/JcxqnUJPc8wC63Al/Q52j25f4wG pVd4hO7RQJkdL/6kTazbmKOsha0fKG6ZwoAet5Q3NTxxaKKIPSLB5DQuwzxJIMLZPnzV ersjkGBc83SPni16hdsXuZIHyoIa74+5RjK11H54ImKzpM3zRQzxiiZY8cwtpDe52mui Ftig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=2qMdalVpeiIkkHL0X/3JKnf2JWr6MQlRtNbRUVv6fYA=; b=gXvhkihI39iJt3tz4vMPB93pLBq6/7VTtUhvEi7meHC97q2LjkXA2u16tPilf6sEWc hyHtf1txwC9mYBPXTgVSr9X/rZ8ERwKsgO4EKdiMY/O91eZNyk4GckGX87DKnlPap82Y hP1WKChV2Uv/CGtgOmTRCHAkeYxY0svVYeYxa/JJnQCyK1jPadxqKl3VKJ0tsCop+6hU /KXx7o6P8uczAVIvtcrP2ZzD/VBjdhh+TbTHUSryEDKI4iPw82/E67UR5pq909URQAZ8 TnHGs2jarkumOBxzuaAK3XgkqQGzMCUS7W8UCGRARcUqL7Vqjv7wL/qCJDPhVwYa8V2Q zI2A== X-Gm-Message-State: APzg51AWjXLvw7PvLKO+OqRu4kQWq8ZoW8V/IXfMR6yCezUiNmN6/Ban 0wpxfCq7QjzEts2jd0gza/q0KD0A X-Google-Smtp-Source: ANB0VdbN2GmpHc6sIEkRytznLFAPpLiAICAC/4ZWaNj6Soi/a89pvN7G9QXlAxtO2TU2d615H0vbZw== X-Received: by 2002:a6b:be83:: with SMTP id o125-v6mr905003iof.173.1535111386858; Fri, 24 Aug 2018 04:49:46 -0700 (PDT) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id w196-v6sm518078itb.9.2018.08.24.04.49.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 24 Aug 2018 04:49:46 -0700 (PDT) From: Noam Postavsky References: <87lgi3mn35.fsf@gmail.com> <8736vfxido.fsf@gmail.com> <83h8juigr8.fsf@gnu.org> Date: Fri, 24 Aug 2018 07:49:45 -0400 In-Reply-To: <83h8juigr8.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 16 Aug 2018 16:27:07 +0300") Message-ID: <87lg8wugpy.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) 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: -1.0 (-) tags 29729 fixed quit Eli Zaretskii writes: >> > + "\\(?: [[:alpha:]]+ .+\\)?[\\s =C2=A0]*[:=EF=BC=9A=E1=9F=96][\\s = =C2=A0]*\\'") >>=20 >> Actually, shouldn't that [\\s =C2=A0] be [[:whitespace:]=C2=A0] (and per= haps >> better written [[:whitespace:]\u00A0])? [\\s ] matches backslash, "s", >> and space, not whitespace syntax characters. >>=20 >> Or maybe it should rather be [[:blank:]]. > > I think [:blank:] is indeed what is needed here. Done in master. [1: 74277b0e88]: 2018-08-23 22:49:04 -0400 Fix comint-password-prompt-regexp https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3D74277b0e88197c16= 9acfc16025e0e116230c021e