[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

can't iterate with `w3m-previous-image'



`w3m-next-image works' fine but... `w3m-previous-image' seems
to only move one image, then it get stuck.

case 1: if already at an image, it moves to the beginning of
that same image, and gets stuck.

case 2: if not at an an image, it does move to the previous
one, however there it gets stuck (i.e., case 1 again).

Emacs version:

  GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+
  Version 3.24.5, cairo version 1.16.0) of 2020-10-23

Emacs-w3m version:

  1.4.632

w3m-version:

  w3m/0.5.3+git20210102

BTW version warning!

I just did C-u M-x emacs-version RET

  (correct result)

then C-u M-x emacs-w3m-version RET

  (correct result)

then C-u M-x w3m-version RET

  1.4.632

oooup!

It deducted to `emacs-w3m-version'?

You need:

(defun emacs-w3m-version (&optional do-insert)
  "Version number of this version of Emacs-w3m, `emacs-w3m-version'.
If DO-INSERT, insert it at point.
\nThis is not the version of the shell tool w3m; see `w3m-version'."
  (interactive "P")
  (if do-insert
      (insert (message emacs-w3m-version))
    (message emacs-w3m-version) ))

(defun w3m-version (&optional do-insert)
  "Version number of this version of w3m, `w3m-version'.
If DO-INSERT, insert it at point.
\nThis is not the version of the Emacs browser; see `emacs-w3m-version'."
  (interactive "P")
  (if do-insert
      (insert (message w3m-version))
    (message w3m-version) ))

then C-u M-x w3m-version RET

  w3m/0.5.3+git20210102

as always I'd be honored if you'd check out my w3m stuff.
To the very trained eyes (yours) it should be easy to see -
what can I remove? what is already implemented? is there
anything you can make use of? - anyway, all the best.
Greetings from -17C in Sweden!

https://dataswamp.org/~incal/blog/climbing-gear/climbing-gear.html [photos]

--
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal