APM: emacs perl mode questions

Wayne Walker wwalker at bybent.com
Sun Feb 22 22:21:18 CST 2004


Thanks!  That's what I was looking for!!!

On Sun, Feb 22, 2004 at 01:26:27PM -0600, Ian Remmler wrote:
> On Sun, Feb 22, 2004 at 10:52:54AM -0600, Wayne Walker wrote:
> > Bill Raty told me about emacs -r.  Thanks!
> 
> Or you can put:
> 
> (set-foreground-color "white")
> (set-background-color "black")
> 
> in you .emacs file.
> 
> > Is there a way to put emacs commands in a source file so that when emacs
> > opens the file for edit, emacs will excute them (e.g. cperl-mode,
> > electric mode on ...)??
> 
> Don't know about executing arbitrary commands, but:
> 
> # -*- cperl -*-
> 
> will tell emacs to use cper-mode.  I believe that only works on
> the first line, unless there is a #!... on the first line, in
> which case it looks on the second line.  You can also set
> variables, e.g.:
> 
> # -*- coding: latin-1; -*-
> 
> I don't know what all you can set in that way.  I moved over from
> the "dark side" a few years ago and switched to vim, so my
> previous statements may not be 100% factual.
> 
> > "Emacs is a great place to live, but you wouldn't want to visit."
> 
> That statement applies to many other cults as well...
> 
> :)
> 
> 	- Ian.
> 
> -- 
> Ian Remmler         |  A monk asked Joshu, "Has a dog Buddha
> ian at remmler.org     |  nature or not?"  Joshu replied, "Mu!"
> http://remmler.org  |      -- Mumon, "The Gateless Gate"

-- 

Wayne Walker
wwalker at bybent.com                 Do you use Linux?!
http://www.bybent.com              Get Counted!  http://counter.li.org/
Perl - http://www.perl.org/        Perl User Groups - http://www.pm.org/
Jabber IM:  wwalker at jabber.phototropia.org       AIM:     lwwalkerbybent



More information about the Austin mailing list