unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andrii Kolomoiets <andreyk.mad@gmail.com>
To: tsuucat <tsuucat@icloud.com>
Cc: Alan Third <alan@idiocy.org>, 43948@debbugs.gnu.org
Subject: bug#43948: 28.0.50; [PATHC][NS] Make s-<left/right> to move to beginning/end of line
Date: Thu, 12 Nov 2020 11:06:02 +0200	[thread overview]
Message-ID: <m2ft5f54hx.fsf@gmail.com> (raw)
In-Reply-To: <69363AFC-A591-4790-A359-A56E4CD828C1@icloud.com> (tsuucat@icloud.com's message of "Thu, 12 Nov 2020 13:52:59 +0900")

tsuucat <tsuucat@icloud.com> writes:

> macOS’s 'Command-Left/Right Arrow’ is not same as 'Control-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-<right> 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.





  reply	other threads:[~2020-11-12  9:06 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-12 11:36 bug#43948: 28.0.50; [PATHC][NS] Make s-<left/right> to move to beginning/end of line Andrii Kolomoiets
2020-10-12 18:33 ` Alan Third
2020-10-13  6:48   ` Andrii Kolomoiets
2020-10-13 20:35     ` Alan Third
2020-10-12 22:38 ` Unknown
2020-10-13  7:57   ` Andrii Kolomoiets
2020-10-13 20:36     ` Alan Third
2020-10-14 10:15       ` Andrii Kolomoiets
2020-10-14 20:24         ` Alan Third
2020-10-14 20:48           ` Andrii Kolomoiets
2020-11-09 14:55             ` Alan Third
2020-10-20  9:55 ` bug#43948: 28.0.50; [PATCH][NS] " Mattias Engdegård
2020-10-20 12:33   ` Alan Third
2020-10-20 13:54     ` Mattias Engdegård
2020-10-20 16:06   ` Drew Adams
2020-11-12  4:52 ` bug#43948: 28.0.50; [PATHC][NS] " tsuucat via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-11-12  9:06   ` Andrii Kolomoiets [this message]
2020-11-12 10:04     ` tsuucat via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-11-12 14:39     ` Eli Zaretskii
2020-11-12 23:20       ` Andrii Kolomoiets
2020-11-13  8:05         ` Eli Zaretskii
2020-11-13  5:32   ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2ft5f54hx.fsf@gmail.com \
    --to=andreyk.mad@gmail.com \
    --cc=43948@debbugs.gnu.org \
    --cc=alan@idiocy.org \
    --cc=tsuucat@icloud.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).