unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: merlyn@stonehenge.com (Randal L. Schwartz)
Subject: Re: cperl-mode instead of perl-mode? (was Re: perl-mode indent bug)
Date: 12 Apr 2006 06:18:56 -0700	[thread overview]
Message-ID: <86odz7ylrz.fsf@blue.stonehenge.com> (raw)
In-Reply-To: 86d5fn0xue.fsf@blue.stonehenge.com

>>>>> "Randal" == Randal L Schwartz <merlyn@stonehenge.com> writes:

>>>>> "Karl" == Karl Chen <quarl@cs.berkeley.edu> writes:
Karl> Perl-mode mis-indents this:

Randal> All the cool-cats I know have completely abandoned perl-mode
Randal> for cperl-mode long ago.   Is there any way we can just make
Randal> that the default instead?  It'd keep me from having to copy
Randal> this from .emacs to .emacs for each new work environment:

Randal> (while (let ((pm (rassoc 'perl-mode auto-mode-alist)))
Randal>   (and pm (setcdr pm 'cperl-mode))))
Randal> (while (let ((pm (rassoc 'perl-mode interpreter-mode-alist)))
Randal>   (and pm (setcdr pm 'cperl-mode))))

Heh.  Just realized the (and ..) in there is vestigial.  Nothing like posting
code to force you to do a code-review about 20 seconds too late.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

  reply	other threads:[~2006-04-12 13:18 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-12  3:44 perl-mode indent bug Karl Chen
2006-04-12  5:11 ` Stefan Monnier
2006-04-12 12:42 ` cperl-mode instead of perl-mode? (was Re: perl-mode indent bug) Randal L. Schwartz
2006-04-12 13:18   ` Randal L. Schwartz [this message]
2006-04-12 15:16     ` Stuart D. Herring
2006-04-12 15:21       ` Randal L. Schwartz
2006-04-12 14:44   ` cperl-mode instead of perl-mode? Stefan Monnier
2006-04-13 18:51     ` Ted Zlatanov
2006-04-14 16:15       ` Richard Stallman
2006-04-18 14:56         ` Ted Zlatanov
2006-04-12 21:46   ` cperl-mode instead of perl-mode? (was Re: perl-mode indent bug) Richard Stallman
2006-04-12 21:58     ` Randal L. Schwartz
2006-04-13 16:38       ` Richard Stallman
2006-04-13 17:08         ` Randal L. Schwartz
2006-04-13 17:10         ` cperl-mode instead of perl-mode? Stefan Monnier
2006-04-14 16:15           ` Richard Stallman
2006-04-14 20:35             ` Stefan Monnier
2006-04-15  0:27               ` Randal L. Schwartz
2006-04-15  1:37                 ` Stefan Monnier
2006-04-16  2:09                   ` Richard Stallman
2006-04-15 17:32               ` Richard Stallman
2006-04-15 11:45   ` Piet van Oostrum
2006-04-15 13:36     ` Randal L. Schwartz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86odz7ylrz.fsf@blue.stonehenge.com \
    --to=merlyn@stonehenge.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).