X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?p=elpher.git;a=blobdiff_plain;f=NOTES.org;h=10b7e525546554e9785af8fb96abf3da01b79bf4;hp=afd3bfb86099570072c202fd454b6f2a3251af7e;hb=0e8eb2e0c919a07aa5db733d02e7669ccfb4276d;hpb=67896cbdb87417705c65784e52f332efd0e34532 diff --git a/NOTES.org b/NOTES.org index afd3bfb..10b7e52 100644 --- a/NOTES.org +++ b/NOTES.org @@ -1,6 +1,24 @@ #+TITLE: Development notes/ideas * Planned improvements + +** TODO Make URLs the basic address type. +Currently I waste a lot of effort converting between +URL and non-URL representations. This is unnecessary, and +actually makes lots of things uglier. + +For example, the bookmarks file contains addresses in Elpher's +internal representation, whereas I expect users would prefer +it contain URLs. + +So the idea would be for (elpher-node-address node) to be +a either a string or a symbol, with symbols used for "special" +pages (bookmarks, start page, etc). The getter functions +`elpher-address-selector' etc will still do what they currently +do, but will process the URL to do it. + +This also means that non-gopher URLs will be explicitly represented +as such: no more abusing the "h" type for these. ** TODO Allow multiple elpher buffers