From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Roberto Huelga Newsgroups: gmane.emacs.help Subject: Abbrevs and Comments Date: Mon, 13 Jan 2003 13:09:05 +0100 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v551) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1042460064 1879 80.91.224.249 (13 Jan 2003 12:14:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 13 Jan 2003 12:14:24 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Y3Tz-0000UA-00 for ; Mon, 13 Jan 2003 13:14:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Y3V4-0005wK-01 for gnu-help-gnu-emacs@m.gmane.org; Mon, 13 Jan 2003 07:15:30 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18Y3Sm-0005Q9-00 for help-gnu-emacs@gnu.org; Mon, 13 Jan 2003 07:13:08 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18Y3RH-00054N-00 for help-gnu-emacs@gnu.org; Mon, 13 Jan 2003 07:11:36 -0500 Original-Received: from leviathan.cnchost.com ([207.155.252.18]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Y3R9-0004zU-00 for help-gnu-emacs@gnu.org; Mon, 13 Jan 2003 07:11:27 -0500 Original-Received: from multinterior.com (195-57-122-214.uc.nombres.ttd.es [195.57.122.214]) by leviathan.cnchost.com id HAA14990; Mon, 13 Jan 2003 07:11:21 -0500 (EST) [ConcentricHost SMTP Relay 1.15] Original-To: help-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.551) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5435 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5435 Hello, and happy new year to every body (my first mail of the year). I recently modify my .emacs file to make use of abbrev and skeletons in c-mode and c++-mode. I make that "if" expands to "if() { }" and all is prefect. But When I'm writing a comment or a literal the abbrev expands too. Is there a automatic way to don't expand in these situations?. Thanks.