From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Joe Riel Newsgroups: gmane.emacs.help Subject: Detect when variable changes Date: Wed, 4 Oct 2017 11:57:18 -0700 Message-ID: <20171004115718.1a2d7e17@gauss> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1507143472 12908 195.159.176.226 (4 Oct 2017 18:57:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 4 Oct 2017 18:57:52 +0000 (UTC) To: Help GNU Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 04 20:57:46 2017 Return-path: Envelope-to: geh-help-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 1dzora-0002dL-7y for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Oct 2017 20:57:46 +0200 Original-Received: from localhost ([::1]:36497 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dzorh-0000sZ-4w for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Oct 2017 14:57:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dzorI-0000sS-IX for help-gnu-emacs@gnu.org; Wed, 04 Oct 2017 14:57:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dzorF-0005mV-Gh for help-gnu-emacs@gnu.org; Wed, 04 Oct 2017 14:57:28 -0400 Original-Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.228]:25684 helo=cdptpa-cmomta01.email.rr.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dzorF-0005lY-Bi for help-gnu-emacs@gnu.org; Wed, 04 Oct 2017 14:57:25 -0400 Original-Received: from gauss ([75.80.191.41]) by cmsmtp with SMTP id zor8dz3D9OrwRzorBd4nR8; Wed, 04 Oct 2017 18:57:22 +0000 X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) X-CMAE-Envelope: MS4wfCUP/Hav6qmy1Mb4lwn8iRPGo3oHLrv7+Y014BWqTMWpP/jHiebq5gAwSYt464lBcLX2tCqkOnAOxIPmmf6sgWPfEmvmME3gK/V0yMIA7Ivf4iQ3XTfg xECi6RcxPwbHDnkar7fUJbZf+YPNdlUj5iWeAsHlW8l2sckJEoh9hUUQ X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 107.14.166.228 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114517 Archived-At: Is there a way to detect when a variable changes? Specifically, the buffer-local variable default-directory is changing at some point and I'd like to detect what code is doing that. -- Joe Riel