unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2384: 23.0.90; syntax-highlighting in shell-script-mode incorrect
@ 2009-02-19 10:42 ` Geralt
  2009-02-19 18:03   ` Stefan Monnier
  2009-02-19 22:20   ` bug#2384: marked as done (23.0.90; syntax-highlighting in shell-script-mode incorrect) Emacs bug Tracking System
  0 siblings, 2 replies; 3+ messages in thread
From: Geralt @ 2009-02-19 10:42 UTC (permalink / raw)
  To: emacs-pretest-bug

Syntax highlighting in shell-script-mode is incorrect if you put '
characters (single quotes) into double quotes without "escaping" them.
But this is only handled by the syntax highlighter as escaping, since
a single quote does not need any escaping in double quotes (this test
was only done to confirm that this is the actual issue that caused the
incorrect highlighting).


In GNU Emacs 23.0.90.1 (i686-pc-linux-gnu, GTK+ Version 2.14.7)
 of 2009-02-17 on sascha-xps
Windowing system distributor `The X.Org Foundation', version 11.0.10502000
configured using `configure  '--prefix=/usr'
'--host=i686-pc-linux-gnu' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc'
'--localstatedir=/var/lib' '--program-suffix=-emacs-23'
'--infodir=/usr/share/info/emacs-23' '--with-sound' '--with-x'
'--with-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png'
'--with-rsvg' '--with-tiff' '--with-xpm' '--with-freetype'
'--with-xft' '--without-libotf' '--without-m17n-flt'
'--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos'
'--without-kerberos5' '--with-gpm' '--with-dbus'
'--build=i686-pc-linux-gnu' 'build_alias=i686-pc-linux-gnu'
'host_alias=i686-pc-linux-gnu' 'CFLAGS=-O2 -march=prescott -pipe'
'LDFLAGS=-Wl,-O1''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: de_DE.utf8
  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.utf8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Shell-script

Minor modes in effect:
  shell-dirtrack-mode: t
  auto-complete-mode: t
  iswitchb-mode: t
  which-function-mode: t
  minibuffer-depth-indicate-mode: t
  recentf-mode: t
  icicle-mode: t
  show-paren-mode: t
  auto-dictionary-mode: t
  flyspell-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: -1
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-f M-f M-f M-b C-b M-w C-p C-p C-p C-p C-p C-p C-p
C-p C-p C-p M-b M-b M-b M-b M-b M-b M-b C-y SPC C-p
C-p C-p C-p C-p M-b M-b M-b M-b C-y SPC C-x C-s C-r
F r i e d <return> M-$ ? i y C-r i n t e r <return>
M-$ 0 C-s l o o k <return> M-$ C-g M-$ 1 C-s l o k
<return> M-$ 1 M-< C-x C-s C-x k <return> C-x C-f b
i n <tab> a u <tab> <return> C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n M-f M-f M-f M-f M-f M-f M-b <left>
<backspace> <backspace> <backspace> M-- M-- M-- M--
M-f \ C-n C-n C-n C-n C-n C-b \ M-x s h e l l <return>
e c h o SPC " \ ' " <return> C-x b <return> M-- M--
C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-f C-M-b C-M-b
C-M-b C-b C-M-SPC M-w C-x b <return> C-y C-a e c h
o SPC $ <return> M-p C-b <backspace> M-b M-b M-b <backspace>
C-e <return> C-x b <return> C-s ' <return> <backspace>
M-f M-f C-f C-f C-f C-d C-e C-n C-n C-n C-n C-n M-b
M-b M-b M-b M-b M-b M-b M-b M-b M-b M-b M-b C-b <backspace>
M-f M-f M-f C-d C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n M-f M-f M-f C-f C-f C-d C-f C-f C-f C-f C-f C-f
C-f C-f C-d M-- M-- M-- M-- M-- M-- M-- M-- M-- M--
M-- M-- M-- M-- M-- M-- M-- M-- M-- M-- M-- M-- M--
M-- M-- M-- M-- M-- C-x C-s <f1> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar>
<help-menu> <send-emacs-bug-report>

Recent messages:
Undo!
Error during redisplay: (error Invalid search bound (wrong side of point))
Undo!
Error during redisplay: (error Invalid search bound (wrong side of point))
Undo!
Error during redisplay: (error Invalid search bound (wrong side of point))
undo-more: No further undo information [11 times]
undo-more: No further undo informationError during redisplay: (end-of-buffer)
(No changes need to be saved)
Menu-Bar mode enabled






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

* bug#2384: 23.0.90; syntax-highlighting in shell-script-mode incorrect
  2009-02-19 10:42 ` bug#2384: 23.0.90; syntax-highlighting in shell-script-mode incorrect Geralt
