From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#15375: 24.3.50; Elisp manual: mention what units are used for window margin functions Date: Sat, 14 Sep 2013 18:29:36 +0300 Message-ID: <83ob7vfmlb.fsf@gnu.org> References: <56620f72-f813-4a5b-b6bc-3b543ebb8e50@default> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1379172617 4328 80.91.229.3 (14 Sep 2013 15:30:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Sep 2013 15:30:17 +0000 (UTC) Cc: 15375@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 14 17:30:20 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1VKrnd-0005rg-KS for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Sep 2013 17:30:17 +0200 Original-Received: from localhost ([::1]:53730 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKrnd-0004vJ-5q for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Sep 2013 11:30:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46023) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKrnV-0004vD-RT for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2013 11:30:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VKrnQ-0008GT-VR for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2013 11:30:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56717) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKrnQ-0008F5-ST for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2013 11:30:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VKrnP-0008Gk-Dj for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2013 11:30:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Sep 2013 15:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15375 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15375-submit@debbugs.gnu.org id=B15375.137917259831746 (code B ref 15375); Sat, 14 Sep 2013 15:30:03 +0000 Original-Received: (at 15375) by debbugs.gnu.org; 14 Sep 2013 15:29:58 +0000 Original-Received: from localhost ([127.0.0.1]:36777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VKrnJ-0008Fx-Kb for submit@debbugs.gnu.org; Sat, 14 Sep 2013 11:29:58 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:60845) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VKrnG-0008Fg-Ee for 15375@debbugs.gnu.org; Sat, 14 Sep 2013 11:29:56 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MT400800G9L9N00@a-mtaout22.012.net.il> for 15375@debbugs.gnu.org; Sat, 14 Sep 2013 18:29:47 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MT4007USGDKWQE0@a-mtaout22.012.net.il>; Sat, 14 Sep 2013 18:29:45 +0300 (IDT) In-reply-to: <56620f72-f813-4a5b-b6bc-3b543ebb8e50@default> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:78404 Archived-At: > Date: Sat, 14 Sep 2013 08:18:38 -0700 (PDT) > From: Drew Adams > Cc: 15375@debbugs.gnu.org > > > > (elisp) `Display Margins` talks a lot about window margins, but AFAICT > > > it never once says which units are used for the functions and variables > > > described there. I'm guessing the unit is `frame-char-width', but Emacs > > > should tell us explicitly here. > > > > The units are character cells (a.k.a. "columns"). > > > > I fixed this in trunk revision 114279. > > > > > Moreover, we don't even tell users what a nil value means, as opposed > > > to a whole number. > > > > > > For example, right now, `M-: (window-margins)' returns `(nil)' for me, > > > which corresponds to both LEFT and RIGHT being nil. What does a nil > > > value mean for each of these? > > > > Fixed that as well. > > Thanks. Do you want me to close the bug, or do you want to? > (Dunno whether you wanted to keep it open for some reason.) I left it open to allow you to review the changes. You can do that either by pointing your browser at http://bzr.savannah.gnu.org/lh/emacs/trunk/annotate/head:/doc/lispref/display.texi and going down to line 4160, or by waiting for the next binary snapshot of the trunk.