From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: raman Newsgroups: gmane.emacs.devel Subject: Re: HowTo: Run a hook when a buffer becomes "current" Date: Sat, 19 Dec 2015 08:43:56 -0800 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1450543456 15143 80.91.229.3 (19 Dec 2015 16:44:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Dec 2015 16:44:16 +0000 (UTC) Cc: emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 19 17:44:07 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aAKc3-0001Ub-EK for ged-emacs-devel@m.gmane.org; Sat, 19 Dec 2015 17:44:07 +0100 Original-Received: from localhost ([::1]:37871 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAKc2-0006eK-VR for ged-emacs-devel@m.gmane.org; Sat, 19 Dec 2015 11:44:06 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAKbz-0006du-3P for emacs-devel@gnu.org; Sat, 19 Dec 2015 11:44:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aAKbw-0000Tm-KC for emacs-devel@gnu.org; Sat, 19 Dec 2015 11:44:03 -0500 Original-Received: from mail-pa0-x22b.google.com ([2607:f8b0:400e:c03::22b]:32861) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAKbw-0000TY-Ey for emacs-devel@gnu.org; Sat, 19 Dec 2015 11:44:00 -0500 Original-Received: by mail-pa0-x22b.google.com with SMTP id ur14so76285359pab.0 for ; Sat, 19 Dec 2015 08:44:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=24Q00kP48JOEujDmnRr4TUQsowxTD+MajXQi5MqQpkQ=; b=LyqTQDDRRN0R8SskYoO+BNlQvjTSI7QYFZB2suVE6mKNXfhe+a0btFAmEV2pD6LWpA 35b79pqkTOZ0XceN0bcpxIYT15Nqx482D6CP4qSwyFu+dhADre5Vh10vnUR5slSuw3V6 RlNGpZoOGbCiq5rLnrf6DUwDPrDnQ5W1aN5Svj1YxkgwmJCjUwwWZV/gX58VHUPKllX3 s1+QSs0okyoZ5Hgmqq1Phhi5eHaWeYzH7uNCxH0v0ddOLnCvk348DWod8wuUO62dSgqk F5EIzmBZAVScJSDHCtE0uw1Of2RbwsjPCR8JC30O3cyqI4R56FEo0qtFl52ajwfnFWJh 8Neg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=24Q00kP48JOEujDmnRr4TUQsowxTD+MajXQi5MqQpkQ=; b=c43bfqKG9cWPI8PkhJTVIwsUpRQcckREr756c/igaKqOTz87wH74FItuxDPLYk7JLY EEWq5daw5YRBV4hy52ZkMKZFQy0dWhQFhUK38sOAxWUTiFBPkGw1CWQEj8L2kgg57av9 QbfEF141e3PvFF2FrZ06bHROEpB0WqjR0fUXo1LQImKYpf5ch8g/i4G0ge12OL4wKp3h 73Yj3HHwn4upxpwaGbzPF14YxzQgXk+iSGWMBF6LcQf+p7N4hJY55jNeaUCSMvnETAxZ 3rLjsw2sGxp0bkU5IrNEBYZuw9DLgXP0NZ9IB8JTJ+mIlYUYV8JT3bs976qw8tUBgdJV c1lQ== X-Gm-Message-State: ALoCoQkLWcrGgBYFB/Fyv3A4MJ+XzgSplYbTr10gi7W1li0oQbQneRoHG1/IMtfUrex1AlVwIY4akUtIwANS517wl4D4u03Q5A== X-Received: by 10.66.100.228 with SMTP id fb4mr14200514pab.84.1450543438613; Sat, 19 Dec 2015 08:43:58 -0800 (PST) Original-Received: from raman-glaptop2 (c-73-170-121-60.hsd1.ca.comcast.net. [73.170.121.60]) by smtp.gmail.com with ESMTPSA id fe6sm29313068pab.40.2015.12.19.08.43.57 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Sat, 19 Dec 2015 08:43:57 -0800 (PST) In-Reply-To: (Richard Stallman's message of "Fri, 18 Dec 2015 23:37:10 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c03::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:196510 Archived-At: Richard Stallman writes: Which would be far harder to debug :-) --8<---------------cut here---------------start------------->8--- > You could arrange a timer to tell the soundscape program > once a second or so which buffer is selected. --8<---------------cut here---------------end--------------->8--- --