From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Ye Wenbin" Newsgroups: gmane.emacs.help Subject: How to watch a variable? Date: Mon, 03 Sep 2007 18:08:57 +0800 Organization: personal Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1188814183 25207 80.91.229.12 (3 Sep 2007 10:09:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 Sep 2007 10:09:43 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 03 12:09:39 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IS8sE-0006mg-Lx for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Sep 2007 12:09:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IS8sD-0000wj-CY for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Sep 2007 06:09:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IS8rs-0000ty-Dl for help-gnu-emacs@gnu.org; Mon, 03 Sep 2007 06:09:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IS8rq-0000sE-NV for help-gnu-emacs@gnu.org; Mon, 03 Sep 2007 06:09:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IS8rq-0000s1-K8 for help-gnu-emacs@gnu.org; Mon, 03 Sep 2007 06:09:14 -0400 Original-Received: from rv-out-0910.google.com ([209.85.198.184]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IS8rq-00034Y-8w for help-gnu-emacs@gnu.org; Mon, 03 Sep 2007 06:09:14 -0400 Original-Received: by rv-out-0910.google.com with SMTP id c27so863204rvf for ; Mon, 03 Sep 2007 03:09:12 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:to:subject:from:organization:content-type:mime-version:content-transfer-encoding:message-id:user-agent; b=fU54C8fc5mBoupJcMAgJeMZrsbA+lCrNvgL0hOpEvKl9d0M0iY4Onx6jl6EHHyyYfMdXtTgkvcSz/Ee/NJsSMtxOC9kmMpMuX91b29ZhdfZIz78CimT9lphTPEBTFmjI433sflw0lMJaBOYPcGOIiORCqfbnwxHd8i/fB8hkTn0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:to:subject:from:organization:content-type:mime-version:content-transfer-encoding:message-id:user-agent; b=cEBElOAOyHprP2U0rKJYwOTYYZXlajSQY+9NP5jA2fX9MGquFkKP53RgZhPAAhyxivZIPXMo6orPb6+t9CocH4EE3OFXYAaTOSMOOqHlfIdOWQaHRiZQK20PK6Ror/Rl2Xzt/LDNJ6rJJUbuSXwAiBsb9dC+JOM+nlcJG2jZMXE= Original-Received: by 10.141.137.8 with SMTP id p8mr1888234rvn.1188814152686; Mon, 03 Sep 2007 03:09:12 -0700 (PDT) Original-Received: from ywb-laptop ( [218.17.227.210]) by mx.google.com with ESMTPS id l38sm5410491rvb.2007.09.03.03.09.08 (version=SSLv3 cipher=OTHER); Mon, 03 Sep 2007 03:09:09 -0700 (PDT) User-Agent: Opera Mail/9.23 (Linux) X-Detected-Kernel: Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:47147 Archived-At: Hi, I found an anony problem. I customize set outline-regexp, but the variable is change when start up. I don't know which part of my .emacs changed the value. So is it possible to add some hook when change the variable? I found the variable truncate-lines is different. When evaluate (setq truncate-lines t), it will take affect without calling other functions. How to make the outline-regexp like it? -- Best regards, Ye Wenbin