unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* outline-mode
@ 2003-11-20 22:33 Raimund Kohl-Fuechsle
  0 siblings, 0 replies; 5+ messages in thread
From: Raimund Kohl-Fuechsle @ 2003-11-20 22:33 UTC (permalink / raw)


hi,

I like to use outline-mode for certain files.  Is there a way to open
that file automaticaly in outline-mode, without setting emacs outline
mode as default?

ray

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: outline-mode
       [not found] <mailman.374.1069372282.399.help-gnu-emacs@gnu.org>
@ 2003-11-21  0:41 ` Kevin Rodgers
  2003-11-21  9:55   ` outline-mode Raimund Kohl-Fuechsle
       [not found]   ` <mailman.392.1069412316.399.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Kevin Rodgers @ 2003-11-21  0:41 UTC (permalink / raw)


Raimund Kohl-Fuechsle wrote:

> I like to use outline-mode for certain files.  Is there a way to open
> that file automaticaly in outline-mode, without setting emacs outline
> mode as default?

Yes, it just depends on whether you want it to be in Outline (major)
mode or outline-minor-mode, and how it is you know that the file should
automatically be in outline mode -- by major mode, directory, file name,

or content.


-- 
Kevin Rodgers

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: outline-mode
  2003-11-21  0:41 ` outline-mode Kevin Rodgers
@ 2003-11-21  9:55   ` Raimund Kohl-Fuechsle
       [not found]   ` <mailman.392.1069412316.399.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 5+ messages in thread
From: Raimund Kohl-Fuechsle @ 2003-11-21  9:55 UTC (permalink / raw)
  Cc: help-gnu-emacs

Kevin Rodgers <ihs_4664@yahoo.com> wrote:

> > I like to use outline-mode for certain files.  Is there a way to open
> > that file automaticaly in outline-mode, without setting emacs outline
> > mode as default?
> 
> Yes, it just depends on whether you want it to be in Outline (major)
> mode or outline-minor-mode, and how it is you know that the file should
> automatically be in outline mode -- by major mode, directory, file
> name,

I've created several logfiles, put in a certain directory.  So all files
called from this directory should open in outline-major-mode.  How do I
do that?

ray

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: outline-mode
       [not found]   ` <mailman.392.1069412316.399.help-gnu-emacs@gnu.org>
@ 2003-11-21 11:09     ` Oliver Scholz
  2003-11-21 15:38       ` outline-mode Raimund Kohl-Fuechsle
  0 siblings, 1 reply; 5+ messages in thread
From: Oliver Scholz @ 2003-11-21 11:09 UTC (permalink / raw)


Raimund Kohl-Fuechsle <ray@nabuli.de> writes:

[...]
> I've created several logfiles, put in a certain directory.  So all files
> called from this directory should open in outline-major-mode.  How do I
> do that?

(add-to-list 'auto-mode-alist
	     '("\\`/path/to/directory/" . outline-mode))


    Oliver
-- 
1 Frimaire an 212 de la Révolution
Liberté, Egalité, Fraternité!

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: outline-mode
  2003-11-21 11:09     ` outline-mode Oliver Scholz
@ 2003-11-21 15:38       ` Raimund Kohl-Fuechsle
  0 siblings, 0 replies; 5+ messages in thread
From: Raimund Kohl-Fuechsle @ 2003-11-21 15:38 UTC (permalink / raw)


Oliver Scholz <alkibiades@gmx.de> wrote:

> (add-to-list 'auto-mode-alist
> 	     '("\\`/path/to/directory/" . outline-mode))

works wonderful :-)  Thank you :-)

ray

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-11-21 15:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.374.1069372282.399.help-gnu-emacs@gnu.org>
2003-11-21  0:41 ` outline-mode Kevin Rodgers
2003-11-21  9:55   ` outline-mode Raimund Kohl-Fuechsle
     [not found]   ` <mailman.392.1069412316.399.help-gnu-emacs@gnu.org>
2003-11-21 11:09     ` outline-mode Oliver Scholz
2003-11-21 15:38       ` outline-mode Raimund Kohl-Fuechsle
2003-11-20 22:33 outline-mode Raimund Kohl-Fuechsle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).