Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site mit-eddie.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!ihnp4!mit-eddie!sjk@sri-spam From: sjk@sri-spam Newsgroups: net.emacs Subject: Re: problems with GNU EMACS Message-ID: <4145@mit-eddie.UUCP> Date: Tue, 30-Apr-85 22:29:36 EDT Article-I.D.: mit-eddi.4145 Posted: Tue Apr 30 22:29:36 1985 Date-Received: Wed, 1-May-85 07:30:12 EDT Sender: daemon@mit-eddi.UUCP Organization: MIT, Cambridge, MA Lines: 44 From: sjk@sri-spam [this message may not be of interest to some of the "info-*" readers] Note that many elisp modules have documentation strings with default key binding assumptions instead of dynamically determining the correct binding. For example, in this excerpt from startup.el: (defun command-line-1 (args) . . . (insert ", Copyright (C) 1985 by Richard M. Stallman. It is freeware: you may copy and redistribute it under certain conditions. Type C-h C-c to see those conditions. Type C-h C-d for information on getting copies from me.\n") (message "Type Control-h for help; Control-x u to undo changes") . . .) The point here is that if you start changing defaults, be sure to change any references in the internal documentation, preferably in a generalized manner. I have been thinking about fixing other modules that are brain damaged this way, especially in output from "describe-mode", but am not sure of a good way of doing it. Suggestions?? By the way, is there some way other than "etags" to determine which elisp module a function is defined in? I often find a bug in a function and don't know how to easily find its source file. Should this information be internally available to Emacs and, if so, how? Lastly, is there a way to determine which functions can be invoked with "M-X " and which must be invoked with "eval-expression" (or an equivalent)? Does use of the "interactive" call in a function determine this property? Sometimes I run "describe-function" on something that catches my eye only to find out it can't be interactively invoked. Perhaps -d and -k could distinguish this information? Any comments are appreciated!! scott PS - Lynn... the "Tymnet" domain in "figmo@tymix.Tymnet" is not recognized by most mailers; you may want to add a valid "reply-to" field to your messages.