@ 2009-02-19 18:03   ` Stefan Monnier
  2009-02-19 22:20   ` bug#2384: marked as done (23.0.90; syntax-highlighting in shell-script-mode incorrect) Emacs bug Tracking System
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2009-02-19 18:03 UTC (permalink / raw)
  To: Geralt; +Cc: 2384, emacs-pretest-bug

> Syntax highlighting in shell-script-mode is incorrect if you put '
> characters (single quotes) into double quotes without "escaping" them.

I cannot reproduce this.  Can you give us a concrete test case starting
from "Emacs -Q"?


        Stefan






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

* bug#2384: marked as done (23.0.90; syntax-highlighting in  shell-script-mode incorrect)
  2009-02-19 10:42 ` bug#2384: 23.0.90; syntax-highlighting in shell-script-mode incorrect Geralt
  2009-02-19 18:03   ` Stefan Monnier
@ 2009-02-19 22:20   ` Emacs bug Tracking System
  1 sibling, 0 replies; 3+ messages in thread
From: Emacs bug Tracking System @ 2009-02-19 22:20 UTC (permalink / raw)
  To: Stefan Monnier

[-- Attachment #1: Type: text/plain, Size: 925 bytes --]


Your message dated Thu, 19 Feb 2009 17:19:11 -0500
with message-id <jwvzlgiqddy.fsf-monnier+emacsbugreports@gnu.org>
and subject line Re: bug#2384: 23.0.90; syntax-highlighting in shell-script-mode
has caused the Emacs bug report #2384,
regarding 23.0.90; syntax-highlighting in shell-script-mode incorrect
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
2384: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2384
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 6865 bytes --]

From: Geralt <usr.gentoo@googlemail.com>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.90; syntax-highlighting in shell-script-mode incorrect
Date: Thu, 19 Feb 2009 11:42:28 +0100
Message-ID: <fbdd0e50902190242n48c09e2fo20a94949371330a2@mail.gmail.com>

Syntax highlighting in shell-script-mode is incorrect if you put '
characters (single quotes) into double quotes without "escaping" them.
But this is only handled by the syntax highlighter as escaping, since
a single quote does not need any escaping in double quotes (this test
was only done to confirm that this is the actual issue that caused the
incorrect highlighting).


In GNU Emacs 23.0.90.1 (i686-pc-linux-gnu, GTK+ Version 2.14.7)
 of 2009-02-17 on sascha-xps
Windowing system distributor `The X.Org Foundation', version 11.0.10502000
configured using `configure  '--prefix=/usr'
'--host=i686-pc-linux-gnu' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc'
'--localstatedir=/var/lib' '--program-suffix=-emacs-23'
'--infodir=/usr/share/info/emacs-23' '--with-sound' '--with-x'
'--with-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png'
'--with-rsvg' '--with-tiff' '--with-xpm' '--with-freetype'
'--with-xft' '--without-libotf' '--without-m17n-flt'
'--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos'
'--without-kerberos5' '--with-gpm' '--with-dbus'
'--build=i686-pc-linux-gnu' 'build_alias=i686-pc-linux-gnu'
'host_alias=i686-pc-linux-gnu' 'CFLAGS=-O2 -march=prescott -pipe'
'LDFLAGS=-Wl,-O1''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: de_DE.utf8
  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.utf8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Shell-script

Minor modes in effect:
  shell-dirtrack-mode: t
  auto-complete-mode: t
  iswitchb-mode: t
  which-function-mode: t
  minibuffer-depth-indicate-mode: t
  recentf-mode: t
  icicle-mode: t
  show-paren-mode: t
  auto-dictionary-mode: t
  flyspell-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: -1
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-f M-f M-f M-b C-b M-w C-p C-p C-p C-p C-p C-p C-p
C-p C-p C-p M-b M-b M-b M-b M-b M-b M-b C-y SPC C-p
C-p C-p C-p C-p M-b M-b M-b M-b C-y SPC C-x C-s C-r
F r i e d <return> M-$ ? i y C-r i n t e r <return>
M-$ 0 C-s l o o k <return> M-$ C-g M-$ 1 C-s l o k
<return> M-$ 1 M-< C-x C-s C-x k <return> C-x C-f b
i n <tab> a u <tab> <return> C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n M-f M-f M-f M-f M-f M-f M-b <left>
<backspace> <backspace> <backspace> M-- M-- M-- M--
M-f \ C-n C-n C-n C-n C-n C-b \ M-x s h e l l <return>
e c h o SPC " \ ' " <return> C-x b <return> M-- M--
C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-f C-M-b C-M-b
C-M-b C-b C-M-SPC M-w C-x b <return> C-y C-a e c h
o SPC $ <return> M-p C-b <backspace> M-b M-b M-b <backspace>
C-e <return> C-x b <return> C-s ' <return> <backspace>
M-f M-f C-f C-f C-f C-d C-e C-n C-n C-n C-n C-n M-b
M-b M-b M-b M-b M-b M-b M-b M-b M-b M-b M-b C-b <backspace>
M-f M-f M-f C-d C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n M-f M-f M-f C-f C-f C-d C-f C-f C-f C-f C-f C-f
C-f C-f C-d M-- M-- M-- M-- M-- M-- M-- M-- M-- M--
M-- M-- M-- M-- M-- M-- M-- M-- M-- M-- M-- M-- M--
M-- M-- M-- M-- M-- C-x C-s <f1> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar>
<help-menu> <send-emacs-bug-report>

Recent messages:
Undo!
Error during redisplay: (error Invalid search bound (wrong side of point))
Undo!
Error during redisplay: (error Invalid search bound (wrong side of point))
Undo!
Error during redisplay: (error Invalid search bound (wrong side of point))
undo-more: No further undo information [11 times]
undo-more: No further undo informationError during redisplay: (end-of-buffer)
(No changes need to be saved)
Menu-Bar mode enabled



[-- Attachment #3: Type: message/rfc822, Size: 2129 bytes --]

From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Geralt <usr.gentoo@googlemail.com>
Cc: 2384-done@emacsbugs.donarmstrong.com
Subject: Re: bug#2384: 23.0.90; syntax-highlighting in shell-script-mode
Date: Thu, 19 Feb 2009 17:19:11 -0500
Message-ID: <jwvzlgiqddy.fsf-monnier+emacsbugreports@gnu.org>

> Ok, I just give you the script which I've written when I noticed this
> (and it happens with emacs -Q too), and in case something goes wrong
> here's also a pasteboard link http://zlin.dk/p/?ZmE5NWY5

Should be fixed now, thank you,


        Stefan


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

end of thread, other threads:[~2009-02-19 22:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <jwvzlgiqddy.fsf-monnier+emacsbugreports@gnu.org>
2009-02-19 10:42 ` bug#2384: 23.0.90; syntax-highlighting in shell-script-mode incorrect Geralt
2009-02-19 18:03   ` Stefan Monnier
2009-02-19 22:20   ` bug#2384: marked as done (23.0.90; syntax-highlighting in shell-script-mode incorrect) Emacs bug Tracking System

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).