|
From: | Juri Linkov |
Subject: | bug#42862: 28.0.50; {previous,next}-line-or-history-element ignores line-move-visual |
Date: | Fri, 21 Aug 2020 02:22:08 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
tags 42862 fixed close 42862 28.0.50 thanks >>>> + (if (not line-move-visual) ; (bug#42862) >>>> + (goto-char (point-max)) >>> >>> I would recommend (end-of-line) instead, for when the prompt (in >>> history) is actually a multi-line prompt, otherwise it will fall prey to >>> the same problem that `end-of-visual-line' is attempting to solve here. >> >> Right, let's use `end-of-line' to move to the end of the first logical line. >> Thanks for your help. > > No problem. Now this is fixed by using end-of-line.
[Prev in Thread] | Current Thread | [Next in Thread] |