🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189308

Re: Starting up in auto-fill mode?

#189308
From: Carl Edman
Date: Fri, 08 Mar 1991 03:41
26 lines
1951 bytes
In article <13176@darkstar.ucsc.edu> claude@jupiter.ucsc.edu (Claude Noshpitz) writes:
   Emacs seems to look for a file extension to decide on what mode to use.
   What happens if there's no extension?

It uses default-major-mode (check it via describe-variable
default-major-mode). If you want to get a minor mode by default you
have to use hooks. Both are discussed in an answer to this very
question which I posted a few weeks ago on this very newsgroup. 

   I know, RTFM, but I don't really have the time to wade...
   Anyway, thanks for the help!!!

Some people may find it slightly offensive for someone to refuse to
skip through a manual (especially a online-manual so well indexed and
with each topic so easy to find as the emacs manual), and to fail to
check the old news and instead to bother tens of thousands of readers
worldwide (check the newsgroup statistics - This is not an
overstatement) with an essentially trivial message.

        Carl Edman


"We hold that what one man cannot morally do, a million men cannot
morally do, and government, representing many millions of men, cannot
do." -- Auberon Herbert
          Send mail to Carl Edman <cedman@golem.ps.uci.edu>
Technical Details
Message-ID: <CEDMAN.91Mar7194213@lynx.ps.uci.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!ns-mx!iowasp.physics.uiowa.edu!maverick.ksu.ksu.edu!rutgers!stanford.edu!bu.edu!xylogics!samsung!usc!orion.oac.uci.edu!cedman
References: <13176@darkstar.ucsc.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,beef01c2e772d304
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-03-07 22:42:04 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!ns-mx!iowasp.physics.uiowa.edu!maverick.ksu.ksu.edu!rutgers!stanford.edu!bu.edu!xylogics!samsung!usc!orion.oac.uci.edu!cedman
From: cedman@golem.ps.uci.edu (Carl Edman)
Newsgroups: gnu.emacs.help
Subject: Re: Starting up in auto-fill mode?
Message-ID: <CEDMAN.91Mar7194213@lynx.ps.uci.edu>
Date: 8 Mar 91 03:41:50 GMT
References: <13176@darkstar.ucsc.edu>
Organization: University of California, Irvine, USA.
Lines: 26
Nntp-Posting-Host: lynx.ps.uci.edu
In-reply-to: claude@jupiter.ucsc.edu's message of 7 Mar 91 21:28:32 GMT