all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* cperl mode shameful switch case indentation
@ 2005-01-09  0:31 Dan Jacobson
  0 siblings, 0 replies; only message in thread
From: Dan Jacobson @ 2005-01-09  0:31 UTC (permalink / raw)


Yu*k! Hit TAB on each of these lines in cperl mode. That's how
they ended up like this,
use Switch;
switch( substr $_, 0, 1 ) {
  case 'A' { $n = 10 }    #A
    case 'B' { $n = 11 }    #B
      case 'C' { $n = 12 }    #C
P.S., removing the comments didn't help.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-09  0:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-09  0:31 cperl mode shameful switch case indentation Dan Jacobson

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.