unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: hide-region package and cperl
Date: Wed, 29 Mar 2006 00:18:19 -0500	[thread overview]
Message-ID: <87irpxg7ap.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: uu09qi5ax.fsf@e-last-minute.com

> when applying M-x hide-region-hide on a text in cperl-mode, I can see
> @[]@ tags arround the region, but the text remains visible.
> emacs-version is 21.3.1
> The function is ok with 22.0.50.1.

> Does anyone know the cause?

Yes: it uses the t value for its `invisible' property, but doesn't add it to
the buffer's invisibility spec.  As long as the invisibility spec is not
changed by any other major or minor mode, it works, but in general
it's incorrect.

Also I'd advise the package author not to use the `intangible' property,
since it tends to break other packages when they bump into it.


        Stefan

  parent reply	other threads:[~2006-03-29  5:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-22 20:37 hide-region package and cperl rahed
2006-03-23 12:09 ` Mathias Dahl
2006-03-23 12:59   ` rahed
     [not found]   ` <mailman.6.1143119835.9694.help-gnu-emacs@gnu.org>
2006-03-27  9:50     ` Mathias Dahl
2006-03-29  5:18 ` Stefan Monnier [this message]
2006-03-30  6:24   ` Mathias Dahl
  -- strict thread matches above, loose matches on Subject: below --
2006-03-22 13:44 rahed

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=87irpxg7ap.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    /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).