🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #188927

problems with outline-mode

#188927
From: Urban Engberg
Date: Tue, 04 Jun 1991 06:19
35 lines
1606 bytes
When I use outline-mode (as of Jan '86) with some certain outline-regexps, it
seems like emacs sometimes finds a header in the first line of the file -- no
matter what's in the line (it can even be empty).

When I use hide-body or hide-subtree with the point before the first real
header, the first line and the following text are simply converted to `...'.

Anyone who has an idea what could be going on?

An example:
---
outline-regexp: "%%% [.1-9]+"
---
contents of file:
---

%%% 1. section
  something

%%% 1.1
  something else
---

set point before the first %%% and use e.g. C-c C-h

What is really bothering me is that the problem does not always show up, in
what I see as exactly the same environment.

Urban
--
* Urban Engberg                           SRC:  DEC-SRC,  130 Lytton Avenue, *
* urban@src.dec.com (or ue@daimi.aau.dk)        Palo Alto,  CA 94301, U.S.A. *
* SRC:  +1 (415) 853 2111  Fax: 324 4873  Home: 810 Coleman Avenue, Apt. 20, *
* Home: +1 (415) 324 3628                       Menlo Park, CA 94025, U.S.A. *
Technical Details
Message-ID: <urban.676016355@crocus.pa.dec.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!elroy.jpl.nasa.gov!decwrl!pa.dec.com!src.dec.com!urban

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,abc53d3974dc4adc,start
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-06-04 00:04:17 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!elroy.jpl.nasa.gov!decwrl!pa.dec.com!src.dec.com!urban
From: urban@src.dec.com (Urban Engberg)
Newsgroups: gnu.emacs.help
Subject: problems with outline-mode
Message-ID: <urban.676016355@crocus.pa.dec.com>
Date: 4 Jun 91 06:19:15 GMT
Sender: news@src.dec.com (News)
Organization: DEC Systems Research Center
Lines: 35