GNU bug report logs -
#7726
reveal-mode bypassed by compile-goto-error
Previous Next
To reply to this bug, email your comments to 7726 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7726
; Package
emacs
.
(Fri, 24 Dec 2010 12:50:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Lennart Borgman <lennart.borgman <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 24 Dec 2010 12:50:04 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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.
GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) from trunk 2010-10-19 (patched)
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7726
; Package
emacs
.
(Fri, 24 Dec 2010 14:36:02 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
Lennart Borgman <lennart.borgman <at> gmail.com> writes:
> 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.
Indeed,
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?
--
A+ Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7726
; Package
emacs
.
(Sat, 22 Jan 2011 23:40:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 7726 <at> debbugs.gnu.org (full text, mbox):
Thierry Volpiatto <thierry.volpiatto <at> gmail.com> writes:
> Lennart Borgman <lennart.borgman <at> gmail.com> writes:
>
>> 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.
>
> Indeed,
>
> 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?
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7726
; Package
emacs
.
(Sun, 23 Jan 2011 01:53:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 7726 <at> debbugs.gnu.org (full text, mbox):
On Sun, Jan 23, 2011 at 12:47 AM, Chong Yidong <cyd <at> stupidchicken.com> wrote:
> Thierry Volpiatto <thierry.volpiatto <at> gmail.com> writes:
>
>> Lennart Borgman <lennart.borgman <at> gmail.com> writes:
>>
>>> 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.
>>
>> Indeed,
>>
>> 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?
Yes, but why do you want one? Is not the recipes we have given enough?
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7726
; Package
emacs
.
(Sun, 23 Jan 2011 07:12:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 7726 <at> debbugs.gnu.org (full text, mbox):
Chong Yidong <cyd <at> stupidchicken.com> writes:
> Thierry Volpiatto <thierry.volpiatto <at> gmail.com> writes:
>
>> Lennart Borgman <lennart.borgman <at> gmail.com> writes:
>>
>>> 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.
>>
>> Indeed,
>>
>> 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?
Switch to any org buffer, close all, and:
M-g g 20 RET
--
A+ Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7726
; Package
emacs
.
(Mon, 24 Jan 2011 00:43:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 7726 <at> debbugs.gnu.org (full text, mbox):
>>> 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".
Stefan
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7726
; Package
emacs
.
(Mon, 24 Jan 2011 00:53:01 GMT)
Full text and
rfc822 format available.
Message #23 received at 7726 <at> debbugs.gnu.org (full text, mbox):
On Mon, Jan 24, 2011 at 1:50 AM, Stefan Monnier
<monnier <at> iro.umontreal.ca> 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.)
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7726
; Package
emacs
.
(Mon, 24 Jan 2011 16:05:01 GMT)
Full text and
rfc822 format available.
Message #26 received at 7726 <at> debbugs.gnu.org (full text, mbox):
>>>>> 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?
No I really meant pre-redisplay-hook. I don't see why
post-post-command-hook would have anything to do with this problem.
E.g. I think a case that needs to work is when you're in the *compile*
buffer and select one entry to display the source but while staying in
the *compile* buffer: the current buffer before and after the command is
*compile*, so no amount of post/pre-command-hooks can tell you that some
other buffer needs revealing.
Stefan
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7726
; Package
emacs
.
(Mon, 24 Jan 2011 20:02:01 GMT)
Full text and
rfc822 format available.
Message #29 received at 7726 <at> debbugs.gnu.org (full text, mbox):
On Mon, Jan 24, 2011 at 5:12 PM, Stefan Monnier
<monnier <at> iro.umontreal.ca> 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?
>
> No I really meant pre-redisplay-hook. I don't see why
> post-post-command-hook would have anything to do with this problem.
> E.g. I think a case that needs to work is when you're in the *compile*
> buffer and select one entry to display the source but while staying in
> the *compile* buffer: the current buffer before and after the command is
> *compile*, so no amount of post/pre-command-hooks can tell you that some
> other buffer needs revealing.
Oh, I see.
And haven't we been discussing before that such a hook maybe could be
useful for cases where we now are using
window-configuration-change-hook?
This bug report was last modified 14 years and 142 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.