help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hiding text


From: Matthew Flaschen
Subject: Re: Hiding text
Date: Fri, 16 Feb 2007 22:24:35 -0500
User-agent: Thunderbird 1.5.0.9 (X11/20070104)

Matthew Flaschen wrote:
> thorne wrote:
>> I tried doing this with font-lock, and was able to do everything i
>> wanted, except that the underscores--which i make invisible--leave a
>> blank space instead of completely disappearing.
>>
>> So, maybe a more focused version of my question would be: is there a
>> way to selectively hide strings of text in a buffer such that they
>> still exist if you kill the region they are in and yank it somewhere
>> else?
> 
> Try facemenu-set-invisible .  I found that by running C-h a (apropos)
> invisible (People were discussing invisible text a few weeks ago).

Also, you should probably use facemenu-set-intangible.  Otherwise, the
text won't be there, but the cursor will still "pause" as you move past
it.  There's probably a way to set both these properties at once.

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]