X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=blobdiff_plain;f=NOTES.org;h=10b7e525546554e9785af8fb96abf3da01b79bf4;hb=986d88c39d06c58fb23a7dfad037fec8235164b0;hp=afd3bfb86099570072c202fd454b6f2a3251af7e;hpb=71b4b025b5c0450405aae3d342428cfd624ace01;p=elpher.git 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