From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: HowTo: Run a hook when a buffer becomes "current" Date: Fri, 18 Dec 2015 18:06:54 +0100 Message-ID: <87y4crd6tt.fsf@fencepost.gnu.org> References: <87r3ikiknq.fsf@red-bean.com> <87egek7y3f.fsf@mbork.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1450459394 9555 80.91.229.3 (18 Dec 2015 17:23:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Dec 2015 17:23:14 +0000 (UTC) Cc: Karl Fogel , emacs-devel@gnu.org To: raman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 18 18:23:10 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 1a9ykH-0007VC-8Y for ged-emacs-devel@m.gmane.org; Fri, 18 Dec 2015 18:23:09 +0100 Original-Received: from localhost ([::1]:34177 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9ykG-0008UE-Fx for ged-emacs-devel@m.gmane.org; Fri, 18 Dec 2015 12:23:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38581) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9yUc-000362-7I for emacs-devel@gnu.org; Fri, 18 Dec 2015 12:06:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9yUZ-0002xJ-Tn for emacs-devel@gnu.org; Fri, 18 Dec 2015 12:06:57 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9yUZ-0002xF-QO; Fri, 18 Dec 2015 12:06:55 -0500 Original-Received: from localhost ([127.0.0.1]:40582 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.82) (envelope-from ) id 1a9yUZ-0008Ut-0V; Fri, 18 Dec 2015 12:06:55 -0500 Original-Received: by lola (Postfix, from userid 1000) id AD927E2C49; Fri, 18 Dec 2015 18:06:54 +0100 (CET) In-Reply-To: (raman@google.com's message of "Fri, 18 Dec 2015 08:18:50 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:196479 Archived-At: raman writes: > Marcin Borkowski writes: > Re installing emms playlists as soundscapes -- I dont see why not -- > take a look at the code -- should be easy to do. > > One reason I eventually landed on randomly repeating nature sounds: With > music playlists, streaming radio etc -- the media that is playing > changes without being in lock-step with what you're doing. > > My intuition (completely unproven at this point) is that such switches > were actually preventing me from focusing fully on my current > activity -- and where I was fully focused, the change in music as the > result of one track ending and another starting actually took my focus > away. Well, I'm a musician in some reasonable sense of the word. Any music is distracting me from programming. And the better, the worse. -- David Kastrup