Updated notes.
[elpher.git] / NOTES.org
1 #+TITLE: Development notes/ideas
2
3 * Planned improvements
4
5 ** DONE Implement support for telnet entries
6
7 Similar to http entries, telnet entries will be handled by code
8 external to elpher. However it seems I made http entry handling a
9 special case, and I don't want another!  So the only option is to
10 bring both http and telnet entries back into the fold by representing
11 them both as standard nodes and having the grunt work done by getter
12 functions.
13
14 ** DONE Allow users to access selected and current node details.
15    
16 ** DONE Implement bookmark system
17
18   Currently the bookmark page replaces the current page, and it
19   does so silently (i.e. it doesn't become part of the link hierarchy).
20   I think this is a mistake, as it results in confusing behaviour when
21   traversing the link hierarchy after visiting one of the bookmarked links.
22
23   Instead, I think I should
24   1. Make the bookmark page part of the hierarchy, and
25   2. Reinstate the visited node hash table to avoid excess link hierarchy pollution.
26
27   In order to accomplish 1. it will be necessary to make the bookmark page renderer
28   a proper getter function, and one that never caches the contents of the buffer.
29
30   Actually, I might have to think about that a bit more.  I don't know
31   how to answer the question of what the best thing to do with node
32   parent links when using a cached node in place of a new node.  (Maybe
33   I always update node.parent unless parent is already an ancestor of
34   node?)
35
36 ** TODO Allow multiple elpher buffers
37
38    Shouldn't be too hard, just need elpher-current-node to be
39 buffer-local and allow various buffer-switching procedures to
40 do something sensible.
41    
42 ** TODO Turn on lexical scoping
43
44    A branch exists for this, but there are some compilation kinks
45 to iron out.
46
47 * Current issues
48
49 ** DONE Org mode faces are not present in recent emacs versions
50 Even 26.1 doesn't seem to have these.  This means that, for many
51 users, elpher doesn't show any difference between any of the
52 item types.  Not a major problem at all, but the faces we inherit
53 from should definitely be ones which have been present for much
54 longer.  Perhaps the font lock mode faces are the way to go after
55 all.
56
57 Update: changed all default faces to inherit from font-lock and basic faces.