unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Josef Urban <urban@ktilinux.ms.mff.cuni.cz>
Subject: Re: Commenting invisible text
Date: Thu, 30 Sep 2004 21:44:33 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.33.0409302124140.17912-100000@ktilinux.ms.mff.cuni.cz> (raw)
In-Reply-To: <jwvfz4zslc6.fsf-monnier+emacs@gnu.org>

On Thu, 30 Sep 2004, Stefan Monnier wrote:

> > Does not work for me either. Did you try the example?
> 
> Which example?  I didn't see any example,

It is in my today's e-mail to which you have replied :-).
(progn
  (find-file "foo.el")
  (insert "a\nb\n\c\n")
  (put-text-property (point-min) (point-max) 'invisible t)
  (comment-region (point-min) (point-max)))

I have now tried with the Emacs-CVS version also the original problem 
with Hide/Show, and it really works properly. This probably means that 
commenting invisible overlays already works, but not invisible text 
properties. Is it the intended behavior?

Josef

  reply	other threads:[~2004-09-30 19:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-30  9:26 Commenting invisible text Josef Urban
2004-09-30 12:55 ` Stefan
2004-09-30 13:50   ` Josef Urban
2004-09-30 14:56     ` Stefan Monnier
2004-09-30 15:42       ` Josef Urban
2004-09-30 17:44         ` Stefan Monnier
2004-09-30 19:44           ` Josef Urban [this message]
2004-09-30 19:57             ` Stefan Monnier

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=Pine.LNX.4.33.0409302124140.17912-100000@ktilinux.ms.mff.cuni.cz \
    --to=urban@ktilinux.ms.mff.cuni.cz \
    /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 public inbox

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

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).