Eli Zaretskii writes: [...] > OK, but then this part: > >> + ;; "one line" dance to update tracking and header >> + (image-dired-next-line) >> + (image-dired-previous-line)) > > looks like a kludge. Can't we have a cleaner code for updating the > header data? If image-dired-previous/next-line can update the data, > why cannot the scroll commands do the same without calling the > line-movement commands? You're right. Here is a cleaner version inspired by `image-dired--movement-command-line'. -- Manuel Giraud