[PATCH] emacs: Fix `notmuch-show-rewind' in the presence of invisible text

Carl Worth cworth at cworth.org
Mon Apr 26 10:34:29 PDT 2010


> From: David Edmondson <dme at dme.org>
> 
> When determining whether or not to re-align the head of the current
> message with the top of the window, use `count-screen-lines' rather
> than `count-lines' to allow for invisible text in the preceding
> message.

Sounds good to me. Pushed without any additional testing, (though I
would love to eventually have some automated emacs-based testing for
tricky little interaction cases like this.)

Someday.

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100426/66bb2417/attachment.pgp>


More information about the notmuch mailing list