[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [External] : Saving variables for use between emacs sessions
From: |
Drew Adams |
Subject: |
RE: [External] : Saving variables for use between emacs sessions |
Date: |
Fri, 16 Sep 2022 02:19:40 +0000 |
> > Just define the option with defcustom.
> >
> > Users can use Customize to change the
> > value and save that new setting to their
> > `custom-file' or init file. Or they can use` custom*' functions to
> > set and to save. Or you can use such
> > functions to do that for them "in an
> > automatic way".
> >
> > Just look into what's available - it's
> > all there. You, yourself, can easily
> > check it out.
>
> I have coded as follows
> (defgroup tpframe-pos nil
> "Set position of frame."
> :group 'convenience)
> (defcustom tpfxpos 8
> "X position of initial frame."
> :group 'tpframe-pos :type 'integer)
> (defcustom tpfypos 8
> "Y position of initial frame."
> :group 'tpframe-pos :type 'integer)
>
> Then I have a function that changes the values with
> (setq tpfxpos nlft) and (setq tpfypos ntop)
What part of this:
> > use `custom*' functions to set and to save.
^^^^^^^^^ ^^^^
did you not understand? Or did you just ignore
it all?
Do you think `setq' is a `custom*' function?
Do you think it saves the variable value
persistently?
- Saving variables for use between emacs sessions, uzibalqa, 2022/09/15
- RE: [External] : Saving variables for use between emacs sessions, Drew Adams, 2022/09/15
- Re: [External] : Saving variables for use between emacs sessions, Robert Pluim, 2022/09/15
- Re: [External] : Saving variables for use between emacs sessions, Marcin Borkowski, 2022/09/15
- RE: [External] : Saving variables for use between emacs sessions, Drew Adams, 2022/09/15
- Re: [External] : Saving variables for use between emacs sessions, uzibalqa, 2022/09/15
- RE: [External] : Saving variables for use between emacs sessions, Drew Adams, 2022/09/15
- RE: [External] : Saving variables for use between emacs sessions, uzibalqa, 2022/09/15
- RE: [External] : Saving variables for use between emacs sessions,
Drew Adams <=
- RE: [External] : Saving variables for use between emacs sessions, uzibalqa, 2022/09/15
- Re: [External] : Saving variables for use between emacs sessions, Jean Louis, 2022/09/16
- Re: [External] : Saving variables for use between emacs sessions, uzibalqa, 2022/09/16