* Visiting inexistent file
@ 2009-11-23 10:27 Urban Gabor
2009-11-23 10:51 ` Bernardo
[not found] ` <mailman.11327.1258973509.2239.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 7+ messages in thread
From: Urban Gabor @ 2009-11-23 10:27 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: TEXT/plain, Size: 345 bytes --]
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
Linux is like a wigwam: no gates, no windows, and an apache inside!
[-- Attachment #2: Type: TEXT/html, Size: 410 bytes --]
Hi guys,<br /><br />I have an issue and I would like to have the most elegant solution. <br /><br />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. <br /><br />Is there any possibility?<br /><br />Thanx in advance,<br /><br />Gabaux<br />Linux is like a wigwam: no gates, no windows, and an apache inside!<br /><br />
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Visiting inexistent file
2009-11-23 10:27 Visiting inexistent file Urban Gabor
@ 2009-11-23 10:51 ` Bernardo
[not found] ` <mailman.11327.1258973509.2239.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 7+ messages in thread
From: Bernardo @ 2009-11-23 10:51 UTC (permalink / raw)
To: help-gnu-emacs
> 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")
^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <mailman.11327.1258973509.2239.help-gnu-emacs@gnu.org>]
* Re: Visiting inexistent file
[not found] ` <mailman.11327.1258973509.2239.help-gnu-emacs@gnu.org>
@ 2009-11-24 17:50 ` B. T. Raven
2009-11-24 18:03 ` B. T. Raven
0 siblings, 1 reply; 7+ messages in thread
From: B. T. Raven @ 2009-11-24 17:50 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Visiting inexistent file
2009-11-24 17:50 ` B. T. Raven
@ 2009-11-24 18:03 ` B. T. Raven
2009-11-25 10:22 ` Bernardo
[not found] ` <mailman.11451.1259144602.2239.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 7+ messages in thread
From: B. T. Raven @ 2009-11-24 18:03 UTC (permalink / raw)
To: help-gnu-emacs
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
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Visiting inexistent file
2009-11-24 18:03 ` B. T. Raven
@ 2009-11-25 10:22 ` Bernardo
[not found] ` <mailman.11451.1259144602.2239.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 7+ messages in thread
From: Bernardo @ 2009-11-25 10:22 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <mailman.11451.1259144602.2239.help-gnu-emacs@gnu.org>]
* Re: Visiting inexistent file
[not found] ` <mailman.11451.1259144602.2239.help-gnu-emacs@gnu.org>
@ 2009-11-25 22:47 ` B. T. Raven
2009-11-26 9:26 ` harven
0 siblings, 1 reply; 7+ messages in thread
From: B. T. Raven @ 2009-11-25 22:47 UTC (permalink / raw)
To: help-gnu-emacs
Bernardo wrote:
> 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
>
>
Correct. I guess the wigwam tag-line in the OP should have tipped me
off. I didn't know the info files linking was different on the two OSes.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Visiting inexistent file
2009-11-25 22:47 ` B. T. Raven
@ 2009-11-26 9:26 ` harven
0 siblings, 0 replies; 7+ messages in thread
From: harven @ 2009-11-26 9:26 UTC (permalink / raw)
To: help-gnu-emacs
"B. T. Raven" <nihil@nihilo.net> writes:
>>> 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
>>
>>
>
> Correct. I guess the wigwam tag-line in the OP should have tipped me
> off. I didn't know the info files linking was different on the two OSes.
There is also a separate autotype info file under debian.
GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.16.5) of 2009-09-14 on raven, modified by Debian
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-11-26 9:26 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-23 10:27 Visiting inexistent file Urban Gabor
2009-11-23 10:51 ` Bernardo
[not found] ` <mailman.11327.1258973509.2239.help-gnu-emacs@gnu.org>
2009-11-24 17:50 ` B. T. Raven
2009-11-24 18:03 ` B. T. Raven
2009-11-25 10:22 ` Bernardo
[not found] ` <mailman.11451.1259144602.2239.help-gnu-emacs@gnu.org>
2009-11-25 22:47 ` B. T. Raven
2009-11-26 9:26 ` harven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).