gwu@barney.LOCAL (George Wu) (09/01/89)
Hi, As you can guess, this is a bug report. It's not serious, but I'm reporting it anyways. The problem is that the help text is sometimes garbled or downright incorrect. For instance, in the enclosed example, I asked for a description of the debug command. (I typed "^H F debug".) I got the following Help buffer: =============================================================================== debug: on. If PATTERN is empty (or nil), every form in the command history is offered. The form is placed in the minibuffer for editing and the result is evaluated. =============================================================================== I have seen this error in other help functions, but not always. For example, the same help command yields the proper message for the "compile" command. The version string I get (from emacs-version) is: GNU Emacs 18.54.1 of Mon Jul 3 1989 on barney (berkeley-unix) I am using on a Sun-3/60 running Sun OS 4.0 and X11R3. If it makes a difference, barney is the machine on which emacs was compiled, and it is running Sun OS 4.0.3. Finally, my .emacs is included below. I hope this helps. George ---- George J Wu | Internet: gwu@tcs.com Software Engineer | 2121 Allston Way, Berkeley, CA, 94704 Teknekron Communications Systems, Inc.| (415) 548-4100, ext. 372 =================================== .emacs ==================================== ;;; GNU Emacs init file (message "Loading .emacs...") ;;; Kill a strange bug... (??? JST used it, never bothered to ask why.) (defun point-max () (- (dot-max) 1)) ;;; Personal key bindings (global-set-key "\^x\^x" 'exchange-dot-and-mark) (global-set-key "\^x\!" 'shell) (global-set-key "\^x\^e" 'compile) (global-set-key "\^xe" 'call-last-kbd-macro) (global-set-key "\^x^" 'enlarge-window) (global-set-key "\^x6" 'shrink-window) (global-set-key "\^x\^v" 'find-file) (global-set-key "\^x4\^v" 'find-file-other-window) (global-set-key "\^x4v" 'find-file-other-window) (global-set-key "\eq" 'query-replace) (global-set-key "\er" 'replace-string) (global-set-key "\^x\^k" 'kill-compilation) (global-set-key "\e\^s" 'isearch-forward-regexp) (global-set-key "\e\^r" 'isearch-backward-regexp) (global-set-key "\^xg" 'goto-line) ;;; Various setq's to make me happy (setq inhibit-startup-message t) (setq mode-line-highlight t) (setq delete-auto-save-files t) (setq visible-bell t) ;;; Set compile function default to "make" instead of "make -f" (setq compile-command "make") ;;; Set up mode lines properly ;;;(setq default-mode-line-format " %b%* (%f) \[%p\] %M") ;;;(setq mode-line-format " %b%* (%f) \[%p\] %M") ;;; Add .ec files (embedded SQL) to automatically invoke c-mode (setq auto-mode-alist (cons '("\\.ec$" . c-mode) auto-mode-alist)) ;;; Automatically invoke c++-mode for files ending in .C (setq auto-mode-alist (cons '("\\.C$" . c++-mode) auto-mode-alist)) (autoload 'c++-mode "c++-mode" "C++ mode") ;;; Enable commands (put 'eval-expression 'disabled nil) ;;; Conform c-mode to TCS coding standard (Big Brother is Watching) (setq c-mode-hook (function (lambda () "Customize the standard C mode, called when a .c file is visited." (interactive) (setq indent-tabs-mode t) (defconst c-indent-level 8) (defconst c-brace-offset 0) (defconst c-label-offset -8) (defconst c-argdecl-indent 8) (defconst c-continued-statement-offset 8) (defconst c-auto-newline nil) ))) ;;; Start up time in mode line ;(display-time) (message "Loading .emacs....done") ===============================================================================