Path: utzoo!utgpu!watserv1!watmath!att!ima!cfisun!stardent!johnd From: johnd@Stardent.COM (John R. Dennis @stardent) Newsgroups: comp.emacs Subject: Re: Why does completion require an alist? Keywords: completions alist Message-ID: <1990Sep6.182832.7249@Stardent.COM> Date: 6 Sep 90 18:28:32 GMT References: <1990Sep3.210627.19773@edm.isac.CA> Organization: Stardent Computer, Newton MA Lines: 19 In article <1990Sep3.210627.19773@edm.isac.CA> steve@edm.isac.ca (Steve Hole) writes: >This is something that I asked some time ago and got no response on. I >thought then that I might have been set up that way in anticipation of >using it to something more interesting. I modified the original >function (just prototyped as a lisp function for now), that uses the >second element in each dotted pair as a documentation string. I had to >modify the display algorithm for the possible completions to display the >second element in a nice way in the possible completions list, but >voila, instant non-obtrusive selection menu. I often do this kind of >thing: Would you care to share with us the modification you made to the display algorithm that allows you to display the second element of the alist? -- John Dennis E Mail: johnd@Stardent.COM | {uunet,convex,decvax}!stardent!johnd Snail Mail: Stardent Computer, 85 Wells Avenue Newton, MA 02159 Voice Mail: (617) 964-6228 x243 (508)366-7976