From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: [External] : Re: Change default behavior of some commands that act on region? Date: Sun, 23 May 2021 14:28:35 +0000 Message-ID: References: <87mtsmbbms.fsf@gmail.com> <83bl91kjlr.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6643"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "theophilusx@gmail.com" , "monnier@iro.umontreal.ca" , "emacs-devel@gnu.org" To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 23 16:29:41 2021 Return-path: Envelope-to: ged-emacs-devel@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 1lkp6r-0001Yd-Ax for ged-emacs-devel@m.gmane-mx.org; Sun, 23 May 2021 16:29:41 +0200 Original-Received: from localhost ([::1]:44348 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lkp6q-00084P-DF for ged-emacs-devel@m.gmane-mx.org; Sun, 23 May 2021 10:29:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52488) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkp5v-0006Br-9A for emacs-devel@gnu.org; Sun, 23 May 2021 10:28:43 -0400 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:25050) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkp5t-0001nW-1X; Sun, 23 May 2021 10:28:43 -0400 Original-Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 14NEScMY014287; Sun, 23 May 2021 14:28:38 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2020-01-29; bh=zAm1tamM2eUuSz2T3xMUVx66rAEY2CMp3Y/WNqtkE9Q=; b=yuWHbSTJYvBAwhKFCGHJ51AM1oQ0KWe7c0+rCsv25cU5iCnhomPjjvRgy9cbiC4asMDB 3omSfUdyEWecPTZgo+ZV5o+2eY87CTs/SLWjWy5x8W/vCCcqmx7AaPPgCXB7Ys0xKQmp 9jWqFSynNpNoO2nS/11osTQpq5JezTIXjsSdAqhagWL4YrtupNzrzj28Ou19VYFN7uxI FrGzrhrsFRhGAZaahZpVI14O3Hg6v1COJctm4p4WQGcMF/jldv24n/h+8QTs+b/MJVYu HnaA+vGj/Aif1nP52TMSh9rpomzgqKuzG6qgTgmpdJ1iruAwEa/aWasD1K+Kru5sbkbS EA== Original-Received: from oracle.com (aserp3030.oracle.com [141.146.126.71]) by mx0b-00069f02.pphosted.com with ESMTP id 38prj00e64-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 23 May 2021 14:28:38 +0000 Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [127.0.0.1]) by pps.podrdrct (8.16.0.36/8.16.0.36) with SMTP id 14NESb4P137311; Sun, 23 May 2021 14:28:37 GMT Original-Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2168.outbound.protection.outlook.com [104.47.57.168]) by aserp3030.oracle.com with ESMTP id 38pr0aefav-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 23 May 2021 14:28:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SrfHHIpOh3mxc06uROX8O0ftF7F/izKxqLXqgUNaBEzmrkXfbay5wHm/HEaLaFYMXeGnE8YKcfSZGYinzyUslsFgUHzK+i2u1V8JpsjbNJ9UiyvOoACyrxLa/Wu64CBOtB+LMCh2QvMevC2aXQW3FSAPgXAYmpwnccGJBhjZByQJuPMRrIww6kPUndCUzqBKS9Y9UBSrH0gAKT3NFkHCUQRy1en8B4g5NcM1r/ikJpFQPs0dk9DchQGx+7U42wL6OWLR3WjIbKybNnVPf6DP4j8t0fbzecxhYRXBfPPjmAEypSsQomqDKAS/1w69u7ujn383ah1SoMutVtxv0opipg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zAm1tamM2eUuSz2T3xMUVx66rAEY2CMp3Y/WNqtkE9Q=; b=dC/v+gF0XintJ1IznQB3er4sxUh778x0ymd4+uvSW1i0Z4aRppLiP6lnmn3o4ofM/wBoYvZyQlKTCNMauDqN+Fq/AAybDIa0UnkKbaQPG3HK91yuw8t/nlvvsOW0qBUov/KOki9XTO0hXLPPVP37AgrdXn7NJ6Fr3RDdPQqCbppQdxm2fKIOtf4S7cZjT31FK4AfMniN3OMKvTyLHVRaOAoVzDBGMBZkrTwOjY4G4mAS0+p1Asf/gLw7ztvbg9y+E9S29KVjSy4GMbpq6WGZu05MwYPL2PJGsM89Rqh3ApJarefdK1jPx7AAe/EA8jgxSXgdS3+ppqnku4bRuZDqAA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zAm1tamM2eUuSz2T3xMUVx66rAEY2CMp3Y/WNqtkE9Q=; b=trFe+Q1ghM6R+Radqb/N9ct78lWMRUxcicMiiQp69xSfqTMYiQPiYb6SkElZ747kxV5ZoZHAl8/sVGhxfNInWGDe5crn7K4tHOSqzmIqkaj9ki0rmoQ6TUbjb9k5QaM07ybDyg0kz+3j0pCmZtgJO/ooFKemZai291OTjrwjHcY= Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15) by SN6PR10MB2782.namprd10.prod.outlook.com (2603:10b6:805:dc::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4150.26; Sun, 23 May 2021 14:28:35 +0000 Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::2109:9725:fd4a:6494]) by SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::2109:9725:fd4a:6494%6]) with mapi id 15.20.4150.027; Sun, 23 May 2021 14:28:35 +0000 Thread-Topic: [External] : Re: Change default behavior of some commands that act on region? Thread-Index: AddOgj9jmbCPuskvSDmMk5TwAnSeOQBIP59RAA2xhXA= In-Reply-To: <83bl91kjlr.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US authentication-results: gnu.org; dkim=none (message not signed) header.d=none;gnu.org; dmarc=none action=none header.from=oracle.com; x-originating-ip: [73.170.83.28] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 55fa7f42-5ef7-411d-7376-08d91df70c8a x-ms-traffictypediagnostic: SN6PR10MB2782: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3173; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: p0XSPAYNhFZJY9hsOFCaYzEsGOgaeBVydnKp6VLgdVHjDcskhVjxAhuv9afgKXuJmN+pQLdJwTsjgbwpffdfungA07UJil667LKZIJMATENBBsrJ0zsfpu8zGbHLsGobcsjVE24WC7np96T6mGxS/RfA/hNkhdXsv3LV2Qga+2WHveKnwwn3NdhNNsVqa8OputQsUJxl7Y+4HAFG24JNuTojsW1xfD0jhfvwF1/5eGieGzYObocHhPKDdKrMJ3x0wOX6LurSqxQxv53H4esbiZAf7fLonMZNBEZPo/HBtJwHiMFacmdAuoG2pJZb9UBHqMwxmB0lqlbisabHnswQalAQ/WT42hYdn2lZzGj8anb2/5OZZV2HtAGxhEh3jOEiNfX9llZ60pvG7z7i8b2EGRE+nxDWQ9KjlNEskE3DidHeYwK/bDdzvVlZ4qKp6NFuJmdAszHZyUq+uKil9a9ZhnMTS7UnBDS8oMzZnCiYoMoVhVmxffzXtMVysD9K63d0kLDrClaqQo3tIO9DBxGb2v0ZxYC9ULLly+A8VoH4G330AyzPSKz47aqrt08GEmoMzNgZ+SMi7QN2wMfeIoo8Bi1fZdyICs8DzwDmf/nrP7E= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA2PR10MB4474.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(346002)(39860400002)(366004)(396003)(376002)(136003)(66446008)(64756008)(478600001)(26005)(7696005)(33656002)(86362001)(6506007)(186003)(2906002)(66946007)(66476007)(66556008)(8676002)(122000001)(76116006)(83380400001)(9686003)(38100700002)(316002)(8936002)(4326008)(54906003)(5660300002)(52536014)(55016002)(71200400001)(6916009)(44832011); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?Sdvc2d0fK2Y7bJcaJVYIK7soA4y5VqGCO8IvKtMC4Vro6BRbBl1WqsRkfLHX?= =?us-ascii?Q?ODiDYeiM1qqZIjcorsLioftNYH9ZcoxTLr3LrzRw8Zg3z5vhFzyYrldiHhkD?= =?us-ascii?Q?+3zB88lzf4rN/kvuM73WVUZCvMQANLGnnYhvjLaoAdN7tF9CmJlHAsQJXMFl?= =?us-ascii?Q?JmUZqSig/l4IMnyHxFOld/ORGJk7/ZR0//rRe2HqBFQP+hbqR7mHFUWucQJS?= =?us-ascii?Q?cwXkpdHAJCXzqvqPZ/l9XfpuxawflsBIMVzy0h+0/ThnlsTbV+xNBsrUUTWn?= =?us-ascii?Q?QwHcM9Ac5shuTLdk5O3nY3qNC3wGxWYAg0K3PuqRHCCC+OEVxFsS8PB9seSq?= =?us-ascii?Q?4bJgplQl7Uxf9Z8zDqAhn5cVXvk74KSAllsZYoxLaUVl2oyYEFZVRMvtgBO1?= =?us-ascii?Q?TDMPt1e0uQnEtZusxt+9yZJ6Mm8N3r6V2QrYSyGJc3QTEc5nfs6RwACwCDg2?= =?us-ascii?Q?5q8/CzBmECmJQQhwbD4p5WjR3CeZtnIk5K0HthqVDvPkRs3UwKtmEPLY7iMg?= =?us-ascii?Q?KiXNCiypg3vEfc0vzfSVUDcBSFS3WozHrcuMXKdiWDn26BNq2mj58P/zid/4?= =?us-ascii?Q?/G3JgdaHsDOZNGt/JPSbR64g32nnsV9mmJ9VVhQc62jAhLAhhbroH9AsDH2Z?= =?us-ascii?Q?89WZ x-ms-exchange-transport-forked: True X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA2PR10MB4474.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 55fa7f42-5ef7-411d-7376-08d91df70c8a X-MS-Exchange-CrossTenant-originalarrivaltime: 23 May 2021 14:28:35.3446 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: HlJLRDQ7yjjqNRZcCW/zDDgNYN0dXzgC532lvjTfW/eqES7G0amlin+D5nRcPuO1qr0d3Aq/6niSmgLDE6bd3w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR10MB2782 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9992 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 bulkscore=0 spamscore=0 mlxlogscore=999 malwarescore=0 adultscore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2105230109 X-Proofpoint-GUID: YPX50qE_DcEt5qTAgfxHRcuLYmlvjkXH X-Proofpoint-ORIG-GUID: YPX50qE_DcEt5qTAgfxHRcuLYmlvjkXH Received-SPF: pass client-ip=205.220.165.32; envelope-from=drew.adams@oracle.com; helo=mx0a-00069f02.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:269669 Archived-At: > > > Indeed, it is important to keep full support for configs=20 > > > where `transient-mark-mode` is disabled. Not only many=20 > > > users prefer such a config, but as you mention, there are=20 > > > also cases where such a config is not just a question of=20 > > > taste. > > > > Yes, and this is irrelevant to this thread, as the ^^^^^^^^^^^^^^ > > proposed change has no effect on users who disable > > `transient-mark-mode'. They continue to have "full > > support". > > The issue you consider "irrelevant" is actually quite relevant, I didn't say that support for use of t-m-mode OFF is irrelevant. It's very relevant to Emacs. But it's not relevant to the proposal of this thread, which has NO effect on that use case. That's the point. Please don't twist what's been said. You're arguing against a straw man. I've written carefully and clearly, from the outset, that this proposal has NO effect on that use case. Yet you've insisted on pursuing it for supposedly ignoring, or even inflicting damage, on that case. Please stop. There's nothing relevant about insisting on needing to protect the t-m-mode OFF case against this proposal, as there's no threat to it. > because commands that behave differently depending on whether > transient-mark-mode is on or off are a source of confusion and > frustration. We shouldn't enlarge the number of such commands > willy-nilly. Every command that tests `use-region-p' and does something different depending on the value does something different depending on whether t-m-mode is on or off, simply because when it's off there's no notion of active/inactive region - there's just the region. t-m-mode's raison d'etre is to be able to do something when the user sees the selected text highlighted and not otherwise. That distinction is what it's all about.