From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul R Newsgroups: gmane.emacs.devel Subject: Re: Emacs inotify support? Date: Mon, 14 Sep 2009 09:39:17 +0200 Message-ID: <87hbv6gel6.fsf@gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1252913989 2560 80.91.229.12 (14 Sep 2009 07:39:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Sep 2009 07:39:49 +0000 (UTC) Cc: joakim@verona.se, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 14 09:39:42 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mn69z-000346-CG for ged-emacs-devel@m.gmane.org; Mon, 14 Sep 2009 09:39:41 +0200 Original-Received: from localhost ([127.0.0.1]:48289 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mn69y-0002tS-R1 for ged-emacs-devel@m.gmane.org; Mon, 14 Sep 2009 03:39:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mn69t-0002sP-8A for emacs-devel@gnu.org; Mon, 14 Sep 2009 03:39:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mn69n-0002nP-Cp for emacs-devel@gnu.org; Mon, 14 Sep 2009 03:39:31 -0400 Original-Received: from [199.232.76.173] (port=49460 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mn69n-0002nM-9b for emacs-devel@gnu.org; Mon, 14 Sep 2009 03:39:27 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:30422) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mn69k-0000tj-EH; Mon, 14 Sep 2009 03:39:24 -0400 Original-Received: from mail-bw0-f220.google.com ([209.85.218.220]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mn69i-0002BI-Qy; Mon, 14 Sep 2009 03:39:23 -0400 Original-Received: by bwz20 with SMTP id 20so1989150bwz.42 for ; Mon, 14 Sep 2009 00:39:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=AtwUEZ5T66s5zrBsgYnCGMbqMsayA9cwkyo3Q65Wqow=; b=DEUc5euj+qUu0ImG5T3bqLWPz4yZyFOm/91W1YQY4JGJv9it2eNR1AjuWpWXwE/VQu DvHVbkU5A0NPkizD3Y+YrBoH4kB2CmJEY7mWy8vR3Gjnh38ROojV4KD3tl/KwddPr8wW srh9nV9DfCJ8UjeHi++vtT7p5F4kHNfI24roI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=fExNKUm5cdZunReqNxb0qyxvZ4dcmHx1hHnjuefeQm1hcPxoYqeeKFimx7XvQ+EYK5 2D3lEnnRohY3DHYLVtT02ux9qHvs7Xctq+CUwdmEB1xe4XTdFSvKDZH2Xrncq3mv3xRy TaRzOti5HfBZv++6XqPo5UNlFt6HzMrk+XbGM= Original-Received: by 10.204.151.83 with SMTP id b19mr4841982bkw.102.1252913960477; Mon, 14 Sep 2009 00:39:20 -0700 (PDT) Original-Received: from ubuT42 (vil35-2-82-227-204-220.fbx.proxad.net [82.227.204.220]) by mx.google.com with ESMTPS id 9sm5588520fks.50.2009.09.14.00.39.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 14 Sep 2009 00:39:18 -0700 (PDT) In-Reply-To: (Richard Stallman's message of "Sat, 12 Sep 2009 12:46:44 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:115294 Archived-At: On Sat, 12 Sep 2009 12:46:44 -0400, Richard Stallman said: > Would this mean that all changes in the file system would be reflected > immediately in Dired buffers? That could be a very nice feature. But > it could also be a pain in the neck to have these changes occur while > you're moving around in the Dired buffer and making changes. What kind of changes are you thinking of ? My gut feeling is that dired would have to face two kind of situation : - trivialy mergeable divergence (f.e. you mark a file that gets touched externally) : AFAIK, dired already handles this kind of situation when you press 'g' while working, so it could do so without interupting the user work. - unmergeable divergence (f.e. you initiate a rename operation but in the meantime the file gets removed) : Dired will have to complain that source file is missing, the situation would not be worse with instant reflexion than without. On the other hand, having instant reflexion in dired would be a big usability improvement for most browsing operations. That could even go as far as tracking displayed directory path changes, i.e. you browse a directory A, browse a subdirectory A/B, rename A/B to A/C (from inside dired A, or from outside Emacs) : dired buffer A/B is magically refreshed from A/C. The same could be used for file buffers. -- Paul