Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!sgi!shinobu!odin!sgihub!dragon!dragon!jackr From: jackr@dblues.wpd.sgi.com (John "Jack" Repenning) Newsgroups: comp.emacs Subject: Re: info needed on "message" function Message-ID: Date: 19 Apr 91 15:35:24 GMT References: <71902@eerie.acsu.Buffalo.EDU> Sender: news@dragon.wpd.sgi.com (CNews Account) Organization: Silicon Graphics, Inc. Lines: 31 In-Reply-To: triantos@acsu.buffalo.edu's message of 19 Apr 91 17:42:42 GMT In article <71902@eerie.acsu.Buffalo.EDU> triantos@acsu.buffalo.edu (Nick B Triantos) writes: My problem: I can't find where the defun or defmacro for message is. Any suggestions? It's in editfns.c - it's not in LISP, but rather in C. Despite popular speach (and even some comments in the code), message doesn't print in the minibuffer, but into the "echo area." Here's a note from the "GNU Emacs Lisp Reference Manual," Section 34.4, [Emacs Display]: The "echo area" is used for displaying messages made with the "message" primitive, and for echoing keystrokes. It is not the same as the minibuffer, despite the fact that the minibuffer appears (when active) in the same place on the screen as the echo area. ... You can write output in the echo area by using the Lisp printing functions with "t" as the stream (see Section 16.4.1 [Output Functions], page 210), or as follows: "As follows" is the message function. The other section, 16.4.1, includes the functions print, prin1, princ, terpri, and write-char, among others. Try a few of them. Or, just use message in your code. Jack Repenning 9U-530 jackr@wpd.sgi.com Silicon Graphics, Inc. Off:(415) 335-7477 Systems Software Technology Center Fax:(415) 969-2314