From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#55870: GNU Emacs 26.3, Select All(C-x h) does not work Date: Sun, 17 Jul 2022 15:27:12 +0800 Message-ID: <87wnccfbcf.fsf@yahoo.com> References: <2278e9bf-89e3-560d-52fc-f26a45aee36c@anche.no> <87zgil28bo.fsf@gnus.org> <1fc51cba-c767-2e5f-e0be-6e0f8d7d1df6@anche.no> <87mteku1q1.fsf@gnus.org> <87edyrykuf.fsf@gnus.org> <92253b43-50a1-554e-de66-f31f0c423b1f@anche.no> <875yk2sf82.fsf@gnus.org> <83edypw852.fsf@gnu.org> <6e8af953-d207-9912-dc12-254c88470e42@anche.no> <87cze8au6a.fsf@gnus.org> <1d401848-ecec-8233-9aa6-61e52253bc86@anche.no> <83ilo0t32m.fsf@gnu.org> <5d6164aa-42e2-8eda-f935-1b84dec835ec@anche.no> <83k08esf3v.fsf@gnu.org> <7349b51e-6d0b-94b1-d3fb-540d3c2256b5@anche.no> <837d4dsjm8.fsf@gnu.org> <697ffdfe-3827-dcc9-92d2-cf918a19e871@anche.no> <83a698qm67.fsf@gnu.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16508"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 55870@debbugs.gnu.org, larsi@gnus.org, Bruce To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 17 09:28:12 2022 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 1oCyhI-00046T-BU for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 Jul 2022 09:28:12 +0200 Original-Received: from localhost ([::1]:34022 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oCyhH-0000fJ-4e for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 Jul 2022 03:28:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37202) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCyh9-0000eU-0X for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2022 03:28:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48842) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oCyh8-0004JZ-Me for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2022 03:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oCyh8-0000I0-Dp for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2022 03:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Jul 2022 07:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55870 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 55870-submit@debbugs.gnu.org id=B55870.16580428521076 (code B ref 55870); Sun, 17 Jul 2022 07:28:02 +0000 Original-Received: (at 55870) by debbugs.gnu.org; 17 Jul 2022 07:27:32 +0000 Original-Received: from localhost ([127.0.0.1]:46601 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCyge-0000HH-3R for submit@debbugs.gnu.org; Sun, 17 Jul 2022 03:27:32 -0400 Original-Received: from sonic313-10.consmr.mail.ne1.yahoo.com ([66.163.185.33]:32841) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCyga-0000H0-Kw for 55870@debbugs.gnu.org; Sun, 17 Jul 2022 03:27:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1658042842; bh=2TyVNzt7mwuER6vmQXlRCWwyp0k7Hi7QKAro+fQgucY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=YfLY4My1fEkTXMzLSvJCURCMwrxYi9kj54UOzNRP78772ogH7NxffDYDp+FHYmON6xch2juwHeJUv/inxxDJic0Pq4OoS5qNyfBsgPAxUR/r5b/8JXdlQMYlZBFPb2QJCTMrMTYj7tc1ksvRAiqkAiF3BCR0Oo7W9P71Gje7lx+V9qqnZhaJw9oHvEBNOalxp55fJ6GPgEuOK16io0pjg53V+gYI2lIwXBXXd+prS4ELV8RyUf1f1bsHUFi4uds42QYY6Bt76oNmbiJ2kFxTDiokDeq999+Ol7T1bMrGVdav5GqG0mxzgqElF78X8NWUft2dYjS20eSmTDOiyo0+ig== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1658042842; bh=lvutRZ97z1xDshcjTrt5fgjK+oatmP4aDnSJbGXKyca=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=ni1uLdn8D9D882xOtkc9kWcaxbR/17MTsLMu5FoeFJ4GBLVENENZALmmJIMuhoHKkBTHC8oVNoJvWTLKQii/wAI1ijK2BpEYom1JodCSrPRfpauGJNZXmCrMVrOZUe6ivAPrLJigeTxE1gxFQLw4g6ci50alnvvROyyVG55PhWxq09aipi4GHY5JlQLUr0vUdnlqPVSwlXsqlRuslaiRTZBuSzlOe+x8EgSFrGb2+LLFi55Ndj6LsUpIm6ZRY/gVDtEadRP2w12Gzpdue6s/FrkcnD3ptwjRgw0dXtMTZmCg1VNhj2Oo5/vY53OqWVfNS37afkDj1stFu+OB8PtiKA== X-YMail-OSG: qZYPVFcVM1ngJRbnS7Ny5bLXGGjB9ENB2VBUgXKfdr5Z5_HJ8idP131987Ti_2a abYGD1jJvRLP5W4nSx6uvMJvOb0sq4gnMRpPBYAKplKQMx4YY1fVh86sg_3EOjfUjcCvVk3qYa5z afr3BXMgIwF4K9vKVqwGB2cQr3Gev54fqTnDSlACq65LM3YCE5tnCisWbBG4qncdNIyImZh2J6XK xXOHmEAl_TLt39d.qv7aVFYbn.Gn8MPCw9HZAajZT.klRt0DqKrkTtinFObHgDuojoT6Rpbm6_bE s0Q2vcXAi0KvXnN0MZPHK.xIVpMV6e7bNIYyOsSwWEYbv8CmrQZc8CZRFTAnyYDQSAwP8002vDjw b3pNYZAtGiNHeWjjv3DaoK1Guv2QCtXm9qD0MAHA20vRY4lP1oXE9SMFwdyt_LCSMTwiDSSLuWsa e0y31WT3408_vRBswn.HjLxCxsjaiiZYoVOM1coh39qXUEciogvIOtHyJ5BYC..AV5twD8dWw9z6 ogbRwQhXpEG54kiJ8hCXZWcIo8B2HmBPgmDHGCx8MxK6z6I9blgikBhOPb99KFc_f71sK6VtknTf SbeIgmIUNiaznrhYdQytr8KYRjPY.IXQUVGk8DWVSo6giHnE8GsUlxpOsSafC9sw_MiYrXJETGSI HTCWnXuf0Np0WikbIv1u7pnK0PV2j52d1.cuSHDZlVUsN4ZuI2fDBD1K4BGOn6uiqGOm2.6vCRtk n1QT_p9a9jWfFCcLKEwhxAVUPiKY2FajHiE8cZ.AxB3q.bpDsT672UKdYPb2F0x61BPSU65z28Qi oF4jPtHE1u5m4d0v2ohLXNOe9rRNsUYgt2dO_SpDHf X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Sun, 17 Jul 2022 07:27:22 +0000 Original-Received: by hermes--canary-production-sg3-67975bbd4b-wpvcf (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 5fa46014777c06bd7c1f8c21044d970c; Sun, 17 Jul 2022 07:27:19 +0000 (UTC) In-Reply-To: <83a698qm67.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 17 Jul 2022 09:37:52 +0300") X-Mailer: WebService/1.1.20407 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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" Xref: news.gmane.io gmane.emacs.bugs:237239 Archived-At: Eli Zaretskii writes: > Maybe this is the reason. Po Lu, what data-type do we use on X to put > data into the clipboard when the user presses M-w? None in particular: we store the clipboard data locally, and other programs request different selection "targets" from Emacs depending on the coding system they want it in. Normally, it is UTF8_STRING for UTF-8 data, COMPOUND_TEXT for X compound text data, STRING for iso-latin-1, and C_STRING for raw text. selection-coding-system should not be set under X, since the semantics are very confusing. Simple example: when selection-coding-system is set to utf-8-dos, Emacs will respond to requests for UTF8_STRING with text encoded with utf-8-dos, but requests for STRING will still be Latin-1.