From: Xah Lee <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Change line continuation behavior in cperl-mode
Date: Tue, 9 Dec 2008 15:43:07 -0800 (PST) [thread overview]
Message-ID: <f6ac8f77-1505-41f6-ba10-f904a4dea0d2@r15g2000prh.googlegroups.com> (raw)
In-Reply-To: 05382670-9079-428a-a003-969c06e894a5@n2g2000vbl.googlegroups.com
On Dec 9, 9:06 am, Steve <swechs...@bigfoot.com> wrote:
> Is there any way to change the indentation of continued lines (i.e.
> lines ending in a ".") in cperl-mode? The current behavior is to add
> an additional number of spaces to each continued line, so that, for
> example, the second line is indented 2 characters, the next, 4, the
> next, 6, etc, in an upside-down stair-step pattern. I'd like to have
> all lines after the first indented the same (e.g. If the starting line
> is at column 6, I'd like all the others to be at column 8). perl-mode
> does this properly.
not sure, but have you tried customize-group with cperl?
in particular, there's a section on indentation with a lot variables
you can tweak.
in general, when behavior in some mode you don't like, first thing to
try is customize-group, followed by the mode name (may or may not end
in “-mode”). Not all major mode support this customize feature, but
most big ones or well written ones do.
Xah
∑ http://xahlee.org/
☄
next prev parent reply other threads:[~2008-12-09 23:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-09 17:06 Change line continuation behavior in cperl-mode Steve
2008-12-09 23:43 ` Xah Lee [this message]
2008-12-10 15:39 ` Steve
2008-12-10 18:35 ` Xah Lee
2009-03-16 7:08 ` Alex
2009-03-17 2:38 ` Xah Lee
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f6ac8f77-1505-41f6-ba10-f904a4dea0d2@r15g2000prh.googlegroups.com \
--to=xahlee@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.