From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: sunway Newsgroups: gmane.emacs.help Subject: Re: abbrev-mode doesn't work correctly in c-mode Date: Mon, 3 Mar 2008 00:59:52 +0800 Message-ID: <20080302165951.GA25541@sunway> References: <200803021752.44139.andreas.roehler@online.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1204477198 13855 80.91.229.12 (2 Mar 2008 16:59:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Mar 2008 16:59:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 02 18:00:24 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 1JVrXu-0002Z7-Aq for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Mar 2008 18:00:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVrXN-0001qW-Mk for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Mar 2008 11:59:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JVrX0-0001n8-1b for help-gnu-emacs@gnu.org; Sun, 02 Mar 2008 11:59:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JVrWv-0001ft-RO for help-gnu-emacs@gnu.org; Sun, 02 Mar 2008 11:59:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVrWv-0001fh-JI for help-gnu-emacs@gnu.org; Sun, 02 Mar 2008 11:59:17 -0500 Original-Received: from ti-out-0910.google.com ([209.85.142.187]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JVrWv-0001Xm-2d for help-gnu-emacs@gnu.org; Sun, 02 Mar 2008 11:59:17 -0500 Original-Received: by ti-out-0910.google.com with SMTP id a20so5357899tia.10 for ; Sun, 02 Mar 2008 08:59:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:to:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:content-transfer-encoding:in-reply-to:user-agent:from; bh=vdGDdrx4boWUB0t/2rVIQYvGLsM9JcXs7oePQzF9nFA=; b=pW8NJ7xbbVJMmn7vxjOHjlARUddSlyLKOqT3fhiWyA33w7wOX4D8NnXrssVQHBgtGdhLheVz9GfwyGtjikNxA+FnviTc8Wzpb5cPx4V2Yk2oFGv3QD2KNNb//CgXz9GUNiI9XTmzprvyIDniNDiDo3EeQSa2iZRNg5GvlkEIdoU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:content-transfer-encoding:in-reply-to:user-agent:from; b=kyROFzlxdM9pIrTKybWerklUZXI+vHxpkiC9hCsv73e6J3dvIuM96nVcrd/CjKXlmu2PaO044WDTUBpiARUjTmgc8igmGWkQls8Wu8QgIyGT0D4rrEm2ydMIp1tSnKv3LzfmNC65UF/z77zJXUcgtnsZ0gvyZZkXKJz6MQS7X+8= Original-Received: by 10.150.124.2 with SMTP id w2mr4157847ybc.2.1204477152836; Sun, 02 Mar 2008 08:59:12 -0800 (PST) Original-Received: from sunway ( [124.64.69.72]) by mx.google.com with ESMTPS id g7sm15703970wra.33.2008.03.02.08.59.10 (version=SSLv3 cipher=OTHER); Sun, 02 Mar 2008 08:59:12 -0800 (PST) Original-Received: by sunway (sSMTP sendmail emulation); Mon, 03 Mar 2008 00:59:52 +0800 Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <200803021752.44139.andreas.roehler@online.de> User-Agent: Mutt/1.5.17 (2007-11-01) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:51998 Archived-At: nothing wrong if i install "inc" as a global abbreviation of "#include", it works fine when i input "inc" in other mode than c-mode, but if i input "inc" in c-mode, it works wrong. maybe the error occurs only in c-mode because "#" character is special in c-mode? On Sun, Mar 02, 2008 at 05:52:43PM +0100, Andreas R鰄ler wrote: >Am Sonntag, 2. M鋜z 2008 14:14 schrieb sunway: > > >M-x edit-abbrevs > >Goto > >(c-mode-abbrev-table) > >or wherever your mode-abbrevs are stored > >and see, how "inc" will be expanded. > >Probably you'll see the wrong entry there. So correct >it. > > >Andreas R鰄ler > -- sunway