edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Karl Dahlke <eklhad@comcast.net>
To: Edbrowse-dev@lists.the-brannons.com
Subject: [Edbrowse-dev] much more general plugin system
Date: Sun, 04 Mar 2018 09:20:17 -0500	[thread overview]
Message-ID: <20180204092017.eklhad@comcast.net> (raw)

I think this relates to what Adam was asking about last month.
I didn't follow at the time, but maybe this is it.
With the latest, we can key on any protocol, not just the ones edbrowse knows about.
You can even make up nonsensical protocols for your own purpose.
This was inspired by a question from tsp:
in directory mode, could you click on a zip archive and see the files
and directories at the top level?
Then click on a directory to descend, as though it was a file system.
Clcik on a file and it is in your buffer.
^ to go back.
Is it possible, without hardcoding it in edbrowse, which nobody wants to do.
Is it possible without inflating the whole archive, which again, nobody wants to do.
Well yes you can.
See these two files.

http://www.eklhad.net/traverse.zip

There are 3 plugins and a bash script that you need to put in your bin.
Enjoy, and explore, and send me all sorts of bug reports,
because this was a change to 400 lines of code.

Karl Dahlke

             reply	other threads:[~2018-03-04 14:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-04 14:20 Karl Dahlke [this message]
2018-03-09 20:40 ` Adam Thompson
     [not found] ` <20180311133017.5luo5p5u76xah72g@toaster>
2018-03-11 15:13   ` Karl Dahlke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180204092017.eklhad@comcast.net \
    --to=eklhad@comcast.net \
    --cc=Edbrowse-dev@lists.the-brannons.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).