From unknown Tue Jun 17 01:44:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12952: 24.3.50; Buggy handling of dependencies between customized variables Resent-From: Stephen Berman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Nov 2012 14:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12952 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 12952@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.135350869611948 (code B ref -1); Wed, 21 Nov 2012 14:39:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Nov 2012 14:38:16 +0000 Received: from localhost ([127.0.0.1]:58456 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TbBRP-00036d-7B for submit@debbugs.gnu.org; Wed, 21 Nov 2012 09:38:16 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49346) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TbBRJ-00036O-RJ for submit@debbugs.gnu.org; Wed, 21 Nov 2012 09:38:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TbBQ0-0007GJ-GE for submit@debbugs.gnu.org; Wed, 21 Nov 2012 09:36:54 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:33252) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbBQ0-0007GD-CO for submit@debbugs.gnu.org; Wed, 21 Nov 2012 09:36:48 -0500 Received: from eggs.gnu.org ([208.118.235.92]:52760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbBPv-0003qV-Ei for bug-gnu-emacs@gnu.org; Wed, 21 Nov 2012 09:36:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TbBPt-0007F2-S5 for bug-gnu-emacs@gnu.org; Wed, 21 Nov 2012 09:36:43 -0500 Received: from mailout-de.gmx.net ([213.165.64.23]:49221) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TbBPt-0007Eg-Hj for bug-gnu-emacs@gnu.org; Wed, 21 Nov 2012 09:36:41 -0500 Received: (qmail invoked by alias); 21 Nov 2012 14:36:38 -0000 Received: from i59F5654F.versanet.de (EHLO rosalinde.fritz.box) [89.245.101.79] by mail.gmx.net (mp019) with SMTP; 21 Nov 2012 15:36:38 +0100 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1/+iBUEzRv+cAVeLe3TfRr/3D0obEXJTNgxViokLF UYAxvVOlsjRpAG From: Stephen Berman Date: Wed, 21 Nov 2012 15:36:33 +0100 Message-ID: <87r4nnggzy.fsf@rosalinde.fritz.box> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) There's a bug in the handling of :set-after dependencies between customized variables; details below. But first, here's a recipe showing how the bug can have annoying side effects: 0. Ensure that ~/.emacs and ~/.emacs.d/ do not exist or are empty. 1. Start Emacs (*without* -Q or -q). 2. Type `M-x customize-create-theme RET', then create a theme, give it a name and save it (it is helpful if the theme is readily recognizable when enabled, e.g., default face with the strike-through attribute in red). 3. Type `M-x customize-option RET custom-file RET', change the Value Menu from `Your Emacs init file' to `File', type a file name in the editable field (choosing `~/.emacs' as the value, though rather perverse, also triggers the bug), then select the State `Save for Future Sessions'. 4. Type `M-x customize-themes RET', click the check-box next to the name of the theme created in step 2, then click the button 'Save Theme Settings'. Now the file named in step 3 should look like this (modulo the values): (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(custom-enabled-themes (quote (srb-test))) '(custom-file "~/.emacs-custom.el") '(custom-safe-themes (quote ("c0e0b5618faae142b2a62d45174f9a0db392ee7ca12accd705a3a524e3490adf" default)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) 5. If you gave custom-file a different name than `~/.emacs' in step 3, now type `C-x C-f ~/.emacs RET' and insert this line: (load "~/.emacs-custom.el") where the file to be loaded is the one named in step 3, then save ~/.emacs. 6. Kill Emacs, then start it again (as in step 1). => The frame is split, with the *scratch* buffer above, the buffer *Custom Theme* below, containing the code of the theme created in step 2, and this is in the Minibuffer: "Loading a theme can run Lisp code. Really load? (y or n) ". If you type `y', you should see the theme created in step 2, and this in the Minibuffer: "Treat this theme as safe in future sessions? (y or n) ". Even if you answer `y', the next time you start Emacs (with the customizations made above), the same thing happens again, and every subsequent time. In other words, even though you tell Emacs to save the theme as safe, Emacs does not treat it as safe the next time it starts. The patch below fixes at least this specific problem, and I think it will work in most cases likely the arise in practice. To motivate it, here's my analysis of the bug's cause and this particular side effect: The sort predicate in custom-theme-set-variables, which checks for custom-dependencies between pairs of variables in the alphabetical list of customized variables, returns nil if there is no dependency, so the sort function leaves the order of such variables unchanged. Now sort assumes (as documented in the manual) that if a relation holds between two variables, it is transitive; this allows saving come computations. Thus, when the sort predicate etablishes that Rab and Rbc hold, it does not check Rac, but assumes it holds. However, while the variable-setting dependency relation is transitive, its dual is not: if var1 does not depend on var2 and var2 does not depend on var3, it does not follow that var1 does not depend on var3. Since the predicate checking is short-circuited, a dependency relation may be missed and the needed reordering of variables for setting omitted. AFAICT, that is what happens in the above case. Specifically, custom-enabled-themes depends on custom-safe-themes, but neither enters into a dependency relation with custom-file. Now the sort predicate checks this alphabetical list pairwise from the end: it finds no dependency between custom-safe-themes and custom-file, nor between custom-file and custom-enabled-themes, and assuming transitivity, does not check the relation between custom-safe-themes and custom-enabled-themes, missing their dependency and leaving them to be set in alphabetical order. Thus, when custom-enabled-themes is set, it calls load-theme, which checks whether srb-test is safe, but since custom-safe-themes has not yet been set, the check fails, resulting in the theme not being enabled and the Minibuffer questions being asked. If both questions are affirmed, srb-theme is enabled and added to custom-safe-themes (by customize-push-and-save) and both this and custom-enabled-themes are written to custom-file, which has already been set (in step 3 of the above recipe). Thus the customized variables are set correctly anew. But the next time Emacs is started the same steps are repeated, and so on, ad infinitum. I suspect a general solution to this problem would need to check all pairs of variables for dependencies in arbitrarily long lists, effectively circumventing sort's assumption of transivity; maybe it would be better not to use sort in that case. Anyway, I couldn't figure out a general solution, but I did come up with a simple fix that at least solves the case which prompted this bug report, by reordering pairs of variables, neither of which depends on the other. This makes the sort predicate continue checking, until it finds a dependency or exhausts the list. I haven't tried to test if this approach will works if there are dependency chains with more than one link, but I think such cases are unlikely in practice, so until a better solution is found, I think this fix improves on the current status. This bug also exists on the emacs-24 branch, but I guess it's been around since the Custom facility has recognized dependencies (but customizations that result in noticeable bad side effects, like the one reported here, are evidently quite rare). In GNU Emacs 24.3.50.4 (x86_64-suse-linux-gnu, GTK+ Version 3.4.4) of 2012-11-21 on rosalinde Bzr revision: 110970 rgm@gnu.org-20121121111740-z7q5jq8dmyh328a6 Windowing system distributor `The X.Org Foundation', version 11.0.11203000 System Description: openSUSE 12.2 (x86_64) Configured using: `configure '--without-toolkit-scroll-bars' 'CFLAGS=-g3 -O0'' 2012-11-21 Stephen Berman * custom.el (custom-theme-set-variables): Reorder variables if neither is a dependency of the other, in order to circumvent sort's assumption of transitivity, which may wrongly short-circuit the dependency check (bug#xxxx). === modified file 'lisp/custom.el' *** lisp/custom.el 2012-09-28 12:18:38 +0000 --- lisp/custom.el 2012-11-21 13:52:42 +0000 *************** *** 970,976 **** (cond ((and 1-then-2 2-then-1) (error "Circular custom dependency between `%s' and `%s'" sym1 sym2)) ! (2-then-1 nil) ;; 1 is a dependency of 2, so needs to be set first. (1-then-2) ;; Put minor modes and symbols with :require last. --- 970,980 ---- (cond ((and 1-then-2 2-then-1) (error "Circular custom dependency between `%s' and `%s'" sym1 sym2)) ! ;; Reorder 1 and 2 if neither is a dependency of the ! ;; other, in order to circumvent sort's assumption of ! ;; transitivity, which may wrongly short-circuit the ! ;; dependency check (bug#xxxx). ! ((not (or 1-then-2 2-then-1)) t) ;; 1 is a dependency of 2, so needs to be set first. (1-then-2) ;; Put minor modes and symbols with :require last. From unknown Tue Jun 17 01:44:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12952: 24.3.50; Buggy handling of dependencies between customized variables Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Nov 2012 15:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12952 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stephen Berman Cc: 12952@debbugs.gnu.org Received: via spool by 12952-submit@debbugs.gnu.org id=B12952.135368587915520 (code B ref 12952); Fri, 23 Nov 2012 15:52:01 +0000 Received: (at 12952) by debbugs.gnu.org; 23 Nov 2012 15:51:19 +0000 Received: from localhost ([127.0.0.1]:35112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TbvXC-00042H-Nq for submit@debbugs.gnu.org; Fri, 23 Nov 2012 10:51:19 -0500 Received: from mail-da0-f44.google.com ([209.85.210.44]:63469) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TbvXA-000429-5T for 12952@debbugs.gnu.org; Fri, 23 Nov 2012 10:51:16 -0500 Received: by mail-da0-f44.google.com with SMTP id z20so1144246dae.3 for <12952@debbugs.gnu.org>; Fri, 23 Nov 2012 07:49:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=IoUFff3/5DTxmWdGZfQEuujF68fk1NSPAgTPbcOgx9c=; b=jGFpx6wX4yU2W2FVK3ipFfHbW5Pe0W5OWe3bW3qlBAEC8ND1Ii4WYV054FRuj8auaj lgZeGAELfPoBA2hbAouN3KTUEL8kaLIdX8Q6zMWnsUSKVvihSbMew7ArCW6wdKJQPfcL twHm3WFymjGG/9p5/XXfTqgmb8QTTc8zak0YLma40FcVhl/ERfjdWuvxG9ncIn81qnBw oQdr2qwsaCRsVGPogWZ3NQ2yf3EG2mO08mzq4WmegQBRSs+x2OC63NqX291X8sopRM6L 0n44X3Xxkh8mpi7pt0nAoU7DNMscEAmokuc2InXCDZEl6oDmB3XUzwvJ7HlYdzrGpVG0 V/Lg== Received: by 10.68.193.167 with SMTP id hp7mr15328969pbc.124.1353685786828; Fri, 23 Nov 2012 07:49:46 -0800 (PST) Received: from ulysses (cm198.gamma83.maxonline.com.sg. [202.156.83.198]) by mx.google.com with ESMTPS id z4sm3057761pau.26.2012.11.23.07.49.43 (version=SSLv3 cipher=OTHER); Fri, 23 Nov 2012 07:49:45 -0800 (PST) From: Chong Yidong References: <87r4nnggzy.fsf@rosalinde.fritz.box> Date: Fri, 23 Nov 2012 23:49:41 +0800 In-Reply-To: <87r4nnggzy.fsf@rosalinde.fritz.box> (Stephen Berman's message of "Wed, 21 Nov 2012 15:36:33 +0100") Message-ID: <874nkgmi96.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) Stephen Berman writes: > The patch below fixes at least this specific problem, and I think it > will work in most cases likely the arise in practice. I'd rather fix it right, which basically involves a topological sort. From unknown Tue Jun 17 01:44:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12952: 24.3.50; Buggy handling of dependencies between customized variables Resent-From: Stephen Berman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Nov 2012 20:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12952 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Chong Yidong Cc: 12952@debbugs.gnu.org Received: via spool by 12952-submit@debbugs.gnu.org id=B12952.135370402110657 (code B ref 12952); Fri, 23 Nov 2012 20:54:01 +0000 Received: (at 12952) by debbugs.gnu.org; 23 Nov 2012 20:53:41 +0000 Received: from localhost ([127.0.0.1]:35294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tc0Fo-0002lo-Kh for submit@debbugs.gnu.org; Fri, 23 Nov 2012 15:53:41 -0500 Received: from mailout-de.gmx.net ([213.165.64.23]:48659) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1Tc0Fm-0002lg-BY for 12952@debbugs.gnu.org; Fri, 23 Nov 2012 15:53:39 -0500 Received: (qmail invoked by alias); 23 Nov 2012 20:52:09 -0000 Received: from i59F54651.versanet.de (EHLO rosalinde.fritz.box) [89.245.70.81] by mail.gmx.net (mp033) with SMTP; 23 Nov 2012 21:52:09 +0100 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1/mBz4V7Mjms6+zgbpgIM6z2kOGukwt7FxcIiNrqy y5VZymLSI9YqkR From: Stephen Berman References: <87r4nnggzy.fsf@rosalinde.fritz.box> <874nkgmi96.fsf@gnu.org> Date: Fri, 23 Nov 2012 21:52:06 +0100 In-Reply-To: <874nkgmi96.fsf@gnu.org> (Chong Yidong's message of "Fri, 23 Nov 2012 23:49:41 +0800") Message-ID: <87ehjk11qh.fsf@rosalinde.fritz.box> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-Spam-Score: 0.4 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.4 (/) On Fri, 23 Nov 2012 23:49:41 +0800 Chong Yidong wrote: > Stephen Berman writes: > >> The patch below fixes at least this specific problem, and I think it >> will work in most cases likely the arise in practice. > > I'd rather fix it right, which basically involves a topological sort. Sounds good; I hope someone does it before I'd be able to. Steve Berman From unknown Tue Jun 17 01:44:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12952: 24.3.50; Buggy handling of dependencies between customized variables Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Nov 2012 03:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12952 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stephen Berman Cc: 12952@debbugs.gnu.org Received: via spool by 12952-submit@debbugs.gnu.org id=B12952.135372891421172 (code B ref 12952); Sat, 24 Nov 2012 03:49:02 +0000 Received: (at 12952) by debbugs.gnu.org; 24 Nov 2012 03:48:34 +0000 Received: from localhost ([127.0.0.1]:35678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tc6jK-0005VQ-2A for submit@debbugs.gnu.org; Fri, 23 Nov 2012 22:48:34 -0500 Received: from mail-pa0-f44.google.com ([209.85.220.44]:59366) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tc6jH-0005VH-S6 for 12952@debbugs.gnu.org; Fri, 23 Nov 2012 22:48:32 -0500 Received: by mail-pa0-f44.google.com with SMTP id hz11so4634195pad.3 for <12952@debbugs.gnu.org>; Fri, 23 Nov 2012 19:47:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=VFxf73I5jzriweJl6ibKjUk8y+WiMhZBilELXNO/TPY=; b=P1xp/qTkJie5PMuNCeLhaUQIgRiJoOp2HlHuBMPDyhs4RUKM/neTdNj7a2MBUdIOS2 QkdMGeP2uBtVc5u5wfoUD3mxsEgJrdFz3fcupsULOTOoWLrKNjatG5tf/jA8qGkUCr4w FgBZ7dCGu56QIFbtUVamsmij9KcuuIhpFbhS5vGY5UlFL6HiLDo7mG/9A3v7I4leGF5o DjYW2+7uYhfwqKUeAzo9N3IkGCiu7z+pgQGo/EXVFNXBr/By0n1Pbk6XFSi8c4w4kgUR xbH32WOuVCDkv0JmkGIWx8wUcTu5dGv2tvkkmpFag2TjNJVZp54+QaSPUTiCb4q67KWd 9xMg== Received: by 10.66.84.132 with SMTP id z4mr15102296pay.63.1353728821568; Fri, 23 Nov 2012 19:47:01 -0800 (PST) Received: from ulysses (cm198.gamma83.maxonline.com.sg. [202.156.83.198]) by mx.google.com with ESMTPS id sg7sm4784793pbb.50.2012.11.23.19.46.58 (version=SSLv3 cipher=OTHER); Fri, 23 Nov 2012 19:47:00 -0800 (PST) From: Chong Yidong References: <87r4nnggzy.fsf@rosalinde.fritz.box> <874nkgmi96.fsf@gnu.org> <87ehjk11qh.fsf@rosalinde.fritz.box> Date: Sat, 24 Nov 2012 11:46:55 +0800 In-Reply-To: <87ehjk11qh.fsf@rosalinde.fritz.box> (Stephen Berman's message of "Fri, 23 Nov 2012 21:52:06 +0100") Message-ID: <87a9u7d5n4.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.7 (/) Stephen Berman writes: >> I'd rather fix it right, which basically involves a topological sort. > > Sounds good; I hope someone does it before I'd be able to. Fixed in trunk. Thanks for the bug report. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 23 22:49:03 2012 Received: (at control) by debbugs.gnu.org; 24 Nov 2012 03:49:03 +0000 Received: from localhost ([127.0.0.1]:35682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tc6jm-0005WH-9P for submit@debbugs.gnu.org; Fri, 23 Nov 2012 22:49:02 -0500 Received: from mail-da0-f44.google.com ([209.85.210.44]:63765) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tc6jk-0005W2-D2 for control@debbugs.gnu.org; Fri, 23 Nov 2012 22:49:00 -0500 Received: by mail-da0-f44.google.com with SMTP id z20so1305364dae.3 for ; Fri, 23 Nov 2012 19:47:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:mime-version:content-type; bh=9li85EzFoiLEDhgsb/2I+W7k7Kmgk0+fxym/SCz6Fa4=; b=IH1WBOp5qQ3+mHQii7oIhok8ZUCDgMpu0SHY3TMnDv81Lb9eqhgLQK2hcmcz3da4Va rlhvtmCamxeNQEDsazmuotCKePwS16nPsRT6nuFr/wBG1AU4ZD2BaImTxFjkYyJZbH5B CswjN1ZUxH/4MYkWjCf3Ob6hFUSfzK9BInYSMyGzHT9LiLgRORyWxsRQk5SpiRnH6FsS 2uQuwrRU3MlNY0EcyijOIbhvHLR5hRqGw5HrMBCAm2Wrvfe53h0VYX4TmIjImj758y3F Tb9QVjpVQXELwaQTfD7xik+PA8wmDkWhtDkmRWYLI/hFW4YiPkVtxwd2Kw08yvriRkcW 06pQ== Received: by 10.68.209.133 with SMTP id mm5mr19410399pbc.42.1353728850396; Fri, 23 Nov 2012 19:47:30 -0800 (PST) Received: from ulysses (cm198.gamma83.maxonline.com.sg. [202.156.83.198]) by mx.google.com with ESMTPS id g10sm4701571pav.9.2012.11.23.19.47.27 (version=SSLv3 cipher=OTHER); Fri, 23 Nov 2012 19:47:29 -0800 (PST) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 12952 Date: Sat, 24 Nov 2012 11:47:24 +0800 Message-ID: <87y5hrbr1v.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.1 (/) close 12952 thanks From unknown Tue Jun 17 01:44:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12952: 24.3.50; Buggy handling of dependencies between customized variables Resent-From: Stephen Berman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Nov 2012 16:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12952 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Chong Yidong Cc: 12952@debbugs.gnu.org Received: via spool by 12952-submit@debbugs.gnu.org id=B12952.135377484330353 (code B ref 12952); Sat, 24 Nov 2012 16:35:01 +0000 Received: (at 12952) by debbugs.gnu.org; 24 Nov 2012 16:34:03 +0000 Received: from localhost ([127.0.0.1]:36832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TcIg7-0007tV-44 for submit@debbugs.gnu.org; Sat, 24 Nov 2012 11:34:03 -0500 Received: from mailout-de.gmx.net ([213.165.64.23]:33968) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TcIg4-0007t7-NW for 12952@debbugs.gnu.org; Sat, 24 Nov 2012 11:34:01 -0500 Received: (qmail invoked by alias); 24 Nov 2012 16:32:27 -0000 Received: from i59F55C8B.versanet.de (EHLO rosalinde.fritz.box) [89.245.92.139] by mail.gmx.net (mp069) with SMTP; 24 Nov 2012 17:32:27 +0100 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1/rguNVdlfrksJynMVaiUPobAUWAFrvSTTsSVAvol DkDwSPRF/TAYBL From: Stephen Berman References: <87r4nnggzy.fsf@rosalinde.fritz.box> <874nkgmi96.fsf@gnu.org> <87ehjk11qh.fsf@rosalinde.fritz.box> <87a9u7d5n4.fsf@gnu.org> Date: Sat, 24 Nov 2012 17:32:25 +0100 In-Reply-To: <87a9u7d5n4.fsf@gnu.org> (Chong Yidong's message of "Sat, 24 Nov 2012 11:46:55 +0800") Message-ID: <87lidrhsh2.fsf@rosalinde.fritz.box> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-Spam-Score: 0.4 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.4 (/) On Sat, 24 Nov 2012 11:46:55 +0800 Chong Yidong wrote: > Stephen Berman writes: > >>> I'd rather fix it right, which basically involves a topological sort. >> >> Sounds good; I hope someone does it before I'd be able to. > > Fixed in trunk. Thanks for the bug report. Excellent; thanks. For the record, I confirm it fixes the problem I reported. Steve Berman