all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "CarlC" <carlc@snowbd.com>
Subject: Saving file edit environment
Date: Fri, 06 Dec 2002 20:07:17 GMT	[thread overview]
Message-ID: <Vr7I9.118824$Kj1.4834392@twister.austin.rr.com> (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.

             reply	other threads:[~2002-12-06 20:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-06 20:07 CarlC [this message]
2002-12-08 16:38 ` Saving file edit environment Dan Debertin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='Vr7I9.118824$Kj1.4834392@twister.austin.rr.com' \
    --to=carlc@snowbd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.