From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#22299: Obsolete selective-display Date: Thu, 21 Jan 2021 12:14:46 -0500 Message-ID: References: <7j8u467a11.fsf@fencepost.gnu.org> <877do66xft.fsf_-_@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39226"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Glenn Morris , 22299@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 21 18:23:21 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l2dg1-000A4N-A8 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Jan 2021 18:23:21 +0100 Original-Received: from localhost ([::1]:59574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l2dg0-0001dV-Bu for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Jan 2021 12:23:20 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2dXy-00028m-Rm for bug-gnu-emacs@gnu.org; Thu, 21 Jan 2021 12:15:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47702) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l2dXy-0006C6-Ii for bug-gnu-emacs@gnu.org; Thu, 21 Jan 2021 12:15:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l2dXy-0006gm-DR for bug-gnu-emacs@gnu.org; Thu, 21 Jan 2021 12:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Jan 2021 17:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22299 X-GNU-PR-Package: emacs Original-Received: via spool by 22299-submit@debbugs.gnu.org id=B22299.161124929525686 (code B ref 22299); Thu, 21 Jan 2021 17:15:02 +0000 Original-Received: (at 22299) by debbugs.gnu.org; 21 Jan 2021 17:14:55 +0000 Original-Received: from localhost ([127.0.0.1]:59248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2dXr-0006gE-Aq for submit@debbugs.gnu.org; Thu, 21 Jan 2021 12:14:55 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:24364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2dXq-0006g1-DN for 22299@debbugs.gnu.org; Thu, 21 Jan 2021 12:14:54 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id E7926440F2F; Thu, 21 Jan 2021 12:14:48 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 9A0B444030E; Thu, 21 Jan 2021 12:14:47 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1611249287; bh=xb4FRd/LJARmHFAnx2PiX61C+eSgdhu05YxyPxwPACI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=j7Focck/4snU98eWLOj27wEAFTYYT0KZxmRYH1um6SEpf7Y6sLFPWYO3diCpQ+E1r 2Oc73Q7u512pbYY1uxnvn0aU7g6dwQeSg48tgBMWqixOXv3GKTqgCeV6hJ6F1SGqUj 2oiQvQ2wwM8AWM+drPel0TE6VNsUHQodPxTDKm0VjHJdcG4z/H0rg/HB8q/LHlo1eB lry5QoxCROhQLr87Det2YV2YlBzPzFyvZe7l3ayCUqiCfTlWcBLFrCju0tyBIfAwQ3 kTpRN/h+TEXoLMxqNqV0FNLqrpvbubxUaAaQK/NW/DWn1m4ZNFmq86rrTaLpFSjx7n 5T36t0tTBp/Sg== Original-Received: from alfajor (unknown [45.72.224.181]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 1DD93120153; Thu, 21 Jan 2021 12:14:47 -0500 (EST) In-Reply-To: <877do66xft.fsf_-_@gnus.org> (Lars Ingebrigtsen's message of "Thu, 21 Jan 2021 17:56:22 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:198331 Archived-At: >> 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