lynx-dev
[Top][All Lists]
Advanced

[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: Fri, 13 Jan 2012 19:11:30 -0500
User-agent: Mutt/1.5.18 (2008-05-17)

On Fri, Jan 13, 2012 at 10:45:05PM +0000, Mark Skilbeck wrote:
> On Wed, Jan 11, 2012 at 06:34:04PM -0500, Keith Bowes wrote:
> > Je 2012-Jan-11 je 20:01, Mark Skilbeck skribis:
> > > Ola, fellow text-lovers.
> > > 
> > > After using Lynx for the past couple of days, I've come to the conclusion 
> > > that
> > > text-browsers are the only worthy browsers! Thank you for your work. With 
> > > that
> > > said, there is an improvement (subjective opinion, o'course!) I would 
> > > like to 
> > > see accepted into the code, and that is the ability to supply some 
> > > content to
> > > Jump URLs. For example, if I have a Jump defined as:
> > > 
> > >   <dd>dgg<dt><a href="http://duckduckgo.com/?s=%s";>DuckDuckGo search</a>,
> > > 
> > > a call then to the "ddg" Jump with the extra text "lynx web browser", 
> > > would be
> > > expanded as follows:
> > > 
> > >   http://duckduckgo.com/?s=lynx+web+browser,
> > > 
> > > with proper URL-encoding (Percent-encoding) applied.
> > > 
> > 
> > Yeah, I've thought that myself, to make jumps work more like Mozilla's
> > bookmark keywords (which AFAIK, originated in IE 5).  I've always
> > figured that the developers don't want such code bloat; they've
> > addressed this in the issue, that a feature should only be available if
> > there's a consensus.
> 
> It would be useful, no? Well, I think it shouldn't be a problem to include if 
> we
> can agree on the best implementation. Currently, I think the best option is:
> 
>   1. Search jump URL for "%s";
>   2. If found, prompt for input;
>   3. Substitute %s with input;
>   4. Go!
> 
> It might even be worth storing a boolean in the JumpDatum structure when 
> loading
> the jumps to speed-up repeated uses of jumps.

perhaps.  If it's something that's run once per user interaction,
it's likely to be so small that no one can measure it.

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]