all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to count *screen* lines?
@ 2004-06-08 11:46 J Krugman
  2004-06-08 12:12 ` bill
  0 siblings, 1 reply; 2+ messages in thread
From: J Krugman @ 2004-06-08 11:46 UTC (permalink / raw)





Is there a way to count the number of lines as they would appear
on the screen (i.e. taking into account line wrapping, if any)?
For instance, a line that took up 100 (non-tab) characters in the
buffer, and the current window width was 80 characters, would
correspond to a screen line count of 2.

Thanks!

jill

-- 
To  s&e^n]d  me  m~a}i]l  r%e*m?o\v[e  bit from my a|d)d:r{e:s]s.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to count *screen* lines?
  2004-06-08 11:46 How to count *screen* lines? J Krugman
@ 2004-06-08 12:12 ` bill
  0 siblings, 0 replies; 2+ messages in thread
From: bill @ 2004-06-08 12:12 UTC (permalink / raw)


In <ca48up$pi6$1@reader2.panix.com> J Krugman <jkrugman345@yahbitoo.com> writes:


>Is there a way to count the number of lines as they would appear
>on the screen (i.e. taking into account line wrapping, if any)?

Try count-screen-lines from window.el.

	-bill

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-08 12:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-08 11:46 How to count *screen* lines? J Krugman
2004-06-08 12:12 ` bill

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.