🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.editor.mule
Article #3327

Re: How to escape perl-mode

#3327
From: Akira Inoue
Date: Thu, 11 Jan 1996 00:00
31 lines
1682 bytes
$B0f>e!w(BNTT $B$G$9!%(B

In article <4d2616$ibe@pollux.cis.ibaraki.ac.jp> st93011@cis.ibaraki.ac.jp (Yoshinori Itoh) writes:

> $B$b$7@hF,$G(B
>    #!/usr/local/bin/perl
> $B$G$"$k%U%!%$%k$r(B perl-mode $B$K$9$kJQ?t@_Dj$,(B .emacs $B$"$l$P!"$=$l$r30$;$P(B
> $B$$$$$N$G$O$J$$$G$7$g$&$+!)(B

interpreter-mode-alist $B$H$$$&JQ?t$K@_Dj$5$l$F$$$^$9!%(B

M-x describe-varibale $B$9$k$H!$<!$N$h$&$KI=<($5$l$^$9!%(B

interpreter-mode-alist's value is (("perl" . perl-mode) ("wish"
. tcl-mode) ("w\ ishx" . tcl-mode) ("tcl" . tcl-mode) ("tclsh"
. tcl-mode) ("awk" . awk-mode) ("\ gawk" . awk-mode) ("scm"
. scheme-mode))

Documentation:
Alist mapping interpreter names to major modes.
This alist applies to files whose first line starts with `#!'.
Each element looks like (INTERPRETER . MODE).
The car of each element is compared with
the name of the interpreter specified in the first line.
If it matches, mode MODE is selected.

--
_____________________________________________________
$B0f>e98(B[Akira Inoue][Email: ainoue@nttlsl.iecl.ntt.jp] 
    <NTT Acess Network Systems Laboratories>     
  [Voice:+81-29-287-7085 Fax:+81-29-287-7097]    
Technical Details
Message-ID: <AINOUE.96Jan11175723@unicorn.nttlsl.ntt.jp>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4c0vf2$h5d@news.yo.rim.or.jp> <4d2616$ibe@pollux.cis.ibaraki.ac.jp>

Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: 10eba4,7a9afc28207a5158
X-Google-Attributes: gid10eba4,public
From: ainoue@nttlsl.ntt.jp (Akira Inoue)
Subject: Re: How to escape perl-mode
Date: 1996/01/11
Message-ID: <AINOUE.96Jan11175723@unicorn.nttlsl.ntt.jp>
X-Deja-AN: 134783017
distribution: fj
references: <4c0vf2$h5d@news.yo.rim.or.jp> <4d2616$ibe@pollux.cis.ibaraki.ac.jp>
organization: NTT Access Network Systems Laboratories, Ibaraki Japan
newsgroups: fj.editor.mule