unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Sebastian Meisel <sebastianmeisel@web.de>
To: help-gnu-emacs@gnu.org
Subject: insert text after a char depending on next char
Date: Fri, 20 Apr 2007 16:17:58 +0200	[thread overview]
Message-ID: <4628CB96.90601@web.de> (raw)

Hallo,

is the following possible in emacs, and if it is how can it be done:

I want emacs  to insert  "\," after a dot ("."), when no space is following:

I type: "Hallo World. Hallo World." -> emacs shall not insert anything, 
because a space is following.
I type: "Hallo World.Hallo World." -> emacs shall insert "\," after the 
dot resulting in: "Hallo World.\,Hallo World.".

Thanks for any hints.

Sebastian Meisel

             reply	other threads:[~2007-04-20 14:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-20 14:17 Sebastian Meisel [this message]
2007-04-20 19:01 ` insert text after a char depending on next char Peter Dyballa
     [not found] <mailman.2312.1177079016.7795.help-gnu-emacs@gnu.org>
2007-04-20 18:05 ` james
2007-04-20 18:55   ` weber
2007-04-20 21:45     ` james
2007-04-20 22:11       ` weber
2007-04-21  9:43       ` Sebastian Meisel

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=4628CB96.90601@web.de \
    --to=sebastianmeisel@web.de \
    --cc=help-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.
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).