From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: Popup when buffer file is changed on disk Date: Sun, 01 Jan 2006 11:10:30 -0500 Message-ID: References: <021420052018.19405.421107A30005F04700004BCD2200762302CCCCCCCE0D0A080103@comcast.net> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1136131996 12435 80.91.229.2 (1 Jan 2006 16:13:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 1 Jan 2006 16:13:16 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 01 17:13:15 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Et5pV-0003MA-As for ged-emacs-devel@m.gmane.org; Sun, 01 Jan 2006 17:13:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Et5r1-0001Tf-UT for ged-emacs-devel@m.gmane.org; Sun, 01 Jan 2006 11:14:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Et5pc-0001GG-P9 for emacs-devel@gnu.org; Sun, 01 Jan 2006 11:13:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Et5pc-0001Fx-5d for emacs-devel@gnu.org; Sun, 01 Jan 2006 11:13:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Et5pb-0001Fr-Ta for emacs-devel@gnu.org; Sun, 01 Jan 2006 11:13:16 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Et5qV-0007jl-LM for emacs-devel@gnu.org; Sun, 01 Jan 2006 11:14:11 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1Et5mw-0000az-QI; Sun, 01 Jan 2006 11:10:30 -0500 Original-To: moheb1333@comcast.net In-reply-to: <021420052018.19405.421107A30005F04700004BCD2200762302CCCCCCCE0D0A080103@comcast.net> (moheb1333@comcast.net) 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:48601 Archived-At: I am answering old mail that got forgotten during the year. Following Lennart's idea, I added a flag to the buffer struct (leaveBufferAlone) which persists the state of whether the user chose to ignore that the buffer file was changed on disk or not. When working with an IDE, the popup provides a symmetric editing experience in that emacs and the IDE notify the user whenever the file is changed on disk and give him/her the chance to ignore or revert. This could be a useful feature, but the implementation has two flaws: 1. It is done at the C level. 2. It only works on Windows. Our goal is to replace proprietary operating systems, not to enhance them; therefore, we don't want to have any Emacs features that only work on Windows. If you or someone implements such a feature that works on the GNU system and is mostly implemented in Lisp, then we could install it (after the coming release).