From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bernardo Newsgroups: gmane.emacs.help Subject: Re: Visiting inexistent file Date: Wed, 25 Nov 2009 21:22:52 +1100 Message-ID: <4B0D057C.9050005@pobox.com> References: Reply-To: bernardo.bacic@pobox.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1259144645 26705 80.91.229.12 (25 Nov 2009 10:24:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Nov 2009 10:24:05 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 25 11:23:58 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 1NDF2R-0006FN-Jm for geh-help-gnu-emacs@m.gmane.org; Wed, 25 Nov 2009 11:23:56 +0100 Original-Received: from localhost ([127.0.0.1]:39042 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDF2R-0000sq-52 for geh-help-gnu-emacs@m.gmane.org; Wed, 25 Nov 2009 05:23:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDF1s-0000qG-0U for help-gnu-emacs@gnu.org; Wed, 25 Nov 2009 05:23:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDF1m-0000nw-Nz for help-gnu-emacs@gnu.org; Wed, 25 Nov 2009 05:23:19 -0500 Original-Received: from [199.232.76.173] (port=40258 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDF1m-0000np-Aj for help-gnu-emacs@gnu.org; Wed, 25 Nov 2009 05:23:14 -0500 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:35426 helo=sasl.smtp.pobox.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NDF1l-0001xZ-L3 for help-gnu-emacs@gnu.org; Wed, 25 Nov 2009 05:23:13 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id E65DD827A7 for ; Wed, 25 Nov 2009 05:23:09 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=message-id :date:from:reply-to:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; s=sasl; bh= chtwEY4M5E9CmUlVCv2Es6iR69I=; b=n6OMDxqA6dYAEJPH7l9AmLwozoCF0Iak W6FrdZj9JWI0BL/J+JbsxgK6UQpe/etG/gqlSg0aRLDaPKAe9DrmEKcwrDfYVgbF YZh44iBOy5Rc0LhX5ElPJ7zxsVEX2YIEiE10FWC/TmpV5cqTVzeFOE4seV0Tmy72 vOBPDphOwoY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=message-id:date :from:reply-to:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sasl; b=Ak0qKX Ov0DECIPlAU5plFlIuIbzatCRvHiI72TMyzxtryaU2bflXmXWN9ve4hzGxEyRaVU T/MdWHhCWqdoQVznn8i/IHIIQa54PEJKYYv0CqDG1xQO5zuPGMrnp89OxLLfm0G0 amgJXJYqI36YjWqU0eFGKgYIHlcCu0C2eDM+w= Original-Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id DD325827A6 for ; Wed, 25 Nov 2009 05:23:09 -0500 (EST) Original-Received: from [192.168.1.10] (unknown [115.70.111.33]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 29EE6827A3 for ; Wed, 25 Nov 2009 05:23:08 -0500 (EST) User-Agent: Thunderbird 2.0.0.23 (X11/20090812) In-Reply-To: X-Pobox-Relay-ID: 87822164-D9AC-11DE-BB53-9F3FEE7EF46B-14340206!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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:70110 Archived-At: B. T. Raven said the following on 11/25/09 05:03: > 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" works fine here under GNU/Linux Emacs 23.1.1 > > However C-h i d m autotype shows: > > 6. Autoinserting > > So: > > (info "(autotype) autoinserting") > i'm guessing you're running this under MS Windows (have seen a similar effect on my PC at work) looks like Autoinserting has been moved into a separate info file under Windows, which is a bit of shame, it is not found in index under the main info file