From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: include new package wconf.el in GNU ELPA Date: Sat, 01 Aug 2015 12:50:46 +0200 Message-ID: <55BCA486.9050507@gmx.at> References: <877fph8xwx.fsf@acer.localhost.com> <87d1z9a210.fsf@gnu.org> <55BB1F49.1020800@gmx.at> <87pp38hgeg.fsf@gnu.org> <55BB465D.8080704@gmx.at> <87d1z8h1n0.fsf@gnu.org> 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 1438426291 4629 80.91.229.3 (1 Aug 2015 10:51:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Aug 2015 10:51:31 +0000 (UTC) To: Ingo Lohmar , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 01 12:51:23 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 1ZLUNs-0006TT-Jy for ged-emacs-devel@m.gmane.org; Sat, 01 Aug 2015 12:51:20 +0200 Original-Received: from localhost ([::1]:53302 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLUNs-0004B6-1d for ged-emacs-devel@m.gmane.org; Sat, 01 Aug 2015 06:51:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLUNX-0003xs-Km for emacs-devel@gnu.org; Sat, 01 Aug 2015 06:51:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZLUNU-0006Ya-M1 for emacs-devel@gnu.org; Sat, 01 Aug 2015 06:50:59 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:52985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLUNU-0006Wf-9l for emacs-devel@gnu.org; Sat, 01 Aug 2015 06:50:56 -0400 Original-Received: from [178.191.140.100] ([178.191.140.100]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0M8NBi-1YzzUF1p8U-00vuOL; Sat, 01 Aug 2015 12:50:53 +0200 In-Reply-To: <87d1z8h1n0.fsf@gnu.org> X-Provags-ID: V03:K0:FWFLLw64zFsqQDbwIiALN8PB2hYfNDAZy0RbycfklspLdKb8T4l 6vTQMLn9lWMhs/Lg2Q+2fZtMqy4Bl5esHzczPRcG+fwvJHFCfqoKA4teXJwuDzA4b0HShAS C+Pr85Y1gC53uTImGr8YhFmC2lHkOvIzdzqu23T5kOGZDW2GzBiIJxxMXglVTZ2NkvoHO1w HRlwKzNeGQb6MU+8SLw6A== X-UI-Out-Filterresults: notjunk:1;V01:K0:UvDdpNMQE5I=:VV0KyrG8KQbZjR+HYv+VuQ dSAdKqB1eFUrAQ6N5GO2T3CS/YRNbjbYUWu2bIGau0LdQiAMqWhtYlmG0/RtR713Te0wn+YfQ nuSeqMM2bfIA+zqB/59KEv4twRJBWBXLK3HuinDmE7uNJk4qK4bbtpXB4DxrVLnFDtvngYFBO oziY0QquUTr5v3YFB+/MzCPAeOIo8XFiy6DyLEF+XvGnUZi6xZJUiSPc4wupE2oxRKvqdBE6E 0/1Cd1oFRWP+vAQJMafFiN1m0JEG1ohIik5nXY3z6WTDjDRtxS2/ier0UmEKG+DkANhK6kxsj 366s93931qmAe77iVjQi+DyiUq5bccXnR6fYCwHV3iFbSnrh7TQYAyFh8r3JVXAjPf+GEx65b QCGE0zrSRazzhFrg7UlK0iGLXETJopZwARm+rlRUmxJmNtyR2ljQchDv1cPraUHnzXHVel+ux c1sZsaMdUKChoQiKy7ed5a4wlObwTkcVVSRTQiY8lHSIsEVZyVK//hJQnuQlYx1XN+wx4q9er mpbwlwjXvXRcJegzOSRqiHgy3m8tHBJ2rbk/xlQAHkua4MC5T1R0MbSEYBX5j6PkeaVBA+tfn GoXrexVFDE8pMYV4nXiNt88GybNk4NCBIcn56n2LDOZgBy0Nu0b6I4Mv4kzcNtcUI1vPRTavc VnvvC2hDxoWTZcuXCVDz1I0Vm1IsEGZxQPQYCcNZXrU0zcUn7oCY4swfH4h1iiCZ0CAE= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.15.19 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:188267 Archived-At: > Yes, pretty much that. I don't have a real concept of a window other > than a container for a buffer so I can't tell if a window W1 in window > configuration WC1 is different to a window W2 in window configuration > WC2. All I want is that when switching from WC1 to WC2, all buffers > which are displayed by some window in both WC1 and WC2 keep their window > point values from WC1. > > Of course, there are corner cases like some buffer being displayed in > multiple windows in WC1 and/or WC2 which I haven't thought about yet. > >> I'm afraid that want you want cannot be achieved easily. In principle >> we'd have to record for each window the last position of its buffer's >> `point' at the time the window was selected together with a time >> stamp. > > I think I'm fine with just the windows that are currently visible at the > point in time where the window config switch happens. > >> When restoring the configuration we'd have to, for the selected >> window, check whether its `point' should be moved to some youngest >> previously stored position. What if the window where the last move >> occurred was deleted before restoring the configuration? > > When I deleted it, then I don't care about it. > >> What if `point' moved at a time no window showing the buffer was >> selected? > > Then I didn't move myself so that move is not interesting to me. So your solution is hardly one that generalizes in a suitable way :-( martin