GNU bug report logs - #26242
25.1; `dired-shrink-to-fit' warning

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Fri, 24 Mar 2017 18:11:01 UTC

Severity: wishlist

Tags: notabug

Found in version 25.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 26242 <at> debbugs.gnu.org
Subject: bug#26242: 25.1; `dired-shrink-to-fit' warning
Date: Wed, 12 Jun 2019 17:08:20 +0200
Drew Adams <drew.adams <at> oracle.com> writes:

> If code uses variable `dired-shrink-to-fit', this is the byte-compiler
> warning you get:
>
> Warning: ‘dired-shrink-to-fit’ is an obsolete variable (as of 24.3); use the Customization interface to add a new rule
> to ‘display-buffer-alist’ where condition regexp is "^ \*Marked Files\*$",
> action argument symbol is ‘window-height’ and its value is nil.

[...]

> What on Earth is the point of the convoluted recipe given in that
> warning?

Because the variable is going away and if somebody had a customisation
for that, it's nice to let them know how to change it.  But it seems
unlikely that anybody would change that variable, as both you and the
comments point out.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

Previous Next


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