emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 2b6912c: Support French password prompts in shell


From: Eli Zaretskii
Subject: [Emacs-diffs] master 2b6912c: Support French password prompts in shell
Date: Fri, 22 Dec 2017 09:12:32 -0500 (EST)

branch: master
commit 2b6912c3d1ca99719c9eb6efb5eb1e7986ad280d
Author: Ian Johnson <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Support French password prompts in shell
    
    French punctuation rules require a space (preferably non-breaking)
    before the colon.
    
    * lisp/comint.el (comint-password-prompt-regexp): Support
    spaces (including non-breaking spaces) before and after password
    prompt colon.  (Bug#29729)
    
    Copyright-paperwork-exempt: yes
---
 lisp/comint.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/comint.el b/lisp/comint.el
index 5ee4e48..430e838 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -364,10 +364,10 @@ This variable is buffer-local."
    "\\(?:" (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:]]+ .+\\)?[::៖]\\s *\\'")
+   "\\(?: [[:alpha:]]+ .+\\)?[\\s  ]*[::៖][\\s  ]*\\'")
   "Regexp matching prompts for passwords in the inferior process.
 This is used by `comint-watch-for-password-prompt'."
-  :version "26.1"
+  :version "27.1"
   :type 'regexp
   :group 'comint)
 



reply via email to

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