[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] A possible modification to Jumps
From: |
Thomas Dickey |
Subject: |
Re: [Lynx-dev] A possible modification to Jumps |
Date: |
Mon, 16 Jan 2012 19:35:49 -0500 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Mon, Jan 16, 2012 at 10:22:15PM +0000, Mark Skilbeck wrote:
> On Mon, Jan 16, 2012 at 05:49:14AM -0500, Thomas Dickey wrote:
> >
> > However, the change is incomplete - it works for the case where the
> > user types 'j' followed by the jump tag, but it does not handle the
> > case where the user selects the tag from the jump-page.
> >
>
> Yeah. I don't see how we can account for that use-case. There isn't any
> special
> code for viewing the jumps file (AFAIK), so it would be impossible to
> hook-into.
RCS file: RCS/LYMainLoop.c,v
retrieving revision 1.177
diff -u -r1.177 LYMainLoop.c
--- LYMainLoop.c 2012/01/16 10:49:56 1.177
+++ LYMainLoop.c 2012/01/17 00:33:12
@@ -3506,6 +3506,14 @@
return TRUE;
}
+static void
+fill_JUMP_Params(char **addressp)
+{
+ if (LYJumpFileURL) {
+ check_JUMP_param(addressp);
+ }
+}
+
static BOOLEAN handle_LYK_JUMP(int c,
char *user_input_buffer,
char **old_user_input GCC_UNUSED,
@@ -5705,6 +5713,7 @@
}
tmpDocInfo = newdoc;
tmpNewline = -1;
+ fill_JUMP_Params(&newdoc.address);
getresult = getfile(&newdoc, &tmpNewline);
if (!reloading && !popped_doc && (tmpNewline >= 0)) {
LYSetNewline(tmpNewline);
@@ -5715,6 +5724,7 @@
#else /* TRACK_INTERNAL_LINKS */
tmpDocInfo = newdoc;
tmpNewline = -1;
+ fill_JUMP_Params(&newdoc.address);
getresult = getfile(&newdoc, &tmpNewline);
if (!reloading && !popped_doc && (tmpNewline >= 0)) {
LYSetNewline(tmpNewline);
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature
- Re: [Lynx-dev] A possible modification to Jumps, (continued)
- Re: [Lynx-dev] A possible modification to Jumps, Thomas Dickey, 2012/01/11
- Re: [Lynx-dev] A possible modification to Jumps, Mark Skilbeck, 2012/01/13
- Re: [Lynx-dev] A possible modification to Jumps, Thomas Dickey, 2012/01/13
- Re: [Lynx-dev] A possible modification to Jumps, Mark Skilbeck, 2012/01/14
- Re: [Lynx-dev] A possible modification to Jumps, Thomas Dickey, 2012/01/14
- Re: [Lynx-dev] A possible modification to Jumps, Mark Skilbeck, 2012/01/15
- Re: [Lynx-dev] A possible modification to Jumps, Thomas Dickey, 2012/01/15
- Re: [Lynx-dev] A possible modification to Jumps, Thomas Dickey, 2012/01/16
- Re: [Lynx-dev] A possible modification to Jumps, Thomas Dickey, 2012/01/16
- Re: [Lynx-dev] A possible modification to Jumps, Mark Skilbeck, 2012/01/16
- Re: [Lynx-dev] A possible modification to Jumps,
Thomas Dickey <=
- Re: [Lynx-dev] A possible modification to Jumps, Thomas Dickey, 2012/01/16
- Re: [Lynx-dev] A possible modification to Jumps, Henry Nelson, 2012/01/18