unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14695: 24.3.50; perl-mode: Provide user option selecting indentation style
@ 2013-06-23  8:00 Jambunathan K
  2013-11-15  4:49 ` Jambunathan K
  0 siblings, 1 reply; 2+ messages in thread
From: Jambunathan K @ 2013-06-23  8:00 UTC (permalink / raw)
  To: 14695


Perl-mode says there are different styles of indentation.  See below.
Unfortunately, I couldn't find a single place to select a particular
style.  (Think `c-set-style' and `c-style-alist').

,----
| Various indentation styles:       K&R  BSD  BLK  GNU  LW
|   perl-indent-level                5    8    0    2    4
|   perl-continued-statement-offset  5    8    4    2    4
|   perl-continued-brace-offset      0    0    0    0   -4
|   perl-brace-offset               -5   -8    0    0    0
|   perl-brace-imaginary-offset      0    0    4    0    0
|   perl-label-offset               -5   -8   -2   -2   -2
`----

Side note: I am porting Oddmuse to support Org-mode style markup.  The
default values of the above variables chosen by `perl-mode' (LW style)
and that used in Oddmuse itself (GNU style) seems to be different.

So please review the default choice of style once named styles are
introduced.  Should it be LW or GNU...

In GNU Emacs 24.3.50.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2013-06-22 on debian-6.05
Bzr revision: 113135 lekktu@gmail.com-20130622024114-o1weajdmsssio1vk
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
Important settings:
  value of $LANG: en_IN
  locale-coding-system: iso-latin-1-unix
  default enable-multibyte-characters: t





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#14695: 24.3.50; perl-mode: Provide user option selecting indentation style
  2013-06-23  8:00 bug#14695: 24.3.50; perl-mode: Provide user option selecting indentation style Jambunathan K
@ 2013-11-15  4:49 ` Jambunathan K
  0 siblings, 0 replies; 2+ messages in thread
From: Jambunathan K @ 2013-11-15  4:49 UTC (permalink / raw)
  To: 14695-done


OP here.  Closed.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-15  4:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-23  8:00 bug#14695: 24.3.50; perl-mode: Provide user option selecting indentation style Jambunathan K
2013-11-15  4:49 ` Jambunathan K

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