From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: add-variable-watcher usage in lisp/frame.el Date: Fri, 01 Jun 2018 11:18:24 +0200 Message-ID: <87woviuaov.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1527844592 17609 195.159.176.226 (1 Jun 2018 09:16:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 1 Jun 2018 09:16:32 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 01 11:16:28 2018 Return-path: Envelope-to: ged-emacs-devel@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 1fOgAe-0004UG-4v for ged-emacs-devel@m.gmane.org; Fri, 01 Jun 2018 11:16:28 +0200 Original-Received: from localhost ([::1]:54318 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fOgCl-0001Uj-9P for ged-emacs-devel@m.gmane.org; Fri, 01 Jun 2018 05:18:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53946) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fOgCe-0001UP-Fj for emacs-devel@gnu.org; Fri, 01 Jun 2018 05:18:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fOgCa-00022Z-DI for emacs-devel@gnu.org; Fri, 01 Jun 2018 05:18:32 -0400 Original-Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:33021) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fOgCa-00021y-5y for emacs-devel@gnu.org; Fri, 01 Jun 2018 05:18:28 -0400 Original-Received: by mail-wm0-x232.google.com with SMTP id z6-v6so4629561wma.0 for ; Fri, 01 Jun 2018 02:18:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:mail-followup-to:mail-copies-to:gmane-reply-to-list :date:message-id:mime-version:content-transfer-encoding; bh=JMN4BLwZYK1vq2nkXM2/YavVlz8aKiK8hkjBBNsFbfU=; b=lVa6RZtrmqvBLBSLRndNrk473/P9dQ7yUqVX0MEx32Pgq2Jojmfyj6Fiq5apc4RCV0 g3lQD5T+R2+EkAbCseVwkmuM5uSwiFWahu2FcrrpyVFSCOBW6TqHamfkWP4tLXP4ERvD V9NEiSt7BQqmKAW1ela5NXOeD4bhKHRIMg5C0fwVDSW/qVvI9ng7KdXARmlM9mu9d0dH RR6CsGDFJrMCrFSdhOmcLmiPiYjvMSVVBI1tSTI8Sry8j4StKppTNklDMZoIXdiL/11M XMT6X/+JYfV3XX67UADyh8Y5kmBJjLOEcdRBFF1A188cdaYgzTRx7ircscF86pPIhFca CBlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:mail-followup-to:mail-copies-to :gmane-reply-to-list:date:message-id:mime-version :content-transfer-encoding; bh=JMN4BLwZYK1vq2nkXM2/YavVlz8aKiK8hkjBBNsFbfU=; b=p050y5GPQH4l0H0DaxIVeaHxB8i8D6KZRcxWTtGUpOJ2f2ZZpyVylXeCWNOtxZwxe8 3Pw9oZMGGlUVdHy7cFnN238RhigTaic22nHZxGpFZwdGu+23HjnPJDExYBWUXAp+y/jt RJKo6+ULyS4Dk0e3XYzvV297gKSgw7tgoQIF9VXwTQ4WP+QyRbrcLHYFKgUKjYmm3iLL V8Fb/vi3CssRR2OSY/FxQSli06IzmIiCixeO7+WVhAnwpRYybCu/FxUaw1uHKZXtc9rI SjskUVR/dAtShbLSZQmJexZIZCY7m/omuqgB9ZoyM9ArmVXBBm5kpKusvIgPqSAA3s72 Izyg== X-Gm-Message-State: ALKqPwdlEw4tWQAJq2Ft76K28RKuim+z2chiBjuaoSEdVjwIt3JsMACz frMJh0Ly2SEnabix8sbet7vfJbwR X-Google-Smtp-Source: ADUXVKJgDCXk087tBbGSe5OTnZRAJrwnRXus5mqYQh5M0AmUt+ppbtBvMnlcEvXYCHT3f7Pi0zNH/A== X-Received: by 2002:a1c:9015:: with SMTP id s21-v6mr2016416wmd.75.1527844706610; Fri, 01 Jun 2018 02:18:26 -0700 (PDT) Original-Received: from rpluim-ubuntu ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id n7-v6sm21365848wri.27.2018.06.01.02.18.25 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Jun 2018 02:18:25 -0700 (PDT) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::232 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:225885 Archived-At: lisp/frame.el has: (mapc (lambda (var) (add-variable-watcher var (symbol-function 'set-buffer-redisplay))) which causes (describe-variable 'truncate-lines) to produce output like Automatically becomes permanently buffer-local when set. Calls these functions when changed: (#) Note the "#