From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastian Meisel Newsgroups: gmane.emacs.help Subject: insert text after a char depending on next char Date: Fri, 20 Apr 2007 16:17:58 +0200 Message-ID: <4628CB96.90601@web.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1177078825 28688 80.91.229.12 (20 Apr 2007 14:20:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 Apr 2007 14:20:25 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 20 16:20:19 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HetyE-0004DU-OI for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Apr 2007 16:20:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Heu3I-0007f1-Ks for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Apr 2007 10:25:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Heu1P-0006zl-9o for help-gnu-emacs@gnu.org; Fri, 20 Apr 2007 10:23:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Heu1N-0006yr-Rt for help-gnu-emacs@gnu.org; Fri, 20 Apr 2007 10:23:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Heu1N-0006ym-K6 for help-gnu-emacs@gnu.org; Fri, 20 Apr 2007 10:23:33 -0400 Original-Received: from fmmailgate03.web.de ([217.72.192.234]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HetwI-0003Na-U6 for help-gnu-emacs@gnu.org; Fri, 20 Apr 2007 10:18:19 -0400 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate03.web.de (Postfix) with ESMTP id 7973A757094C for ; Fri, 20 Apr 2007 16:18:17 +0200 (CEST) Original-Received: from [77.179.114.13] (helo=[192.168.178.26]) by smtp06.web.de with asmtp (WEB.DE 4.108 #197) id 1HetwH-0003XX-00 for help-gnu-emacs@gnu.org; Fri, 20 Apr 2007 16:18:17 +0200 User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) X-Sender: sebastianmeisel@web.de X-Provags-ID: V01U2FsdGVkX1/i4eAzfrA+WcPQmyPllLffX2cgaPnixQa88lgs JdvLOXniCyaEIiGMPuecyFHCa1v+JHqEN6by6Tdof1KBdKu5en Xb1JpOANddLygMJERjaw== X-detected-kernel: Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:42893 Archived-At: 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