From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: Q on frame parameters *border-width Date: Fri, 20 Jan 2006 16:20:54 -0800 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1137806777 24844 80.91.229.2 (21 Jan 2006 01:26:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 21 Jan 2006 01:26:17 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 21 02:26:17 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F07WB-00029p-M5 for ged-emacs-devel@m.gmane.org; Sat, 21 Jan 2006 02:26:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F07Lg-00026R-J3 for ged-emacs-devel@m.gmane.org; Fri, 20 Jan 2006 20:15:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F06Xe-0006KA-If for emacs-devel@gnu.org; Fri, 20 Jan 2006 19:23:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F06Xb-0006IO-43 for emacs-devel@gnu.org; Fri, 20 Jan 2006 19:23:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F06Xa-0006IL-NE for emacs-devel@gnu.org; Fri, 20 Jan 2006 19:23:38 -0500 Original-Received: from [141.146.126.228] (helo=agminet01.oracle.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1F06bs-0004Bj-Ar for emacs-devel@gnu.org; Fri, 20 Jan 2006 19:28:04 -0500 Original-Received: from rgmsgw301.us.oracle.com (rgmsgw301.us.oracle.com [138.1.186.50]) by agminet01.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id k0L0KxxR031737 for ; Fri, 20 Jan 2006 18:20:59 -0600 Original-Received: from rgmsgw301.us.oracle.com (localhost [127.0.0.1]) by rgmsgw301.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id k0L0KwBF025203 for ; Fri, 20 Jan 2006 17:20:58 -0700 Original-Received: from dradamslap (dhcp-amer-rmdc-csvpn-gw5-141-144-107-196.vpn.oracle.com [141.144.107.196]) by rgmsgw301.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with SMTP id k0L0Kv2x025195 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Fri, 20 Jan 2006 17:20:58 -0700 Original-To: "Emacs-Devel" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:49345 Archived-At: This is the total doc that I can find on these two frame parameters (from the Elisp manual): `border-width' The width in pixels of the window border. `internal-border-width' The distance in pixels between text and border. 1. Wrt `border-width': When I try this, I get an error, "Cannot change the border width of a window": (modify-frame-parameters (selected-frame) '((border-width . 20))) So, think I, perhaps you cannot change this parameter for an existing frame, but perhaps you can set it for `default-frame-alist' and it will then affect future frames. No such luck either. Both the doc string and the error message speak of the "window" border, so I guess this is a frame parameter that affects the border of each window in the frame. Is that right? Just where is the window border? If not, if it is about a frame border, then the doc string and error message should say "frame", not "window". What does this parameter do? Setting it doesn't seem to do anything, on Windows XP at least (Emacs 20 or 22). Shouldn't the doc explain the parameter a little more? 2. Wrt `internal-border-width': The only difference in this parameter's name and that of the previous parameter is "internal-". Does this mean that this too applies to Emacs window borders (whatever they are) and not to frame borders? Setting `internal-border-width' actually does change something, but it appears to be the internal _frame_ border, not a border around each window. If this parameter is about a frame border, but `border-width' is about window borders, then shouldn't the parameter names indicate this difference? And shouldn't the doc point out this difference? The `internal-border-width' does not appear to be the distance between text and border, if the border when fringe is present - in that case, it is the distance between the fringe and the border.