unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* [emacs-w3m:13747] can't iterate with `w3m-previous-image'
@ 2021-01-31 13:02 Emanuel Berg
  0 siblings, 0 replies; only message in thread
From: Emanuel Berg @ 2021-01-31 13:02 UTC (permalink / raw)
  To: emacs-w3m; +Cc: help-gnu-emacs

`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





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-31 13:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-31 13:02 [emacs-w3m:13747] can't iterate with `w3m-previous-image' Emanuel Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).