Your message dated Sun, 13 Oct 2013 09:04:28 +0000
with message-id <[email protected]>
and subject line Bug#724028: fixed in w3m 0.5.3-12
has caused the Debian Bug report #724028,
regarding w3m: vim/-perator like handling
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
724028: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=724028
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: w3m
Version: 0.5.3-11
Severity: wishlist
Tags: upstream patch
Forwarded a feature request from Laurence Richert <laurencerichert
(at yahoo.de)> on September 19, 2013 at 6:53PM +0200:
> I would like to ask if two functions could be implemented in an official
> release. I use them pretty often in other programs such as vim and
> vimperator and always get confused when switching to w3m. These would be:
> - half page scrolling
> - jumping to elements numbered by getLinkNumberStr() from Karsten
> Schoelzel
> I have attached two patch files containing these functions, based on
> v0.5.3.
Thanks,
--
Tatsuya Kinoshita
*** main.c.orig 2013-09-19 16:09:57.440750873 +0200
--- main.c 2013-09-19 18:01:52.108911310 +0200
***************
*** 1584,1593 ****
--- 1584,1605 ----
else
nscroll(-(prec_num ? searchKeyNum() : searchKeyNum()
* (Currentbuf->LINES - 1)), prec_num ? B_SCROLL : B_NORMAL);
}
+ /* Move half page forward */
+ DEFUN(hpgFore, NEXT_HALF_PAGE, "Scroll down half page")
+ {
+ nscroll(searchKeyNum() * (Currentbuf->LINES / 2 - 1), B_NORMAL);
+ }
+
+ /* Move half page backward */
+ DEFUN(hpgBack, PREV_HALF_PAGE, "Scroll up half page")
+ {
+ nscroll(-searchKeyNum() * (Currentbuf->LINES / 2 - 1), B_NORMAL);
+ }
+
/* 1 line up */
DEFUN(lup1, UP, "Scroll up one line")
{
nscroll(searchKeyNum(), B_SCROLL);
}
***************
*** 3584,3593 ****
--- 3596,3632 ----
gotoLine(Currentbuf, po->line);
Currentbuf->pos = po->pos;
arrangeCursor(Currentbuf);
displayBuffer(Currentbuf, B_NORMAL);
+ }
+
+ /* go to the nth anchor */
+ DEFUN(nthA, LINK_N, "Go to the nth link")
+ {
+ HmarkerList *hl = Currentbuf->hmarklist;
+ BufferPoint *po;
+ Anchor *an;
+
+ int n = searchKeyNum();
+ if (n < 0 || n > hl->nmark) return;
+
+ if (Currentbuf->firstLine == NULL)
+ return;
+ if (!hl || hl->nmark == 0)
+ return;
+
+ po = hl->marks + n-1;
+ an = retrieveAnchor(Currentbuf->href, po->line, po->pos);
+ if (an == NULL)
+ an = retrieveAnchor(Currentbuf->formitem, po->line, po->pos);
+ if (an == NULL) return;
+
+ gotoLine(Currentbuf, po->line);
+ Currentbuf->pos = po->pos;
+ arrangeCursor(Currentbuf);
+ displayBuffer(Currentbuf, B_NORMAL);
}
/* go to the next anchor */
DEFUN(nextA, NEXT_LINK, "Move to next link")
{
*** proto.h.orig 2013-09-19 16:35:24.156787353 +0200
--- proto.h 2013-09-19 16:35:24.152787349 +0200
***************
*** 13,14 ****
--- 13,16 ----
extern void pgBack(void);
+ extern void hpgFore(void);
+ extern void hpgBack(void);
extern void lup1(void);
***************
*** 63,64 ****
--- 65,67 ----
extern void lastA(void);
+ extern void nthA(void);
extern void onA(void);
pgpTAoAGf9sxl.pgp
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: w3m
Source-Version: 0.5.3-12
We believe that the bug you reported is fixed in the latest version of
w3m, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Tatsuya Kinoshita <[email protected]> (supplier of updated w3m package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 13 Oct 2013 16:41:44 +0900
Source: w3m
Binary: w3m w3m-img
Architecture: source amd64
Version: 0.5.3-12
Distribution: unstable
Urgency: low
Maintainer: Tatsuya Kinoshita <[email protected]>
Changed-By: Tatsuya Kinoshita <[email protected]>
Description:
w3m - WWW browsable pager with excellent tables/frames support
w3m-img - inline image extension support utilities for w3m
Closes: 724028 725892
Changes:
w3m (0.5.3-12) unstable; urgency=low
.
* New patch 200_readme-img-typo.patch to typo fix (closes: #725892)
* New patch 210_vim-like.patch for vim like handling (closes: #724028)
* New patch 220_maxcol.patch to bump MAXCOL to 256
* New patch 230_cygwin-lang.patch to fix upstream bug
* Update 030_pager-s-option.patch to doc fix
* Add --with-browser=/usr/bin/sensible-browser to confargs
* Add gitlog2changelog to easily generate ChangeLog
* Update debian/copyright
* Update README.Debian to drop unavailable mailing lists
* Update 150_contact-list.patch to drop unavailable mailing lists
* Update 900_ChangeLog.patch
* Update 015_debian-version.patch to 0.5.3+debian-12
Checksums-Sha1:
4024388406a423ab7ddbd3ea3d6e961d663e7138 1990 w3m_0.5.3-12.dsc
ce64a6571263cd81d4e0d6d623bd89d79d48b383 82951 w3m_0.5.3-12.debian.tar.gz
f39eaa81d635313101e818172668f6c5d5025f4e 957860 w3m_0.5.3-12_amd64.deb
42682dedc25a309431deee97f5f9084ec7d1e63f 115350 w3m-img_0.5.3-12_amd64.deb
Checksums-Sha256:
edcde1a5d00fea97914930ba0f9f362e16e4a4193028c1338df36fb0a11a3f49 1990
w3m_0.5.3-12.dsc
9936727fffacdc378b64bf4363c9c993489ce22a5b176ae34c5d027795632bf6 82951
w3m_0.5.3-12.debian.tar.gz
8fd2842da79ca9e688e911edcad4c271386bf270a4a309fa9300fb089281a4c7 957860
w3m_0.5.3-12_amd64.deb
2805cd7d170e29c07f7078cc964346f98a2d95d174a1265e512a9986cdbff205 115350
w3m-img_0.5.3-12_amd64.deb
Files:
0634372798f872a2666b8bf5553446be 1990 web standard w3m_0.5.3-12.dsc
144f1d6b489afb3d3c9e234e77ff955b 82951 web standard w3m_0.5.3-12.debian.tar.gz
ab7140d2700ae75178b35fdd5ebb75cc 957860 web standard w3m_0.5.3-12_amd64.deb
13560aec24ea0b9583f35f8073ca0fef 115350 web optional w3m-img_0.5.3-12_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
iQIcBAEBCAAGBQJSWlElAAoJEOXvq5AIDqY8Q3sP/3YStId2Zf0CkGzqLQWDAsSU
+82+fciCdSltXpzQEM4tx6K2QwVdwf1t0bUv6n2vgMxY/hyoXTbj5OD0RV7wYtIF
F54lDFUxz/Wg1nhshr/Xz88SgML3CD8zCueHVVH0DHFW51pXUKPAZUrwasnLWBBY
dHcGErcr9zHrJIHYm9OHHn9s8kt+T5AMHHtK2WTHVg2SUGOuB/JkXzblCsU/4mPZ
hbS0I/mneqQZ6Xw3fowmobXMOgFX4/0hcqLGhzIIepYIx8p4AU0wQf1M1sdo1YxY
c60dl08KR9bzW5+Lo76p0tgpTlIo7f6Pal23Ye0Jfpi2dnjFso59HReDJ5stYXiW
0O73vaZq6on1oT3HL4eoUY6a/uzHXhkMTZC4+M+d5VP/gJPG/laKwd37+1dQ4yIE
FmAs4N02yx9jbPcBzQglXI2TnPRlKxsRVTvKceZMmAL3FLSnjWsS7FCyt3IdAwnP
knZk0tBjRop8830os1fG5Sga+6jzWawdcM5KT2cO8mR+YimTM+dhCUsYrM6XvlMX
Obaqf8G7wfqD5MDVzs5oeSe52ZnL1iv3pQqlvsFu3oRJZ95OswUB/0q9nqIhnt0f
K4g0oUtW35mBK1nDp3jD3q1FWV6OTjDJnMwBV7/IgwsjenidrLfaMyU5vkul2YKd
QLkyy+JQrDyZp6VTPomv
=5vtH
-----END PGP SIGNATURE-----
--- End Message ---