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 12:27:52 +0300 Message-ID: <8361u3hhwn.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1379150957 23815 80.91.229.3 (14 Sep 2013 09:29:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Sep 2013 09:29: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 11:29:19 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 1VKmAH-0003Ff-T9 for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Sep 2013 11:29:18 +0200 Original-Received: from localhost ([::1]:52513 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKmAH-0002P8-Fl for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Sep 2013 05:29:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKmA8-0002Fb-8d for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2013 05:29:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VKmA2-0004KX-Pp for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2013 05:29:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55707) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKmA2-0004KT-Me for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2013 05:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VKmA1-0006PD-VK for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2013 05:29:02 -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 09:29:01 +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.137915089124548 (code B ref 15375); Sat, 14 Sep 2013 09:29:01 +0000 Original-Received: (at 15375) by debbugs.gnu.org; 14 Sep 2013 09:28:11 +0000 Original-Received: from localhost ([127.0.0.1]:35767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VKm9C-0006Ns-RG for submit@debbugs.gnu.org; Sat, 14 Sep 2013 05:28:11 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:65451) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VKm9A-0006Nc-Ra for 15375@debbugs.gnu.org; Sat, 14 Sep 2013 05:28:09 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MT300500ZGHQS00@a-mtaout22.012.net.il> for 15375@debbugs.gnu.org; Sat, 14 Sep 2013 12:28:02 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MT3005YFZMPCYD0@a-mtaout22.012.net.il>; Sat, 14 Sep 2013 12:28:02 +0300 (IDT) In-reply-to: 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:78391 Archived-At: > Date: Fri, 13 Sep 2013 15:17:31 -0700 (PDT) > From: Drew Adams > > (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.