From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: Visiting inexistent file Date: Tue, 24 Nov 2009 12:03:40 -0600 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1259088110 11033 80.91.229.12 (24 Nov 2009 18:41:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Nov 2009 18:41:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 24 19:41:43 2009 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 1ND0Kc-0000YR-F0 for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Nov 2009 19:41:42 +0100 Original-Received: from localhost ([127.0.0.1]:57393 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ND0Ka-0007EQ-RB for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Nov 2009 13:41:40 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!news.glorb.com!news2.glorb.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.sysmatrix.net!news.sysmatrix.net.POSTED!not-for-mail Original-NNTP-Posting-Date: Tue, 24 Nov 2009 12:03:36 -0600 User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) Original-Newsgroups: gnu.emacs.help In-Reply-To: X-No-Archive: yes Original-Lines: 38 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 12.73.129.83 Original-X-Trace: sv3-6chHzR1Kto1aptaE6sdrZl0x6EwDmQU9w7QcWpn6HYRjZJhSPpVPQ3gjXhMWwWjKxQVJo4vy6NdJfo3!H0O1zVKhECAZJTPWWPitYrMV+N2LlMQKNLmeHO9l9UqwVCsy8Os+yTQI9pZyW8tgepsH061pNhyD!8HQmAzHJfi/cB1umwzNqyR+5Yd3t3g== Original-X-Complaints-To: abuse@sysmatrix.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Original-Xref: news.stanford.edu gnu.emacs.help:175022 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 X-Gmane-Expiry: 2009-12-08 Xref: news.gmane.org gmane.emacs.help:70093 Archived-At: B. T. Raven wrote: > Bernardo wrote: >>> Hi guys, >>> >>> I have an issue and I would like to have the most elegant solution. >>> >>> Whenever I visit an inexistent file, I would like to load an empty >>> template file for that type. EG.: for .c and .h files, for .py and so on. >>> >>> Is there any possibility? >>> >>> Thanx in advance, >>> >>> Gabaux >> >> see this documentation page: >> (info "(emacs) Autoinserting") >> >> > > That gives: "No such node or anchor" However C-h i d m autotype shows: 6. Autoinserting So: (info "(autotype) autoinserting") > > > Maybe here: > > http://www.emacswiki.org/emacs/AutoInsertMode > >