From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrii Kolomoiets Newsgroups: gmane.emacs.bugs Subject: bug#43948: 28.0.50; [PATHC][NS] Make s- to move to beginning/end of line Date: Thu, 12 Nov 2020 11:06:02 +0200 Message-ID: References: <69363AFC-A591-4790-A359-A56E4CD828C1@icloud.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="664"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: Alan Third , 43948@debbugs.gnu.org To: tsuucat Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 12 10:07:22 2020 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 1kd8Zc-000AaH-KA for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Nov 2020 10:07:20 +0100 Original-Received: from localhost ([::1]:48898 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kd8Zb-0003mO-HC for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Nov 2020 04:07:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46204) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kd8ZK-0003lG-N3 for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2020 04:07:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60287) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kd8ZJ-0001jB-Vw for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2020 04:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kd8ZJ-0006zK-QQ for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2020 04:07:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrii Kolomoiets Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Nov 2020 09:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43948 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 43948-submit@debbugs.gnu.org id=B43948.160517197826809 (code B ref 43948); Thu, 12 Nov 2020 09:07:01 +0000 Original-Received: (at 43948) by debbugs.gnu.org; 12 Nov 2020 09:06:18 +0000 Original-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 Original-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 Original-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) Original-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) In-Reply-To: <69363AFC-A591-4790-A359-A56E4CD828C1@icloud.com> (tsuucat@icloud.com's message of "Thu, 12 Nov 2020 13:52:59 +0900") 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:193146 Archived-At: 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.