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 11:50:58 -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 1259088048 10841 80.91.229.12 (24 Nov 2009 18:40:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Nov 2009 18:40:48 +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:40:41 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 1ND0Jc-0008Vt-6K for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Nov 2009 19:40:40 +0100 Original-Received: from localhost ([127.0.0.1]:56869 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ND0Jb-0005uI-N4 for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Nov 2009 13:40:39 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!news2.google.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 11:50:54 -0600 User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) Original-Newsgroups: gnu.emacs.help In-Reply-To: X-No-Archive: yes Original-Lines: 28 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 12.73.129.83 Original-X-Trace: sv3-p7qJsGRAoAtJqS/Dovj+NRjO3+4fMBu/j1No14V32KboiENA8Vhwene7VlDGvBwcVv3lCCPOBCy0k/n!R2W+xjwNS7CdPN27yFA2R7u7znV8TPEMCLdcy0thOmSXYnjXGhOI/0BsgE76oqzWKHiFjgg4+iN8!7ZkBupXL8GqU6UKH3SlaOu9Q9TUWGQ== 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:175021 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:70092 Archived-At: 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" Maybe here: http://www.emacswiki.org/emacs/AutoInsertMode