From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: tsuucat via "Bug reports for GNU Emacs, the Swiss army knife of text editors" 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 19:04:33 +0900 Message-ID: <9F91E440-3957-41F8-BBC7-6EDE13269D9D@icloud.com> References: <69363AFC-A591-4790-A359-A56E4CD828C1@icloud.com> Reply-To: tsuucat Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) 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="20367"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Alan Third , 43948@debbugs.gnu.org To: Andrii Kolomoiets Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 12 11:05:12 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 1kd9Tb-0005BS-1e for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Nov 2020 11:05:11 +0100 Original-Received: from localhost ([::1]:39710 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kd9TZ-0002QX-U0 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Nov 2020 05:05:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59908) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kd9TT-0002QO-29 for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2020 05:05:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60423) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kd9TS-0005re-ND for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2020 05:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kd9TS-0008RE-H2 for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2020 05:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: tsuucat Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Nov 2020 10:05:02 +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.160517548632396 (code B ref 43948); Thu, 12 Nov 2020 10:05:02 +0000 Original-Received: (at 43948) by debbugs.gnu.org; 12 Nov 2020 10:04:46 +0000 Original-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 Original-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== Original-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) In-Reply-To: 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-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:193148 Archived-At: > 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=