Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Proposal for some new/improved shortcut types

by jdporter (Chancellor)
on Feb 12, 2006 at 19:52 UTC ( #529682=pmdevtopic: print w/replies, xml ) Need Help??

I recently fixed the wp:// link handler so that it goes to wikipedia's search function (which is smart, like PM's Search box, in that it goes directly to the matching page if there's only one).

This led me to thinking about other shortcut types as well. As a result, I'd like to make the following patches to handlelinks settings:

Some of these are more controversial than others, I suppose. What do y'all think?

Someone in the cb also suggested adding a shortcut type for Could be fun, but I personally don't see much utility in it. Opinions?

We're building the house of the future together.

Replies are listed 'Best First'.
Re: Proposal for some new/improved shortcut types
by xdg (Monsignor) on Feb 12, 2006 at 21:41 UTC

    As long as we're dreaming...

    I see myself more likely to use those than to send people off to C2. Dict seems to be a useful change, though.


    Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Re: Proposal for some new/improved shortcut types (pending revamp)
by tye (Sage) on Feb 13, 2006 at 01:37 UTC

    I've revamped handleLinks() to make writing new shortcuts easier and more robust (finding several bugs in existing ones). I'll try to deploy this change in the next few days which will make your work easier.

    Part of the motivation is to make it so typing, for example, "wp://cucumber" in the PerlMonks search box just takes you to the described place.

    To be clear, neither of these improvements are available yet. I'll post when they are.

    - tye        

Re: Proposal for some new/improved shortcut types
by spiritway (Vicar) on Feb 12, 2006 at 23:32 UTC

    I like the idea of sending 'jargon' to esr's site, rather than a secondary one. In general I prefer to go to the original source if possible.

    I'm not sure what the advantage is of using Is it that is free (as in speech)?

Re: Proposal for some new/improved shortcut types
by Fletch (Chancellor) on Feb 13, 2006 at 19:19 UTC

    Neat ideas, but:

    • How often are they going to get used (I've been a user 5 years today and I've never used any of the existing shortcuts mentioned)
    • You're reimplementing what a lot of modern browsers do in their location bars already (more an argument against the "makes the search box smarter")
    • While you're kitchen sink-ing you'd need thott:// to lookup World Of Warcraft items on :)

    </Devil's Advocate>

Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (1)
As of 2022-01-28 02:10 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (72 votes). Check out past polls.