all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: 61168@debbugs.gnu.org
Cc: ston.jia@qq.com
Subject: bug#61168: 28.2; tramp/sudo not support Chinese environment
Date: Mon, 30 Jan 2023 12:00:10 +0100	[thread overview]
Message-ID: <875ycoqocl.fsf@gmx.de> (raw)
In-Reply-To: <tencent_1131D3A00FD4AD71E78CBA308631C1165B07@qq.com> (ston via's message of "Mon, 30 Jan 2023 06:24:57 +0800")

ston via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs@gnu.org> writes:

Hi,

> https://emacs-china.org/t/tramp-sudo-path-enter-emacs/20595/16
>
> the default value of 'tramp-password-prompt-regexp' not support
> LANGUAGE=zh_CN because : in Chinese environment is ":" ,change `
> \).*:^@? *` to `\).*[::]\0? *` will solve this problem

Thanks for the report. I don't speak Chinese, but adding FULLWIDTH COLON
to the regexp makes sense to me.

Similar problems were reported for Comint (bug#13124) and Eshell
(bug#31075), and both `comint-password-prompt-regexp' and
`eshell-password-prompt-regexp' contain now "[::៖]". I've changed
`tramp-password-prompt-regexp' accordingly.

I've pushed this to the emacs-29 and master branches. Tramp 2.6.0.1,
which will be released later today on GNU ELPA, contains this patch as
well.

Thinking about, it might be worth to declare a respective defconst (in
the master branch). There exists, for example, "﹕" (SMALL COLON), which
might be added to this list, don't know.

Best regards, Michael.





  reply	other threads:[~2023-01-30 11:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-29 22:24 bug#61168: 28.2; tramp/sudo not support Chinese environment ston via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-01-30 11:00 ` Michael Albinus [this message]
2023-01-30 12:43   ` Robert Pluim
2023-02-13 15:00     ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875ycoqocl.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=61168@debbugs.gnu.org \
    --cc=ston.jia@qq.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.