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: Fri, 22 Jan 2021 12:55:16 -0500 Message-ID: References: <7j8u467a11.fsf@fencepost.gnu.org> <877do66xft.fsf_-_@gnus.org> <874kj83mz9.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="27275"; 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 Fri Jan 22 18:58:40 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 1l30hk-00070R-D3 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Jan 2021 18:58:40 +0100 Original-Received: from localhost ([::1]:40902 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l30hj-0005tb-8y for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Jan 2021 12:58:39 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52668) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l30fC-0003dY-Hy for bug-gnu-emacs@gnu.org; Fri, 22 Jan 2021 12:56:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49661) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l30fC-0007At-9T for bug-gnu-emacs@gnu.org; Fri, 22 Jan 2021 12:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l30fC-00030H-70 for bug-gnu-emacs@gnu.org; Fri, 22 Jan 2021 12:56: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: Fri, 22 Jan 2021 17:56: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.161133812811503 (code B ref 22299); Fri, 22 Jan 2021 17:56:02 +0000 Original-Received: (at 22299) by debbugs.gnu.org; 22 Jan 2021 17:55:28 +0000 Original-Received: from localhost ([127.0.0.1]:32974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l30ee-0002zS-B9 for submit@debbugs.gnu.org; Fri, 22 Jan 2021 12:55:28 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:19357) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l30ea-0002zE-Gi for 22299@debbugs.gnu.org; Fri, 22 Jan 2021 12:55:26 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id EF40810025D; Fri, 22 Jan 2021 12:55:18 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 978721000DA; Fri, 22 Jan 2021 12:55:17 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1611338117; bh=SPhMD6YxfBCObD0TR9bF+aHJsZBK1JUP7oD9RQAaiaE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=ajg0sAoj7rjqdyDJn6JSnVjZcNcjhXRqY6VQQ4i7phTqoYQ/uH9KnhEmnUbo1hzL5 2/eNB1wEv9u8hluJeNv17QQHYhWX3b2P0J6NO+eYcVxPUkIYWytlkgGJjWQj4RyrXw ixmDiYCwvtccgt87GaFAghkKvlLZQW5fvu1SIlRnm+6k6PUzlynsD4SKThjEfM8GwQ k8Tx2wEh1qjaatV3ADx96cAkomdGdV5BMMJmWc1AItMaHksafO06UMMDzPuVSszoYx 2MdCBpp55fxugIMTsS0ZYRn246dVn77ha/DB8jQ/Mcy7YSbnwwd41AOx/VpSZZ99sP XqQ4WpvWRt15A== Original-Received: from alfajor (65-110-220-188.cpe.pppoe.ca [65.110.220.188]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 608411204EA; Fri, 22 Jan 2021 12:55:17 -0500 (EST) In-Reply-To: <874kj83mz9.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 22 Jan 2021 18:22:50 +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:198382 Archived-At: >> 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). > Right. So if we don't want to obsolete the other form (and Eli says he > uses it all the time, so it doesn't sound like we want to), then I guess > there's nothing more to be done here? So I'm closing this bug report. We could try and re-implement `set-selective-display` using overlays, of course. And we could try and provide some other "text hiding" package more specifically tailored to Eli's uses. But really, I don't mind the `set-selective-display` feature now how it's currently implemented, so I don't see a strong need to replace/obsolete it. The "selective-display == t" case is the one I care about because it causes (well, "caused" since we started to drop that kind of compatibility code) complexity in packages which had to deal with "end of line can also be \r". Stefan