From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Vincent Lefevre <vincent@vinc17.net>
Cc: 11263@debbugs.gnu.org
Subject: bug#11263: 23.4; shell-script: << does not always mean here-document
Date: Tue, 17 Apr 2012 14:40:45 -0400 [thread overview]
Message-ID: <jwv62cy9p9g.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87r4vmy7un.fsf@ypig.lip.ens-lyon.fr> (Vincent Lefevre's message of "Tue, 17 Apr 2012 12:24:00 +0200")
> When I type << in shell-script mode, Emacs thinks this begins a
> here-document. This is not always the case, e.g. in the following
> lines:
> foo='bar<<'
> echo "${foo%<<}"
Emacs handles these correctly, AFAICT.
> echo $((1<<8))
> echo $[1<<8]
But these are confused for here-documents, indeed.
Stefan
next prev parent reply other threads:[~2012-04-17 18:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-17 10:24 bug#11263: 23.4; shell-script: << does not always mean here-document Vincent Lefevre
2012-04-17 18:40 ` Stefan Monnier [this message]
2012-04-17 23:37 ` Vincent Lefevre
2012-04-18 0:03 ` Glenn Morris
2012-04-18 0:35 ` Glenn Morris
2012-04-18 0:45 ` Vincent Lefevre
2012-04-18 1:03 ` Glenn Morris
2012-04-21 7:41 ` bug#8196: Andreas Röhler
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=jwv62cy9p9g.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=11263@debbugs.gnu.org \
--cc=vincent@vinc17.net \
/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).