unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Per Abrahamsen" <per.abrahamsen@gmail.com>
To: "martin rudalics" <rudalics@gmx.at>
Cc: Tom Tromey <tromey@redhat.com>, emacs-pretest-bug@gnu.org
Subject: Re: multiple queries to delete excess backup version w/ custom
Date: Sun, 6 Jan 2008 20:58:02 +0100	[thread overview]
Message-ID: <66a8b7a0801061158n23944eecj229587352537682f@mail.gmail.com> (raw)
In-Reply-To: <47812A3A.8050606@gmx.at>

On Jan 6, 2008 8:21 PM, martin rudalics <rudalics@gmx.at> wrote:
> I can find only `custom-variable-save', `custom-face-save', and
> `custom-group-save'.  And these are called only from the respective
> widgets and the corresponding menu entries.  Hence, all I'd have to do
> is, in `Custom-save' and `custom-group-save' call the method
> :custom-mark-for-saving for the respective children, implement that
> method with a function just like custom-...-save but with the call to
> `custom-save-all' omitted.  Or have I overseen something?

You might want to implement the function that saves as a call to the
function that merely marks for saving, followed by a call to to
custom-save-all, rather than duplicate the code.

If you invent a :custom-mark-for-saving, you will no longer need a
:custom-save method.

  reply	other threads:[~2008-01-06 19:58 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-04 20:41 multiple queries to delete excess backup version w/ custom Tom Tromey
2008-01-04 22:37 ` martin rudalics
2008-01-04 22:28   ` Tom Tromey
2008-01-04 23:11     ` martin rudalics
2008-01-04 22:50       ` Tom Tromey
2008-01-05 10:21         ` martin rudalics
2008-01-05 18:42           ` Tom Tromey
2008-01-05 22:29             ` martin rudalics
2008-01-05 23:46               ` Per Abrahamsen
2008-01-06 10:09                 ` martin rudalics
2008-01-06 13:26                   ` Per Abrahamsen
2008-01-06 16:09                     ` martin rudalics
2008-01-06 18:22                       ` Per Abrahamsen
2008-01-06 19:21                         ` martin rudalics
2008-01-06 19:58                           ` Per Abrahamsen [this message]
2008-01-06 22:22                             ` martin rudalics
2008-01-10  9:51                             ` martin rudalics
2008-01-06 10:46             ` Richard Stallman
2008-01-06  8:09         ` Richard Stallman
2008-01-05 14:31 ` Richard Stallman

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=66a8b7a0801061158n23944eecj229587352537682f@mail.gmail.com \
    --to=per.abrahamsen@gmail.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=rudalics@gmx.at \
    --cc=tromey@redhat.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 public inbox

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

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