[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13399: 24.3.50; Word-wrap can't wrap at zero-width space U-200B
From: |
Eli Zaretskii |
Subject: |
bug#13399: 24.3.50; Word-wrap can't wrap at zero-width space U-200B |
Date: |
Sat, 12 Jan 2013 20:38:35 +0200 |
> Date: Sat, 12 Jan 2013 19:01:16 +0100
> From: martin rudalics <rudalics@gmx.at>
> CC: monnier@iro.umontreal.ca, 13399@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?
- bug#13399: 24.3.50; Word-wrap can't wrap at zero-width space U-200B, (continued)
- bug#13399: 24.3.50; Word-wrap can't wrap at zero-width space U-200B, Eli Zaretskii, 2013/01/11
- bug#13399: 24.3.50; Word-wrap can't wrap at zero-width space U-200B, martin rudalics, 2013/01/12
- bug#13399: 24.3.50; Word-wrap can't wrap at zero-width space U-200B, Eli Zaretskii, 2013/01/12
- bug#13399: 24.3.50; Word-wrap can't wrap at zero-width space U-200B, martin rudalics, 2013/01/12
- bug#13399: 24.3.50; Word-wrap can't wrap at zero-width space U-200B, Eli Zaretskii, 2013/01/12
- bug#13399: 24.3.50; Word-wrap can't wrap at zero-width space U-200B, martin rudalics, 2013/01/12
- bug#13399: 24.3.50; Word-wrap can't wrap at zero-width space U-200B,
Eli Zaretskii <=
- bug#13399: 24.3.50; Word-wrap can't wrap at zero-width space U-200B, martin rudalics, 2013/01/14