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: suggestion: blue default for new face `window-divider' Date: Fri, 31 Jan 2014 11:43:30 +0100 Message-ID: <52EB7E52.8020107@gmx.at> References: <27053922-2ceb-46ec-ae23-06c651270682@default> <87zjmdm04u.fsf@web.de> <877g9go6kd.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1391165023 15484 80.91.229.3 (31 Jan 2014 10:43:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jan 2014 10:43:43 +0000 (UTC) Cc: Michael Heerdegen , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 31 11:43:51 2014 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 1W9BZf-0000L9-68 for ged-emacs-devel@m.gmane.org; Fri, 31 Jan 2014 11:43:51 +0100 Original-Received: from localhost ([::1]:54408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9BZe-0007Ai-RP for ged-emacs-devel@m.gmane.org; Fri, 31 Jan 2014 05:43:50 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9BZV-0007AR-G4 for emacs-devel@gnu.org; Fri, 31 Jan 2014 05:43:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9BZO-0007MM-6v for emacs-devel@gnu.org; Fri, 31 Jan 2014 05:43:41 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:55163) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9BZN-0007MC-TQ for emacs-devel@gnu.org; Fri, 31 Jan 2014 05:43:34 -0500 Original-Received: from [62.47.63.111] ([62.47.63.111]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MGjfl-1W4Sc009Cb-00DVH9 for ; Fri, 31 Jan 2014 11:43:33 +0100 In-Reply-To: <877g9go6kd.fsf@mail.jurta.org> X-Provags-ID: V03:K0:gyrjS0Dea6qoCPZpsuuWt92Jz68S9QxWAxbHlT3d5HCoKM7iV3R 30Em91GqZNhAmDv7dzLKo9Kd55lNJw0S8CtgJeHWJ4QhKVq8o7smryeYF1N1gO8aBtoz5Ui JZOL2BqGOKu4DYz6pUWpM95EWrD57AAucKEosMYZcSFOIE5C5P9lUOFvSoAlvZ/kU0p3mIX NMXxf3p3iNIqUTpN9vO6g== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.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:169266 Archived-At: > The face `vertical-border' inherits from `mode-line-inactive' > which is grey by default, so `window-divider' could do the same. IMHO the default should imitate the standard 3D effect generally used for window dividers. Unfortunately, doing that without prior knowledge of the respective API primitives is tedious. It would be a great help if anyone else could do that. > PS: I don't understand why there are two identical faces > `vertical-border' and `window-divider'. > > With no scroll bars, evaluating > > (set-frame-parameter (selected-frame) 'right-divider-width 0) > > uses the `vertical-border' face, and allows resizing windows > by dragging the vertical line. > > And after > > (set-frame-parameter (selected-frame) 'right-divider-width 1) > > `vertical-border' is replaced by `window-divider' with exactly > the same behavior. Shouldn't these faces be merged? I didn't want to change existing code, so I left `vertical-border' untouched. The divider face is used for horizontal dividers as well, so the name vertical-border would be inappropriate. Finally, I'm not yet sure how to incorporate the default 3D value mentioned above in the face definition. martin