Path: utzoo!attcan!uunet!husc6!bbn!jr@bbn.com From: jr@bbn.com (John Robinson) Newsgroups: comp.emacs Subject: Re: Playing with the minibuffer -- two questions Summary: prompt and message are hidden Keywords: minibuffer Message-ID: <25724@bbn.COM> Date: 14 Jun 88 13:44:06 GMT References: <31024@yale-celray.yale.UUCP> <2379@mipos3.intel.com> Sender: news@bbn.COM Reply-To: jr@bbn.com (John Robinson) Organization: BBN Laboratories Incorporated, Cambridge MA Lines: 19 In-reply-to: nate@mipos3.intel.com (Nate Hess) In article <2379@mipos3.intel.com>, nate@mipos3 (Nate Hess) writes: >Note, however, that there is no way, to my knowledge, to grab the >message in the minibuffer area, ie., Quit, Auto-saving...done, etc. >What the foobar function above *does* allow you to grab is the contents >of the minibuffer if it's already active. For example, if you've typed >'M-x foo' when you execute foobar, you'll get "foo". If you've typed >'C-x C-f', you'll get "/". The "M-x " and the >"Find File: " will *not* be included as part of the minibuffer contents. >This seems to follow, though, from the fact that if you do 'M-x foo' and >then a 'C-a', you'll go to just before the "foo", and not all the way >back to before the "M-x". So, the messages don't really seem to be part >of the minibuffer. The minibuffer prompt and message strings (error output) are tucked away in C variables that aren't accesible to E-Lisp. They could be with source changes. But I don't see why this is eneded. -- /jr jr@bbn.com or bbn!jr