GNU bug report logs - #32351
assq_no_quit: circular loop (default, line-number, line-number-current-line)

Previous Next

Package: emacs;

Reported by: Keith David Bershatsky <esq <at> lawlist.com>

Date: Fri, 3 Aug 2018 02:11:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 32351 <at> debbugs.gnu.org (full text, mbox):

From: Keith David Bershatsky <esq <at> lawlist.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 32351 <at> debbugs.gnu.org
Subject: Re: 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 --with-ns.

(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))




This bug report was last modified 6 years and 267 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.