Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 188355

Summary: app-editors/emacs-cvs-22.1.50: shell-script-mode doesn't recognize end-of-string
Product: Gentoo Linux Reporter: Marijn Schouten (RETIRED) <hkbst>
Component: Current packagesAssignee: Emacs project <emacs>
Status: RESOLVED UPSTREAM    
Severity: normal Keywords: REGRESSION
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dev-scheme/scm/scm-5.5.3-r1.ebuild

Description Marijn Schouten (RETIRED) gentoo-dev 2007-08-10 15:26:36 UTC
app-emacs/gentoo-syntax-1.6-r1 doesn't recognize end-of-string
Comment 1 Marijn Schouten (RETIRED) gentoo-dev 2007-08-10 15:28:59 UTC
Created attachment 127494 [details]
dev-scheme/scm/scm-5.5.3-r1.ebuild

the quotes in

MY_PV="$(get_version_component_range 1)${trarr:$(get_version_component_range 2):1}$(get_version_component_range 3)"

aren't recognized correctly. Without them highlighting is correct.
Comment 2 Ulrich Müller gentoo-dev 2007-08-15 09:24:58 UTC
Sorry, I cannot reproduce it. What Emacs version are you using?
Comment 3 Ulrich Müller gentoo-dev 2007-08-16 11:07:29 UTC
The problem is fixed in the actual version in the Emacs CVS trunk.

2007-07-16  Stefan Monnier  <monnier@iro.umontreal.ca>

        * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Skip over the
        whole $( rather than just the $.  Rename from sh-quoted-subshell.
        (sh-font-lock-syntactic-keywords): Adjust call accordingly.