From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#7726: reveal-mode bypassed by compile-goto-error Date: Mon, 24 Jan 2011 02:00:19 +0100 Message-ID: References: <87vd2jb5e2.fsf@tux.homenetwork> <87vd1gbiwt.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1295832460 11255 80.91.229.12 (24 Jan 2011 01:27:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 24 Jan 2011 01:27:40 +0000 (UTC) Cc: Chong Yidong , 7726@debbugs.gnu.org, Thierry Volpiatto To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 24 02:27:35 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PhBDT-0001X5-Bl for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Jan 2011 02:27:35 +0100 Original-Received: from localhost ([127.0.0.1]:45018 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PhBDS-0007AV-Q0 for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 Jan 2011 20:27:34 -0500 Original-Received: from [140.186.70.92] (port=39204 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PhBB6-0005jr-Pi for bug-gnu-emacs@gnu.org; Sun, 23 Jan 2011 20:25:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PhBB2-0008Sb-1r for bug-gnu-emacs@gnu.org; Sun, 23 Jan 2011 20:25:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46800) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PhBB1-0008SX-VM for bug-gnu-emacs@gnu.org; Sun, 23 Jan 2011 20:25:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PhAg1-0006Zk-Ly; Sun, 23 Jan 2011 19:53:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Jan 2011 00:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7726 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7726-submit@debbugs.gnu.org id=B7726.129583036225249 (code B ref 7726); Mon, 24 Jan 2011 00:53:01 +0000 Original-Received: (at 7726) by debbugs.gnu.org; 24 Jan 2011 00:52:42 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PhAfi-0006ZB-JV for submit@debbugs.gnu.org; Sun, 23 Jan 2011 19:52:42 -0500 Original-Received: from mail-ey0-f172.google.com ([209.85.215.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PhAfg-0006Yy-9v for 7726@debbugs.gnu.org; Sun, 23 Jan 2011 19:52:40 -0500 Original-Received: by eyd10 with SMTP id 10so1823211eyd.3 for <7726@debbugs.gnu.org>; Sun, 23 Jan 2011 17:00:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=QqqQcnBjr42iGy2fd5tRR9oxEYbl33hmQNSEWFlXL0E=; b=w2CTwymPJK/5K93mfnbcB2s53+grsylsuDYH8IkFIbePmjeYFwY4QhMLeD6cDgHE9L vALxrSKVryTO89L9nWXwnzY5Fq1vvQiK2E2wHUZw6+Kf48ztqURTZcS0/bylUBiLQICa 2gzHLEvNvkQ5JgCLRI0NBBhJ7uANSVzuDQDbE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=NiHRb4mOwVYDkvP8DQselO9JUjhffkhIkp4EsGbsOa7vpaE7jGanee20ArlNQeyrRp z75WwlLITJ5tNN/73McnwjKs4cM4MdxYiEwSsRmxP47lSI/WYvQywZDwVXTciSdoNqb6 X2k0Mtj5urzGpyXJX/e1RIGH4x/tMGA1KEPf8= Original-Received: by 10.213.33.17 with SMTP id f17mr4125170ebd.6.1295830840028; Sun, 23 Jan 2011 17:00:40 -0800 (PST) Original-Received: by 10.213.20.148 with HTTP; Sun, 23 Jan 2011 17:00:19 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 23 Jan 2011 19:53:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:43580 Archived-At: On Mon, Jan 24, 2011 at 1:50 AM, Stefan Monnier wrote: >>>> If I use compile-goto-error from a grep-mode buffer to a org-mode >>>> buffer where the destination line is in a hidden outline then the >>>> outline will not be revealed until after next command. >>> also, goto-line is unable to reach line in an outline based buffer. >>> See in anything and ioccur, it is fixed for org-mode and >>> outline-minor-mode. >>> Is there other modes based on outline to handle? >> Anyone have a test case? > > I think the problem is that reveal-mode runs from post-command-hook and > reveals what's in the buffer that's current when post-command-hook is > run, whereas in the above cases, the buffer that needs revealing is not > current at that point. > That's one of the cases where we could use something like > a "pre-redisplay-hook". Isn't it more like post-post-command-hook? (Didn't I take up such a problem with cua-mode long ago? But at the moment I can't remember what it was.)