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 11:06:19 -0500 Message-ID: References: <48E90990.1020101@gmail.com> <83k2nqadd0.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1451837240 5712 80.91.229.3 (3 Jan 2016 16:07:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Jan 2016 16:07:20 +0000 (UTC) Cc: ahyatt@gmail.com, 1092@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 03 17:07:09 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 1aFlBV-0001Az-6O for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jan 2016 17:07:09 +0100 Original-Received: from localhost ([::1]:42098 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFlBU-0008HV-KC for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jan 2016 11:07:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFlBR-0008HC-6r for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2016 11:07:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aFlBN-0002lN-W0 for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2016 11:07:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48588) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFlBN-0002lJ-SC for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2016 11:07:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aFlBN-0007Sv-Ku for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2016 11:07:01 -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 16:07:01 +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.145183718728652 (code B ref 1092); Sun, 03 Jan 2016 16:07:01 +0000 Original-Received: (at 1092) by debbugs.gnu.org; 3 Jan 2016 16:06:27 +0000 Original-Received: from localhost ([127.0.0.1]:36808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aFlAp-0007S3-DG for submit@debbugs.gnu.org; Sun, 03 Jan 2016 11:06:27 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:48111) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aFlAm-0007Ru-Bs for 1092@debbugs.gnu.org; Sun, 03 Jan 2016 11:06:25 -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 u03G6Kg1009619; Sun, 3 Jan 2016 11:06:21 -0500 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id C2104AE310; Sun, 3 Jan 2016 11:06:19 -0500 (EST) In-Reply-To: <83k2nqadd0.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 03 Jan 2016 17:31:39 +0200") 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 RV5539=0 X-NAI-Spam-Version: 2.3.0.9418 : core <5539> : inlines <4174> : streams <1564819> : uri <2113495> 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:111152 Archived-At: >> 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. > Why is that a problem? It's not a problem in itself, no. But it means that if you want to obsolete only one of the two uses, you can't just mark the variable as obsolete. > I wish every rarely used display feature was so lightweight as > selective-display. It's not lightweight on the Elisp side where you need to add a lot of extra code in ever more places to handle the special meaning of \r in that rare case. > Anyway, I don't see how this report of a minor bug should trigger such > far-reaching conclusions. It took me all of 5 minutes to fix it; we > should have done this 7 years ago. I'm sorry we didn't, but better > late than never. I think the fix is worse than the problem, personally. Stefan