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.bugs Subject: bug#17346: 24.4.50; Why is the goal column limited to C-n and C-p ? Date: Sun, 5 Jun 2022 22:56:35 +0000 Message-ID: References: <87wnf6zite.fsf@gnus.org> <874k0yzyu1.fsf@gnus.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="14621"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "17346@debbugs.gnu.org" <17346@debbugs.gnu.org>, Stefan Monnier To: Lars Ingebrigtsen , Dani Moncayo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 06 00:57:13 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 1nxzBH-0003dL-QF for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Jun 2022 00:57:11 +0200 Original-Received: from localhost ([::1]:41918 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nxzBG-0002Yq-JJ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Jun 2022 18:57:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxzB7-0002YS-W2 for bug-gnu-emacs@gnu.org; Sun, 05 Jun 2022 18:57:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39802) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nxzB7-0002Rj-NY for bug-gnu-emacs@gnu.org; Sun, 05 Jun 2022 18:57:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nxzB7-0005Zz-LH for bug-gnu-emacs@gnu.org; Sun, 05 Jun 2022 18:57:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Jun 2022 22:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17346 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 17346-submit@debbugs.gnu.org id=B17346.165446981021428 (code B ref 17346); Sun, 05 Jun 2022 22:57:01 +0000 Original-Received: (at 17346) by debbugs.gnu.org; 5 Jun 2022 22:56:50 +0000 Original-Received: from localhost ([127.0.0.1]:33699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxzAv-0005ZX-M9 for submit@debbugs.gnu.org; Sun, 05 Jun 2022 18:56:49 -0400 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:8778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxzAq-0005ZL-U7 for 17346@debbugs.gnu.org; Sun, 05 Jun 2022 18:56:48 -0400 Original-Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 255MIZXw026895; Sun, 5 Jun 2022 22:56:43 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-2021-07-09; bh=w2usxG3gsMpT1t0gNyoA8UC9hIK4Iy9pERW1QvDhdhs=; b=Hlqgl2HoDI6ZeCY+U07QS9tDtbVqen3sRLOwvO7rwj+KRe4boubPWvqYofweiGGUYWR9 KJCLS5Oi822llNYsVsquuZQhCrjNFD2UXRmyajO5uKz3gmOsmfmln4yQjv9paTedIh5V FNLBNiH5aXXX32gz0lvxXeLrs57tyfmadHZGvCJOWbKvUV6OO8Ju+DtrHePvdsy/44wy yJ8TsMPxqOC978itsa5WBufdurQRi61FaH9vXY3idE2LsbzNePPU7DSw5fD816ByryIF XVsV+UJByYzD2HkwQrEraQjnKRPbgC8vfiGvK4BnksNGx/iqP5nj/PE55vugQhC4lFeL Tw== Original-Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3gfydqhtad-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 05 Jun 2022 22:56:43 +0000 Original-Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.16.1.2/8.16.1.2) with SMTP id 255Mt271007356; Sun, 5 Jun 2022 22:56:42 GMT Original-Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2171.outbound.protection.outlook.com [104.47.59.171]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com with ESMTP id 3gfwu83c2k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 05 Jun 2022 22:56:41 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fhIIlC+EyMTugmYdcJ9qbfBm12x0lroqGx/NZPI0x6GbKYwGBZ7eqaF2qtTA65F8rpyb5MwqDSFCcFSEV32Axp4ntzDwcQUYTCHkqGgMhxcV4zjpZWBBmhxGQ71dD0Fbw+B4FiHDdpGF6B2cJnV7vBLBQ8o+8L0rDwbCQRRfSRdV3r+KwSrvnt1Rr8X1okfHC+fyiCvs7LbT6g2cyrxVJQTf/kObKQXl8bncJc8s8JjrrPy0PjeCY2CDlSrATite0fROl7m7000YO1oZgPAL9mAE+ujgnDOvKIH1TBCW0sHGt8PttK2sr8IdCH/SbIt+i7Dd+SRtQTjrvblm3CVu5w== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=w2usxG3gsMpT1t0gNyoA8UC9hIK4Iy9pERW1QvDhdhs=; b=OX9JOJcMs5eHcj2mUAdb0wuGiIm2iHebMwozs3rX7aHmTz9xzZV03vscQJEhe1Fkp5Og6msmSV4yTdV1kBy+29h/gIL1lEZOJ0V/j/N1BvmWX7fc4YqUQRm3PLdHM+/kG6VhJc/9mLpoxinh0wWPdRkJKQOF4GQWQuZIIhumC6sJKVS4acxvumoMVSicBEfCXSQBbu7Z9VJZWlLxrmqK3fMjsIG9Cn3ZSr3L/ZZFe9RKnjq33ctsB1RMMYHhHtbB2Tgp0NfWn3D/NtHQ5dNydZ3UupAmImYQPztNW68ieDoBeATDQBMg3OEW0OlrYwNAj+L1dNLt4NH/01Y9z+9Tbw== 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=w2usxG3gsMpT1t0gNyoA8UC9hIK4Iy9pERW1QvDhdhs=; b=DlqGo50MnqNUGbw0H9YbhxsWouIKzL6uN1UY/dOzFdo/8pkKinVrVFaGBXXBFJxxVi/8SVn/nGrfmOIM5GBDnMutTWO32GH6kmE92joY//lfBicOfkW7uLF3QXHJtUZTfoQbkXmjEM1mdUWxoAAmygCwBtKhhduk4lAKbhMJEpc= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by MWHPR10MB1487.namprd10.prod.outlook.com (2603:10b6:300:21::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5314.13; Sun, 5 Jun 2022 22:56:36 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::818c:10bf:c1b5:e224]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::818c:10bf:c1b5:e224%3]) with mapi id 15.20.5314.018; Sun, 5 Jun 2022 22:56:35 +0000 Thread-Topic: [External] : bug#17346: 24.4.50; Why is the goal column limited to C-n and C-p ? Thread-Index: AQHYeRPKxszX9WeNtU6eQpZ7tMVpOq1BaC9A In-Reply-To: <874k0yzyu1.fsf@gnus.org> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a82248f3-7166-4f8e-b9ad-08da4746a472 x-ms-traffictypediagnostic: MWHPR10MB1487:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: E4KddlcaRtThNM8Huai9zGijVaIaRaefpeYBjOYprxh2XXJf8ALSgr3bBygSp9JI+TE3Wm/VCptROcTGuoeSd4p29PTvOl5oukO8VwnRF/ngFFJxA91LTANK7nB1HGtVMBMQJMUvIbfPZTTOp+FHvNnTF4X+szxb0bA5xW8imJvqNL1oNkXwsPiZZqWtEDph0y5Nk+JKLN2w+0b3+z4RRRLNcdeQZboyQWrvU3aCTQh9+jgACV7TDM06FXZVu6rltH1z5m+wrMzKtPSdQyIbPEj6aGb/TQj4UHkonaSi9gmjfYe3c4tQQ7ehet5Zozo6PMbdJk4Wu7GrragFn349p74rN/dcyHl+2kjt/jj1kY70f+xmIlxjHZ17XaGlN/PUG63FAMW48JscxlZfMlGa1s6aOWB0ZjxhF5U4GVbUKMvDQoecIGiUWfU1HA5fHrV1fVsiTw+EWxJpCp/FC30pPRe4sNphdsITHca2O/lg4Igjva3h2TyCH8vC2R60p2gnjL4R7alzm6wHtjjJPwqgVyQcZ3EqQ8nXfJ4qQDx937UM8GWjdzN+V6RKmTGb6U7DxlLcWiOf4OLfDMZYk74wwNQQiqQe2hKz5TtkMs+jecqo736sKp4uIEaGycug3v1hB3gD750AAbhXKlRyU2OHoFECjSpbigPgDopqaqVENTKxHdJ4NtoqyRX9CDO/3Uh5MVtbrUe2fmLwNpLuaaFhSw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(4326008)(8936002)(8676002)(52536014)(122000001)(5660300002)(38100700002)(44832011)(38070700005)(66556008)(76116006)(66476007)(66446008)(64756008)(66946007)(2906002)(55016003)(33656002)(316002)(83380400001)(86362001)(508600001)(54906003)(110136005)(71200400001)(9686003)(6506007)(26005)(7696005)(186003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: a7r5h1WKrjD9bohinAwLi03YcPAiOxPdUMmC6/sVL8IA3IVrmst7ijzvYIK0siS6twWrQWTtBYh4IUyDbC1bwVI8S9zBW5dsfNCHRlLNuywEM4UZWhhDOyU47gDq6Cju7yTqYgWXXg9WXCOmK0oWXQ/HBQ0siX5LoILvV2t2x0NQft8c8odzBDc/FnSpy/SDNg92uyk2rSwLltaEO3973G8Rbn0P3tm/x8Ih8p9cn84oo6TPrMXm9UhJn3+oADr3SaSDtM1NuawF9tqrmG0XO4Rdu3WxJLcjSVU7gXFuYWPfPOZsIsIbaHRtAdEvuXDSWkdxN68X8wwWFTpL6sENpXIWQDq/CNFcffS6omqUCXmgIT9XpzCQ/1LtVNSuGRC/+aY1+BsxC26rvePCLHlujCKL/EOCkGrIoqLlBZXneWzbVj9NWkNyLaLHz0daz7lCyrrKnpvwt9wEoJKH7rGQSoRi6C95Ia5HNQ9HqSRrvmtUEkS17tdyz0RcptNMTmLADr3cQUXYnzv5+298Hz3THo8X4qQctM1nFPTvjWeGJT52Vbd0WQNlqT2bF0gGAKX0qDykBX89n9QZlQE2TjA3BN+eK6MiOKnUmVPJp46HtAcKrX4FcVRvyUMRQU29DOsfcfPjzf0VWKlPSqCz0dbKUXrLwi2zSPpJIX3H2lVrLLKjJMR4mvj6yaxUn9BMpyhIoZuikl9tORFLeUM1PUR4CZqo2/EMrt2l2OI38Se1ldZYmiEeHbcEGNeeJk b6ybiV4wtwRMKwyckXcmuJ7RTYF7mxZxSINy5bZpC8cazLey3RedKqZ2f+M3cFLS6d6W5QDsKlHcaZylh2BgCLNDgQTb+w8U97 X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a82248f3-7166-4f8e-b9ad-08da4746a472 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jun 2022 22:56:35.7986 (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: 7JhDraYv/wjTDX0ilxA0vTtzICUbJbdHZ9fJWYWcEvoVZPv7WpoANWexvmTXyaItQMBxoebPvzecoqM9Ge5jUg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR10MB1487 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.517, 18.0.874 definitions=2022-06-05_12:2022-06-02, 2022-06-05 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 bulkscore=0 malwarescore=0 mlxlogscore=984 adultscore=0 mlxscore=0 phishscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2204290000 definitions=main-2206050107 X-Proofpoint-GUID: 0txKLTJq62Oo4yy4MtGgyUZymAZ2yyUU X-Proofpoint-ORIG-GUID: 0txKLTJq62Oo4yy4MtGgyUZymAZ2yyUU 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:233755 Archived-At: > I've now made this change in Emacs 29, and I have not added a new user > option to tweak the behaviour. If there's a huge backlash, we can add > one, but it seems rather unlikely to me because of the reason above. The doc of `(next|previous)-line' specifically calls out the behavior wrt `goal-column' (see below). Are you doing that also for each command/key you change now to respect `goal-column'? You should, IMO. Better would be to define a minor mode, which would cause some set of commands to respect `goal-column'. This is really a modal thing and not part of the behavior of this or that particular command. The set of affected commands could be defined as a list-valued option or by putting a property on a command's symbol. One way or another, this should be easily under user control. The doc of the minor mode would document the behavior as well as point to the set of affected commands. No need then to also put that info in the doc of the individual commands. (Users's then wouldn't see it in `C-x k' or `C-x f', but they'd see it in `C-h m', and of course it only takes effect after `C-x C-n' confirmation anyway.) `C-x C-n' could (after novice confirmation for setting the goal column) turn on the minor mode, which would otherwise be off by default. Its doc should also mention that minor mode behavior. ___ Current doc about this in `(next|previous)-line' (it doesn't really belong there): The command C-x C-n can be used to create a semipermanent goal column for this command. Then instead of trying to move exactly vertically (or as close as possible= ), this command moves to the specified goal column (or as close as possible). The goal column is stored in the variable 'goal-column', which is nil when there is no goal column. Note that setting 'goal-column' overrides 'line-move-visual' and causes this command to move by buffer lines rather than by display lines. ___ (BTW, that part of the doc isn't filled properly.)