unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Indenting Strings (How to?)
@ 2003-12-29 15:32 Dan Anderson
  2003-12-29 17:50 ` Barry Margolin
  0 siblings, 1 reply; 5+ messages in thread
From: Dan Anderson @ 2003-12-29 15:32 UTC (permalink / raw)



        A lot of times when I'm coding I'll have a very long string or
comments which is some other kind  of code (i.e.  HTML or CSS embedded
in a  Perl CGI script) or  is text.  Many  times I'll try to  keep the
indentation neat, but  pressing tab in a string  (or comments) doesn't
do anything (in CPerl mode, PHP  mode, or any other mode).  This means
that I end up having to space over manually (a royal PITA).

        Is there a good way to tell emacs to either treat all comments
and  strings as  normal  text (i.e  so  I can  get  basic tabbing  and
justification), or (even better), to set rules concerning how to treat
comments and strings.

Thanks in advance,

Dan

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

end of thread, other threads:[~2003-12-30  3:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-29 15:32 Indenting Strings (How to?) Dan Anderson
2003-12-29 17:50 ` Barry Margolin
2003-12-30  3:07   ` Dan Anderson
2003-12-30  3:49     ` Martin Stone Davis
2003-12-30  3:58       ` Martin Stone Davis

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