[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11263: 23.4; shell-script: << does not always mean here-document
From: |
Vincent Lefevre |
Subject: |
bug#11263: 23.4; shell-script: << does not always mean here-document |
Date: |
Wed, 18 Apr 2012 01:37:22 +0200 |
User-agent: |
Mutt/1.5.21-6201-vl-r48020 (2011-12-20) |
On 2012-04-17 14:40:45 -0400, Stefan Monnier wrote:
> > 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.
No, unless there is something specific to Debian or this has been
fixed recently (Debian has GNU Emacs 23.4.1). To reproduce, type:
emacs -q foo.sh
Then in the Emacs window:
foo='bar<<
This produces:
foo='bar<<EOF
EOF
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
- bug#11263: 23.4; shell-script: << does not always mean here-document, Vincent Lefevre, 2012/04/17
- bug#11263: 23.4; shell-script: << does not always mean here-document, Stefan Monnier, 2012/04/17
- bug#11263: 23.4; shell-script: << does not always mean here-document,
Vincent Lefevre <=
- bug#11263: 23.4; shell-script: << does not always mean here-document, Glenn Morris, 2012/04/17
- bug#11263: 23.4; shell-script: << does not always mean here-document, Glenn Morris, 2012/04/17
- bug#11263: 23.4; shell-script: << does not always mean here-document, Vincent Lefevre, 2012/04/17
- bug#11263: 23.4; shell-script: << does not always mean here-document, Glenn Morris, 2012/04/17
- bug#8196:, Andreas Röhler, 2012/04/21