Package: emacs21
Version: 21.4a-1
Severity: normal

In sh-mode with font-lock mode double-quoted strings inside a
double-quoted command-substitution is treated as normal text (without
quotes)

To reproduce:
$ emacs /tmp/foobar.sh
M-x sh-mode
M-x font-lock-mode
echo "`echo "foo bar"`"
echo "$(echo "foo bar")"
echo "$(echo "#")"

Especially the last example shows how confusing this can be: the #")"
will be typeset as a comment. Bash, however, will not treat it as a
comment.

This problem doesn't seem to be specific to Debian or this version of
Emacs.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-1-686
Locale: LANG=en_US, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages emacs21 depends on:
ii  emacs21-bin-common        21.4a-1        The GNU Emacs editor's shared, arc
ii  libc6                     2.3.6.ds1-8    GNU C Library: Shared libraries
ii  libice6                   1:1.0.1-2      X11 Inter-Client Exchange library
ii  libjpeg62                 6b-13          The Independent JPEG Group's JPEG 
ii  libncurses5               5.5-5          Shared libraries for terminal hand
ii  libpng12-0                1.2.8rel-1     PNG library - runtime
ii  libsm6                    1:1.0.1-3      X11 Session Management library
ii  libtiff4                  3.7.2-7        Tag Image File Format (TIFF) libra
ii  libungif4g                4.1.3-2sarge1  shared library for GIF images (run
ii  libx11-6                  2:1.0.0-8      X11 client-side library
ii  libxext6                  1:1.0.1-2      X11 miscellaneous extension librar
ii  libxmu6                   1:1.0.1-3      X11 miscellaneous utility library
ii  libxpm4                   1:3.5.4.2-3    X11 pixmap library
ii  libxt6                    1:1.0.0-5      X11 toolkit intrinsics library
ii  xaw3dg                    1.5+E-8        Xaw3d widget set
ii  xlibs                     6.9.0.dfsg.1-6 X Window System client libraries m
ii  zlib1g                    1:1.2.3-13     compression library - runtime

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to