Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!mcnc!rti!dg-rtp!dg-rtp!brennan From: brennan@rtp.dg.com (Dave Brennan) Newsgroups: comp.emacs Subject: Re: Volunteers wanted to test smart set-variable routines Message-ID: Date: 16 Dec 90 17:16:09 GMT References: Sender: usenet@dg-rtp.dg.com (Usenet Administration) Organization: Data General, RTP, NC Lines: 20 In-Reply-To: brennan@rtp.dg.com's message of 16 Dec 90 00:49:31 Since my previous post was, uh, a tad bit vague, here's some more info: Variables can be assigned a get-value function or a type (which have get-value functions) which set-variable will call to get the new value of the variable instead of just using eval-minibuffer. (Which is what the default set-variable uses.) So if a variable is supposed to contain a filename, it can be assigned the filename type and a get filename function can be assigned to the filename type. This is supposed to make set-variable better because the get-value functions make it easier to input the new value (and might also make sure the value is valid). I would have posted it, but I still want to make improvements, and I want to get the bugs out first. |\ Dave Brennan | \____oo_ brennan@rtp.dg.com =========================================((__| /___> ...rti!dg-rtp!brennan User Interfaces, Data General | // daveb@rpitsmts.bitnet Research Triangle Park, NC |// Phone: (919) 248-6330