[pm-h] turn off perl mode in emacs

Todd Rinaldo toddr at null.net
Thu May 8 09:30:59 PDT 2008


Sounds like a plan.

On May 8, 2008, at 9:29 AM, Will Willis wrote:

> That'd be fun, here's a rough outline:
>
> * emacs, 101
>  * commands
>  * config file
>  * modes
>  * macros
>  * shell-mode
>  * org-mode
> * working with perl in emacs
>  * cperl-mode
>  * perltidy-mode
> * emacs commands in the terminal (that didn't know you knew)
>
> I gave a presentation just last week to my coworkers on GNU Screen, so
> I could potentially present on that too.
>
> How many of you out there would be interested in an emacs and/or GNU
> Screen presentation?
>
>
> -Will
>
>
> On Thu, May 8, 2008 at 7:19 AM, G. Wade Johnson <gwadej at anomaly.org>  
> wrote:
>> I have a thought. Will, how would you like to give us some tips and
>> tricks on using emacs at some point?
>>
>> We had a talk a couple years ago about vi, but no one came forward to
>> do emacs.
>>
>> G. Wade
>>
>>
>>
>> On Thu, 8 May 2008 01:40:01 -0500
>> Todd Rinaldo <toddr at null.net> wrote:
>>
>>> heh. Now I know how to turn on cperl mode for .t files. Thanks!
>>>
>>> On May 7, 2008, at 1:16 PM, Will Willis wrote:
>>>
>>>> Chances are, your .emacs file has cperl-mode associated with
>>>> *.p[l|m] files on start. Look in that file, see what it's doing,
>>>> e.g.:
>>>>
>>>>  (add-to-list 'auto-mode-alist '("\\.pl\\'" . cperl-mode))
>>>>  (add-to-list 'auto-mode-alist '("\\.pm\\'" . cperl-mode))
>>>>
>>>> then just change cperl-mode to whatever mode you want.
>>>>
>>>> -Will
>>>>
>>>> On Wed, May 7, 2008 at 1:05 PM, Russell L. Harris
>>>> <rlharris at oplink.net> wrote:
>>>>> I would like to prevent XEmacs from entering CPerl mode (or any
>>>>> other perl mode) whenever a perl script is loaded.
>>>>>
>>>>> I normally use XEmacs in LaTeX mode, and I find a hindrance the
>>>>> "assistance" and "automation" which CPerl mode attempts to impose.
>>>>>
>>>>> Regrettably, I have not yet been able to figure out how to prevent
>>>>> automatic entry of CPerl mode when a perl script is loaded.
>>>>>
>>>>> It is possible to change the mode once a file is loaded, but this
>>>>> is a
>>>>> bother.  Perhaps a reasonable fix is to bind the command "M-x
>>>>> latex-mode" to a function key, so that the mode can be changed
>>>>> with a single keystroke.
>>>>>
>>>>> RLH
>>>>> _______________________________________________
>>>>> Houston mailing list
>>>>> Houston at pm.org
>>>>> http://mail.pm.org/mailman/listinfo/houston
>>>>> Website: http://houston.pm.org/
>>>>>
>>>> _______________________________________________
>>>> Houston mailing list
>>>> Houston at pm.org
>>>> http://mail.pm.org/mailman/listinfo/houston
>>>> Website: http://houston.pm.org/
>>>
>>> Todd Rinaldo
>>> toddr at null.net
>>>
>>>
>>>
>>> _______________________________________________
>>> Houston mailing list
>>> Houston at pm.org
>>> http://mail.pm.org/mailman/listinfo/houston
>>> Website: http://houston.pm.org/
>>
>>
>> --
>> Perl isn't really about safety. It's about getting where you're  
>> going,
>> and enjoying the trip. It's more important to be a good driver than  
>> to
>> have seven feet of sponge rubber all around your car.       -- Larry
>> Wall
>>
>>
>> _______________________________________________
>> Houston mailing list
>> Houston at pm.org
>> http://mail.pm.org/mailman/listinfo/houston
>> Website: http://houston.pm.org/
>>
> _______________________________________________
> Houston mailing list
> Houston at pm.org
> http://mail.pm.org/mailman/listinfo/houston
> Website: http://houston.pm.org/

Todd Rinaldo
toddr at null.net





More information about the Houston mailing list