GNU bug report logs - #11263
23.4; shell-script: << does not always mean here-document

Previous Next

Package: emacs;

Reported by: Vincent Lefevre <vincent <at> vinc17.net>

Date: Tue, 17 Apr 2012 10:25:02 UTC

Severity: minor

Merged with 12770

Found in versions 23.4, 24.2.1

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Vincent Lefevre <vincent <at> vinc17.net>
Cc: 11263 <at> 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
> 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




This bug report was last modified 12 years and 256 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.