GNU bug report logs - #13399
24.3.50; Word-wrap can't wrap at zero-width space U-200B

Previous Next

Package: emacs;

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: monnier <at> iro.umontreal.ca, 13399 <at> debbugs.gnu.org
Subject: bug#13399: 24.3.50; Word-wrap can't wrap at zero-width space U-200B
Date: Sat, 12 Jan 2013 18:51:59 +0200
> Date: Sat, 12 Jan 2013 17:37:57 +0100
> From: martin rudalics <rudalics <at> gmx.at>
> CC: monnier <at> iro.umontreal.ca, 13399 <at> debbugs.gnu.org
> 
>  > fit-window-to-buffer should probably call pos-visible-in-window-p with
>  > argument PARTIALLY non-nil, and then it should be possible to get rid
>  > of the loop.
> 
> But PARTIALLY nil means to return nil if the position is only partially
> visible.  And in this case `fit-window-to-buffer' should try to enlarge
> the window.

Should it?  It enlarges the window in line units, so the enlarged
window will again show a partially visible line, no?

> I now call `count-screen-lines' with COUNT-FINAL-NEWLINE t and
> this seems to work although I'm quite sure that it didn't work earlier.

count-screen-lines relies on vertical-motion, which got several
improvements lately.  Maybe this is the reason.




This bug report was last modified 4 years and 244 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.