unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Johnny L. Wales" <johnny@mail.booksys.com>
Subject: Re: Tab stops in perl mode broken?
Date: Wed, 21 May 2003 09:37:58 -0500 (CDT)	[thread overview]
Message-ID: <Pine.LNX.4.21.0305210930220.9798-100000@mail.booksys.com> (raw)
In-Reply-To: <?fnord?87of1xnszp.fsf@ID-97657.usr.dfncis.de>

> [...] Emacs' default perl-mode and indentation problems
> 
> Try using cperl-mode, rather than perl-mode.  It's a much
> improved perl mode.  It certainly handles the case you mention
> fine in my emacs version.

How do I set that mode?
Why are there two perl modes? Why not just one?
Why is the broken perl mode the default? Why not make the good one the
default?

> > Further, is there some command like:
> > M-x when-i-say-tab-i-mean-tab-damn-it
> 
> You can always to C-q TAB to insert a literal tab.  Depending on
> programming modes, you have to find the relevant variable to get
> them not to do syntax-driven indentaton.

Well, what I'd actually like from an editor would be partial syntax-driven
inedentation. That is, hitting tab once puts the tabs where emacs thinks
they outght to be, and subsequent tab requests bump everything over one
tab. I'd also love it if there was *never* a time when I hit a button and
nothing happens. 

> > that will make emacs ALWAYS add a tab when I hit the tab button, whether
> > it seems reasonable to emacs or not? I've also yet to be able to find an
> > easy way to set tab width without editing a configuration file..?
> 
> M-x customize-variable RET tab-stop-list RET
> 
> If you change this and then save your changes, tab-stop-list
> will be set.

And I'll have to do this on every host, right? There's no way to have a
single emacs config file to serve a whole network?

--Me

  reply	other threads:[~2003-05-21 14:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.6487.1053461876.21513.help-gnu-emacs@gnu.org>
2003-05-20 22:38 ` Tab stops in perl mode broken? lawrence mitchell
2003-05-21 14:37   ` Johnny L. Wales [this message]
2003-05-21 16:22 ` Stefan Monnier
2003-05-22 11:03 ` Kai Großjohann
2003-05-22 11:36 ` Oliver Scholz
     [not found] <mailman.6530.1053528247.21513.help-gnu-emacs@gnu.org>
2003-05-21 15:33 ` lawrence mitchell
2003-05-21 19:37 ` Edward O'Connor
2003-05-20 20:12 Johnny L. Wales

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=Pine.LNX.4.21.0305210930220.9798-100000@mail.booksys.com \
    --to=johnny@mail.booksys.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.
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).