GNU bug report logs -
#13399
24.3.50; Word-wrap can't wrap at zero-width space U-200B
Previous Next
Reported by: martin rudalics <rudalics <at> gmx.at>
Date: Thu, 10 Jan 2013 08:31:02 UTC
Severity: wishlist
Found in version 24.3.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Sat, 12 Jan 2013 19:01:16 +0100
> From: martin rudalics <rudalics <at> gmx.at>
> CC: monnier <at> iro.umontreal.ca, 13399 <at> debbugs.gnu.org
>
> Still `fit-window-to-buffer' would benefit from a function that returned
> either the pixel height needed for displaying the region or its number
> of canonical line units. Obviously, the former would be preferable when
> we switch to pixel-sized windows.
Would something like this be good enough?
(save-excursion
(move-beginning-of-line 1)
(setq pos1 (posn-at-point)))
(save-excursion
(move-beginning-of-line 2)
(setq pos2 (posn-at-point)))
Then use the Y member of the returned information in pos1 and pos2.
(Alternatively, you could do something similar with
pos-visible-in-window-p instead of posn-at-point.) Will this fit the
bill?
This bug report was last modified 4 years and 245 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.