emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hiding lines


From: Werner LEMBERG
Subject: Re: hiding lines
Date: Mon, 06 Apr 2009 08:11:23 +0200 (CEST)

> Basically:
> - `invisible' means "not displayed".
> - `intangible' means "can't put point in it (if you try, point will
>   be put at the beginning or the end of the intangible text).
> Not being able to put point in a piece of text has far reaching
> consequences, e.g. (/= (1+ (point)) (save-excursion (forward-char 1)
> (point))) so it tends to introduce bugs in all kinds of places.

However, I think this is exactly what I need -- thanks, Alan, for the
first try!

Consider this table:

  foo
  bar
  foo=bar
  bar-foo
  baz
  baz=baz
  baz-foo=baz

I would like to make all lines invisable *and* intangible which don't
contain a `='.  Otherwise interactive search-and-replace would try to
modify invisible text.  At least this is my conclusion of your
explanations.


    Werner




reply via email to

[Prev in Thread] Current Thread [Next in Thread]