unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Michal Nazarewicz <mina86@mina86.com>
To: rms@gnu.org
Cc: emacs-devel@gnu.org
Subject: Re: Electric punctuation mode
Date: Wed, 03 Feb 2016 02:22:39 +0100	[thread overview]
Message-ID: <xa1ty4b2mvts.fsf@mina86.com> (raw)
In-Reply-To: <E1aQk6T-0001BC-Ho@fencepost.gnu.org>

On Tue, Feb 02 2016, Richard Stallman wrote:
> [[[ To any NSA and FBI agents reading my email: please consider    ]]]
> [[[ whether defending the US Constitution against all enemies,     ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>
> Would you be interested in making a version that generates HTML constructs
> for these characters, such as &hellip; for ellipsis?

This is perfectly doable and rules for ‘&lt;’, ‘&gt;’, ‘&amp;’ and
‘&quot;’ already exist in the code.  Adding more for different entities
would be easy.

The only problem is that &hellip; is not an XML entity so care would
need to be taken to, by default, use it in HTML mode only.

-- 
Best regards
Liege of Serenely Enlightened Majesty of Computer Science,
ミハウ “mina86” ナザレヴイツ  <mpn@google.com> <xmpp:mina86@jabber.org>



  reply	other threads:[~2016-02-03  1:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-02 16:37 Electric punctuation mode Michal Nazarewicz
2016-02-02 23:11 ` Richard Stallman
2016-02-03  1:22   ` Michal Nazarewicz [this message]
2016-02-03 10:20     ` Yuri Khan
2016-02-03 12:17       ` Michal Nazarewicz
2016-02-03 13:20         ` Stefan Monnier
2016-02-03 22:53         ` Richard Stallman
2016-02-04 13:54           ` Michal Nazarewicz
2016-02-03 22:53       ` Richard Stallman
2016-02-03 15:39     ` Richard Stallman
2016-02-04 13:50       ` Michal Nazarewicz
2016-02-03  2:39 ` Paul Eggert

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xa1ty4b2mvts.fsf@mina86.com \
    --to=mina86@mina86.com \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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 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).