From: thorne <thorne@timbral.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Hiding text
Date: Fri, 16 Feb 2007 21:28:16 -0800 [thread overview]
Message-ID: <m3ire1nyj3.fsf@timbral.net> (raw)
In-Reply-To: mailman.4638.1171682684.2155.help-gnu-emacs@gnu.org
Matthew Flaschen <matthew.flaschen@gatech.edu> writes:
> Matthew Flaschen wrote:
>> 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.
Interestingly, it does not seem to have that effect on my emacs
(23.0.51). When i type over text made invisible, point just acts like
there's nothing there--which is actually unfortunate (for me in this
narrow case) because it means you can't get rid of it as simply as
deleting a character. I was hoping to find a way to make it as easy
as just typing along and going `_' `f' `o' `o' `_' and having it do
its thing, underlining `foo' as soon as you hit the last `_'. And
being reversible just by deleting the `_'.
Failing that, the way enriched-mode does it would be fine, but i guess
i am going to have to look at the code to try to see if it is possible
to have enriched mode not do pretty much everything else it does.
Hmmm...
Ito would be nice if there was a way to do it with font lock, as in
`font-lock-almost-nonexistent-face' :)
--
þ theron tlax þ
next prev parent reply other threads:[~2007-02-17 5:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-17 3:03 Hiding text thorne
2007-02-17 3:21 ` Matthew Flaschen
2007-02-17 3:24 ` Matthew Flaschen
[not found] ` <mailman.4638.1171682684.2155.help-gnu-emacs@gnu.org>
2007-02-17 5:28 ` thorne [this message]
2007-02-17 4:56 ` Stefan Monnier
2007-02-17 5:48 ` thorne
2007-02-17 6:34 ` Matthew Flaschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3ire1nyj3.fsf@timbral.net \
--to=thorne@timbral.net \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).