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: Fri, 31 Jul 2015 11:56:13 +0200 Message-ID: <55BB463D.4080202@gmx.at> References: <877fph8xwx.fsf@acer.localhost.com> <87d1z9a210.fsf@gnu.org> <871tfp8ir0.fsf@acer.localhost.com> <87lhdwhosp.fsf@gnu.org> <55BB1F61.7030104@gmx.at> <87twskhgu6.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 1438336619 9033 80.91.229.3 (31 Jul 2015 09:56:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jul 2015 09:56:59 +0000 (UTC) To: Ingo Lohmar , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 31 11:56:53 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 1ZL73b-0005aY-TP for ged-emacs-devel@m.gmane.org; Fri, 31 Jul 2015 11:56:52 +0200 Original-Received: from localhost ([::1]:43794 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZL73W-0007VI-FU for ged-emacs-devel@m.gmane.org; Fri, 31 Jul 2015 05:56:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZL73D-0007Lu-Vr for emacs-devel@gnu.org; Fri, 31 Jul 2015 05:56:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZL737-0004uR-82 for emacs-devel@gnu.org; Fri, 31 Jul 2015 05:56:27 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:53677) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZL736-0004uI-VN for emacs-devel@gnu.org; Fri, 31 Jul 2015 05:56:21 -0400 Original-Received: from [194.118.142.172] ([194.118.142.172]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0Me8ws-1ZWc1q0EoA-00Prr6; Fri, 31 Jul 2015 11:56:20 +0200 In-Reply-To: <87twskhgu6.fsf@gnu.org> X-Provags-ID: V03:K0:JPDIrYGcZo1vyfTEP+5x3ebr598vSMtUQde98nZBVWCQVdQrGMh yqLUO9i+HLvIn0kUDwF2DfpWZH/LAE/foEgsfcVbrvqYtxuxEk0nNASVN3DtMKNFs5qRadp EYo6yXOzIjfAu+0Esqk66JALnxygF5SEttJK22XdKvDtR17objF0/vojrJ7iJfdzgFJbIs5 zn7nUI2FrwFRWQKlfv/wQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:btUoovB0qUI=:ZQO4Vb8b3yhY29Y4ilQjNN yTRNTyboeDmd3vVCFLM7apXtNeNXJU0M/CXj+6Ban7Miq5oBveP6FvxkrE6iGURpDqWq1EQ5r tntHKUdVTeb8TTHi3ls5aLFWgVKTBarA5weNf+Rk69sv4oWSQFEqvYzb6U5FnXlGrQDjt5Ve1 PFAJEKmmsjvkPdpd0lwBbDo8YZhhX9dUAoBH7+6dk5Jqwv+gfsdAhDdFJ/OblaepJ7uxhXSq8 FlBtdbErzHjRZ4X+5qLVupv2qB5BuMn39H4MyIyule6ZBwj0wQNesxTWs8BZNumcd805ma2+G l0b2HMdrDSg1Dy0Apxfo7r4x3VuBszbtBoT92eOxSUAHC5mzhlWVIosn43el/HolK9V33Hptj svmUXLROg/c3aiAriHm1WFAXXl56IpzhLyBxxRk5r2a0Zltj+H2h5h1ZvmQo9naPHMyPBm+Xd lfqNr0uKRfyiHC7AtBcMV4DPVSgIfWISSW+Y+IQaxJqyo5rR9zms8T5fFalvPHXioAEDek+mb jADEFae+823e9dE4FJFQO/oTX/S7lZQeXkzeoSZUbz4FGKd0gOlBhg3NeV89Vl1VpdJTqAC38 oqy+bxxZIBZHPKA0hYPjOyqTJUPZAEb/Y+a7nAlY2hlalkIykDwbmhPbwZMqpYCJx4qC+QPoD YAA9W0TyK1dpNvBzPjRnp7qgUqsn5AuYstVJfFDWTXuEpRMQTTKuo4ROywramRqfJSzo= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.17.21 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:188232 Archived-At: > They use `goto-char' in the window which is selected after setting the > window configuration, so I guess it's the buffer's point. I still don't get what you want instead. > (let ((bufpoints (mapcar > (lambda (buf) > (cons buf (with-selected-window (get-buffer-window buf) > (point)))) > (cl-remove-if-not #'get-buffer-window > (buffer-list (selected-frame))))) All you can possibly want here are window-points, the positions of the cursor in any window shown before or after setting the configuration. Calling `buffer-list' makes no sense. > But that's also really bad. For example, `edebug' uses > `set-window-configuration' internally, so point always jumps back after > each edebug step. `set-window-configuration' should be used only "internally". It's main design goal is that the user should _not_ be aware of its existence. Maybe you could use `window-state-get' and `window-state-put' instead. martin