]> git.mdlowis.com Git - projs/tide.git/commitdiff
updated todo and cleaned up edit command a bit
authorMichael D. Lowis <mike.lowis@gentex.com>
Mon, 10 Dec 2018 21:27:40 +0000 (16:27 -0500)
committerMichael D. Lowis <mike.lowis@gentex.com>
Mon, 10 Dec 2018 21:27:40 +0000 (16:27 -0500)
TODO.md
src/edit.c

diff --git a/TODO.md b/TODO.md
index 1038fddbd31a8909ff4f78d5c1e533453386b34f..e26d92b3cd4fd1e64f3737b8d7260fca0cd8e55e 100644 (file)
--- a/TODO.md
+++ b/TODO.md
@@ -2,10 +2,11 @@
 
 ## STAGING
 
-* GOTO message should warp mouse
-* implement tide registrar
-* implement edit (tctl) command
-* implement new version of tfetch (plumb)
+* registrar should remove invalid windows from registry when detected
+* tide should re-register with the registrar when a new registrar is launched
+* edit command should have a force option to launch tide without registrar notification
+* edit command should launch tide instead of registrar
+* fetch should stuff match strings in environment variables instead of evaling
 * Line - Get the current line number(s) containing the selection
 * gap buffer does not handle UTF-8 currently
 
index 4b776a222d49a16d48cc7f1656c6dd214b7fb887..3ea9c0bf778302286ec3c7ac5a839278575ed3d5 100644 (file)
@@ -48,16 +48,10 @@ void edit_file(XConf* x, Window registrar, char* path, char* addr) {
     }
 }
 
-void xclientmsg(XConf* x, XEvent* e) {
-    (void)x, (void)e;
-    puts("clientmsg");
-}
-
 int main(int argc, char** argv) {
     XConf x = {0};
     x11_init(&x);
     x11_mkwin(&x, 1, 1, 0);
-    x.eventfns[ClientMessage] = xclientmsg;
     XA_REGISTRAR = XInternAtom(x.display, "TIDE_REGISTRAR", PropertyChangeMask);
     XA_OPEN = XInternAtom(x.display, "OPEN", 0);
     XA_DONE = XInternAtom(x.display, "DONE", 0);
@@ -65,7 +59,7 @@ int main(int argc, char** argv) {
     if (argc == 1) {
         spawn("tide");
     } else {
-        /* Loop over files and send and OPEN message for each one. */
+        /* Loop over files and send an OPEN message for each one. */
         for (int i = 1; i < argc; i++) {
             char* addr = strrchr(argv[i], ':');
             if (addr) *addr = '\0', addr++;