hi, On Mon, 20 Jun 2011 22:41:18 -0700, Jameson Graef Rollins <jrollins@finestructure.net> wrote: Non-text part: multipart/signed > On Tue, 21 Jun 2011 02:01:17 +0200, Sebastien Binet <seb.binet@gmail.com> wrote: > > and I checked there were no lingering .el files... > > > > so... > > any way to tell which notmuch-emacs-ui I am actually using ? (I am a newbie > > when comes to hacking lisp) > > Hey, Sebastien. You can determine the loaded version of a library from > within emacs with the follow command: > > M-x locate-library notmuch > > It's also good to know how many notmuch instances are installed on your > system. For instance, I have a system-wide installation, a "personal" > installation, the build currently in the source tree, etc. Depending on > the options I supply to emacs at startup, I could run a variety of > versions. so, it seems the problem comes from: (defun notmuch-show-advance-and-archive () "Advance through thread and archive." (interactive) (let ((end-of-this-message (notmuch-show-message-bottom))) (cond ;; Ideally we would test `end-of-this-message' against the result ;; of `window-end', but that doesn't account for the fact that ;; the end of the message might be hidden, so we have to actually ;; go to the end, walk back over invisible text and then see if ;; point is visible. ((save-excursion (message "pt00: %s" (point)) (goto-char (- end-of-this-message 1)) (message "pt01: %s" (point)) (notmuch-show-move-past-invisible-backward) (message "msg-end: %s" end-of-this-message) (message "pt11: %s" (point)) ;;(goto-char (- (point) 400)) (message "pt12: %s" (point)) (> (point) (window-end))) (message "point: %s" (point)) (message "window-end: %s" (window-end)) ;; The bottom of this message is not visible - scroll. (scroll-up nil)) ((not (= end-of-this-message (point-max))) ;; This is not the last message - move to the next visible one. (notmuch-show-next-open-message)) where I've added some good ol' print "foo" debugging. using the message from the openmpi mailing list I sent earlier and pressing tab, I get in the *Messages* buffer: For information about GNU Emacs and the GNU system, type C-h C-a. pt00: 1 pt01: 1392 msg-end: #<marker at 1393 in *[Open MPI Announce] Open MPI...> pt11: 1392 pt12: 1392 point: 1 window-end: 1113 notmuch-show-advance-and-archive: End of buffer ie: it would seem the notmuch-show-move-past-invisible-backward does *not* move the point up to just before the hidden signature (and does not move it at all.) if I uncomment the goto-char to -400 line, everything's fine. (400 is roughly the length of the hidden signature) well, this is just an educated guess from an emacs-lisp programmer complete newbie. fyi: I am using emacs-23.3 no patch were applied on top of the vanilla sources: http://projects.archlinux.org/svntogit/packages.git/tree/emacs/repos/extra-x86_64/PKGBUILD -s