all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 15375@debbugs.gnu.org
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	[thread overview]
Message-ID: <8361u3hhwn.fsf@gnu.org> (raw)
In-Reply-To: <eaf7fceb-d02d-4cd9-9b52-e815d4c47926@default>

> Date: Fri, 13 Sep 2013 15:17:31 -0700 (PDT)
> From: Drew Adams <drew.adams@oracle.com>
> 
> (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.





  reply	other threads:[~2013-09-14  9:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-13 22:17 bug#15375: 24.3.50; Elisp manual: mention what units are used for window margin functions Drew Adams
2013-09-14  9:27 ` Eli Zaretskii [this message]
     [not found] <<eaf7fceb-d02d-4cd9-9b52-e815d4c47926@default>
     [not found] ` <<8361u3hhwn.fsf@gnu.org>
2013-09-14 15:18   ` Drew Adams
2013-09-14 15:29     ` Eli Zaretskii
     [not found] <<56620f72-f813-4a5b-b6bc-3b543ebb8e50@default>
     [not found] ` <<83ob7vfmlb.fsf@gnu.org>
2013-09-14 16:26   ` Drew Adams
2013-09-14 16:33     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8361u3hhwn.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=15375@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.