[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch for bug in w3m-generate-new-buffer
> Er, does this one line patch do the trick?
> I'm half in doubt, though.
No, that does not work: when I have 4 tabs open and follow a link with
W3M-VIEW-THIS-URL-NEW-SESSION from tab 2, the new tab opens at
position 4 (so this change exposes an off-by-one error later in the
current version of W3M-GENERATE-NEW-BUFFER), but receives a duplicate
tab number 3: (mapcar #'w3m-buffer-number (w3m-list-buffers)) returns
'(1 2 3 3 4)
Please consider using the patch I originally provided, it does not
have these issues.