GNU bug report logs - #6950
Invisible parts and editing - reveal them?

Previous Next

Package: emacs;

Reported by: Lennart Borgman <lennart.borgman <at> gmail.com>

Date: Mon, 30 Aug 2010 18:08:02 UTC

Severity: wishlist

Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6950 in the body.
You can then email your comments to 6950 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6950; Package emacs. (Mon, 30 Aug 2010 18:08:02 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. (Mon, 30 Aug 2010 18:08:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Emacs Bugs <bug-gnu-emacs <at> gnu.org>
Subject: Invisible parts and editing - reveal them?
Date: Mon, 30 Aug 2010 20:08:22 +0200
In reveal-mode hidden parts gets shown when you found a hit there with
isearch. That is very useful.

However when you edit such parts they normally do not get visible even
if reveal-mode is on. This is a problem for example if you are using
viper and do "o" to open a new line below the current line when the
lines below are hidden. (I am sure there are other examples with
default Emacs commands. Please give examples.)

This hits quite often in org-mode.

Could we please add some mechanism to show the point when this happen?




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6950; Package emacs. (Tue, 31 Aug 2010 10:13:01 GMT) Full text and rfc822 format available.

Message #8 received at 6950 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Lennart Borgman <lennart.borgman <at> gmail.com>
Cc: 6950 <at> debbugs.gnu.org
Subject: Re: bug#6950: Invisible parts and editing - reveal them?
Date: Tue, 31 Aug 2010 10:07:43 +0200
> However when you edit such parts they normally do not get visible even
> if reveal-mode is on.

reveal-mode should unhide the text, assuming that point is within it.

> This is a problem for example if you are using viper and do "o" to
> open a new line below the current line when the lines below
> are hidden.

Can you provide a recipe to reproduce the problem?

> Could we please add some mechanism to show the point when this happen?

That's what reveal-mode does, normally.


        Stefan




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6950; Package emacs. (Wed, 01 Sep 2010 11:28:02 GMT) Full text and rfc822 format available.

Message #11 received at 6950 <at> debbugs.gnu.org (full text, mbox):

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 6950 <at> debbugs.gnu.org
Subject: Re: bug#6950: Invisible parts and editing - reveal them?
Date: Wed, 1 Sep 2010 13:28:51 +0200
On Tue, Aug 31, 2010 at 10:07 AM, Stefan Monnier
<monnier <at> iro.umontreal.ca> wrote:
>> However when you edit such parts they normally do not get visible even
>> if reveal-mode is on.
>
> reveal-mode should unhide the text, assuming that point is within it.

Eh, sorry, you are right. reveal-mode takes care of this. I thought I
had it on, but for some reason I had commented it out.

I think I got confused by the similar mechanism in isearch that is on
by default. That it is on by default seems good. What is the reason
reveal-mode is not on by default? (I have a feeling there was some
small problem, but I can't remember now.)




Reply sent to Stefan Monnier <monnier <at> IRO.UMontreal.CA>:
You have taken responsibility. (Thu, 02 Sep 2010 15:49:02 GMT) Full text and rfc822 format available.

Notification sent to Lennart Borgman <lennart.borgman <at> gmail.com>:
bug acknowledged by developer. (Thu, 02 Sep 2010 15:49:02 GMT) Full text and rfc822 format available.

Message #16 received at 6950-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Lennart Borgman <lennart.borgman <at> gmail.com>
Subject: Re: bug#6950: Invisible parts and editing - reveal them?
Date: Thu, 02 Sep 2010 13:00:37 +0200
> Eh, sorry, you are right. reveal-mode takes care of this. I thought I
> had it on, but for some reason I had commented it out.

Good, so I can close the bug.

> by default. That it is on by default seems good. What is the reason
> reveal-mode is not on by default? (I have a feeling there was some
> small problem, but I can't remember now.)

I suspect it could take some more work to make it robust enough to be ON
by default.  But I encourage everyone to (global-reveal-mode 1) in their
.emacs and post patches for the problems they encounter.


        Stefan




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 01 Oct 2010 11:24:03 GMT) Full text and rfc822 format available.

Added tag(s) notabug. Request was from Jim Meyering <jim <at> meyering.net> to control <at> debbugs.gnu.org. (Sat, 27 Aug 2011 21:19:02 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 16 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.