From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: How to restore the layout? Date: Fri, 05 Jul 2013 16:02:09 +0200 Message-ID: <51D6D1E1.10902@alice.it> References: <51C5AA68.4000204@alice.it> <83fvw2g44j.fsf@gnu.org> <51CE9B05.1090202@gmx.at> <51CFFBED.7090400@gmx.at> <51D02AB0.5070103@gmx.at> <51D5DE14.4090507@alice.it> <51D600D8.90801@alice.it> <51D67990.3090800@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1373032952 29832 80.91.229.3 (5 Jul 2013 14:02:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Jul 2013 14:02:32 +0000 (UTC) Cc: martin rudalics , Emacs developers To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 05 16:02:31 2013 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 1Uv6aj-0007rk-Qr for ged-emacs-devel@m.gmane.org; Fri, 05 Jul 2013 16:02:29 +0200 Original-Received: from localhost ([::1]:53813 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uv6aj-0005u3-CN for ged-emacs-devel@m.gmane.org; Fri, 05 Jul 2013 10:02:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39579) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uv6aZ-0005lA-RO for emacs-devel@gnu.org; Fri, 05 Jul 2013 10:02:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uv6aX-0001Mr-CB for emacs-devel@gnu.org; Fri, 05 Jul 2013 10:02:19 -0400 Original-Received: from smtp204.alice.it ([82.57.200.100]:48840) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uv6aX-0001Mc-28 for emacs-devel@gnu.org; Fri, 05 Jul 2013 10:02:17 -0400 Original-Received: from [192.168.1.100] (87.3.157.179) by smtp204.alice.it (8.6.060.15) (authenticated as angelo.graziosi@alice.it) id 51C49E42014F750A; Fri, 5 Jul 2013 16:02:15 +0200 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.100 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:161587 Archived-At: BTW, now I am noticing (I think not Cygwin specific) another issue regarding buffers restoration. Suppose I am working with a foo.cpp buffer in HOME (~/foo.cpp). Suppose also I have visited another buffer ~/applications/foo.f90. Now I quit Emacs and delete the ~/foo.cpp file. When I restart Emacs, it restore both buffers: ~/applications/foo.f90 (and this is OK) and an EMPTY ~/applications/foo.cpp!!! and foo.cpp is visited in Fundamental mode (notice the new directory for foo.cpp too..). I think this is wrong. Until few week ago, Emacs restored only the existent files, i.e. ~/applications/foo.f90 (in the Messages buffer it wrote something like "...foo.cpp not found...". I think this is the right thing to do: files that do not exist any more (or are moved elsewhere) should not be restored at all. Ciao, Angelo.