all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* invisible spec in elide-head
@ 2002-12-08 13:11 Matthias Meulien
  0 siblings, 0 replies; only message in thread
From: Matthias Meulien @ 2002-12-08 13:11 UTC (permalink / raw)


This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.2.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2002-06-28 on clarinde
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: fr_FR.ISO-8859-15
  value of $LC_CTYPE: fr_FR.ISO-8859-15
  value of $LC_MESSAGES: en_US
  value of $LC_MONETARY: fr_FR.ISO-8859-15
  value of $LC_NUMERIC: fr_FR.ISO-8859-15
  value of $LC_TIME: fr_FR.ISO-8859-15
  value of $LANG: fr
  locale-coding-system: iso-latin-9
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Look at the way the header is made invisible in `elide-head':

(overlay-put elide-head-overlay 'invisible t)

Now suppose you call `elide-head' in a buffer in `outline-mode';
`outline-mode' had add (outline . t) to `buffer-invisibility-spec',
which made `buffer-invisibility-spec' into a list. But

,----[ C-h v buffer-invisibility-spec RET ]
| (...)
| This variable is always local in all buffers.
| The default is t, which means that text is invisible
| if it has a non-nil `invisible' property.
| If the value is a list, a text character is invisible if its `invisible'
| property is an element in that list.
| If an element is a cons cell of the form (PROP . ELLIPSIS),
| then characters with property value PROP are invisible,
| and they have an ellipsis as well if ELLIPSIS is non-nil.
`----

The header will not disappear because the `invisible' property of the
elide-head-overlay isn't an element of `buffer-invisibility-spec' !

Recent input:
<switch-frame> <f6> <down> <down> <return> <down> <down> 
<down> <down> <down> <down> <down> <down> <return> 
<return> <left> <right> <left> <M-left> <M-right> <down> 
<down> <return> <down> <return> C-x 5 2 <switch-frame> 
M-x r e p o <tab> r SPC e m <tab> <return>

Recent messages:
Suppressing duplicates...done
Loading gnus-score...done
Generating summary...done
Loading gnus-async...done
Loading gnus-cite...done
Loading smiley-ems...done
Fetching headers for nnfolder+archive:misc-news.2002-12...
gnus-summary-refer-thread: Can't fetch thread from backends that don't support NOV
Making completion list...
Loading emacsbug...done

-- 
Matthias

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-12-08 13:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-08 13:11 invisible spec in elide-head Matthias Meulien

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.