all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Matthew Flaschen <matthew.flaschen@gatech.edu>
To: Matthew Flaschen <matthew.flaschen@gatech.edu>,
	emacs <help-gnu-emacs@gnu.org>
Subject: Re: Hiding text
Date: Fri, 16 Feb 2007 22:24:35 -0500	[thread overview]
Message-ID: <45D67573.8010107@gatech.edu> (raw)
In-Reply-To: <45D674C0.7070709@gatech.edu>


[-- Attachment #1.1: Type: text/plain, Size: 832 bytes --]

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 #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

  reply	other threads:[~2007-02-17  3:24 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 [this message]
     [not found]   ` <mailman.4638.1171682684.2155.help-gnu-emacs@gnu.org>
2007-02-17  5:28     ` thorne
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45D67573.8010107@gatech.edu \
    --to=matthew.flaschen@gatech.edu \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.