From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dieter Wilhelm Newsgroups: gmane.emacs.help Subject: Re: efficient editing question (hot key , ccmode) Date: Sun, 19 Nov 2006 10:36:38 +0100 Organization: The Church of Emacs Message-ID: <87hcwvu6ah.fsf@hans.local.net> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1163931611 25320 80.91.229.2 (19 Nov 2006 10:20:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 19 Nov 2006 10:20:11 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 19 11:20:07 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GljmQ-0000YO-59 for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Nov 2006 11:20:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GljmP-0003KO-A1 for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Nov 2006 05:20:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gljjt-0002Ae-N4 for help-gnu-emacs@gnu.org; Sun, 19 Nov 2006 05:17:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gljjr-00029F-QL for help-gnu-emacs@gnu.org; Sun, 19 Nov 2006 05:17:29 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gljjq-00028i-FE for help-gnu-emacs@gnu.org; Sun, 19 Nov 2006 05:17:27 -0500 Original-Received: from [212.227.126.186] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gljjq-00083I-4h for help-gnu-emacs@gnu.org; Sun, 19 Nov 2006 05:17:26 -0500 Original-Received: from [84.167.0.114] (helo=duenenhof-wilhelm.de) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis), id 0MKwh2-1GljjX0FKT-0001Fm; Sun, 19 Nov 2006 11:17:07 +0100 Original-Received: by duenenhof-wilhelm.de (Postfix, from userid 1000) id 6298472CF6; Sun, 19 Nov 2006 10:36:38 +0100 (CET) Original-To: "Ronald" In-Reply-To: (Ronald's message of "Sun\, 19 Nov 2006 15\:39\:11 +0800") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:d7ab225b98a136e1c2910381f940ecb9 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:38818 Archived-At: "Ronald" writes: > If I press ``M-(", there will be a space before `(' , > how to inhibit it? (setq parens-require-spaces nil) ;no space before parens with M-( > And how to let ``{}" work in the same way? Unfortunately it is not working out of the box analogous because M-{ is already taken by forward-paragraph. Or is there some hack in cc-mode, please let me know. At least I got M-" running without interfering something: (global-set-key [?\M-\"] 'insert-pair) ;insert pair of quotes (`"'), see lisp.el > > When the caret is in the middle of a line, what do you mean exactly by caret? (Sorry, not a native speaker myself.) -- Best wishes H. Dieter Wilhelm Darmstadt, Germany