From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikos Apostolakis Newsgroups: gmane.emacs.help Subject: Re: some emacs commands at end of file Date: Sun, 21 Jan 2007 02:57:24 -0500 Message-ID: <87ejpon76j.fsf@gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1169366284 14817 80.91.229.12 (21 Jan 2007 07:58:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 21 Jan 2007 07:58:04 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 21 08:58:03 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H8XaR-0004s4-Cz for geh-help-gnu-emacs@m.gmane.org; Sun, 21 Jan 2007 08:57:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H8XaR-0001Qn-33 for geh-help-gnu-emacs@m.gmane.org; Sun, 21 Jan 2007 02:57:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H8XaC-0001PW-4w for help-gnu-emacs@gnu.org; Sun, 21 Jan 2007 02:57:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H8Xa8-0001N8-CH for help-gnu-emacs@gnu.org; Sun, 21 Jan 2007 02:57:42 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H8Xa8-0001MQ-6g for help-gnu-emacs@gnu.org; Sun, 21 Jan 2007 02:57:40 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H8Xa7-0000W1-OA for help-gnu-emacs@gnu.org; Sun, 21 Jan 2007 02:57:39 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1H8XZz-0004rU-Ex for help-gnu-emacs@gnu.org; Sun, 21 Jan 2007 08:57:31 +0100 Original-Received: from user-0cdf4ca.cable.mindspring.com ([24.215.145.138]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Jan 2007 08:57:31 +0100 Original-Received: from nikos.ap by user-0cdf4ca.cable.mindspring.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Jan 2007 08:57:31 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 65 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: user-0cdf4ca.cable.mindspring.com User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) Cancel-Lock: sha1:QGyUg0NVta+pg32o/i2klwlJtbc= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:40487 Archived-At: Allan Adler writes: > I have a theory about (3), even though I don't know enough to really have > a theory. My theory is that when it says > > mode: outline > > it tells emacs to go into something called outline mode. Maybe an outline > is a selection of particular lines, such as I find displayed when I type > y in reply to the prompt. Your theory is basically correct. Besides Leo's suggestion you might want to have a look at: ,----[ C-h v outline-regexp RET ] | outline-regexp is a variable defined in `outline.el'. | Its value is "[*\f]+" | | | This variable is safe as a file local variable if its value | satisfies the predicate `string-or-null-p'. | | Documentation: | Regular expression to match the beginning of a heading. | Any line whose beginning matches this regexp is considered to start a heading. | Note that Outline mode only checks this regexp at the start of a line, | so the regexp need not (and usually does not) start with `^'. | The recommended way to set this is with a Local Variables: list | in the file it applies to. See also `outline-heading-end-regexp'. | | You can customize this variable. | | [back] `---- And the info node for outline mode says: ,----[ (info "(emacs) Outline Mode") ] | Outline mode is a major mode much like Text mode but intended for | editing outlines. It allows you to make parts of the text temporarily | invisible so that you can see the outline structure. Type `M-x | outline-mode' to switch to Outline mode as the major mode of the current | buffer. | | When Outline mode makes a line invisible, the line does not appear | on the screen. The screen appears exactly as if the invisible line | were deleted, except that an ellipsis (three periods in a row) appears | at the end of the previous visible line. (Multiple consecutive | invisible lines produce just one ellipsis.) | | Editing commands that operate on lines, such as `C-n' and `C-p', | treat the text of the invisible line as part of the previous visible | line. Killing the ellipsis at the end of a visible line really kills | all the following invisible lines. | | Outline minor mode provides the same commands as the major mode, | Outline mode, but you can use it in conjunction with other major modes. | Type `M-x outline-minor-mode' to enable the Outline minor mode in the | current buffer. You can also specify this in the text of a file, with | a file local variable of the form `mode: outline-minor' (*note File | Variables::). `---- HTH, Nikos