2097Re: [jasspa] short questions
- Nov 6, 2006On 11/6/06, dsjkvf <dsjkvf@...> wrote:
> i want to create a new file and apply certain template to it (in myin fact, i can even operate this way:
> particular case i want the file's major mode be set to doc). of
> course, i want to do it with one keypress :) (with macro, i think) --
> in fact, it should be something like that: ask for a name for a new
> buffer, create buffer with this name and then set buffer's major mode
> to doc.
> how new buffers are created in ME at all? i don't seem to find any
> create-buffer command :).
insert-string "> -!- document -!-"
but then the highlighting will not work -- the file needs either to be
reopen (and then the header will set it's major mode to doc) or i
should set his mode manually via Tools -> Buffer setup -> Major mode.
what do you think, is there any way to automate this procedure?
- << Previous post in topic Next post in topic >>