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: Autoinsert Date: Mon, 30 Dec 2002 13:32:11 +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 1041251738 11926 80.91.224.249 (30 Dec 2002 12:35:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 30 Dec 2002 12:35:38 +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 18Sz8q-00036A-00 for ; Mon, 30 Dec 2002 13:35:36 +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 18Sz8M-0000AV-00 for gnu-help-gnu-emacs@m.gmane.org; Mon, 30 Dec 2002 07:35:06 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18Sz84-00004w-00 for help-gnu-emacs@gnu.org; Mon, 30 Dec 2002 07:34:48 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18Sz7o-00083F-00 for help-gnu-emacs@gnu.org; Mon, 30 Dec 2002 07:34:34 -0500 Original-Received: from valiant.concentric.net ([207.155.252.9] helo=valiant.cnchost.com) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Sz7j-0007xT-00 for help-gnu-emacs@gnu.org; Mon, 30 Dec 2002 07:34:27 -0500 Original-Received: from multinterior.com (195-57-122-214.uc.nombres.ttd.es [195.57.122.214]) by valiant.cnchost.com id HAA26644; Mon, 30 Dec 2002 07:34:24 -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:5125 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5125 Hello to every body. I'm starting with the skeletons and autoinsert. Skeletons and abbrevs work fine, but the autoinsert doesn't expand the tag. In my .emacs file I have the following lines about autoinsert: (require 'autoinsert) (add-hook 'find-file-hook 'auto-insert) (define-auto-insert "\\.\\(H\\|hh\\|hxx\\|hpp\\)\\'" "cxx-header.hh") And the cxx-header.hh file is like this: #ifndef __%B_%E__ #define __%B_%E__ class %@ { }; #endif And nothing is expanded. Someone can help me? (I don't want to use skeletons here) A lot of Thanks