help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to write a string to a file inside emacs ?


From: gnuist006
Subject: Re: How to write a string to a file inside emacs ?
Date: Wed, 24 Oct 2007 03:17:17 -0000
User-agent: G2/1.0

On Oct 23, 6:00 pm, Stefan Monnier <address@hidden> wrote:
> > Kludgy feature: if START is a string, then that string is written
> > to the file, instead of any buffer contents, and END is ignored.
> > <--------It does not seem to work
>
> I'd be happy to help, but I need more info than "does not seem to work".
>
>         Stefan

Can you make any of these work? I tried the non-kludge feature,
which works and its not the path name. There is some debugger
error which i cant understand.

(write-region "astring" 2  "file2" APPEND)

(write-region "astring"  "file2" APPEND)

(write-region "astring"   "file2" )

(write-region "astring" 2  "file2" )



reply via email to

[Prev in Thread] Current Thread [Next in Thread]