From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#1092: compilation-goto-error goes to wrong location when buffer has hidden regions Date: Sun, 03 Jan 2016 01:22:31 -0500 Message-ID: References: <48E90990.1020101@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1451802201 14214 80.91.229.3 (3 Jan 2016 06:23:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Jan 2016 06:23:21 +0000 (UTC) Cc: 1092@debbugs.gnu.org To: Andrew Hyatt Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 03 07:23:10 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aFc4M-0008DI-2T for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jan 2016 07:23:10 +0100 Original-Received: from localhost ([::1]:40580 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFc4K-0006Wx-SN for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jan 2016 01:23:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36463) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFc4H-0006Wk-U6 for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2016 01:23:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aFc4E-0005QA-O3 for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2016 01:23:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47548) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFc4E-0005Q6-KV for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2016 01:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aFc4E-0008K3-EE for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2016 01:23: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: Sun, 03 Jan 2016 06:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 1092 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 1092-submit@debbugs.gnu.org id=B1092.145180215931948 (code B ref 1092); Sun, 03 Jan 2016 06:23:02 +0000 Original-Received: (at 1092) by debbugs.gnu.org; 3 Jan 2016 06:22:39 +0000 Original-Received: from localhost ([127.0.0.1]:35768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aFc3r-0008JE-6g for submit@debbugs.gnu.org; Sun, 03 Jan 2016 01:22:39 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:41573) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aFc3o-0008J1-P3 for 1092@debbugs.gnu.org; Sun, 03 Jan 2016 01:22:38 -0500 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id u036MWL1012274; Sun, 3 Jan 2016 01:22:33 -0500 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id AD615AE310; Sun, 3 Jan 2016 01:22:31 -0500 (EST) In-Reply-To: (Andrew Hyatt's message of "Sat, 02 Jan 2016 16:43:00 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5538=0 X-NAI-Spam-Version: 2.3.0.9418 : core <5538> : inlines <4174> : streams <1564604> : uri <2113290> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:111133 Archived-At: > I'd agree that either selective-display should be marked as deprecated, > or the problem should be fixed. I don't know what the status of > selective-display is, though - it might be worth bringing this up in > emacs-devel. There are several problems with selective-display: - first and foremost, the variable provides 2 different features: - when set to t, it makes CR behave specially (it's a special line-separator that makes the next line invisible). - when set to a number, it makes all lines indented deeper than this number invisible. - The first use should be declared obsolete because overlays provide a much better way to do the same thing. There might still be a few packages out there using this old selective-display thingy but they really need to move on. - The second use should be replaced by a minor mode which provides the same feature using overlays, but nobody bothered to do so. Maybe because this second use is very rarely useful at all. So maybe this second use should be just dropped (i.e. made obsolete without providing an alternative). -- Stefan