all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* end-of-string not recognized in shell-script-mode
@ 2007-08-15 10:13 Marijn Schouten (hkBst)
  2007-08-15 13:23 ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Marijn Schouten (hkBst) @ 2007-08-15 10:13 UTC (permalink / raw)
  To: emacs-pretest-bug

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,

end-of-string is not always recognized in shell-script-mode. If you open the
following in emacs 22.1.50.1:


M="$(g 1)${t:$(e 2):1}"
DESCRIPTION="string"


then the last lines will be grey as if they are strings, and the string on
line 5 will be black instead of grey. If you remove the quotes from line 1:


M=$(g 1)${t:$(e 2):1}
DESCRIPTION="string"


then proper syntax highlighting is restored. Put the quotes back and it goes
wrong again.

- --
Marijn Schouten (hkBst), Gentoo Lisp project
http://www.gentoo.org/proj/en/lisp/, #gentoo-lisp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGwtHDp/VmCx0OL2wRAgmxAJ9MRhuh3y6U0RokA6CkwI7y8UBZZgCeNea5
aQhJpI1XJdNhh/eFgjdz8k4=
=fr7+
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: end-of-string not recognized in shell-script-mode
  2007-08-15 10:13 end-of-string not recognized in shell-script-mode Marijn Schouten (hkBst)
@ 2007-08-15 13:23 ` Stefan Monnier
  2007-08-16 10:52   ` Marijn Schouten (hkBst)
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2007-08-15 13:23 UTC (permalink / raw)
  To: Marijn Schouten (hkBst); +Cc: emacs-pretest-bug

> end-of-string is not always recognized in shell-script-mode. If you open the
> following in emacs 22.1.50.1:

Which date?

> M="$(g 1)${t:$(e 2):1}"
> DESCRIPTION="string"

> then the last lines will be grey as if they are strings, and the string on
> line 5 will be black instead of grey. If you remove the quotes from line 1:

Works fine for me.  I've installed a fix for something related a few
weeks/months ago, so maybe you have an old 22.1.50.  If not, please send
a more precise recipe to reproduce the problem.


        Stefan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: end-of-string not recognized in shell-script-mode
  2007-08-15 13:23 ` Stefan Monnier
@ 2007-08-16 10:52   ` Marijn Schouten (hkBst)
  0 siblings, 0 replies; 3+ messages in thread
From: Marijn Schouten (hkBst) @ 2007-08-16 10:52 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-pretest-bug

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stefan Monnier wrote:
> Works fine for me.  I've installed a fix for something related a few
> weeks/months ago, so maybe you have an old 22.1.50.  If not, please send
> a more precise recipe to reproduce the problem.

I did have an old version. It works with todays version.

- --
Marijn Schouten (hkBst), Gentoo Lisp project
<http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGxCxzp/VmCx0OL2wRAmNLAKCIo1Jf0kUxTlYR7Ew2QY6tyL6AOgCeMCAk
yYoqRlQvADZdw6nlwc3QjZM=
=/SRR
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-08-16 10:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-15 10:13 end-of-string not recognized in shell-script-mode Marijn Schouten (hkBst)
2007-08-15 13:23 ` Stefan Monnier
2007-08-16 10:52   ` Marijn Schouten (hkBst)

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.