From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Matthias Meulien Newsgroups: gmane.emacs.bugs Subject: invisible spec in elide-head Date: 08 Dec 2002 14:11:13 +0100 Organization: ...!#$@~? Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1039352586 30793 80.91.224.249 (8 Dec 2002 13:03:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 8 Dec 2002 13:03:06 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18L15K-00080H-00 for ; Sun, 08 Dec 2002 14:03:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18L13Y-000832-08 for gnu-bug-gnu-emacs@m.gmane.org; Sun, 08 Dec 2002 08:01:12 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18L13Q-00082R-00 for bug-gnu-emacs@gnu.org; Sun, 08 Dec 2002 08:01:04 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18L13O-00082E-00 for bug-gnu-emacs@gnu.org; Sun, 08 Dec 2002 08:01:04 -0500 Original-Received: from postfix3-2.free.fr ([213.228.0.169]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18L13O-000828-00 for bug-gnu-emacs@gnu.org; Sun, 08 Dec 2002 08:01:02 -0500 Original-Received: from clarinde.localdomain (nas-cbv-4-62-147-140-12.dial.proxad.net [62.147.140.12]) by postfix3-2.free.fr (Postfix) with ESMTP id D14BA17ED1 for ; Sun, 8 Dec 2002 14:00:59 +0100 (CET) Original-Received: by clarinde.localdomain (Postfix, from userid 501) id 5F2834ED1B; Sun, 8 Dec 2002 14:11:13 +0100 (CET) Original-To: bug-gnu-emacs@gnu.org Original-Lines: 69 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4023 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4023 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: C-x 5 2 M-x r e p o r SPC e m 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