[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
shell mode syntax higlighting problem with here documents
From: |
Nicholas Sushkin |
Subject: |
shell mode syntax higlighting problem with here documents |
Date: |
Wed, 19 Oct 2005 13:04:33 -0400 |
This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.
Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.
In GNU Emacs 21.3.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2005-02-04 on bugs.build.redhat.com
configured using `configure --build=i386-redhat-linux --host=i386-redhat-linux
--target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib
--libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com
--mandir=/usr/share/man --infodir=/usr/share/info --with-pop --with-sound'
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
In the following shell script, the shell script mode syntax highlighting is
broken.
#!/bin/bash
cat << EOF | \
tee -a bug.txt
This is a test case for a bug in bash shell mode text highlighting
EOF
echo "Highlighting is screwed up now"
if [ 1 = 1 ]
then
echo "screwed up"
fi
Recent input:
<down> <down> <up> s c r e w e d SPC u p " <return>
f i <return> C-x 4 b C-g C-x s <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <return> <S-up>
<down> <up> # @ <S-backspace> ! / b i n / b a s h C-x
s <down> <down> <down> <down-mouse-1> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <drag-mouse-1> <down-mouse-1>
<mouse-1> <down-mouse-1> <mouse-1> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu>
<report-emacs-bug>
Recent messages:
Indentation setup for shell type bash
Mark set [3 times]
Auto-saving...done
Wrote /tmp/bug.sh
Quit
Wrote /tmp/bug.sh
line-move: Beginning of buffer [2 times]
Mark set
Wrote /tmp/bug.sh
Loading emacsbug...done
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- shell mode syntax higlighting problem with here documents,
Nicholas Sushkin <=