all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.