From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bkhl@member.fsf.org (=?utf-8?Q?Bj=C3=B6rn_Lindstr=C3=B6m?=) Newsgroups: gmane.emacs.help Subject: Re: How can I stop Emacs from messing up my code by changing case Date: Tue, 21 Feb 2006 22:33:51 +0100 Message-ID: <8764n8s8g0.fsf@killalla.dreaming> References: <1140521633.073193.170370@g44g2000cwa.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1140595821 19480 80.91.229.2 (22 Feb 2006 08:10:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Feb 2006 08:10:21 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 22 09:10:20 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 1FBp4Y-00065R-8C for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Feb 2006 09:10:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FBp4W-00021e-Av for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Feb 2006 03:10:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FBg9w-0000Ho-RF for help-gnu-emacs@gnu.org; Tue, 21 Feb 2006 17:39:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FBg8S-0006fX-Rr for help-gnu-emacs@gnu.org; Tue, 21 Feb 2006 17:37:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FBg1c-0001M4-CB for help-gnu-emacs@gnu.org; Tue, 21 Feb 2006 17:30:32 -0500 Original-Received: from [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 1FBg7x-00062G-Ri for help-gnu-emacs@gnu.org; Tue, 21 Feb 2006 17:37:02 -0500 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1FBg1M-0007n7-SG for help-gnu-emacs@gnu.org; Tue, 21 Feb 2006 23:30:12 +0100 Original-Received: from h153n2c1o1124.bredband.skanova.com ([81.228.153.153]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Feb 2006 23:30:12 +0100 Original-Received: from bkhl by h153n2c1o1124.bredband.skanova.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Feb 2006 23:30:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-To: help-gnu-emacs@gnu.org Original-Lines: 13 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: h153n2c1o1124.bredband.skanova.com Mail-Copies-To: never User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:aoBDpi+zeLxu/ybaNBHbclVQ0mA= 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:33355 Archived-At: "anne001" : > Emacs keep changing cases on me. Sometimes it will take a word and put > a capital letter. That messes up ruby because words with capital > letters are supposed to be class... or it takes end and makes it End > and things no longer work. It sounds like you are invoking the function capitalize-word (bound to `M-c') by mistake. The next time this happens, you can press `C-h l' to get a list of your last 100 input keystrokes, and see if there are any `M-c' or `ESC c' in there.