bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#66764: 29.1; Emacs scrolls for "(goto-char (point-max))" instead of


From: Geza Herman
Subject: bug#66764: 29.1; Emacs scrolls for "(goto-char (point-max))" instead of jumping
Date: Sat, 28 Oct 2023 03:15:00 +0200
User-agent: Mozilla Thunderbird


On 10/27/23 12:43, Eli Zaretskii wrote:

Please do try to come up with a recipe.

Uncompress the attached file, and "emacs -Q x.txt"

Then, M-:, and insert this:

    (progn
      (setq scroll-conservatively 101)
      (font-lock-add-keywords nil '(((lambda (bound)) (1 'error prepend t))) t)
      (setq auto-hscroll-mode 'current-line)
      (setq truncate-lines t)
      (goto-char (point-max)))

Emacs will stop at line 19232 (point 3323065), but the file has 48263 lines.

As it turned out, this uses a rarely used configuration setting (auto-hscroll-mode set to current-line), so this issue is not a big deal I suppose.

Attachment: x.txt.bz2
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]