From: Juanma Barranquero <lektu@terra.es>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: xml.el patches for better spec compliance
Date: Thu, 13 Mar 2003 11:31:36 +0100 [thread overview]
Message-ID: <20030313112802.6A03.LEKTU@terra.es> (raw)
In-Reply-To: <874r68b8l0.fsf@superman.everybody.org>
On Wed, 12 Mar 2003 15:04:11 -0600, mah@everybody.org (Mark A. Hershberger) wrote:
> [This patch replaces the one sent earlier.]
[...]
> *** 451,456 ****
> --- 469,485 ----
> (setq string (replace-match "'" t nil string)))
> (while (string-match """ string)
> (setq string (replace-match "\"" t nil string)))
> + (while (string-match "&#\\([0-9]+\\);" string)
> + (setq string (replace-match (char-to-ucs
> + (string-to-int
> + (match-string-no-properties 1 string)))
> + t nil string)))
> + (while (string-match "&#x\\([0-9a-fA-F]+\\);" string)
> + (setq string (replace-match (char-to-ucs
> + (hex-string-to-number
> + (match-string-no-properties 1 string)))
> + t nil string)))
> +
> ;; This goes last so it doesn't confuse the matches above.
> (while (string-match "&" string)
> (setq string (replace-match "&" t nil string)))
Are `char-to-ucs' and `hex-string-to-number' XEmacs functions?
/L/e/k/t/u
next prev parent reply other threads:[~2003-03-13 10:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-12 21:04 xml.el patches for better spec compliance Mark A. Hershberger
2003-03-13 10:31 ` Juanma Barranquero [this message]
[not found] ` <mailman.3159.1047551561.21513.bug-gnu-emacs@gnu.org>
2003-03-13 17:03 ` Mark A. Hershberger
2003-03-14 17:03 ` Mark A. Hershberger
[not found] <mailman.3142.1047498362.21513.bug-gnu-emacs@gnu.org>
2003-03-14 17:56 ` Mark A. Hershberger
2003-03-14 23:51 ` Juanma Barranquero
-- strict thread matches above, loose matches on Subject: below --
2003-03-12 19:42 Mark A. Hershberger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030313112802.6A03.LEKTU@terra.es \
--to=lektu@terra.es \
--cc=bug-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.