From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jiri Pejchal Newsgroups: gmane.emacs.help Subject: Re: Insert ; after closing parenthesis when on it Date: Fri, 16 Feb 2007 19:32:13 +0100 Message-ID: <87r6sqt0lu.fsf@gmail.com> References: <1171479816.170529.163000@a75g2000cwd.googlegroups.com> <1171485386.809853.269080@q2g2000cwa.googlegroups.com> <873b56mu74.fsf@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1171650768 15225 80.91.229.12 (16 Feb 2007 18:32:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Feb 2007 18:32:48 +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 Feb 16 19:32:42 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 1HI7st-0006di-Es for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Feb 2007 19:32:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HI7st-0001f6-2J for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Feb 2007 13:32:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HI7sg-0001ep-3R for help-gnu-emacs@gnu.org; Fri, 16 Feb 2007 13:32:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HI7sd-0001eM-Mw for help-gnu-emacs@gnu.org; Fri, 16 Feb 2007 13:32:24 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HI7sd-0001eJ-IM for help-gnu-emacs@gnu.org; Fri, 16 Feb 2007 13:32:23 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HI7sd-00043S-3h for help-gnu-emacs@gnu.org; Fri, 16 Feb 2007 13:32:23 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HI7sQ-0002PF-SJ for help-gnu-emacs@gnu.org; Fri, 16 Feb 2007 19:32:10 +0100 Original-Received: from ip-89-102-35-234.karneval.cz ([89.102.35.234]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Feb 2007 19:32:10 +0100 Original-Received: from jiri.pejchal by ip-89-102-35-234.karneval.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Feb 2007 19:32:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ip-89-102-35-234.karneval.cz User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) Cancel-Lock: sha1:NWHZ5VDltpjlJ5hPY++IrR18/jc= X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:41262 Archived-At: Markus Triska writes: > Jiri Pejchal writes: > >> And (c-electric-semi&comma ";") inserts ^E for me. > > Try: (c-electric-semi&comma nil) > > All the best, > Markus Triska I see. Thanks. I have also changed if to while and the final version is: (defun jump-closepar () "Close parenthesis Jiri's way" (interactive) (while (looking-at ")") (forward-char)) (c-electric-semi&comma nil)) -- Jiri Pejchal