From: Dan Jacobson <jidanni@jidanni.org>
Subject: Re: bad coloring in shell script mode
Date: Tue, 17 Jun 2003 04:26:54 +0800 [thread overview]
Message-ID: <87y9013h0x.fsf@jidanni.org> (raw)
In-Reply-To: E19NiDD-0000QM-00@linux182.ma.utexas.edu
Joe> This line
Joe> grep "<<$SF>>" $HOME/.todo/$TODOLIST > $HOME/p
Joe> causes everything after it to be in Sh Heredoc Face....
For me, the first line ruins everything after it too, so I had to add
one space, spoiling my Spartan image.
test "x$1" = x--help && { cat<<\EOF; exit;}
test "x$1" = x--help && { cat<<\EOF ; exit;}
By the way, are we sure the 'here document' should be specially
colored? Often I do su proxy <<\EndofEverything for 90% of a script.
OK, and if you're gonna same-color the whole script, then remember to
make the $vars and `backquote commands` otherly colored, unless one
has used <<\ and not <<.
By the way, two wrongs make a right, so I can turn the different
colors back on in that 90% with
false && { cat<<\EOF; exit;}
colors off here
EOF
su ${wwwoffle_user?} <<\EOeverything
colors back on here, good.
Indeed, one can even comment that su line and it still works.
prev parent reply other threads:[~2003-06-16 20:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-05 0:02 bad coloring in shell script mode Joe Corneli
2003-06-16 20:26 ` Dan Jacobson [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y9013h0x.fsf@jidanni.org \
--to=jidanni@jidanni.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 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).