unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#8815: 23.1; Incorrect colloring of XML files.
@ 2011-06-07 17:49 Oleg Sivokon
  2011-09-18 18:54 ` Chong Yidong
  0 siblings, 1 reply; 2+ messages in thread
From: Oleg Sivokon @ 2011-06-07 17:49 UTC (permalink / raw)
  To: 8815

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

Hello!
There is a minor bug in coloring XML, PCData nodes containing quotes,
specifically
this line produces wrong coloring for me:
<xmlAttributeStartRegExp
options="gi">^[A-Z][\w\.:\-\$]*[\s\r\n]*=[\s\r\n]*["'{]</xmlAttributeStartRegExp>
----------------------------------------------------------------------------^
starting at this position the coloring acts like as if the following text is
an attribute value.
I tried to search the bug tracker, but, couldn't find relevant issues.


In GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2011-03-04 on allspice, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10706000
configured using `configure  '--build=x86_64-linux-gnu'
'--host=x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib'
'--libexecdir=/usr/lib' '--localstatedir=/var/lib'
'--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim'
'--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars'
'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu'
'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''

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

Major mode: XML

Minor modes in effect:
  diff-auto-refine-mode: t
  tooltip-mode: t
  tool-bar-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: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-n C-n C-n C-n C-n C-n C-n C-n C-n <return> C-n C-n
C-n <return> C-n C-n <return> C-x o C-x C-f . e m <tab>
<return> C-x o M-x a c i t o <tab> <backspace> <backspace>
<backspace> t i o <tab> <tab> m o <tab> <return> C-x
b <tab> W <tab> <backspace> w <tab> o <tab> <return>
C-n C-p <return> <return> <return> <return> C-p C-p
<return> C-n <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-p C-p <return>
<return> C-n C-n C-n C-n C-n C-n <return> C-n <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 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 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 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 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 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 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 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 <help-echo>
<help-echo> M-x x m l <tab> <return> M-x r e p o r
t - e m <tab> b <tab> <return>

Recent messages:
Loading /etc/emacs/site-start.d/50w3m-el.el (source)...done
Loading /etc/emacs/site-start.d/50w3m-el-snapshot.el (source)...done
/usr/bin/mail is not an executable.  Setting mail-interactive to t.
Loading /home/wvxvw/Programs/color-theme-6.6.0/themes/color-theme-example.el
(source)...done
Loading /home/wvxvw/Programs/color-theme-6.6.0/themes/color-theme-library.el
(source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Mark set
Mark saved where search started
Making completion list... [3 times]
Loading vc-svn...done

[-- Attachment #2: Type: text/html, Size: 5301 bytes --]

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

* bug#8815: 23.1; Incorrect colloring of XML files.
  2011-06-07 17:49 bug#8815: 23.1; Incorrect colloring of XML files Oleg Sivokon
@ 2011-09-18 18:54 ` Chong Yidong
  0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2011-09-18 18:54 UTC (permalink / raw)
  To: Oleg Sivokon; +Cc: 8815

Oleg Sivokon <olegsivokon@gmail.com> writes:

> <xmlAttributeStartRegExp options="gi">^[A-Z][\w\.:\-\$]*[\s\r\n]*=[\s\r\n]*["'{]</xmlAttributeStartRegExp>
> ----------------------------------------------------------------------------^
>
> starting at this position the coloring acts like as if the following text is
> an attribute value.
>
> In GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1)

Since Emacs 23.2, Emacs uses nXML mode for XML files, which highlights
this properly.  So I'm closing this bug.





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

end of thread, other threads:[~2011-09-18 18:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-07 17:49 bug#8815: 23.1; Incorrect colloring of XML files Oleg Sivokon
2011-09-18 18:54 ` Chong Yidong

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).