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: [Emacs-diffs] master 0245cc3: Improve accessibility of window dividers. (Bug#20183) Date: Thu, 02 Jul 2015 20:00:26 +0200 Message-ID: <55957C3A.7020909@gmx.at> References: <20150702070503.30720.41171@vcs.savannah.gnu.org> <55956136.4040409@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 1435860059 14457 80.91.229.3 (2 Jul 2015 18:00:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Jul 2015 18:00:59 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 02 20:00:50 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 1ZAin4-0004k8-45 for ged-emacs-devel@m.gmane.org; Thu, 02 Jul 2015 20:00:50 +0200 Original-Received: from localhost ([::1]:38051 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAin3-0001GK-Fd for ged-emacs-devel@m.gmane.org; Thu, 02 Jul 2015 14:00:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAimw-0001Ex-4a for emacs-devel@gnu.org; Thu, 02 Jul 2015 14:00:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZAimr-00077q-Pl for emacs-devel@gnu.org; Thu, 02 Jul 2015 14:00:42 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:63073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAimq-00077j-V1 for emacs-devel@gnu.org; Thu, 02 Jul 2015 14:00:37 -0400 Original-Received: from [188.22.34.219] ([188.22.34.219]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0M6eTo-1Ynfd73VMS-00wX7g; Thu, 02 Jul 2015 20:00:34 +0200 In-Reply-To: X-Provags-ID: V03:K0:0g1OJtPCZ+iqIIQmTJe0tAH2HfaXeV82KBFYVs5nNsHsSAOIaGe duzKWeVIas9OyPJXSNWE4MW+HyngljyTV4kEj5pey9eVbVK/QxCVOrDTPqIcZwSXD2egLvP CcNeXChT/yzRu+jCSENxkuxpbYITlZ3yAbIRbJ6YUZSAXsYwUqnjpuCuN+Fg4++rMA2dB73 lKOJ+k56vWBWTFhEwd9NQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:/AmVtshOMkU=:0EcZrCO3IhSwPQpI7LU6Pg BS2VDq1MS3UaX3NLx7PEepecoY8zfKtVw7MKmUGeIcN4Fp1JEHDnEClUbGFH60nxdf7s0488w 4Bmr43cZMv3MYBBibWQKKgeUeW2Of5sLhA9/LEkdW9B0WuV+hp5YN46WqJmFc+3+0JQHGaqgv Tq7hlRxLyqWfwKK+Ullra0u2HUKGLBEMo0XgHIsdMdOivnOs0K+FCb0/P69szKG3wlXzeVf1w SvfyzlVH/8Kz4Ik0XS2U2eDwBPg3vFGXbv654eNk81jKJNYtUdPVWBp65nJ59fUVUSXC68Gcp MNvOuPaN8HD/jWO0WqF/vZcsP3BxDRxp+Nv5PgtQrxtHfinH74ML1hoOC/OezdDZShhmrZ6uq JIipd+MgPBrRB1GVGMFTlpJTpCkzEusIIQ1NpoAKlN172bpS7gE+sYkZAVovv32l1Ewsdcep5 w/ORBvYis/d6KMF36VvJrhjZNT9cX8eK7g+tcxRH7Mm2NefQL6JRYR1MZaW/KuYSjgHBkzF3r 2TXB2mv66+iChPxeTTcYgYNOdsUF0daiaK9Wt+Jh6Z9F2L8aN4eJawSpuiONYy/fxtFB/9PQw BMvzyatsjsytt7WmJnrzOJDZjUata4QEMe3+olWwBtXPvRmb1DDurE00cUpc9Z3KxrcTLOg69 8KIo+KeA8wu643f4yGuWKKuHezWWrrTQP21svFhPMYBvt6voyyfuYhXOvrhMIjpsAJeo= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.17.20 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:187715 Archived-At: >> You mean the defcustom for `window-divider-mode'? Then I completely >> miss you. Where would I specify the permitted values? > > The minor mode only allows two values (enabled/disabled). > So you'll need a second variable specifying what the "enabled" state > should look like. But how would a user customize switching from the `right-only' to the `bottom-only' state? How would a user specify the preferred initial state? I initially wanted to add just a simple menu entry for switching. For that I wanted an option which allowed to select one of four permissible states. Obviously, that option would have to be customizable via the `customize-variable' interface as well. Then I noticed that all items in the Show/Hide group are minor modes. Some of them in a contorted sense - both `fringe-mode' and `mouse-avoidance-mode' are simple defuns. I would have preferred to do it their style, possibly using completing read. But I tried to be a good citizen and specified `window-divider-mode' in a sense similar to `scroll-bar-mode' - the only mode I found that was specified via `define-minor-mode' and allowed more than two values. Now if I'm not mistaken you seem to say that the approach I've chosen is not TRT. But how can I know what TRT is? Neither the various modes one can activate via the menu bar nor the manual provide useful guidance in this regard :-( martin