From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: include new package wconf.el in GNU ELPA Date: Thu, 30 Jul 2015 21:17:15 +0200 Message-ID: <87d1z9a210.fsf@gnu.org> References: <877fph8xwx.fsf@acer.localhost.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1438283858 4525 80.91.229.3 (30 Jul 2015 19:17:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Jul 2015 19:17:38 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ingo Lohmar Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 30 21:17:31 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 1ZKtKc-00043s-IC for ged-emacs-devel@m.gmane.org; Thu, 30 Jul 2015 21:17:30 +0200 Original-Received: from localhost ([::1]:41645 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKtKb-0003ue-Cp for ged-emacs-devel@m.gmane.org; Thu, 30 Jul 2015 15:17:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKtKW-0003uY-5l for emacs-devel@gnu.org; Thu, 30 Jul 2015 15:17:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKtKR-0003PY-5D for emacs-devel@gnu.org; Thu, 30 Jul 2015 15:17:24 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:50032) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKtKQ-0003PU-Vj for emacs-devel@gnu.org; Thu, 30 Jul 2015 15:17:19 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 9AFFD20C54 for ; Thu, 30 Jul 2015 15:17:18 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 30 Jul 2015 15:17:18 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=Bf3eEpDnvuVuGbkqa1pXvmnS55E=; b=a1jVC YkHzJ7cbNvHUI39r/0sHjf8446lU+WWRNCUtbd8Xv3G8m/6kmZvO4Y9uty+OYF3M aNsSdIeIzMrSnf+gO61uMjYNAXKXxwopzzpVKun8V1Mj6BIKXzwoTlSpjnQnE8Ng 1Jhvx6J78mfBPlZ38kpn64VSHGYyQL+gUZq3oI= X-Sasl-enc: z+52FCjG3UGQw6EaelVGLQH60OEQ+EXsVnG/YmJ8axdh 1438283838 Original-Received: from thinkpad-t440p (unknown [2.162.63.16]) by mail.messagingengine.com (Postfix) with ESMTPA id B662F680172; Thu, 30 Jul 2015 15:17:17 -0400 (EDT) Mail-Followup-To: Ingo Lohmar , emacs-devel@gnu.org In-Reply-To: <877fph8xwx.fsf@acer.localhost.com> (Ingo Lohmar's message of "Thu, 30 Jul 2015 17:31:26 +0200") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.25 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:188204 Archived-At: Ingo Lohmar writes: Hi Ingo, > I've been using my small single-purpose package wconf.el > https://github.com/ilohmar/wconf for a while now and I am very happy > with it. The code is all mine and I have signed the FSF papers. Now > I would like to put it into an elpa for visibility --- is it ok if I > upload it into the GNU elpa (I have commit rights)? Then I think all prerequisites are set. > The package does nothing but offer a simple mechanism to switch > between different window configurations of a single frame, and to > persist them across sessions. Looks simple and useful. I'll try it out when I find some spare time. I seldomly use window configurations mainly because I don't like that window configs also restore point and selected window. Basically, I'd prefer that when I restore a window config, the point values stay as they are for all the buffers which are part of the current window config and the one I'm switching to. Likewise, I'd like to have the window selected which displays the same buffer as the selected window in the current window config in case the window config I'm switching to also has a window displaying that buffer. Does wconf have a knob for that? (If not and you add one, you have a new user for sure. :-)) One comment on the code: I dislike the practice of having a normal package name and then use an abbreviated prefix in the actual code. wconf is a short name anyway, so IMHO there is no benefit of defining the functions and variables with the abbreviated wc- prefix instead of wconf-. But there is the obvious downside of likely clashes with private stuff from users with the initials WC. So I'd suggest to change that before it pops up in the package list and people start using, configuring, and extending it. A similar thing applies to the file where window configs are stored which is currently window-configs.el. I'd rather go with something which makes the connection to your package completely obvious, e.g., wconf-window-configs.el. Bye, Tassilo