Updated start page help following rebinding.
[elpher.git] / NOTES.org
index 354ecc0..208c325 100644 (file)
--- a/NOTES.org
+++ b/NOTES.org
@@ -1,7 +1,55 @@
 #+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
+
+   Shouldn't be too hard, just need elpher-current-node to be
+buffer-local and allow various buffer-switching procedures to
+do something sensible.
+   
+** TODO Turn on lexical scoping
+
+   A branch exists for this, but there are some compilation kinks
+to iron out.
+
+** TODO Remove "redraw" command
+This is only necessary for returning from displaying the raw
+server response.  If I can provide a better way of doing that
+then we can get rid of redraw entirely.
+
+** TODO Replace support for user-specified starting pages
+This used to be available, but was removed during a refactor.
+
+** TODO Allow for grouping of bookmarks
+To support this I'd like to add a bookmark page specific
+set of keybindings.  Currently all bindings available on
+the bookmark page are available everywhere else.  But
+expanding and collapsing bookmark groups sounds like it
+might need more specific bindings.
+
+* Current issues
+
+* Completed improvements
+  
 ** DONE Implement support for telnet entries
 
 Similar to http entries, telnet entries will be handled by code
@@ -13,7 +61,7 @@ functions.
 
 ** DONE Allow users to access selected and current node details.
    
-** IN-PROGRESS Implement bookmark system
+** DONE Implement bookmark system
 
   Currently the bookmark page replaces the current page, and it
   does so silently (i.e. it doesn't become part of the link hierarchy).
@@ -33,20 +81,12 @@ functions.
   I always update node.parent unless parent is already an ancestor of
   node?)
 
-** TODO Allow multiple elpher buffers
+  
+** DONE Support character encoding diversity
 
-   Shouldn't be too hard, just need elpher-current-node to be
-buffer-local and allow various buffer-switching procedures to
-do something sensible.
-   
-** TODO Turn on lexical scoping
-
-   A branch exists for this, but there are some compilation kinks
-to iron out.
-
-* Current issues
+* Old issues
 
-** Org mode faces are no present in recent emacs versions
+** DONE Org mode faces are not present in recent emacs versions
 Even 26.1 doesn't seem to have these.  This means that, for many
 users, elpher doesn't show any difference between any of the
 item types.  Not a major problem at all, but the faces we inherit
@@ -54,3 +94,4 @@ from should definitely be ones which have been present for much
 longer.  Perhaps the font lock mode faces are the way to go after
 all.
 
+Update: changed all default faces to inherit from font-lock and basic faces.