From unknown Fri Aug 15 16:22:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35628: Keep track of what file sets variables... through init-file processing Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 May 2019 06:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35628 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 35628@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155729745417074 (code B ref -1); Wed, 08 May 2019 06:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 May 2019 06:37:34 +0000 Received: from localhost ([127.0.0.1]:60208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hOGCr-0004RK-Td for submit@debbugs.gnu.org; Wed, 08 May 2019 02:37:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58603) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hOGCq-0004R5-FG for submit@debbugs.gnu.org; Wed, 08 May 2019 02:37:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:43424) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hOGCl-0003B0-83 for submit@debbugs.gnu.org; Wed, 08 May 2019 02:37:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOGCj-0004Z4-Us for bug-gnu-emacs@gnu.org; Wed, 08 May 2019 02:37:27 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_50,FROM_EXCESS_BASE64, RCVD_IN_DNSWL_NONE,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hOGCi-0003AE-RN for bug-gnu-emacs@gnu.org; Wed, 08 May 2019 02:37:25 -0400 Received: from quail.birch.relay.mailchannels.net ([23.83.209.151]:37465) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hOGCi-00039m-Iq for bug-gnu-emacs@gnu.org; Wed, 08 May 2019 02:37:24 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id D20CE3410F7 for ; Wed, 8 May 2019 06:37:22 +0000 (UTC) Received: from pdx1-sub0-mail-a27.g.dreamhost.com (100-96-15-20.trex.outbound.svc.cluster.local [100.96.15.20]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 4C431341694 for ; Wed, 8 May 2019 06:37:22 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a27.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.2); Wed, 08 May 2019 06:37:22 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Left-Stop: 2dab211659eebda6_1557297442665_1055322378 X-MC-Loop-Signature: 1557297442665:2781333036 X-MC-Ingress-Time: 1557297442665 Received: from pdx1-sub0-mail-a27.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a27.g.dreamhost.com (Postfix) with ESMTP id 17FF883316 for ; Tue, 7 May 2019 23:37:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=jidanni.org; bh=StxFcE/JAOV+B9hyfV B3vZdTL8c=; b=DrtZvpsFol91SQw/W3yNhd4yBsiFjiD/QkEraJN4N+fTsP8qS4 cDPiB96Sl+Frdwe7b2xvvJvOmU2kYFFu8RV24I31pnXwgbiHMgLz+Sd1ayzd81aV KroQf6KPeg0tWlhNm59zdVsCt8/IyPWYbnvKRgr34AYE3RV1vpLa9GFF8= Received: from jidanni.org (111-246-86-229.dynamic-ip.hinet.net [111.246.86.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a27.g.dreamhost.com (Postfix) with ESMTPSA id 9806983306 for ; Tue, 7 May 2019 23:37:17 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a27 From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Date: Wed, 08 May 2019 14:37:14 +0800 Message-ID: <8736lp8nad.5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrkedvgddutdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgfgsehtkeertddttdejnecuhfhrohhmpejnnjjnucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqeenucffohhmrghinhepuggvsghirghnrdhorhhgnecukfhppeduuddurddvgeeirdekiedrvddvleenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepjhhiuggrnhhnihdrohhrghdpihhnvghtpeduuddurddvgeeirdekiedrvddvledprhgvthhurhhnqdhprghthheppeeruhhtfhdqkeerueerheeimhfphefnihehhegsveekreepucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqedpmhgrihhlfhhrohhmpehjihgurghnnhhisehjihgurghnnhhirdhorhhgpdhnrhgtphhtthhopegsuhhgqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 23.83.209.151 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) C-h v runs the command describe-variable. Its output looks like ............. is a variable defined in =E2=80=98.......el=E2=80=99. Its value is t Original value was nil So describe-variable knows several things including - the original value of a variable. - the file where that value was set. - the current value of a variable. - the file where that value was set <---- ALAS... it would know that but that part of its record keeping quits before ~/.emacs is processed! Try this: put (setq xxxx 2222) in ~/.emacs; restart emacs, and do describe-variable xxxx. You might say "Well we only remember one filename. If we remember .emacs, then we will forget the original file." Then I would say "You remember two values, then you should remember two f= iles." P.S., this has nothing to do with https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D910021 From unknown Fri Aug 15 16:22:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35628: Keep track of what file sets variables... through init-file processing Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 May 2019 11:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35628 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Cc: 35628@debbugs.gnu.org Received: via spool by 35628-submit@debbugs.gnu.org id=B35628.155731322010216 (code B ref 35628); Wed, 08 May 2019 11:01:02 +0000 Received: (at 35628) by debbugs.gnu.org; 8 May 2019 11:00:20 +0000 Received: from localhost ([127.0.0.1]:60439 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hOKJA-0002ed-6i for submit@debbugs.gnu.org; Wed, 08 May 2019 07:00:20 -0400 Received: from mail-io1-f52.google.com ([209.85.166.52]:42113) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hOKJ8-0002eJ-0a; Wed, 08 May 2019 07:00:18 -0400 Received: by mail-io1-f52.google.com with SMTP id g16so322553iom.9; Wed, 08 May 2019 04:00:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=D8d1oKPjbmETR1xY6gBHgxbpH3BeP/zWh0Hm3NBP5dc=; b=BhC6G8zMchE/MjDSn02y921Dm/txOLnIpts7m5GSzw+MObE1EY2a63fsnqpEadpMvA agSOU9jqU2Q5r/7KM7H26Qwf+9fpGqBbC7U2STEmctJwP+0r1QB7cB5wYh2UmmFBx/ru 0zt8qg3HYc/189Eknpv8JlXCpcAq22RZjO5/dBrKmNvc0SnxDwG1HRex0DgSN2774wtA WHMTJpvPO1Vp4Ak6vfc5j/Bwr6vFzZGsfPgJBd53vgPeSoXU6WAryePrAtiqBoKqm+kg 10WgZ5HRMyv/MPQy4X9hvg/2uRuQDBKBJQmKQ3jqpNzb2EPXrCoYQ1uHLnMBgGJv9IJC zA/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=D8d1oKPjbmETR1xY6gBHgxbpH3BeP/zWh0Hm3NBP5dc=; b=Tgq4jPmG5hAOfF0p6J1CgWZgZYp3dRfLac9GBbJd2OuH2Sr/iTO68thpfhWXRZx4CP gN6KHxcYcR4BVMLc1S7qpkNkN23MtOjbj4JE+3nhsQurM5vVI6AGNfPW05BkO+M7rGgq nv+lj8L5RsdLmjwIFWfk0MBVuvsvfEam/HWWXOjarJKIok6BanagjO7GGTxwite+iy/L D0bvpkyJuF/XfrER6C9ctb8riGW8M3VgZvdk+4fI7lqZ+GLIMDAhCTD05dwabUo4XkrL E7JCvOaVTOO87dCCMx4mw8tvQaUBCYC0UGEt4BwVr3C1FCfPABgUW9vPj5GCdBg4fMG7 c1ow== X-Gm-Message-State: APjAAAULuGCWMRP4kgaBoRMNgxWj9Z8ulOe1Q2pXrtbfxFIN4ko92GFg V9fuxwRb4kaMrKZJoYbERaBzsghb X-Google-Smtp-Source: APXvYqxd4s6zV2b3cvdB20a23kcisYhmO05T0Z94ZYF3zeTvuluYxIooobsPr5LAJZaG3yMK/tqxNg== X-Received: by 2002:a5e:9313:: with SMTP id k19mr20741498iom.239.1557313211709; Wed, 08 May 2019 04:00:11 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.gmail.com with ESMTPSA id v25sm6033948ioh.81.2019.05.08.04.00.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 08 May 2019 04:00:10 -0700 (PDT) From: Noam Postavsky References: <8736lp8nad.5.fsf@jidanni.org> Date: Wed, 08 May 2019 07:00:09 -0400 In-Reply-To: <8736lp8nad.5.fsf@jidanni.org> ("=?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson"'s message of "Wed, 08 May 2019 14:37:14 +0800") Message-ID: <87zhnxjjnq.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) forcemerge 29495 35628 quit =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson writes: > C-h v runs the command describe-variable. > > Its output looks like > > ............. is a variable defined in =E2=80=98.......el=E2=80=99. > Its value is t > Original value was nil > Try this: put (setq xxxx 2222) in ~/.emacs; restart emacs, and do > describe-variable xxxx. > > You might say "Well we only remember one filename. If we remember > .emacs, then we will forget the original file." Only defvar, defcustom, or defconst record a variable definition filename; setq records nothing (technically, it doesn't "define" a variable, just changes it). Maybe something could be hacked with add-variable-watcher (not sure if it's a good idea though). From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 11 20:19:13 2019 Received: (at control) by debbugs.gnu.org; 12 Nov 2019 01:19:13 +0000 Received: from localhost ([127.0.0.1]:56184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUKpr-0004lt-0A for submit@debbugs.gnu.org; Mon, 11 Nov 2019 20:19:13 -0500 Received: from host.gofardesign.uk ([208.79.239.190]:33590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUKpo-0004lg-0p for control@debbugs.gnu.org; Mon, 11 Nov 2019 20:19:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Subject:From:To:Date:Sender:Reply-To:Message-ID:Cc:MIME-Version :Content-Type:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=+IlVT9Q2j8T/+C5iVfwISUvE5H/c+oVvomtTiE8J094=; b=evAGDzTqaQLjxZRQD3Ud96wG1l hZEmKz61nTXaZUqOki8Igo1khEg0UXemtl2Bs/X6Gk6mziLcAiu+TVDYDqXRkxNKJn60nQipoIovB Twz+0UawSwRxYkCQzAs5Mp9TK2yzYGWyqAi1FBH/bJJK54kZ9MX+pViDobm1nXG8rdfY=; Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:37764 helo=localhost) by host.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iUKph-0003bP-NN for control@debbugs.gnu.org; Mon, 11 Nov 2019 19:19:02 -0600 Date: Tue, 12 Nov 2019 02:18:59 +0100 To: control@debbugs.gnu.org From: Stefan Kangas Subject: control message for bug #29495 X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: host.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: host.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" Message-Id: X-Spam-Score: -1.0 (-) forcemerge 29495 38173 quit From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 14 01:28:18 2019 Received: (at control) by debbugs.gnu.org; 14 Nov 2019 06:28:18 +0000 Received: from localhost ([127.0.0.1]:60777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iV8c3-0007S7-Ve for submit@debbugs.gnu.org; Thu, 14 Nov 2019 01:28:18 -0500 Received: from quimby.gnus.org ([95.216.78.240]:50248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iV8c2-0007Rg-5V for control@debbugs.gnu.org; Thu, 14 Nov 2019 01:28:14 -0500 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iV8bu-00014O-Lp for control@debbugs.gnu.org; Thu, 14 Nov 2019 07:28:08 +0100 Date: Thu, 14 Nov 2019 07:28:05 +0100 Message-Id: <87zhgznf9m.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #38173 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 38173 wontfix close 38173 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 38173 wontfix close 38173 quit