From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Per Abrahamsen" Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: multiple queries to delete excess backup version w/ custom Date: Sun, 6 Jan 2008 20:58:02 +0100 Message-ID: <66a8b7a0801061158n23944eecj229587352537682f@mail.gmail.com> References: <477F5A39.1070904@gmx.at> <478004AF.80907@gmx.at> <66a8b7a0801051546m29e9cc07p84b991a16e59ace@mail.gmail.com> <4780A8CA.2000200@gmx.at> <66a8b7a0801060526v422437f7wac91df8dda849476@mail.gmail.com> <4780FD28.2080908@gmx.at> <66a8b7a0801061022u318587b9w94bcafdf0ba94bc2@mail.gmail.com> <47812A3A.8050606@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1199649531 20248 80.91.229.12 (6 Jan 2008 19:58:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Jan 2008 19:58:51 +0000 (UTC) Cc: Tom Tromey , emacs-pretest-bug@gnu.org To: "martin rudalics" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 06 20:59:12 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JBbeH-0005OZ-SI for ged-emacs-devel@m.gmane.org; Sun, 06 Jan 2008 20:59:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBbdu-0003DW-S3 for ged-emacs-devel@m.gmane.org; Sun, 06 Jan 2008 14:58:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBbdJ-0002qW-OS for emacs-devel@gnu.org; Sun, 06 Jan 2008 14:58:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBbdI-0002ox-2x for emacs-devel@gnu.org; Sun, 06 Jan 2008 14:58:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBbdH-0002or-Qr for emacs-devel@gnu.org; Sun, 06 Jan 2008 14:58:07 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JBbdH-0000Dt-Cf for emacs-devel@gnu.org; Sun, 06 Jan 2008 14:58:07 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JBbdH-0007Hf-2G for emacs-pretest-bug@gnu.org; Sun, 06 Jan 2008 14:58:07 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JBbdD-0000DL-Vw for emacs-pretest-bug@gnu.org; Sun, 06 Jan 2008 14:58:07 -0500 Original-Received: from wa-out-1112.google.com ([209.85.146.179]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JBbdD-0000DF-Mn for emacs-pretest-bug@gnu.org; Sun, 06 Jan 2008 14:58:03 -0500 Original-Received: by wa-out-1112.google.com with SMTP id k34so12040208wah.10 for ; Sun, 06 Jan 2008 11:58:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=OIfo3k3f+k0WVjzHEvIz/ABPcwPUe1nqYIQdquTj5D0=; b=hMUgKQwD9FvImn5675FUEdejoptdYe/AvIw95ID6mjwqMvZsdPUncKIyOXQ9hdEBMiHf3Pz8moX7FB9QlranTdKWCobvL9yAkoj/Q23FYzWypcEDc1ZcU/t046kOWEZnukqLFMDaQrTc/OHBia5Vxw94ho8MqTPgP+Cy/6qybpo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=O2S2q+GbGCV2OLeyr0WZqM3vCpNkrHZPxH4uYSM6iMEW6mj3b2OdqTse5By153s0SMAEYQGksvwq8zKl73GF9ewhFx7Tv1BQWDV+0PfvDJCA6JmReRmFuu7W9EIv9IiPEk+oUbxUp5xZkqpaUCM5dFGByw/Xa//slruZYlMbhJo= Original-Received: by 10.114.197.1 with SMTP id u1mr330135waf.61.1199649482830; Sun, 06 Jan 2008 11:58:02 -0800 (PST) Original-Received: by 10.114.79.10 with HTTP; Sun, 6 Jan 2008 11:58:02 -0800 (PST) In-Reply-To: <47812A3A.8050606@gmx.at> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:86377 gmane.emacs.pretest.bugs:20528 Archived-At: On Jan 6, 2008 8:21 PM, martin rudalics 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.