From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matthew Flaschen Newsgroups: gmane.emacs.help Subject: Re: Hiding text Date: Fri, 16 Feb 2007 22:24:35 -0500 Message-ID: <45D67573.8010107@gatech.edu> References: <45D674C0.7070709@gatech.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0360887795==" X-Trace: sea.gmane.org 1171682703 11352 80.91.229.12 (17 Feb 2007 03:25:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 17 Feb 2007 03:25:03 +0000 (UTC) To: Matthew Flaschen , emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 17 04:24:56 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HIGC0-0007a2-DH for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Feb 2007 04:24:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HIGBz-0003lb-T3 for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Feb 2007 22:24:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HIGBl-0003lW-Ti for help-gnu-emacs@gnu.org; Fri, 16 Feb 2007 22:24:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HIGBj-0003lK-EK for help-gnu-emacs@gnu.org; Fri, 16 Feb 2007 22:24:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HIGBj-0003lH-96 for help-gnu-emacs@gnu.org; Fri, 16 Feb 2007 22:24:39 -0500 Original-Received: from deliverator5.gatech.edu ([130.207.165.165]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1HIGBi-0005CW-VM for help-gnu-emacs@gnu.org; Fri, 16 Feb 2007 22:24:39 -0500 Original-Received: from deliverator5.gatech.edu (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 0BC161D19ED for ; Fri, 16 Feb 2007 22:24:38 -0500 (EST) (envelope-from matthew.flaschen@gatech.edu) Original-Received: from mailprx1.gatech.edu (mailprx1.prism.gatech.edu [130.207.171.15]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "smtp.mail.gatech.edu", Issuer "RSA Data Security, Inc." (verified OK)) by deliverator5.gatech.edu (Postfix) with ESMTP id CBF931D199C; Fri, 16 Feb 2007 22:24:36 -0500 (EST) (envelope-from matthew.flaschen@gatech.edu) Original-Received: from [128.61.73.81] (r73h81.res.gatech.edu [128.61.73.81]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (sasl: method=PLAIN, username=mflaschen3@mailprx1.gatech.edu, sender=n/a) by mailprx1.gatech.edu (Postfix) with ESMTP id 48E3D26EC; Fri, 16 Feb 2007 22:24:36 -0500 (EST) (envelope-from matthew.flaschen@gatech.edu) User-Agent: Thunderbird 1.5.0.9 (X11/20070104) In-Reply-To: <45D674C0.7070709@gatech.edu> X-Enigmail-Version: 0.94.1.2 X-detected-kernel: Solaris 9 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41272 Archived-At: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============0360887795== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig75BB3BD355B546DF2732DB41" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig75BB3BD355B546DF2732DB41 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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? >=20 > 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. --------------enig75BB3BD355B546DF2732DB41 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF1nVzQ5LSyju97VkRAk9DAJ0RVwvC0Lz4RTtctgX5MBQ5u3wt0QCgkOQA qasT+YRE51HIlZExty9/NZI= =bn7/ -----END PGP SIGNATURE----- --------------enig75BB3BD355B546DF2732DB41-- --===============0360887795== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-gnu-emacs mailing list help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============0360887795==--