From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 12 07:37:03 2020 Received: (at submit) by debbugs.gnu.org; 12 Oct 2020 11:37:03 +0000 Received: from localhost ([127.0.0.1]:41825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kRw8V-0005iR-Bw for submit@debbugs.gnu.org; Mon, 12 Oct 2020 07:37:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:46608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kRw8S-0005i1-0L for submit@debbugs.gnu.org; Mon, 12 Oct 2020 07:37:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40978) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kRw8R-0005yz-N9 for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2020 07:36:59 -0400 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]:42408) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kRw8P-0007LY-Uz for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2020 07:36:59 -0400 Received: by mail-lf1-x131.google.com with SMTP id a7so16938558lfk.9 for ; Mon, 12 Oct 2020 04:36:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=vChIhr03hbCSI481CnejgLH/bOfO9cmr2De2tInDBDg=; b=DGuf8OyenEc/ehPKO0h5kYtC5DSOiu7ytbCLqfDnZmMXzGW/bEV/jmxdN1F2gJk715 vMgorpoOp3IsQ0R44DHBvuiDjAb6GMjYql/YW+WySw04+825Co8w+Mw/q76yeAxZTrrG 2ja4Bh5rJkPS5nJ1bXYk/i9hSGdhwOFFw9OrzARRjBILOcXdmD2lRdmD/IoNQMtWur99 G8KGU/KxKGPng8SJlmOFri3UxljlPo/6Gx6h4DRrKU6EsrbxTju/lRBVk9x4P5L74njl Rnvl0PcXDdfeUsQ7CRABlM1EMa9ikUlMj2Zw+UwMXVKqjZz41pR53ZX/LJeOFZiyC4OQ mFnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=vChIhr03hbCSI481CnejgLH/bOfO9cmr2De2tInDBDg=; b=YZYF30S3yr4srPtKpYXN1TH2M1Grnx6LXaWcOUJoW0ltxwc9+SDklM+wq4EwplPmwM dj0O5h5BM5eIoMQQzfBCf2RJ1sC8BPzjGI/pspExXWBQ5yvqam7fTGQDbEWXFGW3I0Lq ytS91BP9qtObKh4PIclLoAymXeuedgj/jOlIAU9N285Q+iLV1ztn2VIVtTCKk2r90Cc7 F/DAsOH5ZUMf29zYfXgR0uIsw1uXadjBGelVscjwcPcRSbtpB3rCIPT8fWh1gK6FFaP0 VCCoYdiUOPT7I4e4NKIG0wxxOuzXwFl2HopOVlkS7A5Gpxfg3EwcQVY3mjR1RbqlNZoV lIEA== X-Gm-Message-State: AOAM530H50JUV8oOXzHltFXQS4ZPocuObA5oICRCzupCWosLuieYr2dg IVwIXAnSL41DKMdhcqlwmdhAkAbLTZQ= X-Google-Smtp-Source: ABdhPJzqVLTbrwm5q50e5t/hSL3vKeVLlMYgjAiW2OkcMaF8fdRiVGJqE57kV26V+kPibqX7aO2t5w== X-Received: by 2002:ac2:4a64:: with SMTP id q4mr2879645lfp.513.1602502615303; Mon, 12 Oct 2020 04:36:55 -0700 (PDT) Received: from muffinmac ([91.206.110.168]) by smtp.gmail.com with ESMTPSA id y5sm1063408lff.179.2020.10.12.04.36.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Oct 2020 04:36:54 -0700 (PDT) From: Andrii Kolomoiets To: bug-gnu-emacs@gnu.org Subject: 28.0.50; [PATHC][NS] Make s- to move to beginning/end of line Date: Mon, 12 Oct 2020 14:36:53 +0300 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::131; envelope-from=andreyk.mad@gmail.com; helo=mail-lf1-x131.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain On macOS, 'Command-Left/Right Arrow' are the common shortcuts to move the insertion point to the beginning/end of line. See https://support.apple.com/en-us/HT201236, 'Document shortcuts' section. Considering that Emacs is the text editor (mostly), lets make it behave more like TextEdit.app and not like Terminal.app about those shortcuts. Patch attached. Thanks! --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-NS-Make-s-left-right-to-move-to-beginning-end-of-lin.patch >From ccea06f8b53589cdb1dff20e91f33fd8b8beb0a3 Mon Sep 17 00:00:00 2001 From: Andrii Kolomoiets Date: Mon, 12 Oct 2020 14:24:25 +0300 Subject: [PATCH] NS: Make s- to move to beginning/end of line * lisp/term/ns-win.el: Bind 's-' to 'move-beginning-of-line'; bind 's-' to 'move-end-of-line'. * etc/NEWS: Mention new bindings. --- etc/NEWS | 4 ++++ lisp/term/ns-win.el | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index cc8733c2c0..c7b34bdc1c 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1683,6 +1683,10 @@ image API via 'M-x report-emacs-bug'. --- ** The user option 'make-pointer-invisible' is now honored on macOS. +-- +** On macOS, 's-' and 's- are now bound to +'move-beginning-of-line' and 'move-end-of-line' respectively. + ---------------------------------------------------------------------- This file is part of GNU Emacs. diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el index cc7a3762b4..28bb851b30 100644 --- a/lisp/term/ns-win.el +++ b/lisp/term/ns-win.el @@ -148,9 +148,9 @@ global-map (define-key global-map [?\s-|] 'shell-command-on-region) (define-key global-map [s-kp-bar] 'shell-command-on-region) (define-key global-map [?\C-\s- ] 'ns-do-show-character-palette) -;; (as in Terminal.app) -(define-key global-map [s-right] 'ns-next-frame) -(define-key global-map [s-left] 'ns-prev-frame) +;; (as in TextEdit.app) +(define-key global-map [s-right] 'move-end-of-line) +(define-key global-map [s-left] 'move-beginning-of-line) (define-key global-map [home] 'beginning-of-buffer) (define-key global-map [end] 'end-of-buffer) -- 2.15.1 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 12 14:33:55 2020 Received: (at 43948) by debbugs.gnu.org; 12 Oct 2020 18:33:55 +0000 Received: from localhost ([127.0.0.1]:43946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kS2dv-0006F4-7B for submit@debbugs.gnu.org; Mon, 12 Oct 2020 14:33:55 -0400 Received: from wilbur.contactoffice.com ([212.3.242.68]:58188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kS2ds-0006Eq-B7 for 43948@debbugs.gnu.org; Mon, 12 Oct 2020 14:33:53 -0400 Received: from smtpauth2.co-bxl (smtpauth2.co-bxl [10.2.0.24]) by wilbur.contactoffice.com (Postfix) with ESMTP id BF3E51773; Mon, 12 Oct 2020 20:33:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1602527625; s=20200222-6h9o; d=idiocy.org; i=alan@idiocy.org; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:In-Reply-To; l=834; bh=0PhYenOp9n3SSn54B9qdtHu2ayg68J2z2cxfGOMb2P0=; b=LOTofZHoglc968ac6lwZt88RYXuruS7o2fhLVa/6XLskXB09Yy9HmGO+E1rSrV7F 0dXffEGu2cz3HMG/vcfg8ljz2nT/k1JglPqcmL15Zbc1jZRmunuwEJoph6rgQNfcVq1 fuyT5661njZMCe2cVECGWKeMm5puedm7qcIMtImApjlJCwe0da2Siex1o6KvAd4m8Ql GOTfBtRO/TLxTw7HGCLYfdH3FA+4lJaxxaWakglvABRPCTEUZZJOQOnP/iJB5/6Wv+W sqz/XyKPi1FUQrJMiUM4q2F1ffmKD32oqtvRZVG92/YdRaTSmLdTTNerh4qpq1/rN1s rxb+vVhoww== Received: by smtp.mailfence.com with ESMTPA ; Mon, 12 Oct 2020 20:33:43 +0200 (CEST) Received: by breton.holly.idiocy.org (Postfix, from userid 501) id 1FEE62025F2ADB; Mon, 12 Oct 2020 19:33:42 +0100 (BST) Date: Mon, 12 Oct 2020 19:33:41 +0100 From: Alan Third To: Andrii Kolomoiets Subject: Re: bug#43948: 28.0.50; [PATHC][NS] Make s- to move to beginning/end of line Message-ID: <20201012183341.GJ60347@breton.holly.idiocy.org> Mail-Followup-To: Alan Third , Andrii Kolomoiets , 43948@debbugs.gnu.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Flag: NO X-Spam-Status: No, hits=-2.9 required=4.7 symbols=ALL_TRUSTED, BAYES_00 device=10.2.0.20 X-ContactOffice-Account: com:241649512 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43948 Cc: 43948@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Mon, Oct 12, 2020 at 02:36:53PM +0300, Andrii Kolomoiets wrote: > On macOS, 'Command-Left/Right Arrow' are the common shortcuts to move > the insertion point to the beginning/end of line. > > See https://support.apple.com/en-us/HT201236, 'Document shortcuts' > section. > > Considering that Emacs is the text editor (mostly), lets make it behave > more like TextEdit.app and not like Terminal.app about those shortcuts. > > Patch attached. Thanks for this. > +;; (as in TextEdit.app) As these bindings are standard for the OS, I don't think we really need this comment. :) I want to leave this a little while to see if anyone objects, then we can put it into master and see if anyone objects then. Feel free to remind me about this in a week or so if I forget and nobody else responds. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 12 18:38:45 2020 Received: (at 43948) by debbugs.gnu.org; 12 Oct 2020 22:38:45 +0000 Received: from localhost ([127.0.0.1]:44276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kS6Sr-0008HJ-57 for submit@debbugs.gnu.org; Mon, 12 Oct 2020 18:38:45 -0400 Received: from sonic311-31.consmr.mail.ir2.yahoo.com ([77.238.176.163]:36182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kS6Sm-0008H1-HT for 43948@debbugs.gnu.org; Mon, 12 Oct 2020 18:38:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1602542312; bh=8pdEc7pVEUUoKyislRWMNxDiCoQHzDBVgpP6DIQYGTU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject; b=Qvw5mXa9ZcKXxgFenNTC6WIKnVe9cP79L9s9t9bzAqThgh9NwvBopHE7R4zHtUVa23tDW/UrVL7xWhsgpO2pN2VCp0PqQSAO6odtjM+G/aCjpR0ULraZmuoNMLf+1mZJd2sFP8rAr2dzCu3ee8FP/0JvyizKQrF8GJJtr4w4YfY9/ntRdOvCsbxOBmnbLcQ68WKElvm0J7fLeoh5yA9hKlEs4XfkQ0LJcL/QLFpzBA4OU10PVA6t5+ZV0UW/MjfO+dyiqAhwlhItugRcv8hAq0xwxKT7gdU20tr4Zvzn58ieSGtwC4AQ875/BwQOZPbpbWwylk+SaHVTlmJ5sQyU2A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1602542312; bh=DIHBGkXu+RSXAbFzRojy0mAPAsWzSLAD/7EMJ0xE86z=; h=From:To:Subject:Date; b=aRBw8C1bY9u7c60uMR+mMqyu8tM+jvkUplJsyQm9ka/oLjvV26FXP2g/FPdHR3+2uIJF1R5h+2K9xjeCy0OuMVeXV5UPSaf9H4G0OcdpMyGzfoEm2rxSZKMsgFFNV2G3eESn1yUa9o6FqC0gfh4fUU8UO41uhbdilXHcdN6cXxW+optNNuu6My0hBxcZWbfhjSVbFCNsgMzbYAfc7J9J4AG9QBxX0LclZcOlMJ0e5bchnOCRV02M4rbeJLU8nhtvWdtrFnMlJfnlh1XE0xMdRktZmXX4/s2OfAvnG2Ydv94hU9n08w7OD5XRS27016MipqiFs9+7pIqv/mO6C3i5Ug== X-YMail-OSG: 2vgpqPUVM1k6Vp_9NxpVa5GTl.5BjS5VxY2v3Fv_bQS0GMqtnTI1azjHSomMpiF nfpp8C1BG5rlaW3qBYgWuincGaWxlY00Uw9raMcEcSkTf.fROwSUpHXp2TFPDYtkgZGcFH4TlRMX kaJSxxdDOqipDqvY_aufo.xg8ghiwTzGP3TtxuvdfLxmDbxDnIyX7BgW6.nGZaJOzeGg362B_Krl vSL9H2TORVgeSe4Pf_Yga0vZbbWwjIJfWYwulkxDcqftNoSw7_yRBgBQ4rW4Vibnlt9kcHgrsZHk aJwbECeKOxO80qnLXrtR6aF8KhYUcqXdIxcIfODS.HiAgS1W1baQLkOsl0S1ERUBU0xMhibu87qa MSf1bwvWBTnDieCzimGGmWJxROdGtny5mzjJNJ8XTdGgctLT2GUBOLE7aSSk4AKOIdt8LkruHU8_ 9kEqpdEUiKc8fGa2HHSoah6AH1JiAPH69omEtw.vV6jKDCVPdFqHzw55b9VmOYAGYvFEjLid76PE vWu9B6bBeZIZCCBneefcEkxWUw3JbXetBf48ZxBltfuBm0PKnm6oDurjWtpEINmoH5tLS1O7p2Qh WmadKxVIHoM2SmHpYZ.VC787lwOM4fv7W0yMW8iBGPypFAxmwHsskxTH0Vw1MALzwE13lP45lCXu PRQ6jqv01LTp4OSDfj4T1BTbnnU0ocgW0PF9u8.fQib_SifZlj8PDMKEwJFAj6mtgeVKRdrmevIs fKEzU8QFe19rNTx28J641zRI43ckz.Qji2V.KYpX0KyCqnqBiVc3jZONeWcY_Hx4GyLrcjN46yRu gOitcHx6ejCeMOYevGD9PF4ZOHdXkiCCymaMIAOIMVKn9xdFyOMw9o1W1UwxzOFsJ7Utsxp44J1l wtyPr8AFAsnVuVrNUvvuLADuRqJjHxD1Ch9wbyu4Em3ISOE8kmvnq949cJDvj6nP18TdI7.GcMq0 pcBIFswMjEdIlhSyT1nq3XVTwbF.SvCnZ8Jk3Jvds_4D4KH3u8wOLmLWazPqMdx_u13NkmFwG7fQ 7CtcLW8LTQp9Um_A_npnWlqmtC40omNwGslpanyIKiGNs8ZEMwMjPeUdjkUJqzvAMi8K.DgvDM5Q egqyH9ylGfcUIXhr6lROF8AniMR7Ia0ymBKeNQw._k230x_E2dskPiyhY5VxKsNVHxeO.KlutyLe a_R23L4JKIW4iWpw7zzXx0bjZngzZuaYLG9p4RGai.99kpBxuiG7uyA2elrhpxAIaFTiqtP.on9u hrSYDU4n3OwFsTgbs2qlDgl.xOU9RE8AYkSqevj9UtQx.0pkJcgvEyiDLWJLUztL3KbLM8RGKkJ4 sWmptULwyxEkRPHJQwh0gpztqtLTjuHey5qhpyX6fDxBtShs9oykqUPJ85Y3lUbLQ8nNP6nx_JjM fKEAiUz2GnB31p6_nl8.LCB67wTNK7FJ22WD33Xle.3TdklCiZ.etxk9rn10TGNF9jFGAB3wsmgm 0ZYmQAO7ISlsnsy6rMK7Cn.6KJTOsoiw_hGVQjEhy_l3n.zK02spo3rjl6l1Y5p83rg-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ir2.yahoo.com with HTTP; Mon, 12 Oct 2020 22:38:32 +0000 Received: by smtp420.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 50dcf9a5bf9409dcff9e47beff255839; Mon, 12 Oct 2020 22:38:30 +0000 (UTC) From: =?utf-8?Q?Daniel_Mart=C3=ADn?= To: Andrii Kolomoiets Subject: Re: bug#43948: 28.0.50; [PATHC][NS] Make s- to move to beginning/end of line References: Date: Tue, 13 Oct 2020 00:38:30 +0200 In-Reply-To: (Andrii Kolomoiets's message of "Mon, 12 Oct 2020 14:36:53 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.16795 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Apache-HttpAsyncClient/4.1.4 (Java/11.0.7) Content-Length: 403 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 43948 Cc: 43948@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Andrii Kolomoiets writes: Thanks for the patch, I think it's a good addition. I only have a nit: > +-- > +** On macOS, 's-' and 's- are now bound to > +'move-beginning-of-line' and 'move-end-of-line' respectively. > + Maybe we should say here that the former commands for these keys can still be invoked via M-x ns-prev-frame and M-x ns-next-frame, respectively. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 13 02:48:23 2020 Received: (at 43948) by debbugs.gnu.org; 13 Oct 2020 06:48:23 +0000 Received: from localhost ([127.0.0.1]:44961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSE6g-0008JZ-Ut for submit@debbugs.gnu.org; Tue, 13 Oct 2020 02:48:23 -0400 Received: from mail-lf1-f41.google.com ([209.85.167.41]:34404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSE6g-0008JN-1N for 43948@debbugs.gnu.org; Tue, 13 Oct 2020 02:48:22 -0400 Received: by mail-lf1-f41.google.com with SMTP id z2so2036149lfr.1 for <43948@debbugs.gnu.org>; Mon, 12 Oct 2020 23:48:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Qj0q3XlLjcbdZJXNH6qBqEHSxM3OT99+BvQEOY+uJgI=; b=CylnQUWEVDL4xMujk80HkCIyqTeqgw25gt+BZfElKnjkCyadXhy5QTRFfkZcLREEHL +fpqb/6INHInPakigXVHtKpO6R5ayJnL9sqqYOVIiRa2jDOByv7XSyZ96E5kgjp43e2h w75tDoE6t/ir23ThR7yjHdA5LGAujxNeKM1XOwKfBI3Ouo1IheXd13u1vRO7jnXjQNNG Pq7GmzhCATGWzMyDv9vob0BlM6sIHLa+qL4M5LFuAACS9mzjriPFi6TxSsLdZGBbk/sa Du4nmXqpQsioF7ZzICu8njgz+lYYX/CCAiRQXYYXc2J62mnWJ+/J8D46gfV1WK7834g4 yKTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Qj0q3XlLjcbdZJXNH6qBqEHSxM3OT99+BvQEOY+uJgI=; b=AEDfSc3tBSI/7uXIw4THQ6+DoHARhxqnIiBJTSm849OvpyUg2CvVvf2R3FIS/GiU7U LXU3tO5q143a0tczHtXYs9W6J7cPlb8KuV2zEj/UZvpmGNH0ttCfaMpK9iGAIlzLjSRH KujPGexgz50eQQUOk6mUQf8K0GvdlVcaq2LzH3bOcmduljp9gk/vAk9HlJjZxDEVKepy 0gOhLVIGshIWHOg+eLmdtmxWXFCu6uAFqDEP5WzCmrICGD8vIQARWq+3yH7gHAqnoFMX nnH9qhEP3mDEhR5Li77dzxcV3GDgiWniGHkTwbl+LYQjJtqHxjJ0STuWDgObUO3rNDix 4j8Q== X-Gm-Message-State: AOAM533965LpZiHl8v659PbtHUZc+LwgN5PIhuKayPf18+JD3Cxkaqhu pk9qo5Gqv+0fVbZbvISHsd/oj7iNbKo= X-Google-Smtp-Source: ABdhPJxYf57kx4cwF0t7H710BkO3gMGq0ujnCVduvtiKdyG5A5dLGboK0PHMaCJCe5oW/XCWtcxQ4Q== X-Received: by 2002:a19:7f4d:: with SMTP id a74mr9769733lfd.533.1602571695396; Mon, 12 Oct 2020 23:48:15 -0700 (PDT) Received: from muffinmac ([91.206.110.168]) by smtp.gmail.com with ESMTPSA id w9sm3412867ljh.95.2020.10.12.23.48.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Oct 2020 23:48:14 -0700 (PDT) From: Andrii Kolomoiets To: Alan Third Subject: Re: bug#43948: 28.0.50; [PATHC][NS] Make s- to move to beginning/end of line References: <20201012183341.GJ60347@breton.holly.idiocy.org> Date: Tue, 13 Oct 2020 09:48:13 +0300 In-Reply-To: <20201012183341.GJ60347@breton.holly.idiocy.org> (Alan Third's message of "Mon, 12 Oct 2020 19:33:41 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43948 Cc: 43948@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Alan Third writes: > As these bindings are standard for the OS, I don't think we really > need this comment. :) Yes. Will you be able to remove it while applying changes or should I update the patch? > Feel free to remind me about this in a week or so if I forget and > nobody else responds. Sure. But I believe no bug report will go unattended nowadays thanks to Lars :) From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 13 03:57:22 2020 Received: (at 43948) by debbugs.gnu.org; 13 Oct 2020 07:57:22 +0000 Received: from localhost ([127.0.0.1]:45063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSFBS-0001f0-AZ for submit@debbugs.gnu.org; Tue, 13 Oct 2020 03:57:22 -0400 Received: from mail-lf1-f51.google.com ([209.85.167.51]:37471) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSFBP-0001en-Mj for 43948@debbugs.gnu.org; Tue, 13 Oct 2020 03:57:20 -0400 Received: by mail-lf1-f51.google.com with SMTP id j30so18696550lfp.4 for <43948@debbugs.gnu.org>; Tue, 13 Oct 2020 00:57:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=HofYtrDIUdGiYgem0ZCJIupaSkfn4NmQBkMBLf3Sryw=; b=gafs1SIzgwhEJhGpCCp1ffsX8w8pABGBSJBh80bg3c4WZNPGe+pRYIrKfxRLq80cy8 sege6uJLlAv7YsOv3bulHutwgfdV5tERCAp6WelKpo65CF+oAwhxAUW1tyT8ojerIKpu 6qMNn+5eNzlO6lwhqk6BqKrsWQ1Y4zIRAOqO0gLkrnwM5kb42FQeyRysuIJu4PI5jNt8 5Kz7rMcRawlhrJQa8ZXv1hwKsZtVi6jVXPRXnTxzCmrx8I0g5Xe6qv5TY+T61tf/2ybe b7Uh+rccxdDPA4r42ixar89Bdgu4lpxrrHT89QhMJBApNKmh2eF3rMIBRW9cgFMlA1iu s4dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=HofYtrDIUdGiYgem0ZCJIupaSkfn4NmQBkMBLf3Sryw=; b=gbtR+OqQKBeLiQwO71IUuY8X6LGC2QcEhcx2Dcz0UIpnnUkv4AanDvef6rb9xGjSEm Ua38OiQCiqAG/UspkZ36+aTdrLDQ0M/CeGc3dwnC76HUIAt05LqMRo3s4jOsEObjdjsE FakMm4NudaIWPRYltjdTCKlDcMZFvripjNmus0gtGzYqV6z2EAqnaJ03iHgGlkZeoOnQ ejkv6qO12GMX7rujFJW9hDUHBj42vmi6YqObeoCxVE3J/7fMgHfbSTXiVp3sHsvTbs7o AxEHt+z4wHLTENkUE4d8OoFC6F4duX0D3NTQGr8H11WMHg692OX7t1IUhHRyEk2lREPK gTmA== X-Gm-Message-State: AOAM533ZckAvxHgu9IommCtvHApXLeNBqk4P76LZTvtNDNNofpg1kE34 YrdMRYBZxUYR1ecfPZ+tMwQQS3Xt0ic= X-Google-Smtp-Source: ABdhPJzgzjEogx+4EaNFxaRXze26y51o9eYt91M7zeHXNUWCSztvPGtc0OaFQ0Up+IbGMoc8cgKCdA== X-Received: by 2002:ac2:47f5:: with SMTP id b21mr8437702lfp.483.1602575833143; Tue, 13 Oct 2020 00:57:13 -0700 (PDT) Received: from muffinmac ([91.206.110.168]) by smtp.gmail.com with ESMTPSA id k10sm4105730lfo.91.2020.10.13.00.57.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Oct 2020 00:57:12 -0700 (PDT) From: Andrii Kolomoiets To: Daniel =?utf-8?Q?Mart=C3=ADn?= Subject: Re: bug#43948: 28.0.50; [PATHC][NS] Make s- to move to beginning/end of line References: Date: Tue, 13 Oct 2020 10:57:11 +0300 In-Reply-To: ("Daniel =?utf-8?Q?Mart=C3=ADn=22's?= message of "Tue, 13 Oct 2020 00:38:30 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43948 Cc: 43948@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Daniel Mart=C3=ADn writes: >> +** On macOS, 's-' and 's- are now bound to >> +'move-beginning-of-line' and 'move-end-of-line' respectively. >> + > > Maybe we should say here that the former commands for these keys can > still be invoked via M-x ns-prev-frame and M-x ns-next-frame, > respectively. Former commands can be invoked with 's-`' and 's-~'. Those are the common shortcuts in macOS. So maybe it is better to mention those keys instead of M-x? Though I'm not the experienced NEWS writer. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 13 16:35:56 2020 Received: (at 43948) by debbugs.gnu.org; 13 Oct 2020 20:35:56 +0000 Received: from localhost ([127.0.0.1]:49031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSR1Y-0002bA-D3 for submit@debbugs.gnu.org; Tue, 13 Oct 2020 16:35:56 -0400 Received: from wilbur.contactoffice.com ([212.3.242.68]:37646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSR1W-0002aw-Hq for 43948@debbugs.gnu.org; Tue, 13 Oct 2020 16:35:55 -0400 Received: from smtpauth1.co-bxl (smtpauth1.co-bxl [10.2.0.15]) by wilbur.contactoffice.com (Postfix) with ESMTP id D5476157C; Tue, 13 Oct 2020 22:35:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1602621347; s=20200222-6h9o; d=idiocy.org; i=alan@idiocy.org; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:In-Reply-To; l=446; bh=AKfkWK/Gif8fSHzkF5RGo+mZMCsjCwJPPdLCsiHvE3U=; b=QXE7XPkH4GpPjxyrymoVGg9cRdwhrV5uf2BpDnHZTPCs4DZtkRIwH8jn2EKQhCq4 gNKbnpGS0VBbmJ5i2k7Zdcw7qM5twxIIQxizwwuRWDbUAEmmhYg/B/YKKFW9H9n60qL uXwh8XHBmnzkKH7lwlJTV25j1C1JSSsJVFpiAvuLa5nHQqeE5phT+r4Wjko9utF0hkV oSYAhltFtkQYUN0FCuT4dQXjuPaxUog7JCQWwJ+ZiGMlu0cCWbmV2CG25kL3RSctlcj sO1lERwc+Jfvdf0GAQowTZCBL6oWE6QWRV7HPGxI9L6l7KNEo2TrnRwxAnWZOLsG2XX 20rJMPybHw== Received: by smtp.mailfence.com with ESMTPA ; Tue, 13 Oct 2020 22:35:45 +0200 (CEST) Received: by breton.holly.idiocy.org (Postfix, from userid 501) id 1E72F2025F7A02; Tue, 13 Oct 2020 21:35:44 +0100 (BST) Date: Tue, 13 Oct 2020 21:35:44 +0100 From: Alan Third To: Andrii Kolomoiets Subject: Re: bug#43948: 28.0.50; [PATHC][NS] Make s- to move to beginning/end of line Message-ID: Mail-Followup-To: Alan Third , Andrii Kolomoiets , 43948@debbugs.gnu.org References: <20201012183341.GJ60347@breton.holly.idiocy.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Flag: NO X-Spam-Status: No, hits=-1.0 required=4.7 symbols=ALL_TRUSTED device=10.2.0.21 X-ContactOffice-Account: com:241649512 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43948 Cc: 43948@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Tue, Oct 13, 2020 at 09:48:13AM +0300, Andrii Kolomoiets wrote: > Alan Third writes: > > > As these bindings are standard for the OS, I don't think we really > > need this comment. :) > > Yes. Will you be able to remove it while applying changes or should I > update the patch? I can do it, although if you're wanting to change the NEWS entry I suppose it would make sense to do it all at once. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 13 16:36:52 2020 Received: (at 43948) by debbugs.gnu.org; 13 Oct 2020 20:36:52 +0000 Received: from localhost ([127.0.0.1]:49035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSR2R-0002cm-NT for submit@debbugs.gnu.org; Tue, 13 Oct 2020 16:36:51 -0400 Received: from wilbur.contactoffice.com ([212.3.242.68]:37670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSR2P-0002cZ-GW for 43948@debbugs.gnu.org; Tue, 13 Oct 2020 16:36:50 -0400 Received: from smtpauth2.co-bxl (smtpauth2.co-bxl [10.2.0.24]) by wilbur.contactoffice.com (Postfix) with ESMTP id 14AC1803; Tue, 13 Oct 2020 22:36:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1602621404; s=20200222-6h9o; d=idiocy.org; i=alan@idiocy.org; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To; l=702; bh=Nn8PxFLU3LhyFpUjwllZI8zjGNXJ7OtcHg6mEIeS49E=; b=gqEyvQc/uSvkVQrxFTdKTTjHABmdcHMeJqX0QYxNPQWPM9q2S965kQSRVAd9CUUz rYvGiIcFRLZ9jwEd1byYSEkJ7wOW+3L86CxHlE2vewyypoIdDc01mZDUDbkovQDHSj9 iHrUMi+FklVqz4JA68/mYVYjp1JUT3LJaCkIKnL5/gGSoioGmhgmmrw3+zCqeq0jbHN oue65C++tttg6ca8sGQgKsx09jWjKF1jBi5hbcG27CEIblHjMDtE/dPt/x6VhSZ9kvO R8c5sgTjKtie8wR64ipr+PQCwG2sOxyKUStIpju9R+P9P5YWdRQPcthvarPUTOD3Kd0 WPZ+aHfiew== Received: by smtp.mailfence.com with ESMTPA ; Tue, 13 Oct 2020 22:36:40 +0200 (CEST) Received: by breton.holly.idiocy.org (Postfix, from userid 501) id 4CB0E2025F7A68; Tue, 13 Oct 2020 21:36:39 +0100 (BST) Date: Tue, 13 Oct 2020 21:36:39 +0100 From: Alan Third To: Andrii Kolomoiets Subject: Re: bug#43948: 28.0.50; [PATHC][NS] Make s- to move to beginning/end of line Message-ID: <20201013203639.GL60347@breton.holly.idiocy.org> Mail-Followup-To: Alan Third , Andrii Kolomoiets , Daniel =?iso-8859-1?Q?Mart=EDn?= , 43948@debbugs.gnu.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Flag: NO X-Spam-Status: No, hits=-2.9 required=4.7 symbols=ALL_TRUSTED, BAYES_00 device=10.2.0.20 X-ContactOffice-Account: com:241649512 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43948 Cc: 43948@debbugs.gnu.org, Daniel =?iso-8859-1?Q?Mart=EDn?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Tue, Oct 13, 2020 at 10:57:11AM +0300, Andrii Kolomoiets wrote: > Daniel Martín writes: > > >> +** On macOS, 's-' and 's- are now bound to > >> +'move-beginning-of-line' and 'move-end-of-line' respectively. > >> + > > > > Maybe we should say here that the former commands for these keys can > > still be invoked via M-x ns-prev-frame and M-x ns-next-frame, > > respectively. > > Former commands can be invoked with 's-`' and 's-~'. Those are the > common shortcuts in macOS. So maybe it is better to mention those keys > instead of M-x? Though I'm not the experienced NEWS writer. Yes, I think that mentioning those keys is better. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 14 06:16:04 2020 Received: (at 43948) by debbugs.gnu.org; 14 Oct 2020 10:16:04 +0000 Received: from localhost ([127.0.0.1]:50130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSdpE-0002FH-0Y for submit@debbugs.gnu.org; Wed, 14 Oct 2020 06:16:04 -0400 Received: from mail-lf1-f42.google.com ([209.85.167.42]:45182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSdpA-0002EO-Op for 43948@debbugs.gnu.org; Wed, 14 Oct 2020 06:16:03 -0400 Received: by mail-lf1-f42.google.com with SMTP id r127so3013232lff.12 for <43948@debbugs.gnu.org>; Wed, 14 Oct 2020 03:16:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=u6mIAO5QVaf4TCQcGW8z4fYMkkVhGY1BzFo4V5GOwGo=; b=fvvgAqt+194Bq967ag7e6V0HVs18u+eplHosfVbVHmxzcjfCsPo8sGvJhIXanfPm0f OAxj26Bv8DK6WQk1YMfktf8InO16dIc0pDD9leROXphMWdyVlpc8wuZMRxnGkf0Ba+dI N+9wYwWalmxAFaPGVY2Yxb/QTs7VoI1KuTKeQIgfdNBPVi5cExOOXokOi1RTXBHuORvm AaJeIV8FxeILS+5tA8ZNUnIvF7P6AwlKQ50FVC8hy8DiGrTLaG1Cipm3ceP3Xs3CsIcI yMttcDfljuHLE8aGT+qhpa6QXLsubUnLY/9Ef6wxbsNTiY3O3k2lPx3ivRiQDdqhfl0+ +ZNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=u6mIAO5QVaf4TCQcGW8z4fYMkkVhGY1BzFo4V5GOwGo=; b=L84ExiZkvysA7XCEq++glUyI5qr0vAZq1FRxoPaPvCE1Mc3si8fBk/ZWItFYb4jUIk IadyavHeFDmsUCOlplhzimHh10GdxsTw8ucKAxhMRX9E0+iuY2V84aDGUXD7WsPgP6ja wf8gyc5XhOiiZ1Lyj18qd12wipHiggZMfaWQNExeE0oLi0ZYRnrA9XrjYU5peyYe5z4g 6oASAtS5YgW6qVlB9CiHX6Uk8M5Eu5Lkzv2aRCd2FHD5YSAmkbIQp/96kg//ThDlyspD ZhUt+z8dDQtBofehB8AP9JlRxBkgLdl6caE7Qi6MdCxgjKHYqAyOsUK/E/dlbbQMoD5I m9EA== X-Gm-Message-State: AOAM532vV6ixmoUMOBgfk+GLqAD8zl2iAYyoOawpjw1STlQ5Fef7yVwt +O+EyaooMZ/MhrjY8hC+GnujuPU6sHE= X-Google-Smtp-Source: ABdhPJzI8+LamsBDofXOmGAIe2a5G27kdCUYf80o29ub8DvVFu8ez57N9NxUtTqwRGub4azyIzokhg== X-Received: by 2002:ac2:4da1:: with SMTP id h1mr1109490lfe.343.1602670554321; Wed, 14 Oct 2020 03:15:54 -0700 (PDT) Received: from muffinmac (102-26-207-82.ip.ukrtel.net. [82.207.26.102]) by smtp.gmail.com with ESMTPSA id c26sm961727lfh.107.2020.10.14.03.15.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2020 03:15:53 -0700 (PDT) From: Andrii Kolomoiets To: Alan Third Subject: Re: bug#43948: 28.0.50; [PATHC][NS] Make s- to move to beginning/end of line References: <20201013203639.GL60347@breton.holly.idiocy.org> Date: Wed, 14 Oct 2020 13:15:51 +0300 In-Reply-To: <20201013203639.GL60347@breton.holly.idiocy.org> (Alan Third's message of "Tue, 13 Oct 2020 21:36:39 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43948 Cc: 43948@debbugs.gnu.org, Daniel =?utf-8?Q?Mart=C3=ADn?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Alan Third writes: > On Tue, Oct 13, 2020 at 10:57:11AM +0300, Andrii Kolomoiets wrote: >> Daniel Mart=C3=ADn writes: >>=20 >> >> +** On macOS, 's-' and 's- are now bound to >> >> +'move-beginning-of-line' and 'move-end-of-line' respectively. >> >> + >> > >> > Maybe we should say here that the former commands for these keys can >> > still be invoked via M-x ns-prev-frame and M-x ns-next-frame, >> > respectively. >>=20 >> Former commands can be invoked with 's-`' and 's-~'. Those are the >> common shortcuts in macOS. So maybe it is better to mention those keys >> instead of M-x? Though I'm not the experienced NEWS writer. > > Yes, I think that mentioning those keys is better. Done. See attached patch. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-NS-Make-s-left-right-to-move-to-beginning-end-of-lin.patch >From 52c5b246b010b06f62d656811cf3a772399f0c18 Mon Sep 17 00:00:00 2001 From: Andrii Kolomoiets Date: Mon, 12 Oct 2020 14:24:25 +0300 Subject: [PATCH] NS: Make s- to move to beginning/end of line * lisp/term/ns-win.el: Bind 's-' to 'move-beginning-of-line'; bind 's-' to 'move-end-of-line'. * etc/NEWS: Mention new bindings. --- etc/NEWS | 5 +++++ lisp/term/ns-win.el | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index cc8733c2c0..f6f4c2e057 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1683,6 +1683,11 @@ image API via 'M-x report-emacs-bug'. --- ** The user option 'make-pointer-invisible' is now honored on macOS. +-- +** On macOS, 's-' and 's- are now bound to +'move-beginning-of-line' and 'move-end-of-line' respectively. The former +commands to select previous/next frame are still bound to 's-~' and 's-`'. + ---------------------------------------------------------------------- This file is part of GNU Emacs. diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el index cc7a3762b4..8273c067f8 100644 --- a/lisp/term/ns-win.el +++ b/lisp/term/ns-win.el @@ -148,9 +148,8 @@ global-map (define-key global-map [?\s-|] 'shell-command-on-region) (define-key global-map [s-kp-bar] 'shell-command-on-region) (define-key global-map [?\C-\s- ] 'ns-do-show-character-palette) -;; (as in Terminal.app) -(define-key global-map [s-right] 'ns-next-frame) -(define-key global-map [s-left] 'ns-prev-frame) +(define-key global-map [s-right] 'move-end-of-line) +(define-key global-map [s-left] 'move-beginning-of-line) (define-key global-map [home] 'beginning-of-buffer) (define-key global-map [end] 'end-of-buffer) -- 2.15.1 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 14 16:24:20 2020 Received: (at 43948) by debbugs.gnu.org; 14 Oct 2020 20:24:20 +0000 Received: from localhost ([127.0.0.1]:53090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSnJr-0007SG-QT for submit@debbugs.gnu.org; Wed, 14 Oct 2020 16:24:20 -0400 Received: from wilbur.contactoffice.com ([212.3.242.68]:33168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSnJp-0007S0-Kb for 43948@debbugs.gnu.org; Wed, 14 Oct 2020 16:24:18 -0400 Received: from smtpauth1.co-bxl (smtpauth1.co-bxl [10.2.0.15]) by wilbur.contactoffice.com (Postfix) with ESMTP id 37B32D04; Wed, 14 Oct 2020 22:24:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1602707050; s=20200222-6h9o; d=idiocy.org; i=alan@idiocy.org; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:In-Reply-To; l=476; bh=nY+RVVzTfnNw2j5ehpBj2UBSHJ8gXJm5TuuTeC7VimQ=; b=Hkl4n+HEAG98IGaO55xi5yCes954AJfoEBZlrzno0EN4145BKA2HTmkFwe1S+yyv N47GoPy4IqkPFNfvwMVu8QvIMi1LmmQmaGrEc7UQRKfMXWLVuyrYl4q5+cV+/NKTMei TBpemH+WPTOewmyMW16PI8s1ezLizUT3D5sBfoXwcR0sK2kBNbV2TJ6rrV8/QiWs0bd UUW8Zw6ivEXU7C01hw66K2GTDl5EGOQfJ0F7Ab0UawSSvMsBklg2tF6nBf1bYGmaqjT uP+hOyRJgXmSSwqvBeQtkJ5rJdduKnP1Jycm0SBA2CwbqZL1VYkpvjAYefkRsaj2OpS ODAFkTMLcg== Received: by smtp.mailfence.com with ESMTPA ; Wed, 14 Oct 2020 22:24:07 +0200 (CEST) Received: by breton.holly.idiocy.org (Postfix, from userid 501) id 9AE272025F919E; Wed, 14 Oct 2020 21:24:06 +0100 (BST) Date: Wed, 14 Oct 2020 21:24:06 +0100 From: Alan Third To: Andrii Kolomoiets Subject: Re: bug#43948: 28.0.50; [PATHC][NS] Make s- to move to beginning/end of line Message-ID: <20201014202406.GN60347@breton.holly.idiocy.org> Mail-Followup-To: Alan Third , Andrii Kolomoiets , Daniel =?iso-8859-1?Q?Mart=EDn?= , 43948@debbugs.gnu.org References: <20201013203639.GL60347@breton.holly.idiocy.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Flag: NO X-Spam-Status: No, hits=-2.9 required=4.7 symbols=ALL_TRUSTED, BAYES_00 device=10.2.0.1 X-ContactOffice-Account: com:241649512 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43948 Cc: 43948@debbugs.gnu.org, Daniel =?iso-8859-1?Q?Mart=EDn?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Wed, Oct 14, 2020 at 01:15:51PM +0300, Andrii Kolomoiets wrote: > > Yes, I think that mentioning those keys is better. > > Done. Thanks. > +** On macOS, 's-' and 's- are now bound to ^ Missing quote. > +'move-beginning-of-line' and 'move-end-of-line' respectively. The former > +commands to select previous/next frame are still bound to 's-~' and 's-`'. I don't think you need the word "former" here. Other than that, LGTM. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 14 16:48:41 2020 Received: (at 43948) by debbugs.gnu.org; 14 Oct 2020 20:48:41 +0000 Received: from localhost ([127.0.0.1]:53150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSnhQ-00084J-Uo for submit@debbugs.gnu.org; Wed, 14 Oct 2020 16:48:41 -0400 Received: from mail-lf1-f49.google.com ([209.85.167.49]:40711) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSnhP-000845-3R for 43948@debbugs.gnu.org; Wed, 14 Oct 2020 16:48:40 -0400 Received: by mail-lf1-f49.google.com with SMTP id a9so981695lfc.7 for <43948@debbugs.gnu.org>; Wed, 14 Oct 2020 13:48:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=lchoFlflJ1qWxVu5YfsLjsEaaT1MgP0lgyUl+9TTWi4=; b=Iaht2E8TwjnrzNbRzzonap6lPcDuS56OC9CnYn4+HximwZISLqRigxHcA4HvsnwHIW 39IDe0aUY6VFLIX3Qkoppccx1084qn+AQ8iZ4ijMo4Oo67oEGcP71UfZhBUdqhiimiLj 4zGkBGMjc5rKU/dt2BFBN3AB9AKXsNA0HC3mJw2CT69EJFMWDpGPlKPKZF7rEG+Trsdd 1+6WoVEPc3fJTk3tnnLT4gNRD6Un153lRlglBazp4lGSugKYqsI15NtfBWkg9bsBeCzM sPp5j7SAqGzoO4/BEjWmtKg1rNjrqwQJhkgU2RzVZxvDli93imaDke4sW5WP28pitRas H/tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=lchoFlflJ1qWxVu5YfsLjsEaaT1MgP0lgyUl+9TTWi4=; b=NyOjA+1Px2u7A1/AQ55Uop+U+4Jn2ue+S9d/GWA8FWv1D7Iq/1l10PT/IuINWR6j7R myvYhOIZUYHjXsnwAOSuf6NoC0qq/GXbtFcUnRGU7u00ZsbjOXQbQGqbQu2zCuiJWA2m NI159UiX1/Fo77dPFgeK9gwDkqkYtupMuLyIaM6Ga4xFoMCrlU5l59nqw6XP/LXlta66 T2PSlsqrfCZs5+ZcZ0emiedZYQoCbuXRunfG2tc/UKmAZlTyimR5GFvU4S0HSGt2Pfqf jXXS+TPDlxBnMRDnBzlxfRGyQiHbxthjYD4J1D18YdN0Xy2G9TEUrVorcTQnzE5RzBtZ IUiQ== X-Gm-Message-State: AOAM530Wlk083VOJ0GoIgoIijtHh9bP+2D6rX8WUm8sU9ZwNew65gW50 xLuyGsHbhLAoaFGz5uVqkJGaXCgGDT8= X-Google-Smtp-Source: ABdhPJzkOB7J9hi0n2sQm2fddZ8WON9Sr7dYWLNGFvpgRT5Z2R25u9kZslLY9+EILir4YOybeZqfAw== X-Received: by 2002:a19:ee16:: with SMTP id g22mr297780lfb.443.1602708511724; Wed, 14 Oct 2020 13:48:31 -0700 (PDT) Received: from muffinmac ([91.206.110.168]) by smtp.gmail.com with ESMTPSA id c17sm156888lfi.35.2020.10.14.13.48.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2020 13:48:30 -0700 (PDT) From: Andrii Kolomoiets To: Alan Third Subject: Re: bug#43948: 28.0.50; [PATHC][NS] Make s- to move to beginning/end of line References: <20201013203639.GL60347@breton.holly.idiocy.org> <20201014202406.GN60347@breton.holly.idiocy.org> Date: Wed, 14 Oct 2020 23:48:29 +0300 In-Reply-To: <20201014202406.GN60347@breton.holly.idiocy.org> (Alan Third's message of "Wed, 14 Oct 2020 21:24:06 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 3.6 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Alan Third writes: >> +** On macOS, 's-' and 's- are now bound to > ^ > Missing quote. Fixed. Smells like bug report for electric-pair-mode to pair "'" in text-mode :) Content analysis details: (3.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (andreyk.mad[at]gmail.com) 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [91.206.110.168 listed in zen.spamhaus.org] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.167.49 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.167.49 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record X-Debbugs-Envelope-To: 43948 Cc: 43948@debbugs.gnu.org, Daniel =?utf-8?Q?Mart=C3=ADn?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Alan Third writes: >> +** On macOS, 's-' and 's- are now bound to > ^ > Missing quote. Fixed. Smells like bug report for electric-pair-mode to pair "'" in text-mode :) Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [91.206.110.168 listed in zen.spamhaus.org] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.167.49 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.167.49 listed in wl.mailspike.net] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (andreyk.mad[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain Alan Third writes: >> +** On macOS, 's-' and 's- are now bound to > ^ > Missing quote. Fixed. Smells like bug report for electric-pair-mode to pair "'" in text-mode :) > >> +'move-beginning-of-line' and 'move-end-of-line' respectively. The former >> +commands to select previous/next frame are still bound to 's-~' and 's-`'. > > I don't think you need the word "former" here. Other than that, LGTM. And fixed. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-NS-Make-s-left-right-to-move-to-beginning-end-of-lin.patch >From edb8467d3884067f88c2349cb30bd38a6a3d40b9 Mon Sep 17 00:00:00 2001 From: Andrii Kolomoiets Date: Mon, 12 Oct 2020 14:24:25 +0300 Subject: [PATCH] NS: Make s- to move to beginning/end of line * lisp/term/ns-win.el: Bind 's-' to 'move-beginning-of-line'; bind 's-' to 'move-end-of-line'. * etc/NEWS: Mention new bindings. --- etc/NEWS | 5 +++++ lisp/term/ns-win.el | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index cc8733c2c0..8cb9ecc102 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1683,6 +1683,11 @@ image API via 'M-x report-emacs-bug'. --- ** The user option 'make-pointer-invisible' is now honored on macOS. +-- +** On macOS, 's-' and 's-' are now bound to +'move-beginning-of-line' and 'move-end-of-line' respectively. The commands +to select previous/next frame are still bound to 's-~' and 's-`'. + ---------------------------------------------------------------------- This file is part of GNU Emacs. diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el index cc7a3762b4..8273c067f8 100644 --- a/lisp/term/ns-win.el +++ b/lisp/term/ns-win.el @@ -148,9 +148,8 @@ global-map (define-key global-map [?\s-|] 'shell-command-on-region) (define-key global-map [s-kp-bar] 'shell-command-on-region) (define-key global-map [?\C-\s- ] 'ns-do-show-character-palette) -;; (as in Terminal.app) -(define-key global-map [s-right] 'ns-next-frame) -(define-key global-map [s-left] 'ns-prev-frame) +(define-key global-map [s-right] 'move-end-of-line) +(define-key global-map [s-left] 'move-beginning-of-line) (define-key global-map [home] 'beginning-of-buffer) (define-key global-map [end] 'end-of-buffer) -- 2.15.1 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 20 05:55:44 2020 Received: (at 43948) by debbugs.gnu.org; 20 Oct 2020 09:55:44 +0000 Received: from localhost ([127.0.0.1]:43668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUoMq-0003rh-Is for submit@debbugs.gnu.org; Tue, 20 Oct 2020 05:55:44 -0400 Received: from mail151c50.megamailservers.eu ([91.136.10.161]:57872 helo=mail50c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUoMo-0003rW-82 for 43948@debbugs.gnu.org; Tue, 20 Oct 2020 05:55:43 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1603187740; bh=Q0EzvHWu1BNVdD2p/dyzPQoas6q0WbiySObYBNae/JI=; h=From:Subject:Date:Cc:To:From; b=HufI0J++ZcAiKylRxPAtnR4UdKGQMrcXtzYFvhw+BOCoAHu32ZkHUPL1YUH9qF0QY mp40T7gE/7WRLjXQk+jNKK4WLyr3VNUxnh92vnO34tAs7wlirHKjGg/ENivDCwxYuO 5Dknfp52GF/I1wj7vJ3ZFuUwky6EV4D9jndqlQ2g= Feedback-ID: mattiase@acm.or Received: from [192.168.0.4] (c188-150-171-71.bredband.comhem.se [188.150.171.71]) (authenticated bits=0) by mail50c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 09K9tbb2018072; Tue, 20 Oct 2020 09:55:39 +0000 From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Subject: Re: bug#43948: 28.0.50; [PATCH][NS] Make s- to move to beginning/end of line Message-Id: <98BE6156-9A91-4D4C-B326-62D24C3945B2@acm.org> Date: Tue, 20 Oct 2020 11:55:36 +0200 To: Andrii Kolomoiets X-Mailer: Apple Mail (2.3445.104.17) X-CTCH-RefID: str=0001.0A782F29.5F8EB41C.0015, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=NoevjPVJ c=1 sm=1 tr=0 a=SF+I6pRkHZhrawxbOkkvaA==:117 a=SF+I6pRkHZhrawxbOkkvaA==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=92ko-LC8_Pl3_wrATPEA:9 a=7Zwj6sZBwVKJAoWSPKxL6X1jA+E=:19 a=CjuIK1q_8ugA:10 X-Origin-Country: SE X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Similarly, should M-mouse-1 be bound to rectangular selection, since Option-drag-mouse appears to be the platform convention? (It seems unlikely that there would be a sizeable population of secondary [...] Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.4 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS X-Debbugs-Envelope-To: 43948 Cc: Alan Third , =?utf-8?Q?Daniel_Mart=C3=ADn?= , 43948@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Similarly, should M-mouse-1 be bound to rectangular selection, since = Option-drag-mouse appears to be the platform convention? (It seems unlikely that there would be a sizeable population of = secondary selection users on NS, but what do I know.) From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 20 08:33:59 2020 Received: (at 43948) by debbugs.gnu.org; 20 Oct 2020 12:33:59 +0000 Received: from localhost ([127.0.0.1]:43879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUqpz-0005yq-NR for submit@debbugs.gnu.org; Tue, 20 Oct 2020 08:33:59 -0400 Received: from idiocy.org ([217.169.17.33]:57813 helo=breton.holly.idiocy.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUqpy-0005ya-Iv for 43948@debbugs.gnu.org; Tue, 20 Oct 2020 08:33:58 -0400 Received: by breton.holly.idiocy.org (Postfix, from userid 501) id E444D202629C96; Tue, 20 Oct 2020 13:33:52 +0100 (BST) Date: Tue, 20 Oct 2020 13:33:52 +0100 From: Alan Third To: Mattias =?iso-8859-1?Q?Engdeg=E5rd?= Subject: Re: bug#43948: 28.0.50; [PATCH][NS] Make s- to move to beginning/end of line Message-ID: <20201020123352.GH1166@breton.holly.idiocy.org> Mail-Followup-To: Alan Third , Mattias =?iso-8859-1?Q?Engdeg=E5rd?= , Andrii Kolomoiets , 43948@debbugs.gnu.org, Daniel =?iso-8859-1?Q?Mart=EDn?= References: <98BE6156-9A91-4D4C-B326-62D24C3945B2@acm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <98BE6156-9A91-4D4C-B326-62D24C3945B2@acm.org> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43948 Cc: Daniel =?iso-8859-1?Q?Mart=EDn?= , Andrii Kolomoiets , 43948@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Tue, Oct 20, 2020 at 11:55:36AM +0200, Mattias Engdegård wrote: > Similarly, should M-mouse-1 be bound to rectangular selection, since > Option-drag-mouse appears to be the platform convention? (It seems > unlikely that there would be a sizeable population of secondary > selection users on NS, but what do I know.) I'm not sure. I'm happy enough with the super bindings since I don't think Emacs has any by default, but I don't know that we want to get into other bindings with a greater potential for conflict. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 20 09:54:42 2020 Received: (at 43948) by debbugs.gnu.org; 20 Oct 2020 13:54:43 +0000 Received: from localhost ([127.0.0.1]:43984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUs66-00085E-Lc for submit@debbugs.gnu.org; Tue, 20 Oct 2020 09:54:42 -0400 Received: from mail1435c50.megamailservers.eu ([91.136.14.35]:51214 helo=mail263c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUs64-00084b-Jb for 43948@debbugs.gnu.org; Tue, 20 Oct 2020 09:54:41 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1603202072; bh=iH523PamUaAwTOtvyl8FX+Y5DnI2Th02V0oIpO+OZ+g=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=kJWRNoy/yGbUSDFxFBsoXnfwGoMMbzIfJUDqzARGN41E2Bq6VytehB72NWwGevMf2 +O108jPr7xH/FZGu/t6wnYHkdZrbj6RdmBbiZfBuBjEaHXLwXm7OL85qWjKDx1X3FU mGEo3jzCNq9mPXua4Y0ZW61/MWnJQTEH9m72kpjs= Feedback-ID: mattiase@acm.or Received: from [192.168.0.4] (c188-150-171-71.bredband.comhem.se [188.150.171.71]) (authenticated bits=0) by mail263c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 09KDsUFK032716; Tue, 20 Oct 2020 13:54:32 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Subject: Re: bug#43948: 28.0.50; [PATCH][NS] Make s- to move to beginning/end of line From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: <20201020123352.GH1166@breton.holly.idiocy.org> Date: Tue, 20 Oct 2020 15:54:30 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <30741870-D3D9-4575-AED5-8EE890D3BD1C@acm.org> References: <98BE6156-9A91-4D4C-B326-62D24C3945B2@acm.org> <20201020123352.GH1166@breton.holly.idiocy.org> To: Alan Third X-Mailer: Apple Mail (2.3445.104.17) X-CTCH-RefID: str=0001.0A782F26.5F8EEC18.00B2, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=e6d4tph/ c=1 sm=1 tr=0 a=SF+I6pRkHZhrawxbOkkvaA==:117 a=SF+I6pRkHZhrawxbOkkvaA==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=hIj89exaAAAA:8 a=NAmhGPkCj19sDiub2YUA:9 a=CjuIK1q_8ugA:10 a=lS9wXHQM5UdnNJ4u63Ry:22 X-Origin-Country: SE X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 20 okt. 2020 kl. 14.33 skrev Alan Third : > I'm not sure. I'm happy enough with the super bindings since I don't > think Emacs has any by default, but I don't know that we want to get > into other bindings with a greater potential for conflic [...] Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.4 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS X-Debbugs-Envelope-To: 43948 Cc: =?utf-8?Q?Daniel_Mart=C3=ADn?= , Andrii Kolomoiets , 43948@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 20 okt. 2020 kl. 14.33 skrev Alan Third : > I'm not sure. I'm happy enough with the super bindings since I don't > think Emacs has any by default, but I don't know that we want to get > into other bindings with a greater potential for conflict. Thank you, and I do have some sympathy for that point of view. It seems = that we can't ever replace any bindings, no matter how rarely used, but = that's not your fault. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 20 12:06:47 2020 Received: (at 43948) by debbugs.gnu.org; 20 Oct 2020 16:06:47 +0000 Received: from localhost ([127.0.0.1]:46470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUu9v-0003hI-Jn for submit@debbugs.gnu.org; Tue, 20 Oct 2020 12:06:47 -0400 Received: from aserp2130.oracle.com ([141.146.126.79]:43410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUu9t-0003h4-F0 for 43948@debbugs.gnu.org; Tue, 20 Oct 2020 12:06:45 -0400 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 09KG55aa023566; Tue, 20 Oct 2020 16:06:37 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=wCJinSEhoLiugdhfkGbnsPrZJZ2qw5Sh7+AEsvTwbBc=; b=koXWV7zfMojrKHBwj2nfjN0/zhctnE+DjaD+mOXseKx+bTE/ApWmzyKhAfU3YO7+nYfA eTHLN7NURko1zkRjQfcO7DPPLoM4AeMjPxx9dqVqapZjXd0R+3BiNnuBTk3X4i5W5zFb zlvUbKxY7hdrG7xMxleWf41TkShtw9wvXFz54/D94HY4oi1lMcX31vC+5TbrEIsrvM94 T1j3gExa93MJ9bdF92oA7lecIUo77qZ/2auCt+OOXzxx6Qp3BZZwDzqkF76A+Gf3farX ay6S7Y/hnyWx/N4xV4fxetY3UPZHWO+Z6LClD9x+gQPn3Ko5lqIc8mrp2BvXFkK/lj+F ew== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2130.oracle.com with ESMTP id 347p4av4k7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 20 Oct 2020 16:06:36 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 09KG1cRp000897; Tue, 20 Oct 2020 16:06:36 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3020.oracle.com with ESMTP id 348agxkbnp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 20 Oct 2020 16:06:36 +0000 Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 09KG6Yhx015307; Tue, 20 Oct 2020 16:06:34 GMT MIME-Version: 1.0 Message-ID: Date: Tue, 20 Oct 2020 09:06:33 -0700 (PDT) From: Drew Adams To: =?iso-8859-1?B?TWF0dGlhcyBFbmdkZWflcmQ=?= , Andrii Kolomoiets Subject: RE: bug#43948: 28.0.50; [PATCH][NS] Make s- to move to beginning/end of line References: <98BE6156-9A91-4D4C-B326-62D24C3945B2@acm.org> In-Reply-To: <98BE6156-9A91-4D4C-B326-62D24C3945B2@acm.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5056.0 (x86)] Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9779 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 mlxscore=0 phishscore=0 malwarescore=0 spamscore=0 suspectscore=0 bulkscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2010200107 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9779 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 priorityscore=1501 clxscore=1011 malwarescore=0 mlxscore=0 bulkscore=0 lowpriorityscore=0 phishscore=0 adultscore=0 mlxlogscore=999 impostorscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2010200107 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43948 Cc: Alan Third , =?iso-8859-1?B?RGFuaWVsIE1hcnTtbg==?= , 43948@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Similarly, should M-mouse-1 be bound to rectangular selection, since Opti= on- > drag-mouse appears to be the platform convention? > (It seems unlikely that there would be a sizeable population of secondary > selection users on NS, but what do I know.) FWIW - The secondary selection is, I think, simply not as well known as it could/should be. I think that if more people were aware if it they would use it. But the main reason, I think, that people aren't aware of it, and also a reason they might not use it even if they were aware of it, is that it has no keyboard key bindings, by default. ___ My library second-sel.el provides additional ways to obtain and use the secondary selection, including obtaining it from the primary - and vice versa, yanking it (including in Isearch), and having its own ring (a la `kill-ring'). Suggested keyboard keys for it: C-M-y - yank, by default prefix arg: 0 - select it as region > 0 - move it to region's text < 0 - swap it with region M-y - yank from kill or secondary ring depending on previous command C-x C-M-SPC - set start of secondary at point C-x C-M- - `secondary-save-then-kill' does the same as `M-mouse-3' https://www.emacswiki.org/emacs/SecondarySelection#second-sel.el From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 09 09:56:18 2020 Received: (at 43948-done) by debbugs.gnu.org; 9 Nov 2020 14:56:18 +0000 Received: from localhost ([127.0.0.1]:35154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kc8aU-0002Js-Tq for submit@debbugs.gnu.org; Mon, 09 Nov 2020 09:56:18 -0500 Received: from wilbur.contactoffice.com ([212.3.242.68]:44338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kc8aS-0002JN-I8 for 43948-done@debbugs.gnu.org; Mon, 09 Nov 2020 09:56:04 -0500 Received: from smtpauth2.co-bxl (smtpauth2.co-bxl [10.2.0.24]) by wilbur.contactoffice.com (Postfix) with ESMTP id 16B06308E; Mon, 9 Nov 2020 15:55:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1604933759; s=20200222-6h9o; d=idiocy.org; i=alan@idiocy.org; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:In-Reply-To; l=616; bh=qBg3FmeMZBfqwdYo9bIQXd0+X8SYqdYZlHQEEfMMuv0=; b=myWX4awXAvxKgujZ/wqV5C1pYN8Rir24abwZyHWygfCQhzKgaTJlgI1VHo4s8BWu +Sqclj6NLxhRQr25zlTeZ8QLm5kXbzzIg5mM6Mynxr0hqm2CxMr65ASS3IAmPoK6VAS 27YVJJrV55i0d7/o2HL4MGs8l5JS22ndq2cPYpoHEsOkGxVj3r5j6xFRvs8OJdUkAbQ FdsXlr7RhuaS0riim3f/kD9w0dTESiZ+AZ1kHGbAp+ncPf1vkUXjUMPx3mJsmFXT3HB DRAlSRZcggrOd2/Bj9JdsOaoe7opsGHhl9lCWNuUWMNl/ttiVhgRSEFkPIqYzl0LJcr nLRedWvADw== Received: by smtp.mailfence.com with ESMTPA ; Mon, 9 Nov 2020 15:55:56 +0100 (CET) Received: by breton.holly.idiocy.org (Postfix, from userid 501) id 2727C20265BEFB; Mon, 9 Nov 2020 14:55:55 +0000 (GMT) Date: Mon, 9 Nov 2020 14:55:55 +0000 From: Alan Third To: Andrii Kolomoiets Subject: Re: bug#43948: 28.0.50; [PATHC][NS] Make s- to move to beginning/end of line Message-ID: <20201109145555.GT59267@breton.holly.idiocy.org> Mail-Followup-To: Alan Third , Andrii Kolomoiets , Daniel =?iso-8859-1?Q?Mart=EDn?= , 43948-done@debbugs.gnu.org References: <20201013203639.GL60347@breton.holly.idiocy.org> <20201014202406.GN60347@breton.holly.idiocy.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Flag: NO X-Spam-Status: No, hits=-2.9 required=4.7 symbols=ALL_TRUSTED, BAYES_00 device=10.2.0.20 X-ContactOffice-Account: com:241649512 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43948-done Cc: 43948-done@debbugs.gnu.org, Daniel =?iso-8859-1?Q?Mart=EDn?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Wed, Oct 14, 2020 at 11:48:29PM +0300, Andrii Kolomoiets wrote: > Alan Third writes: > > >> +** On macOS, 's-' and 's- are now bound to > > ^ > > Missing quote. > > Fixed. > Smells like bug report for electric-pair-mode to pair "'" in text-mode :) > > > > >> +'move-beginning-of-line' and 'move-end-of-line' respectively. The former > >> +commands to select previous/next frame are still bound to 's-~' and 's-`'. > > > > I don't think you need the word "former" here. Other than that, LGTM. > > And fixed. I've pushed this to master. Thanks! -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 11 23:53:14 2020 Received: (at 43948) by debbugs.gnu.org; 12 Nov 2020 04:53:14 +0000 Received: from localhost ([127.0.0.1]:43397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kd4bi-0006lz-Gk for submit@debbugs.gnu.org; Wed, 11 Nov 2020 23:53:14 -0500 Received: from pv50p00im-ztdg10012101.me.com ([17.58.6.49]:47548) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kd4be-0006li-Ag for 43948@debbugs.gnu.org; Wed, 11 Nov 2020 23:53:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1605156784; bh=WuCucQ8w5HzIMnz3doCPmmoYHMYmhGacqxDz8hm2FoA=; h=From:Content-Type:Mime-Version:Subject:Message-Id:Date:To; b=IX5bZZ42y7bwwO5T/njVrC6VSoev88WDNqKfhPJWtROt4CCGOEEs+qRCmr/ZxgsF+ vzpEWcva7ZuoCA6Czjbuz6YdMeGKGVNgP6MPQNpyTxHpyJMilmAHVZmlDLFKanH89Z EFwF8XQ8KUQTTj1NvdJPUvpZ87HXgGVAfosbB7VDQp+mHcfULvPnQksBYjV8EG6IBQ 0877KGT8xP83+wgPASjWuB3H14TYej6tqfqHJkBOcJGYQ1SBJke548FDVS+x88lBR2 ZevNj4ztvV8DXmDqxaP5ctKpPgCMHcq1pAG8yDsoaxoYPp+gr0fZRT2WlP62E39PTd UTYz4ZGkW5Feg== Received: from [192.168.129.26] (i114-186-197-142.s41.a008.ap.plala.or.jp [114.186.197.142]) by pv50p00im-ztdg10012101.me.com (Postfix) with ESMTPSA id C5735840441; Thu, 12 Nov 2020 04:53:01 +0000 (UTC) From: tsuucat Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: bug#43948: 28.0.50; [PATHC][NS] Make s- to move to beginning/end of line Message-Id: <69363AFC-A591-4790-A359-A56E4CD828C1@icloud.com> Date: Thu, 12 Nov 2020 13:52:59 +0900 To: andreyk.mad@gmail.com, Alan Third X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312, 18.0.737 definitions=2020-11-11_12:2020-11-10, 2020-11-11 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=753 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2006250000 definitions=main-2011120029 X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 43948 Cc: 43948@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) (Sorry for late reply) macOS=E2=80=99s 'Command-Left/Right Arrow=E2=80=99 is not same as = 'Control-A/E'. Why not use beginning-of-visual-line/end-of-visual-line? -- tsuucat= From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 12 04:06:18 2020 Received: (at 43948) by debbugs.gnu.org; 12 Nov 2020 09:06:18 +0000 Received: from localhost ([127.0.0.1]:43600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kd8Yb-0006yK-Bn for submit@debbugs.gnu.org; Thu, 12 Nov 2020 04:06:18 -0500 Received: from mail-lf1-f44.google.com ([209.85.167.44]:43967) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kd8YW-0006y3-At for 43948@debbugs.gnu.org; Thu, 12 Nov 2020 04:06:16 -0500 Received: by mail-lf1-f44.google.com with SMTP id d17so7170748lfq.10 for <43948@debbugs.gnu.org>; Thu, 12 Nov 2020 01:06:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=M3lWI8imFpB8BFdkmXSatqxh1UdyTtgPsWO5JJsm7eU=; b=dLDlb/IEYk6LOaebITfjp7VpqryHC/wnthgcW26CGiD00pYeQF6C/zzzty7tR719fD 6jh/W/0M1YetXoIWWAlwIiDWTlw6WH3BJPtzDtYHQTUwxBW20H0e0FSjo7E5qgZUiY5o Ome5Difvrjas1N2NRJ9JHvmP/kLctGyE4vzCf4fhDULLMcVw9RXOx88alNhRD5d0W9yd YQUjN7jmRRVkRG5ROQWdfU+aVE5N1jR+T74hNrezXr5LjpYgg9GXhxrVTto64Lr/Mx/v CrWbCxEDUTCEhH8uNmS0rMBlwG8yC+VUMyjPqReED0O+U21p1xGSrAo/qZfW9cigtI56 Sulg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=M3lWI8imFpB8BFdkmXSatqxh1UdyTtgPsWO5JJsm7eU=; b=Cvl9hbdLvXfulAVT/qoaAkOSSdPT2PxOIlF3WcwvFO1uijLafX9eP2Zx8crxEXY1W4 IMotBdYi3r1RBBX7m4VVKqaSioObpUxel3eR0xWdaROUAfzvvkRLCwb1cSyqvOJvMc2v wLw6+LRCev1Mv4w6DV/0SQd6pWR28ZpROmdrXa/4pm+mBwgs+tZTVxyl+TnfDyS7iFzE Map8tvA8L4PldkepDZZMkQDVKY+0m1XFPIi/WPngYoBXqxEdcFemjrdmI4VHy+FmFVOw +XctmqjBtIBiYQFcG159/NOoHrn8sSB/AHfZmQa7iBCo95GvEdl2GRnCo1ixTGoCEhNg QBAA== X-Gm-Message-State: AOAM530IqBaZuUPQ5vQ4pVQHw71bJ4uMLV4psDJwcN3kdSViB39/WQd8 DrIEA0dd777A5dREgYfPQTaaD4M9WO19Rw== X-Google-Smtp-Source: ABdhPJzFJGFykka3sH2s3N/hEKoBtos2/K+GcjkzkbIomZfIHhOyuej5Y1xYM+0CqOy74EjxSzYrXg== X-Received: by 2002:a05:6512:3137:: with SMTP id p23mr95839lfd.67.1605171964825; Thu, 12 Nov 2020 01:06:04 -0800 (PST) Received: from muffinmac ([91.206.110.192]) by smtp.gmail.com with ESMTPSA id v2sm78601lfn.163.2020.11.12.01.06.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 01:06:03 -0800 (PST) From: Andrii Kolomoiets To: tsuucat Subject: Re: bug#43948: 28.0.50; [PATHC][NS] Make s- to move to beginning/end of line References: <69363AFC-A591-4790-A359-A56E4CD828C1@icloud.com> Date: Thu, 12 Nov 2020 11:06:02 +0200 In-Reply-To: <69363AFC-A591-4790-A359-A56E4CD828C1@icloud.com> (tsuucat@icloud.com's message of "Thu, 12 Nov 2020 13:52:59 +0900") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43948 Cc: Alan Third , 43948@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tsuucat writes: > macOS=E2=80=99s 'Command-Left/Right Arrow=E2=80=99 is not same as 'Contro= l-A/E'. > > Why not use beginning-of-visual-line/end-of-visual-line? Isn't the visual-line-mode designed for this? I see two issues with binding s- to end-of-visual-line: 1. emacs -Q 2. M-: (set-frame-width nil 50) 3. M-< 4. M-x end-of-visual-line The point moved to the beginning of the next visual line 5. M-< 6. M-x toggle-truncate-lines 7. M-x end-of-visual-line The point is not moved to the end of the line. Other macos apps will move point to the end of the line. From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 12 05:04:46 2020 Received: (at 43948) by debbugs.gnu.org; 12 Nov 2020 10:04:46 +0000 Received: from localhost ([127.0.0.1]:43731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kd9TC-0008QS-FU for submit@debbugs.gnu.org; Thu, 12 Nov 2020 05:04:46 -0500 Received: from pv50p00im-zteg10011501.me.com ([17.58.6.42]:40212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kd9T9-0008QD-FE for 43948@debbugs.gnu.org; Thu, 12 Nov 2020 05:04:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1605175477; bh=Hzys+j3KPsMjuAJ87PEAvPork/nNUKS0Nwr9vIqOh3I=; h=Content-Type:Mime-Version:Subject:From:Date:Message-Id:To; b=E3/J44ot4cHe+ajafyPt7yo+aceotu3BGffZLkLvGLnYzU3+yarEacP4PVjrLYOfg OpkJqr8EwxLBuUdnYcstQQ/8j38e0aCIWJelFBnbA9tImVWhPdAa7Tb40MoPRDkoCC G7FFiZ7bu1wsOLKJAgGY8RbR3pkDGdENCCCtKzfrQ5URT7V8c8yXyoKX4kSu2l+qeE S9WV8jTbRCOj9Zdkdu9EzB3xZpCx7cXQCEF6UcuMYqrxCZ1oCrwjN00w3kRIgFpWXJ os2F/bfGXzLAa7/4N+DbC1B+r3EEqSqEK1ulxFZ77zWrAuRYWRROYthWIwzAWSQG3a mCPDaBKIWyPEw== Received: from [192.168.129.26] (i114-186-197-142.s41.a008.ap.plala.or.jp [114.186.197.142]) by pv50p00im-zteg10011501.me.com (Postfix) with ESMTPSA id 1B5B0B0032F; Thu, 12 Nov 2020 10:04:36 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: bug#43948: 28.0.50; [PATHC][NS] Make s- to move to beginning/end of line From: tsuucat In-Reply-To: Date: Thu, 12 Nov 2020 19:04:33 +0900 Content-Transfer-Encoding: quoted-printable Message-Id: <9F91E440-3957-41F8-BBC7-6EDE13269D9D@icloud.com> References: <69363AFC-A591-4790-A359-A56E4CD828C1@icloud.com> To: Andrii Kolomoiets X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312, 18.0.737 definitions=2020-11-12_04:2020-11-10, 2020-11-12 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2006250000 definitions=main-2011120061 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43948 Cc: Alan Third , 43948@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > Andrii Kolomoiets writes: >=20 > tsuucat writes: >=20 >> macOS=E2=80=99s 'Command-Left/Right Arrow=E2=80=99 is not same as = 'Control-A/E'. >>=20 >> Why not use beginning-of-visual-line/end-of-visual-line? >=20 > Isn't the visual-line-mode designed for this? >=20 > I see two issues with binding s- to end-of-visual-line: >=20 > 1. emacs -Q > 2. M-: (set-frame-width nil 50) > 3. M-< > 4. M-x end-of-visual-line > The point moved to the beginning of the next visual line > 5. M-< > 6. M-x toggle-truncate-lines > 7. M-x end-of-visual-line > The point is not moved to the end of the line. Other macos apps will > move point to the end of the line. I confirmed M-x end-of-visual-line behaves differently with = visual-line-mode enabled than it does with visual-line-mode disabled (=3D = end-of-visual-line is intended with visual-line-mode enabled). So Emacs doesn=E2=80=99t provide macOS 'Command-Left/Right Arrow=E2=80=99 = equivalent commands but using move-(beginning|end)-of-line is the most suitable = choice. Sorry for the noise. =F0=9F=99=87= From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 12 09:39:08 2020 Received: (at 43948) by debbugs.gnu.org; 12 Nov 2020 14:39:08 +0000 Received: from localhost ([127.0.0.1]:44097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdDki-0004e0-2g for submit@debbugs.gnu.org; Thu, 12 Nov 2020 09:39:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdDkg-0004dU-5p for 43948@debbugs.gnu.org; Thu, 12 Nov 2020 09:39:07 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53139) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kdDka-0002wz-0o; Thu, 12 Nov 2020 09:39:00 -0500 Received: from [176.228.60.248] (port=3594 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kdDkY-0007ZR-HB; Thu, 12 Nov 2020 09:38:59 -0500 Date: Thu, 12 Nov 2020 16:39:14 +0200 Message-Id: <83a6vmzlkd.fsf@gnu.org> From: Eli Zaretskii To: Andrii Kolomoiets In-Reply-To: (message from Andrii Kolomoiets on Thu, 12 Nov 2020 11:06:02 +0200) Subject: Re: bug#43948: 28.0.50; [PATHC][NS] Make s- to move to beginning/end of line References: <69363AFC-A591-4790-A359-A56E4CD828C1@icloud.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43948 Cc: alan@idiocy.org, tsuucat@icloud.com, 43948@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Andrii Kolomoiets > Date: Thu, 12 Nov 2020 11:06:02 +0200 > Cc: Alan Third , 43948@debbugs.gnu.org > > 2. M-: (set-frame-width nil 50) > 3. M-< > 4. M-x end-of-visual-line > The point moved to the beginning of the next visual line What else did you expect, in a continued line? There's no place to show the cursor except at the beginning of the next screen line. > 5. M-< > 6. M-x toggle-truncate-lines > 7. M-x end-of-visual-line > The point is not moved to the end of the line. It is, but you need to disable auto-hscroll-mode to see that. From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 12 18:20:51 2020 Received: (at 43948) by debbugs.gnu.org; 12 Nov 2020 23:20:51 +0000 Received: from localhost ([127.0.0.1]:46056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdLta-0002ve-TO for submit@debbugs.gnu.org; Thu, 12 Nov 2020 18:20:51 -0500 Received: from mail-lf1-f46.google.com ([209.85.167.46]:46163) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdLtX-0002vO-4p for 43948@debbugs.gnu.org; Thu, 12 Nov 2020 18:20:49 -0500 Received: by mail-lf1-f46.google.com with SMTP id v144so10999795lfa.13 for <43948@debbugs.gnu.org>; Thu, 12 Nov 2020 15:20:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=hhTyTtTDc9iLvZ3jgFp2kSBypMUagTxdaC82Vl9jf20=; b=ZMBM2odsgqfaeNka6tVXa96j0zfqU/dCJGHumsspMIapBnQ/TZ/HnmlbtOTSermRzT QSD5sqOKQhM1c2Ool591JHgzNwyoJ6OUe+MaZst79ovxKwSiqGtIcZCz/pGX6jUnSzjw ivGJUWaML6MinCxWjF7p+WolVx0BHhYQ/T/soeO/eId9Zfc69tvAYF/GoCOAfEX4Q2T5 ZnOPsG6M38pn9lkIlGIGWJ0qmFlt++T2F2yXqubTfNtcmbwBttt0wHMmZwiMk4SHqNaA GWyjLKW5DDaB3QMVn9/UIIPinxnmrtsvTbUpX1jao/DhBkJhLWJsdVlan2KL5Fy3dqeM MB9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=hhTyTtTDc9iLvZ3jgFp2kSBypMUagTxdaC82Vl9jf20=; b=nT1fJZVN6grbxZPFuUJWh1snxjG00cyukkYvQX2KOkb8iWlz2uxs3cLq6Ql+Xqnlyb iuTQbaOFfYKa0yqWcgX+U233amPoxqMMn3KaME4FC1p9k/P3rbn1uPPkk2d07qWl5g1P SgvHvLDkIP7CDgW0rL6GNJe3B2dJvSvI4MDf3ued0qMN2yFUp0E42nkDOSas5h1XZWsn YFuaEY6wRb0nRYrPzERcJC9VryHjCI4HzndxDmOnpf3KUW7qGEfBWmZno1ZNQUN+WJGZ KZNbEw7gQ4wqJpPcTP0NJFFwFjDXcUlIqz//P7PT8lHVo2fo3nUzesU2grRobchIMTJ2 rEaA== X-Gm-Message-State: AOAM531ToQGL93ircievezo/tpFeFnjxesXNEfZfaR/miIggR2ibJ3vT pwYRAn/gWqmsui0oYLOYAfX05wVcplN8KQ== X-Google-Smtp-Source: ABdhPJyVZZ+ifaP8MQ7BD8yrI1ELiqpXS3Ulbrqy5Krz0dfn6wuwAOeZmE6KiU/qr8s0+wIfXupRXQ== X-Received: by 2002:ac2:5591:: with SMTP id v17mr635140lfg.562.1605223240659; Thu, 12 Nov 2020 15:20:40 -0800 (PST) Received: from muffinmac ([91.206.110.192]) by smtp.gmail.com with ESMTPSA id z8sm1046769ljh.74.2020.11.12.15.20.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 15:20:39 -0800 (PST) From: Andrii Kolomoiets To: Eli Zaretskii Subject: Re: bug#43948: 28.0.50; [PATHC][NS] Make s- to move to beginning/end of line References: <69363AFC-A591-4790-A359-A56E4CD828C1@icloud.com> <83a6vmzlkd.fsf@gnu.org> Date: Fri, 13 Nov 2020 01:20:36 +0200 In-Reply-To: <83a6vmzlkd.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 12 Nov 2020 16:39:14 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43948 Cc: alan@idiocy.org, tsuucat@icloud.com, 43948@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> 2. M-: (set-frame-width nil 50) >> 3. M-< >> 4. M-x end-of-visual-line >> The point moved to the beginning of the next visual line > > What else did you expect, in a continued line? There's no place to > show the cursor except at the beginning of the next screen line. Well, sometimes the cursor is on the fringe. With "bar" cursor type this leads to interesting behavior: emacs -Q M-: (set-frame-width nil 70) M-: (setq cursor-type 'bar) Now it's easy to place the cursor after the "." on the first line: M-< C-e But it is not possible to place the cursor after last "e" on the second line. IIRC it's because the cursor is actually "on" some character and not "before" or "after" it. And at the end of the first line the cursor is on the "new line" character. >> 5. M-< >> 6. M-x toggle-truncate-lines >> 7. M-x end-of-visual-line >> The point is not moved to the end of the line. > > It is, but you need to disable auto-hscroll-mode to see that. Yes, the point is correctly moved to the end of visual line. I didn't mean to say the behavior of the 'end-of-visual-line' function is wrong. I tried to say that behavior of the 'end-of-visual-line' function outside the 'visual-line-mode' can be surprising for the users who press Command- to go to the end of the line. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 13 00:32:12 2020 Received: (at 43948) by debbugs.gnu.org; 13 Nov 2020 05:32:12 +0000 Received: from localhost ([127.0.0.1]:46435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdRgy-0007bA-Hk for submit@debbugs.gnu.org; Fri, 13 Nov 2020 00:32:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:32888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdRgx-0007av-7K for 43948@debbugs.gnu.org; Fri, 13 Nov 2020 00:32:11 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41199) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kdRgr-0002oe-4H; Fri, 13 Nov 2020 00:32:05 -0500 Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1kdRgq-0004Ai-6J; Fri, 13 Nov 2020 00:32:04 -0500 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman To: tsuucat In-Reply-To: <69363AFC-A591-4790-A359-A56E4CD828C1@icloud.com> (bug-gnu-emacs@gnu.org) Subject: Re: bug#43948: 28.0.50; [PATHC][NS] Make s- to move to beginning/end of line References: <69363AFC-A591-4790-A359-A56E4CD828C1@icloud.com> Message-Id: Date: Fri, 13 Nov 2020 00:32:04 -0500 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43948 Cc: alan@idiocy.org, andreyk.mad@gmail.com, 43948@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: rms@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] Emacs commands should be compatible across operating systems. We should not vary the meanings of text editing commands based on platform. -- Dr Richard Stallman Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 13 03:06:10 2020 Received: (at 43948) by debbugs.gnu.org; 13 Nov 2020 08:06:10 +0000 Received: from localhost ([127.0.0.1]:46567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdU5x-0005Ep-VO for submit@debbugs.gnu.org; Fri, 13 Nov 2020 03:06:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdU5w-0005Ea-2j for 43948@debbugs.gnu.org; Fri, 13 Nov 2020 03:06:08 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43057) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kdU5o-0006hi-ME; Fri, 13 Nov 2020 03:06:01 -0500 Received: from [176.228.60.248] (port=4654 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kdU5o-0003f8-19; Fri, 13 Nov 2020 03:06:00 -0500 Date: Fri, 13 Nov 2020 10:05:44 +0200 Message-Id: <83d00hy947.fsf@gnu.org> From: Eli Zaretskii To: Andrii Kolomoiets In-Reply-To: (message from Andrii Kolomoiets on Fri, 13 Nov 2020 01:20:36 +0200) Subject: Re: bug#43948: 28.0.50; [PATHC][NS] Make s- to move to beginning/end of line References: <69363AFC-A591-4790-A359-A56E4CD828C1@icloud.com> <83a6vmzlkd.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43948 Cc: alan@idiocy.org, tsuucat@icloud.com, 43948@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Andrii Kolomoiets > Cc: tsuucat@icloud.com, alan@idiocy.org, 43948@debbugs.gnu.org > Date: Fri, 13 Nov 2020 01:20:36 +0200 > > Eli Zaretskii writes: > > >> 2. M-: (set-frame-width nil 50) > >> 3. M-< > >> 4. M-x end-of-visual-line > >> The point moved to the beginning of the next visual line > > > > What else did you expect, in a continued line? There's no place to > > show the cursor except at the beginning of the next screen line. > > Well, sometimes the cursor is on the fringe. Can't be done in this case, because the fringe is "taken" by the continuation bitmap. > With "bar" cursor type this leads to interesting behavior: > emacs -Q > M-: (set-frame-width nil 70) > M-: (setq cursor-type 'bar) > > Now it's easy to place the cursor after the "." on the first line: > M-< C-e > But it is not possible to place the cursor after last "e" on the second > line. > > IIRC it's because the cursor is actually "on" some character and not > "before" or "after" it. Technically, because we decide where to place the cursor before we know what is the shape of the cursor. And yes, we draw the cursor inside a certain character cell (because that's what users generally expect). > And at the end of the first line the cursor is on the "new line" > character. Right. > I didn't mean to say the behavior of the 'end-of-visual-line' function > is wrong. I tried to say that behavior of the 'end-of-visual-line' > function outside the 'visual-line-mode' can be surprising for the users > who press Command- to go to the end of the line. Agreed. From unknown Sat Aug 16 21:11:24 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 11 Dec 2020 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator