From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#61168: 28.2; tramp/sudo not support Chinese environment Date: Mon, 30 Jan 2023 13:43:37 +0100 Message-ID: <87y1pkxkee.fsf@gmail.com> References: <875ycoqocl.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19237"; mail-complaints-to="usenet@ciao.gmane.io" Cc: ston.jia@qq.com, 61168@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 30 13:44:15 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pMTWA-0004qS-Vy for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Jan 2023 13:44:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pMTW6-0000hj-4K; Mon, 30 Jan 2023 07:44:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMTVz-0000XS-En for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2023 07:44:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pMTVz-0006e4-6J for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2023 07:44:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pMTVz-0000rD-2V for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2023 07:44:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Jan 2023 12:44:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61168 X-GNU-PR-Package: emacs Original-Received: via spool by 61168-submit@debbugs.gnu.org id=B61168.16750826273242 (code B ref 61168); Mon, 30 Jan 2023 12:44:03 +0000 Original-Received: (at 61168) by debbugs.gnu.org; 30 Jan 2023 12:43:47 +0000 Original-Received: from localhost ([127.0.0.1]:46588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMTVj-0000qD-DG for submit@debbugs.gnu.org; Mon, 30 Jan 2023 07:43:47 -0500 Original-Received: from mail-wm1-f52.google.com ([209.85.128.52]:44902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMTVh-0000pt-9B for 61168@debbugs.gnu.org; Mon, 30 Jan 2023 07:43:45 -0500 Original-Received: by mail-wm1-f52.google.com with SMTP id l41-20020a05600c1d2900b003daf986faaeso8050445wms.3 for <61168@debbugs.gnu.org>; Mon, 30 Jan 2023 04:43:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=6d9aexpwmz/AvjV8eHUJxjjWWltYkcu3oZA0qj9t/NM=; b=BfG4pv0RpcXqIofjRwZibU8v0ckJ1Steu42x0YuL3gXO3Sunl0ic+VR082ARA9c+5k N72rIgoUiiXQTY42hUA2JShBX0kHgS29PEzCBqYxGDiNhmN4hLMsFAl4bzcJ+lBW1Zhe kH5wr6291Ke/yBHcS2hCyXmjWeW7EEz01OOcfYzGILpI7vwiKILGJd/tKsLdgOeaGbmd Ugy7zUvfXwR7Pq0OVQCNQTeBdsqSmOxvrrlLJLQw7CsTBIw75AEqPRBrdsXKPAq2amJr bqAihmZDD9v65FhSNsn0rxS43InxR8Bz6T6l0aMQCBhKjal0F85y5xRILPCZ7Knzfzhg M69w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6d9aexpwmz/AvjV8eHUJxjjWWltYkcu3oZA0qj9t/NM=; b=mlFfHfaT1T7aSRDg99NObE7WQIvi4z8Nrbh/b1j1JubaK9OQv9NIAGMJ1QIRcL6FBF pdbAxEiafWIfP4IrPjTwJXZStp1eYDUxCtEn+WmXQsJnUsd/q22PHykDKZ2KEaMj/jJm 7QctW2pgOoFNrnXltNiCEz+DJ/ryYsaj1ZjCz55oYsToTRdgJBQye8KqsFPNZXmUayQ5 uXt2OER3jp0YxIBS5LIOhUuXWGVyXXCc1CfevDvA7CdT52E3fKNA1UluKQ0EbANDfBC1 OhsMiKecAl291ATcV6ukWhozgqfPSkTCmrLtWtVH857HR0TcGPh2a91EirR2X04Fe0Vs S3iA== X-Gm-Message-State: AFqh2kq/3QH8mqPY3fp/OojbeFCeINfa8EbWAOCVxbzZX0gtam2oei4Z D4nCPRbVf/oLJDRaT12jgg8= X-Google-Smtp-Source: AMrXdXsunS9uUR9K8g6mFEKHCQHNA+w9KBtzgGjmWy3O/OXPP4GKaC7dqZteBQ7EjjUhEZO1Z3U+GQ== X-Received: by 2002:a1c:7216:0:b0:3cf:614e:b587 with SMTP id n22-20020a1c7216000000b003cf614eb587mr52331966wmc.26.1675082618151; Mon, 30 Jan 2023 04:43:38 -0800 (PST) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id m14-20020a5d6a0e000000b002bfd09f2ca6sm9879721wru.3.2023.01.30.04.43.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 04:43:37 -0800 (PST) In-Reply-To: <875ycoqocl.fsf@gmx.de> (Michael Albinus's message of "Mon, 30 Jan 2023 12:00:10 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:254414 Archived-At: >>>>> On Mon, 30 Jan 2023 12:00:10 +0100, Michael Albinus said: Michael> ston via "Bug reports for GNU Emacs, the Swiss army knife of t= ext Michael> editors" writes: Michael> Hi, >> https://emacs-china.org/t/tramp-sudo-path-enter-emacs/20595/16 >>=20 >> the default value of 'tramp-password-prompt-regexp' not support >> LANGUAGE=3Dzh_CN because : in Chinese environment is "=EF=BC=9A" ,ch= ange ` >> \).*:^@? *` to `\).*[:=EF=BC=9A]\0? *` will solve this problem Michael> Thanks for the report. I don't speak Chinese, but adding FULLW= IDTH COLON Michael> to the regexp makes sense to me. Michael> Similar problems were reported for Comint (bug#13124) and Eshe= ll Michael> (bug#31075), and both `comint-password-prompt-regexp' and Michael> `eshell-password-prompt-regexp' contain now "[:=EF=BC=9A=E1=9F= =96]". I've changed Michael> `tramp-password-prompt-regexp' accordingly. Michael> I've pushed this to the emacs-29 and master branches. Tramp 2.= 6.0.1, Michael> which will be released later today on GNU ELPA, contains this = patch as Michael> well. Michael> Thinking about, it might be worth to declare a respective defc= onst (in Michael> the master branch). There exists, for example, "=EF=B9=95" (SM= ALL COLON), which Michael> might be added to this list, don't know. M-x describe-char-fold-equivalences suggests the following: :: ?\N{COLON} =EF=BC=9A: ?\N{FULLWIDTH COLON} =EF=B9=95: ?\N{SMALL COLON} =EF=B8=93: ?\N{PRESENTATION FORM FOR VERTICAL COLON} And additionally the following if LAX is t: =E2=A9=B4: ?\N{DOUBLE COLON EQUAL} although that seems a little much. Robert --=20