The option to include both links and link numbers in w3m dumps (as in lynx, see Debian bug #329862) display_link_number works but not display_link as featured in version of /etc/w3m/config shipped with the package. The display_link option currently does nothing (contrary to what w3m -show-option suggests), whereas display_link_number works as expected.
tags 622609 unreproducible moreinfo thanks Hi, /etc/w3m/config is just default value, You can set it in ~/.w3m/config or runtime option -o display_link=0/1, press "o" and config "Display link URL automatically". If you do so and it still does not work, please provide us more info.
Dear Tatsuya,
I think the insufficient explanations delivered (on the options panel
and the -show-options option) are the reason for Olivers bug
report. The effect of the two options is dependent on whether option
-dump is set or not.
Setting display_link display_link_number
v v
v v
v v
-----------------------------------------------------------------
0 0 NO NO NO NO
1 0 YES NO NO NO
0 1 NO YES YES YES
1 1 YES YES YES YES
-----------------------------------------------------------------
Result v v v v
v v v v
v v v v
screen: screen: stout: stout:
link in number link number
bottom besides bottom besides
line link lines link
One solution would be mentioning that option display_link_numbers
overrides display_link if w3m converts a file to stout
A more elegant solution would be to introduce an additional dump,
let's say -dump_ref that overrides user input for display_link and
display_link_number by setting them to on TRUE and informing the user
on the man page about this behaviour.
Yours sincerely
Markus