[Top][All Lists]

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

bug#32351: assq_no_quit: circular loop (default, line-number, line-numbe

From: Keith David Bershatsky
Subject: bug#32351: assq_no_quit: circular loop (default, line-number, line-number-current-line)
Date: Sun, 12 Aug 2018 18:36:02 -0700

The preceding post to issue #32351 contains a proposed solution, which appears 
to resolve the issue.

Here is the Emacs -Q recipe (to create the infinite redisplay loop) for both 
Emacs master branch and also Emacs 26.  Tested on Emacs GUI versions built 

(let ((buffer-one (get-buffer-create "*ONE*"))
      (buffer-two (get-buffer-create "*TWO*"))
      (alist (list (cons 'window-width (- (window-width) 5))))
      (window (split-window (selected-window) nil 'right)))
    (with-current-buffer buffer-one
      (set (make-local-variable 'truncate-partial-width-windows) nil)
      (dotimes (i 200)
        (insert-char 9786 10)
        (insert-char 10 1))
      (setq display-line-numbers t))
    (with-current-buffer buffer-two
      (dotimes (i 200)
        (insert-char 9786 80)
        (insert-char 10 1)))
    (set-window-buffer (selected-window) buffer-one)
    (window--display-buffer buffer-two window 'window alist nil))

reply via email to

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