From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: pierreth Newsgroups: gmane.emacs.help Subject: How to disable ':' from the electric feature? Date: Sun, 16 Mar 2008 12:45:26 -0700 (PDT) Organization: http://groups.google.com Message-ID: <2d4f0441-c9f5-4a32-9aaf-e9dfd887f2ce@m44g2000hsc.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1205746984 15561 80.91.229.12 (17 Mar 2008 09:43:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Mar 2008 09:43:04 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 17 10:43:33 2008 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 1JbBsK-0001wc-U7 for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Mar 2008 10:43:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbBrl-0003qs-8X for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Mar 2008 05:42:49 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!m44g2000hsc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: 24.201.244.7 Original-X-Trace: posting.google.com 1205696726 13027 127.0.0.1 (16 Mar 2008 19:45:26 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 16 Mar 2008 19:45:26 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: m44g2000hsc.googlegroups.com; posting-host=24.201.244.7; posting-account=1QPAjgoAAADOUMYXZoNxr_HA9pGFwO2c User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080207 Ubuntu/7.10 (gutsy) Firefox/2.0.0.12, gzip(gfe), gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:157082 X-Mailman-Approved-At: Mon, 17 Mar 2008 05:39:30 -0400 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:52457 Archived-At: Hello, I have a problem with the electric feature of emacs when I am writing in C++. I wrote my switch like this: switch(value) case dfsfds: { fsdff(); } break; While Emacs expect me to write it like this: switch(value) case dfsfds: fsdff(); break; But this is not my style. Can I disable to the ':' character from the electric feature?