[Top][All Lists]

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

Re: [Emacs-diffs] master dfed333: Remove fixnum restriction on some disp

From: Paul Eggert
Subject: Re: [Emacs-diffs] master dfed333: Remove fixnum restriction on some display vars
Date: Fri, 24 May 2019 13:13:14 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0

On 5/24/19 7:32 AM, Stefan Monnier wrote:
My comment was specifically about buffer-display-count (which counts
a number of distinct heap objects).

Actually it counts the number of times a buffer has been displayed in the past.

Plus, if I execute (setq buffer-display-count most-positive-fixnum) and then display the buffer in a new window, I wouldn't want Emacs to crash (or to convey the existence of a supernatural power :-) simply because the counter was incremented.

While we're on the topic, how about if we deprecate/obsolete buffer-display-count? As far as I can tell it's never been used in Emacs, and is not used elsewhere. It was introduced in 1997 and was superseded in 1998 by buffer-display-time, and the rare code that worries about whether a buffer has been displayed (ibuffer-mark-old-buffers, clean-buffer-list) uses the newer variable.

reply via email to

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