From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#24920: 24.5; Error on customize-update-all Date: Thu, 10 Nov 2016 18:59:01 -0500 Message-ID: <87zil6nayi.fsf@users.sourceforge.net> References: <0b68d593-eddc-4b62-b8bc-7322367aaff1@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: blaine.gmane.org 1478822383 19736 195.159.176.226 (10 Nov 2016 23:59:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 10 Nov 2016 23:59:43 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: Frank Roland , 24920@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 11 00:59:38 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4zFO-0000xN-1j for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Nov 2016 00:59:10 +0100 Original-Received: from localhost ([::1]:49985 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4zFR-0006Bv-5h for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Nov 2016 18:59:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42043) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4zFJ-0006Bc-7M for bug-gnu-emacs@gnu.org; Thu, 10 Nov 2016 18:59:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4zFG-000390-1E for bug-gnu-emacs@gnu.org; Thu, 10 Nov 2016 18:59:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37424) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c4zFF-00038f-UG for bug-gnu-emacs@gnu.org; Thu, 10 Nov 2016 18:59:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c4zFF-0004NE-L0 for bug-gnu-emacs@gnu.org; Thu, 10 Nov 2016 18:59:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Nov 2016 23:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24920 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24920-submit@debbugs.gnu.org id=B24920.147882230616768 (code B ref 24920); Thu, 10 Nov 2016 23:59:01 +0000 Original-Received: (at 24920) by debbugs.gnu.org; 10 Nov 2016 23:58:26 +0000 Original-Received: from localhost ([127.0.0.1]:52823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4zEf-0004MN-Gx for submit@debbugs.gnu.org; Thu, 10 Nov 2016 18:58:26 -0500 Original-Received: from mail-it0-f51.google.com ([209.85.214.51]:38311) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c4zEd-0004MA-Au for 24920@debbugs.gnu.org; Thu, 10 Nov 2016 18:58:24 -0500 Original-Received: by mail-it0-f51.google.com with SMTP id q124so79132946itd.1 for <24920@debbugs.gnu.org>; Thu, 10 Nov 2016 15:58:23 -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; bh=Gf9dhlQAgZabW9uwIYVZkDhut5AGbj+90yDTsLD9bjs=; b=Eor58MrLp1ccCFvrjqqhEKzvivYezxrroY+6Guh3vmJ6XmrIRQ1fKs9FjHBFCRSdd4 dV5HISiayu080AOh6Qt7KhnHqw5IZVC1SiblCTZu18u9G3DpgJb7ofwTn6Ke5NKbzF7H B3mjmAjHbSmGYk/5djU3d7IDCZa67aJnghKVPJU4RRgQpsc0X+nSPwBj1tYxiSJ3vwfA DQs66GUts6PHaE5CogIVCE7L2FUeQf41tmdirh52Wx2VV/dfqbv85clIGFJ7WRLtkS8j SOpuWltaPr3KjuBIhPl9ZjH7WVdl1LBTmLjN0BWMaavCAiB/UQIMRvhUgAOpL0KiFtE6 no5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=Gf9dhlQAgZabW9uwIYVZkDhut5AGbj+90yDTsLD9bjs=; b=bhebd+SkXthJYmP9Y8MFQNdH5Jkz4TFlNuXKs8eaCVRijEQLNEcOFLn9G8Gou3Goma aUlTDDUZlrcC9Au2X3eHehZkS4YYm8SWJwcGLKJUxQK43ziXDoXlRreTvUj2ppjKStoT uS6xpSxpxjxFxGccNieCxqz2FCbRuC5axoa/AsWCqKkhQCWLxDIF9VriKTcFNHWEr/WB 3LCfd742NMER/nxpN37lkVYGo8eQPbaSlzqcDydH3QCs9edj1BktJtC7tX3JDbUdwmRg Bel7aLIlDAp6PXHSZeP76uz4uG9DBwVhYtCXkYXPnfG/eb9QDvv3rB12LtfcRQq989FH wXuQ== X-Gm-Message-State: ABUngvdsVJKndJOMaWrvjM6xjlrX5LZD01bPPQRulmhoEMFCtgs5Ke37UW9v5M7Esv9fWw== X-Received: by 10.107.190.6 with SMTP id o6mr355227iof.95.1478822295389; Thu, 10 Nov 2016 15:58:15 -0800 (PST) Original-Received: from zony ([45.2.7.130]) by smtp.googlemail.com with ESMTPSA id p20sm8583433itc.2.2016.11.10.15.58.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 10 Nov 2016 15:58:14 -0800 (PST) In-Reply-To: <0b68d593-eddc-4b62-b8bc-7322367aaff1@default> (Drew Adams's message of "Thu, 10 Nov 2016 14:59:55 -0800 (PST)") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:125596 Archived-At: --=-=-= Content-Type: text/plain Frank, please use "Reply All" so as to keep 24920@debbugs.gnu.org on cc, thanks. --=-=-= Content-Type: message/rfc822 Content-Disposition: inline Delivered-To: npostavs@gmail.com Received: by 10.157.37.151 with SMTP id q23csp470461ota; Thu, 10 Nov 2016 14:00:38 -0800 (PST) X-Received: by 10.107.15.153 with SMTP id 25mr8311234iop.168.1478815238590; Thu, 10 Nov 2016 14:00:38 -0800 (PST) Return-Path: Received: from mx.sourceforge.net (mx.sourceforge.net. [216.34.181.68]) by mx.google.com with ESMTPS id v69si4630147itc.47.2016.11.10.14.00.38 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 10 Nov 2016 14:00:38 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning frokrecik@gmail.com does not designate 216.34.181.68 as permitted sender) client-ip=216.34.181.68; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@sourceforge.net; dkim=pass (test mode) header.i=@sf.net; dkim=pass header.i=@gmail.com; spf=softfail (google.com: domain of transitioning frokrecik@gmail.com does not designate 216.34.181.68 as permitted sender) smtp.mailfrom=frokrecik@gmail.com; dmarc=pass (p=NONE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:To:Subject:Message-ID:Date:From:References:In-Reply-To:MIME-Version; bh=LP733PnAXWwuU/Z0Pu/3ofWsieJdsXpDcjg9qaF6y78=; b=cUIziJ69V1G7Ql9CZJyCnEKsjYO+48c590wWCHzTe4tdEaF74roFKp8Fo0mcfHug1dvNXbRYlOuKXoIFQTly7E25jmd5Scxz8C1PgSbINV1U8KKuGlX5y+2D9v6vPOQnLgCCQcsVy0WNo4gsMH8Gq6xybiaVPt2W22/+7MQ2ixQ=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x; h=Content-Type:To:Subject:Message-ID:Date:From:References:In-Reply-To:MIME-Version; bh=LP733PnAXWwuU/Z0Pu/3ofWsieJdsXpDcjg9qaF6y78=; b=eCV7tCiKbHNCXXNeO/E2Z/DQXXjueZsujCuiVK5gwKRiuzkTx9WxEtQ2+etyPwnLOp0S9MA8Lsr/2DarhlWpnO0CDfObpOUmgS0kjJtVOFWjaAXNj0eFe+UXU0bSALw1OwHxLcH+nsVfqI+FXyl1ORcnv7a93ZaQLk2JQAcZuHk=; Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.217.182 as permitted sender) client-ip=209.85.217.182; envelope-from=frokrecik@gmail.com; helo=mail-ua0-f182.google.com; Received: from mail-ua0-f182.google.com ([209.85.217.182]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) id 1c4xOe-0002f9-Ro for npostavs@users.sourceforge.net; Thu, 10 Nov 2016 22:00:38 +0000 Received: by mail-ua0-f182.google.com with SMTP id 20so213112978uak.0 for ; Thu, 10 Nov 2016 14:00:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=LP733PnAXWwuU/Z0Pu/3ofWsieJdsXpDcjg9qaF6y78=; b=epqTFrROQ6zo6051I1fO1MCewgDounndrx3Xqv5gwWwNHeNYiuJM5QZ8RPr41FHy5I 8bO6al19cS4H7IWbZgzEyYen9HJX9r2NuGLITuPeY8RFVOnGD5g2bQvMrR/b1nDhCkwD 4weg89wZE2DBB5UJoR3TvkQ2QrcnpyXLLxznuyT5JW/1QXw/lj7/UKSEfFd0ruuBnbWG JCN2sxDiByTIax27PKEJCFH9q8TtiI6MzkuMIItdWxApESuwudZjJ5jkUSyPlJpqxL4b +kDtX/+hOZrC6egSMm6NYHQRRltwiQmP8ZqjKuXrK1Jyx1rhgFUgT7b6zdsGm0YRtevB ARhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=LP733PnAXWwuU/Z0Pu/3ofWsieJdsXpDcjg9qaF6y78=; b=USoZy3aH2MXoEBJUaqhbajJq4rhezvtIR57UuzCJ5e3ZXPJNS5F/G1zd2S5eDjsqW8 HJTr0ozmjsspNfc9oBUMHpF5v7vBGhzPO5qnApoS+DpScFvoSlcKEitkq4HJk7/Rxxvc EYP17/0QFbtA8TUQdaFp/+uASuHPwUkNZmbVYAVCVyWFkOZIqUlvTV7DogNnUZnObkPS JEW128vnfX4qBUB/QHeBuVH1CPfudhp/aFQAVxr2cFb1OTu+mrIjI0j1SDoJar7MSBBW LAdihMc4Rp+8egXNyXjzKIzaTShxhAIXP/BqjAQllWVwyqB5yw0JgdlykWVysppuQ4qr QRPQ== X-Gm-Message-State: ABUngvdsfv+UBxA2ra6pN8Uxdvjok9RqBQwNtX16baJ+W4rWQinKDyWQe2rQA1XfTiwyMucphfcHVqXDtSqytQ== X-Received: by 10.159.40.135 with SMTP id d7mr4249735uad.98.1478815231071; Thu, 10 Nov 2016 14:00:31 -0800 (PST) Received: by 10.159.33.173 with HTTP; Thu, 10 Nov 2016 14:00:30 -0800 (PST) In-Reply-To: References: From: Frank Roland Date: Thu, 10 Nov 2016 23:00:30 +0100 Message-ID: Subject: Re: bug#24920: 24.5; Error on customize-update-all To: Noam Postavsky X-Spam-Score: -1.6 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (frokrecik[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.217.182 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1c4xOe-0002f9-Ro MIME-Version: 1.0 Content-Type: text/plain Running "M-x customize-option Tex-auto-global" works fine. However, it throws an error if I hit "Save for future sessions": Debugger entered--Lisp error: (wrong-type-argument stringp nil) file-name-directory(nil) (expand-file-name "../var/auctex" (file-name-directory load-file-name)) eval((expand-file-name "../var/auctex" (file-name-directory load-file-name))) custom-push-theme(theme-value TeX-auto-global user set "d:/home/.emacs.d/var/auctex") custom-variable-mark-to-save((custom-variable :documentation-shown t :custom-state changed :tag "Tex Auto Global" :value TeX-auto-global :custom-form edit :custom-magic (custom-magic :args (nil) :parent #0 :indent 0 :children ((choice-item :help-echo "Change the state of this item." :format "%[%t%]" :button-prefix widget-push-button-prefix :button-suffix widget-push-button-suffix :mouse-down-action widget-magic-mouse-down-action :tag " State " :parent #1 :indent 0 :button-overlay # :from # :to #)) :from # :to # :buttons nil :value nil) :buttons ((custom-group-link :args nil :value TeX-file :tag "Tex File" :parent #0 :indent 0 :button-overlay # :from # :to #) (documentation-string :args nil :value "Directory containing automatically generated information.\nMust end with a directory separator.\n\nFor storing automatic extracted information about the TeX macros\nshared by all users of a site." :indent 3 :visibility-widget custom-visibility :parent #0 :doc-overlay # :buttons ((custom-visibility :args nil :value t :help-echo "Show or hide rest of the documentation." :on "Hide" :off "More" :always-active t :action widget-parent-action :parent #2 :indent 3 :button-overlay # :from # :to #)) :from # :to #) (custom-magic :args (nil) :parent #0 :indent 0 :children ((choice-item :help-echo "Change the state of this item." :format "%[%t%]" :button-prefix widget-push-button-prefix :button-suffix widget-push-button-suffix :mouse-down-action widget-magic-mouse-down-action :tag " State " :parent #2 :indent 0 :button-overlay # :from # :to #)) :from # :to # :buttons nil :value nil) (item :args nil :value "Tex Auto Global" :format "%{%t%}:" :action custom-tag-action :help-echo "Change value of this option." :mouse-down-action custom-tag-mouse-down-action :button-face custom-variable-button :sample-face custom-variable-tag :parent #0 :indent 0 :sample-overlay # :from # :to #) (custom-visibility :args nil :value t :help-echo "Hide or show this option." :on "Hide" :off "Show" :on-glyph "down" :off-glyph "right" :action custom-toggle-hide-variable :parent #0 :indent 0 :suppress-face t :button-overlay # :from # :to #)) :documentation-indent 3 :comment-widget (custom-comment :parent #0 :value "" :indent 0 :from # :to #) :children ((directory :format " %v" :value "d:/home/.emacs.d/var/auctex" :parent #0 :indent 0 :field-overlay # :from # :to #) (custom-comment :parent #0 :value "" :indent 0 :from # :to #)) :from # :to # :comment-shown nil)) widget-apply((custom-variable :documentation-shown t :custom-state changed :tag "Tex Auto Global" :value TeX-auto-global :custom-form edit :custom-magic (custom-magic :args (nil) :parent #0 :indent 0 :children ((choice-item :help-echo "Change the state of this item." :format "%[%t%]" :button-prefix widget-push-button-prefix :button-suffix widget-push-button-suffix :mouse-down-action widget-magic-mouse-down-action :tag " State " :parent #1 :indent 0 :button-overlay # :from # :to #)) :from # :to # :buttons nil :value nil) :buttons ((custom-group-link :args nil :value TeX-file :tag "Tex File" :parent #0 :indent 0 :button-overlay # :from # :to #) (documentation-string :args nil :value "Directory containing automatically generated information.\nMust end with a directory separator.\n\nFor storing automatic extracted information about the TeX macros\nshared by all users of a site." :indent 3 :visibility-widget custom-visibility :parent #0 :doc-overlay # :buttons ((custom-visibility :args nil :value t :help-echo "Show or hide rest of the documentation." :on "Hide" :off "More" :always-active t :action widget-parent-action :parent #2 :indent 3 :button-overlay # :from # :to #)) :from # :to #) (custom-magic :args (nil) :parent #0 :indent 0 :children ((choice-item :help-echo "Change the state of this item." :format "%[%t%]" :button-prefix widget-push-button-prefix :button-suffix widget-push-button-suffix :mouse-down-action widget-magic-mouse-down-action :tag " State " :parent #2 :indent 0 :button-overlay # :from # :to #)) :from # :to # :buttons nil :value nil) (item :args nil :value "Tex Auto Global" :format "%{%t%}:" :action custom-tag-action :help-echo "Change value of this option." :mouse-down-action custom-tag-mouse-down-action :button-face custom-variable-button :sample-face custom-variable-tag :parent #0 :indent 0 :sample-overlay # :from # :to #) (custom-visibility :args nil :value t :help-echo "Hide or show this option." :on "Hide" :off "Show" :on-glyph "down" :off-glyph "right" :action custom-toggle-hide-variable :parent #0 :indent 0 :suppress-face t :button-overlay # :from # :to #)) :documentation-indent 3 :comment-widget (custom-comment :parent #0 :value "" :indent 0 :from # :to #) :children ((directory :format " %v" :value "d:/home/.emacs.d/var/auctex" :parent #0 :indent 0 :field-overlay # :from # :to #) (custom-comment :parent #0 :value "" :indent 0 :from # :to #)) :from # :to # :comment-shown nil) :custom-mark-to-save) #[257 "\300 \301\"\302>\205 --=-=-= Content-Type: text/plain Drew Adams writes: >> I guess this is either a bug in cus-edit+ (wrongly assuming any of >> customized-value, saved-value, standard-value can be `eval'ed in any >> buffer), or it's a bug in Auctex (for putting a customized-value, >> saved-value, or standard-value that can't be `eval'ed in any >> buffer). > > The cus-edit+.el code for this is essentially the same as the > cus-edit.el code for commands such as `customize-rogue'. And > such commands are intended (of course) to be usable with any > buffer current. Indeed, the OP was able to reproduce the error with the normal customize interface (see above), so the problem isn't with cus-edit+. AFAICT, the problem is that auctex uses a standard-value for Tex-auto-global that includes (file-name-directory load-file-name) as part of the expression. --=-=-=--