From: Eli Zaretskii <eliz@gnu.org>
To: Andrii Kolomoiets <andreyk.mad@gmail.com>
Cc: alan@idiocy.org, tsuucat@icloud.com, 43948@debbugs.gnu.org
Subject: bug#43948: 28.0.50; [PATHC][NS] Make s-<left/right> to move to beginning/end of line
Date: Fri, 13 Nov 2020 10:05:44 +0200 [thread overview]
Message-ID: <83d00hy947.fsf@gnu.org> (raw)
In-Reply-To: <m2r1oyxiuz.fsf@gmail.com> (message from Andrii Kolomoiets on Fri, 13 Nov 2020 01:20:36 +0200)
> From: Andrii Kolomoiets <andreyk.mad@gmail.com>
> Cc: tsuucat@icloud.com, alan@idiocy.org, 43948@debbugs.gnu.org
> Date: Fri, 13 Nov 2020 01:20:36 +0200
>
> Eli Zaretskii <eliz@gnu.org> 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-<Right Arrow> to go to the end of the line.
Agreed.
next prev parent reply other threads:[~2020-11-13 8:05 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
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 [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83d00hy947.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=43948@debbugs.gnu.org \
--cc=alan@idiocy.org \
--cc=andreyk.mad@gmail.com \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.