Added pain points to dev notes.
[elpher.git] / NOTES.org
1 #+TITLE: Development notes/ideas
2
3 * Bookmarks
4
5 Currently the bookmark page replaces the current page, and it
6 does so silently (i.e. it doesn't become part of the link hierarchy).
7 I think this is a mistake, as it results in confusing behaviour when
8 traversing the link hierarchy after visiting one of the bookmarked links.
9
10 Instead, I think I should
11 1. Make the bookmark page part of the hierarchy, and
12 2. Reinstate the visited node hash table to avoid excess link hierarchy pollution.
13
14 In order to accomplish 1. it will be necessary to make the bookmark page renderer
15 a proper getter function, and one that never caches the contents of the buffer.
16
17 Actually, I might have to think about that a bit more.  I don't know
18 how to answer the question of what the best thing to do with node
19 parent links when using a cached node in place of a new node.  (Maybe
20 I always update node.parent unless parent is already an ancestor of
21 node?)
22
23 * Selectors
24
25 ** TODO Implement support for telnet entries
26 Similar to http entries, telnet entries will be handled by code
27 external to elpher. However it seems I made http entry handling a
28 special case, and I don't want another!  So the only option is to
29 bring both http and telnet entries back into the fold by representing
30 them both as standard nodes and having the grunt work done by getter
31 functions.
32
33 * Pain points
34   
35 A list of annoyances that need to be fixed.
36
37 1. There's no way to determine the address of the current node.
38 2. There's no way to determin the address of child node without using the mouse.
39 3. Only one elpher buffer can exist at one time.