unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Martin Blais" <blais@furius.ca>
To: rms@gnu.org
Cc: emacs-devel@gnu.org, handa@m17n.org
Subject: Re: smartquotes.el -- Insertion of unicode quotes in text documents
Date: Mon, 27 Aug 2007 00:46:10 -0400	[thread overview]
Message-ID: <1b151690708262146r56a80a4i2fb5bf3e07177bb8@mail.gmail.com> (raw)
In-Reply-To: <E1IPQtC-0001sb-N1@fencepost.gnu.org>

On 8/26/07, Richard Stallman <rms@gnu.org> wrote:
>     ;; - C-" inserts then cycles through the fancier double quotes;
>
>     ;; - C-' inserts then cycles through the fancier single quotes;
>
>     ;; - Inserting four dots inserts an ellipsis character. Inserting an additional
>     ;;   fourth dot resumes with a string of dots;
>
>     ;; - Inserting four hyphens inserts an mdash (a long dash character), then an
>     ;;   ndash (an inter-word dash character), and then resumes with a string of
>     ;;   normal hyphens.
>
> I can see why it is useful, but we already have a similar facility:
> Quail.  What about using Quail for this?

Hi Richard

I fail to see how Quail can be used to do what smartquotes.el does.

1. I need special bindings for the fancy quotes and double quotes
2. I'm modifying the meanings of . and - (I don't know how to do this
with Quail)

Sometimes it takes less effort to write something simple for yourself
than to learn something more complex. In this case, I simply did not
remember or know Quail enough to check it out first (I will).

Bisous,



PS I still did not find time to clean up rst.el to send you the final
version for inclusion...  it's still on my list.

  reply	other threads:[~2007-08-27  4:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1b151690708252221j7177cea1xe8916c52a1110190@mail.gmail.com>
2007-08-26 22:47 ` smartquotes.el -- Insertion of unicode quotes in text documents Richard Stallman
2007-08-27  4:46   ` Martin Blais [this message]
     [not found]     ` <E1IPj9g-0003Zm-8v@fencepost.gnu.org>
2007-08-27 18:53       ` David Kastrup
     [not found]         ` <E1IQ3Hl-0008FI-LE@fencepost.gnu.org>
2007-08-30  8:12           ` Kenichi Handa
2007-08-30  8:29             ` David Kastrup
2007-08-30 11:46               ` Kenichi Handa
2007-08-30 12:32                 ` David Kastrup
2007-08-31  7:36                 ` Richard Stallman
2007-08-31  7:35             ` Richard Stallman
2007-09-04  6:48               ` Kenichi Handa
2007-08-27  5:08   ` David Kastrup
2007-08-27 21:16     ` Composition of Quail IMs (was: smartquotes.el -- Insertion of unicode quotes in text documents) 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

  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=1b151690708262146r56a80a4i2fb5bf3e07177bb8@mail.gmail.com \
    --to=blais@furius.ca \
    --cc=emacs-devel@gnu.org \
    --cc=handa@m17n.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).