unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Saving file edit environment
@ 2002-12-06 20:07 CarlC
  2002-12-08 16:38 ` Dan Debertin
  0 siblings, 1 reply; 2+ messages in thread
From: CarlC @ 2002-12-06 20:07 UTC (permalink / raw)


Hi.

I am new to lisp and hope that someone can educate me just a little.

I want to be able to save some edit session variables for every file when it
is saved. Mainly I want to save the cursor position, the last search string
that was used, and the user. What I envision is that when a file is saved,
it will create a <filename>.el, also. When the file is opened for the next
edit session, it would execute this .el file. I doubt that this is too
difficult for emacs, but am not sure what hooks to use and I am not good
enough to write lisp functions.

Thanks for any help.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Saving file edit environment
  2002-12-06 20:07 Saving file edit environment CarlC
@ 2002-12-08 16:38 ` Dan Debertin
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Debertin @ 2002-12-08 16:38 UTC (permalink / raw)


"CarlC" <carlc@snowbd.com> writes:

> I want to be able to save some edit session variables for every file when it
> is saved. 

This:

http://emacs-session.sourceforge.net

Should do all (or most) of what you need.

Dan
--
/^Dan Debertin$/         
airboss@nodewarrior.org  | Did I sleep a little too late,
www.nodewarrior.org      | or am I awake?        --Byrne

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-08 16:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-06 20:07 Saving file edit environment CarlC
2002-12-08 16:38 ` Dan Debertin

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).