all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Aaron Maxwell <amax@redsymbol.net>
To: Deniz Dogan <deniz.a.m.dogan@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: HTML and URL escaping functions
Date: Tue, 15 Jun 2010 08:39:27 -0700	[thread overview]
Message-ID: <201006150839.27607.amax@redsymbol.net> (raw)
In-Reply-To: <AANLkTilqNAhSrBqqMjQQGu9AzdK9xLHeukCk286weu5N@mail.gmail.com>

On Sunday 13 June 2010 12:31:17 pm you wrote:
> About the HTML entities: I'm not sure how you implemented it, but e.g.
> sgml-mode.el has `sgml-char-names' (along with sgml-name-8bit-mode)
> and I'm pretty sure nxhtml has something for it as well. I don't know
> about the "URL quoting".

Thanks, wasn't familiar with that (it's actually named sgml-name-char). 

One difference I see is that sgml-name-char works on a single character, while 
html-escape-region finds all non-html-safe characters in a region, and 
escapes them.

I couldn't find anything in nxml, anyone know of a specific command or 
function?

Cheers,
Aaron

-- 
Aaron Maxwell
http://redsymbol.net/



  reply	other threads:[~2010-06-15 15:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-13 19:26 HTML and URL escaping functions Aaron Maxwell
2010-06-13 19:31 ` Deniz Dogan
2010-06-15 15:39   ` Aaron Maxwell [this message]
2010-06-15 21:37     ` Juri Linkov
2010-06-14 12:38 ` Mark A. Hershberger
2010-06-15 15:45   ` Aaron Maxwell
2010-06-15 17:37     ` Stefan Monnier

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=201006150839.27607.amax@redsymbol.net \
    --to=amax@redsymbol.net \
    --cc=deniz.a.m.dogan@gmail.com \
    --cc=emacs-devel@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.