unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* improper parsing of quoted string II
@ 2002-04-10  5:31 Shayne Steele
  2002-04-12 19:31 ` Paul Jarc
  2002-04-15 12:54 ` Stefan Monnier
  0 siblings, 2 replies; 4+ messages in thread
From: Shayne Steele @ 2002-04-10  5:31 UTC (permalink / raw)


This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.1.1 (sparc-sun-solaris2.8, X toolkit)
 of 2001-10-29 on diablo
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: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

My apologies for the first incomplete bug report.

What I meant to say was that a double-quoted string is automatically
colorized in HTML-Fill mode  (with the .emacs settings I have).

The following double-quoted string is meant to have a double-quote
within the string that is one of the characters WITHIN the string (not
meant to terminate the string), this is usually done by
proceeding the double-quote with a backslash character (\"), but this
does not work (the string is terminated by the backslash proceeded
double-quote, then a new string is started by the last double-quote).

" \t\n\r\f.,;\'\"-!`:?"

Is this a bug or is there some way to tell the "colorizer parser" that
I want to put a double-quote WITHIN a double-quoted string.

Recent input:
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <return> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <up> <return> 
<down> <down> <down> <down> <down> <down> <return> 
ESC > <up> <up> <up> <up> <up> <up> <help-echo> <help-echo> 
<help-echo> <help-echo> <menu-bar> <files> <make-frame> 
<switch-frame> <help-echo> <help-echo> <help-echo> 
<menu-bar> <help-menu> <report-emacs-bug>

Recent messages:
Loading paren...done
Loading time...done
For information about the GNU Project and its goals, type C-h C-p.
Loading dired...done
Reading directory /home/grads/steele/...done
Reading directory /home/grads/steele/JAVA/...done
Reading directory /home/grads/steele/JAVA/P7/...done
Loading sgml-mode...done
Mark set
Loading emacsbug...done

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

* Re: improper parsing of quoted string II
  2002-04-10  5:31 improper parsing of quoted string II Shayne Steele
@ 2002-04-12 19:31 ` Paul Jarc
  2002-04-17  3:01   ` Shayne Steele
  2002-04-15 12:54 ` Stefan Monnier
  1 sibling, 1 reply; 4+ messages in thread
From: Paul Jarc @ 2002-04-12 19:31 UTC (permalink / raw)


steele@cs.fsu.edu (Shayne Steele) wrote:
> Is this a bug or is there some way to tell the "colorizer parser" that
> I want to put a double-quote WITHIN a double-quoted string.

I don't know whether it's a bug, but &quot; should work.


paul

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

* Re: improper parsing of quoted string II
  2002-04-10  5:31 improper parsing of quoted string II Shayne Steele
  2002-04-12 19:31 ` Paul Jarc
@ 2002-04-15 12:54 ` Stefan Monnier
  1 sibling, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2002-04-15 12:54 UTC (permalink / raw)


>>>>> "Shayne" == Shayne Steele <steele@cs.fsu.edu> writes:
> " \t\n\r\f.,;\'\"-!`:?"
> Is this a bug or is there some way to tell the "colorizer parser" that
> I want to put a double-quote WITHIN a double-quoted string.

Is it actually allowed in HTML ?
Last time I looked at SGML it didn't seem to provide any such quoting.
But maybe I just missed it or maybe it's specific to HTML.
If so, could you point me to some documentation about it
(ideally on the web) ?


	Stefan

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

* Re: improper parsing of quoted string II
  2002-04-12 19:31 ` Paul Jarc
@ 2002-04-17  3:01   ` Shayne Steele
  0 siblings, 0 replies; 4+ messages in thread
From: Shayne Steele @ 2002-04-17  3:01 UTC (permalink / raw)


In article <m3y9fssohe.fsf@multivac.cwru.edu>,
Paul Jarc <prj@po.cwru.edu> wrote:
>steele@cs.fsu.edu (Shayne Steele) wrote:
>> Is this a bug or is there some way to tell the "colorizer parser" that
>> I want to put a double-quote WITHIN a double-quoted string.
>
>I don't know whether it's a bug, but &quot; should work.
>
        Yes, this works, BUT the problem is not the html displaying,
but that the Emacs "colorizer parser" can not correctly tell when this
quoted set of character ends.  This assumes that the backslash
character can be used in a quoted string to mean DO NOT interpret the
next character as its normal interpretation.


-- 
Shayne Steele	    Graduate Student in Computer Science at FSU
steele@cs.fsu.edu   http://www.cs.fsu.edu/~steele/
With great abilities come great responsibilities. -- Stan Lee

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

end of thread, other threads:[~2002-04-17  3:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-10  5:31 improper parsing of quoted string II Shayne Steele
2002-04-12 19:31 ` Paul Jarc
2002-04-17  3:01   ` Shayne Steele
2002-04-15 12:54 ` Stefan Monnier

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