GNU bug report logs - #22299
Obsolete selective-display

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Sun, 3 Jan 2016 19:13:02 UTC

Severity: wishlist

Found in version 25.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Glenn Morris <rgm <at> gnu.org>, 22299 <at> debbugs.gnu.org
Subject: Re: bug#22299: Obsolete selective-display
Date: Thu, 21 Jan 2021 12:14:46 -0500
>> Perhaps this is done as of 2f50a99 and similar.
> The `selective-display' variable isn't marked as deprecated, though, and
> is used throughout Emacs...

I don't think it's *used* throughout.  AFAIK it's *obeyed* at many
places, in case someone still uses it (it's obsolete, not removed).
If you spot an actual use, please report it as a bug.

> should it be marked as such?  And the usages either removed (from the
> callers) or warnings suppressed (in simple.el etc).

The problem is that the var has 2 uses:
- one is the obsolete value `t` whereby \r.* is hidden
- the other is when it's set to an integer N whereby it hides lines with
  a deeper indentation than N.

The second one is a UI functionality and it's sufficiently "not terribly
useful" that nobody bothered to write a replacement for it using
overlays (instead, all the possible replacements provide a more tailored
functionality).


        Stefan





This bug report was last modified 4 years and 125 days ago.

Previous Next


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