From tcr at freebits.de Sat Sep 27 14:14:46 2008 From: tcr at freebits.de (Tobias C. Rittweiler) Date: Sat, 27 Sep 2008 16:14:46 +0200 Subject: [editor-hints-devel] Re: Comments about defreadtable References: Message-ID: <87myht65gp.fsf@freebits.de> Luis Oliveira writes: > Hello, > > Here are a few random thoughts with regard to defreadtable: > > 1. This mechanism seems useful enough to me that the > non-editor-related bits could live in a separate > package/system/project. I continued hacking on Named-Readtables. It's now a sorta standalone-project. Its darcs repository can be found at http://common-lisp.net/~trittweiler/darcs/editor-hints/ > 2. Readtables should be named by symbols, not strings, in order to > avoid collisions between different code bases. Also, I suggest > defreadtable should signal a warning (or a style-warning) if a CL > or KEYWORD symbol is used to name a readtable. Again, the goal is > to avoid collisions. I finally did this. Readtables are now indeed named by symbols. > 3. MAKE-DISPATCH-MACRO-CHARACTER functionality is missing. Perhaps > the :DISPATCH-MACRO-CHAR directive can check for > (null (get-macro-character macro-char)) and create that > dispatch-macro, or maybe another directive would be better. A clause (:MACRO-CHAR char :DISPATCH non-terminating-p) will now expand to a MAKE-DISPATCH-MACRO-CHARACTER invocation. -T.