From: Robert Pluim <rpluim@gmail.com>
To: "Sébastien Chapuis" <sebastien@chapu.is>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH] Add function window-line-width
Date: Thu, 07 Nov 2019 10:23:21 +0100 [thread overview]
Message-ID: <m2h83gvy46.fsf@gmail.com> (raw)
In-Reply-To: <CAN2HsvwLL9fd_Vd9rkjt9BHiSZ6GJLwVLHzRWnT5uRtgRYDBsg@mail.gmail.com> ("Sébastien Chapuis"'s message of "Thu, 7 Nov 2019 06:49:48 +0800")
>>>>> On Thu, 7 Nov 2019 06:49:48 +0800, Sébastien Chapuis <sebastien@chapu.is> said:
Sébastien> Hello,
Sébastien> I would like to propose the function `window-line-width'.
Sébastien> This is to use it in the package lsp-ui[1]
Doesnʼt 'window-text-pixel-size' provide most of this already?
(window-text-pixel-size nil (point-at-bol) (point-at-eol))
will give you the pixel length of the current line.
Robert
prev parent reply other threads:[~2019-11-07 9:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-06 22:49 [PATCH] Add function window-line-width Sébastien Chapuis
2019-11-07 8:40 ` martin rudalics
2019-11-07 8:50 ` martin rudalics
2019-11-08 4:54 ` Sébastien Chapuis
2019-11-08 9:21 ` martin rudalics
2019-11-08 13:18 ` Eli Zaretskii
2019-11-08 18:27 ` martin rudalics
2019-11-09 22:09 ` Sébastien Chapuis
2019-11-10 9:46 ` martin rudalics
2019-11-10 19:02 ` Sébastien Chapuis
2019-11-14 10:08 ` Eli Zaretskii
2019-11-14 9:11 ` Eli Zaretskii
2019-11-07 9:23 ` Robert Pluim [this message]
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=m2h83gvy46.fsf@gmail.com \
--to=rpluim@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=sebastien@chapu.is \
/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.