help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Perl mode multiple line quote (qq)


From: L. D. James
Subject: Perl mode multiple line quote (qq)
Date: Tue, 29 Apr 2008 08:39:19 -0700 (PDT)
User-agent: G2/1.0

Does anyone know of a setting for cperl-mode (or perl-mode) that will
add the feature to allow hitting the tab key to indent when using
multiple quoted lines such as:

print qq~
(tab) This is a tabulated list.
(tab)(tab) item #1
(tab)(tab) item #2
(tab) This is list B
(tab)(tab) Item 2 of list b
(tab)(tab) item 3 of list b
~;

The above can be done with either perl-mode or cperl-mode by hitting
the space key multiple times.  I would hope to be able to use the tab
key to indent up to the column of where text of the previous line
starts.

I'm using emacs version GNU Emacs 22.1.1.

Thanks in advance for any comments.

-- L. James

--
L. D. James
ljames@apollo3.com
www.apollo3.com/~ljames


reply via email to

[Prev in Thread] Current Thread [Next in Thread]