From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel =?UTF-8?Q?Mart=C3=ADn?= via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#62892: proposal to extend mark-sexp to go forward and backward on command Date: Wed, 26 Apr 2023 00:26:32 +0200 Message-ID: References: Reply-To: Daniel =?UTF-8?Q?Mart=C3=ADn?= 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="39003"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) Cc: Ruijie Yu , Stefan Monnier , 62892@debbugs.gnu.org To: Zachary Kanfer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 26 00:27:28 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 1prR8B-0009xF-0K for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Apr 2023 00:27:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1prR7q-0002G2-E0; Tue, 25 Apr 2023 18:27:06 -0400 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 1prR7n-0002F8-Ti for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2023 18:27:03 -0400 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 1prR7n-0008Jm-7y for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2023 18:27:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1prR7m-0005Ub-Cu for bug-gnu-emacs@gnu.org; Tue, 25 Apr 2023 18:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Apr 2023 22:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62892 X-GNU-PR-Package: emacs Original-Received: via spool by 62892-submit@debbugs.gnu.org id=B62892.168246160421087 (code B ref 62892); Tue, 25 Apr 2023 22:27:02 +0000 Original-Received: (at 62892) by debbugs.gnu.org; 25 Apr 2023 22:26:44 +0000 Original-Received: from localhost ([127.0.0.1]:53741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prR7U-0005U3-4N for submit@debbugs.gnu.org; Tue, 25 Apr 2023 18:26:44 -0400 Original-Received: from sonic309-25.consmr.mail.ir2.yahoo.com ([77.238.179.83]:42034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prR7R-0005To-NA for 62892@debbugs.gnu.org; Tue, 25 Apr 2023 18:26:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1682461594; bh=Z2boYWKY5tyiUoWrFNlNVyvqSiNkTGBiV8hI4JiNCbM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=YysixJ6DYhGA4QhbDxMqCtW7uXjlrmvZqfaLuc1n1ezN0WPliDP2nzrlhdETvc9XbxHHeV5uE3pK/O8zHVsU2li0DQzbLxsVgzcFQz1yArJ5cf72iVFY5lJ4Jf1dYhueazmp/Zz+Znoe9d8WB97p+g9Qur07ib2JOZEb0LS/bbWi/59qYQ4ALL7wdmrZt173WKebB0DZKYEGPJ9gP0hLWLeulWW6Rb979cYZXylJrH9kHAUEBdkOuOqrOs9Ikay4pyGcAj4LLyy4rqO//Er20MSnoR4j1EH3LSw2HON4KWClffmhS8Px2s0UVoIxru+8sFFAEk8xGCSQU25yRex2gw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1682461594; bh=nV2rUp7tySf33JpHqY6FRc3ZVtH46ukxGKP3U5DCgnj=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=IWAobZurkIFM6beONnw4fXDCzV12jbgoY3H67oFSX/19xYrkOzPb8lyJuDL3Gt6tMjypnc5ugbFCB6tOguc4YtvoN51l0u3muBsyoWoTqRV5+zMWRR9LgJjC6KLV7kislUDubV4TXzC5119Tle1vnO16rGetInjYea4nV2cdayAxm2Uj1c0/IWI7DR5nMzdfBv3nZFf9qDUfGbkskMM+JupPjRRFggrp+hGWMFR9oEZumgkjvB3jgaOyooxgEncZJy1QhRPByVk2DgwQipapSI8hYZjM6q+xHWo8ljFuLRBKAcDQfOupTdzSDi7UF9eNTbkOvGs+WJZ/9j/+uVW7lg== X-YMail-OSG: Dw1neI8VM1nQzOGoLa2FMJXZo4xHEfBUa.GVH5YDRUjgfLAZ4PW.t8P3Z1DJXWq fI7c6QxalU3OmsaeTWojBLdvIWEyBMtMfIk0DsCQveEpl_l8SDaxRvClsQM8S.Z98PUGAeAtK5i5 DWPHkZEX1qT3LB9OJKnPiG.xzW1PPLR3dqyHdzxoOXTBQZ.aF2E0wrghv87Qvj5v0Vu31ikV4OhO ZqvrFvdeelLaEhEHhxkRtheI9LjxrI2TRdM0GDko8Lvpy3cNMIQsLoXngu02peNnA9SSK2BErcI. SC3A.hYmKIsa8yPSjBIuTlnVH0h25reyDPO89l0fEAjJm8eKCgHIeK7.RMKmxfTlT4wnbSCxdqU3 VFh3a0I2DxT4F7dyEKB2I0J8aNYPcIBki50P1P37k6WayO.oZ.saTfn47jQDm6XF16NmmsOaVh9Y KkPJ.XH17Va_02TULG7Mfu8pdvjps76xnZm_YvD3qX2Z1Dp62u1t62RjpHCbjMyP_rJ6mOLs3mwB vBlgaVhaZVbmHOSESUBEz6ZNv_Wj9dsekCbdLasVaR_f6Hwecam3t2kDJ0wripSPjDIdZHvFQh7Z 6vmFq0ZtKWktrBnyX0Yfe7bSbMRlDTAU6T1syTifle3jZanfIA2J1SbeiHvdqYwnTg7T4Vd3n1Xx itYVTENqzQAttGp9hhX3QgzRuuYRvpp5sQBpl_Il8S_b3MrQrAcbeKvuOe6obLe1mSgL0qtAkHpD D3uCICxySsk5JFopRURqO6b1qYzRj2AVVBIuK1l8xkva1T42jAOxQRSjwD9.J9BfyWVoVqySWt0s Fei4jQXw4DFvdVGd5rO.q0yZexCfk4TsqlQZVM02cb X-Sonic-MF: X-Sonic-ID: f1ab5c24-36fe-4dd5-a71e-c4d9f97f9fc9 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ir2.yahoo.com with HTTP; Tue, 25 Apr 2023 22:26:34 +0000 Original-Received: by hermes--production-ir2-74cd8fc864-tk7pl (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID a10122bd7be8f93bfd58723525dcf8d3; Tue, 25 Apr 2023 22:26:33 +0000 (UTC) In-Reply-To: (Zachary Kanfer's message of "Sun, 23 Apr 2023 01:33:44 -0400") X-Mailer: WebService/1.1.21417 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:260640 Archived-At: Zachary Kanfer writes: > > Also, whatever the outcome of this patch, I think it would be advisable to > explain somewhere how mark-sexp extends region by the end of region > opposite point; this is not in the docstring or any other documentation > I've seen. > In my opinion, the description of that feature should not be part of the mark-sexp command documentation, because the feature is actually provided by C-x C-x (exchange-point-and-mark). The Emacs manual in section 12.1 Setting the Mark describes this use case well, I think: =E2=80=98C-x C-x=E2=80=99 is useful when you are satisfied with the position of point but want to move the other end of the region (where the mark is).