unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* minibuffer output to buffer
@ 2006-11-08 20:50 Gary Wessle
  2006-11-08 21:53 ` Dieter Wilhelm
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Gary Wessle @ 2006-11-08 20:50 UTC (permalink / raw)



Hi
how can I get the output which shows in the mini buffer into the
current buffer.
example
M-x emacs-version shows in minibuffer.

thanks

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: minibuffer output to buffer
  2006-11-08 20:50 minibuffer output to buffer Gary Wessle
@ 2006-11-08 21:53 ` Dieter Wilhelm
  2006-11-08 22:01   ` Drew Adams
  2006-11-08 21:54 ` Drew Adams
       [not found] ` <mailman.335.1163022806.2155.help-gnu-emacs@gnu.org>
  2 siblings, 1 reply; 8+ messages in thread
From: Dieter Wilhelm @ 2006-11-08 21:53 UTC (permalink / raw)
  Cc: help-gnu-emacs

Gary Wessle <phddas@yahoo.com> writes:

> how can I get the output which shows in the mini buffer into the
> current buffer.
> example
> M-x emacs-version shows in minibuffer.

With a numeric prefix of M-x.  For example:

I'm used to press the ALT key while typing - then x (M-- M-x)
or C-u M-x
or C-1 M-x
or M-1 M-x

-- 
    Best wishes

    H. Dieter Wilhelm
    Darmstadt, Germany

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: minibuffer output to buffer
  2006-11-08 20:50 minibuffer output to buffer Gary Wessle
  2006-11-08 21:53 ` Dieter Wilhelm
@ 2006-11-08 21:54 ` Drew Adams
       [not found] ` <mailman.335.1163022806.2155.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 8+ messages in thread
From: Drew Adams @ 2006-11-08 21:54 UTC (permalink / raw)


> how can I get the output which shows in the mini buffer into the
> current buffer.
> example
> M-x emacs-version shows in minibuffer.

Good question - this is a FAQ.

Actually most stuff like that is displayed in the echo area, not the
minibuffer. The minibuffer and the echo area share the same screen real
estate, so it's easy to confuse them.

The minibuffer is for user input, though some stuff, such as a prompt, does
get displayed there.

The echo area is for output - messages and echoes of keystrokes. You cannot
type text there.

Similarly, you cannot select text that is displayed in the echo area.
However, the good news is that most messages displayed in the echo area are
also logged in buffer *Messages*. So, just do `C-x b *Messages*' and then
select the text there.

In Emacs 22, clicking mouse-1 in the echo area, as if trying to select text
there, automatically displays buffer *Messages*.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: minibuffer output to buffer
  2006-11-08 21:53 ` Dieter Wilhelm
@ 2006-11-08 22:01   ` Drew Adams
  0 siblings, 0 replies; 8+ messages in thread
From: Drew Adams @ 2006-11-08 22:01 UTC (permalink / raw)
  Cc: help-gnu-emacs

> > how can I get the output which shows in the mini buffer into the
> > current buffer.
> > example
> > M-x emacs-version shows in minibuffer.
>
> With a numeric prefix of M-x.  For example:
>
> I'm used to press the ALT key while typing - then x (M-- M-x)
> or C-u M-x
> or C-1 M-x
> or M-1 M-x

Ah, good point. Just thought I'd mention that this is a peculiarity of that
particular command, `emacs-version'. A few other commands are defined with
similar behavior.

The general rule is that you cannot access what is displayed in the echo
area directly. You can select the message text in *Messages*, or, in some
cases, such as `emacs-version', a command might have an option that inserts
the message into a buffer.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: minibuffer output to buffer
       [not found] <mailman.336.1163022936.2155.help-gnu-emacs@gnu.org>
@ 2006-11-08 23:52 ` Markus Triska
  0 siblings, 0 replies; 8+ messages in thread
From: Markus Triska @ 2006-11-08 23:52 UTC (permalink / raw)


"Drew Adams" <drew.adams@oracle.com> writes:

> In Emacs 22, clicking mouse-1 in the echo area, as if trying to
> select text there, automatically displays buffer *Messages*.

Also:

,----
| C-h e runs the command view-echo-area-messages
|    which is an interactive compiled Lisp function in `help.el'.
| It is bound to C-h e, <f1> e, <help> e.
| (view-echo-area-messages)
| 
| View the log of recent echo-area messages: the `*Messages*' buffer.
| The number of messages retained in that buffer
| is specified by the variable `message-log-max'.
`----

Best wishes!
Markus Triska

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: minibuffer output to buffer
       [not found] ` <mailman.335.1163022806.2155.help-gnu-emacs@gnu.org>
@ 2006-11-19 23:28   ` David Combs
  2006-11-20  7:40     ` Dieter Wilhelm
  2006-11-20 17:42     ` Kevin Rodgers
  0 siblings, 2 replies; 8+ messages in thread
From: David Combs @ 2006-11-19 23:28 UTC (permalink / raw)


In article <mailman.335.1163022806.2155.help-gnu-emacs@gnu.org>,
Dieter Wilhelm  <dieter@duenenhof-wilhelm.de> wrote:
>Gary Wessle <phddas@yahoo.com> writes:
>
>> how can I get the output which shows in the mini buffer into the
>> current buffer.
>> example
>> M-x emacs-version shows in minibuffer.
>
>With a numeric prefix of M-x.  For example:
>
>I'm used to press the ALT key while typing - then x (M-- M-x)
>or C-u M-x
>or C-1 M-x
>or M-1 M-x
>
>-- 
>    Best wishes
>
>    H. Dieter Wilhelm
>    Darmstadt, Germany
>
>

COOL!  


THANK YOU!!!


But -- what's this use of the ALT key?

Does nothing (as prefix) for me -- msg still goes to minibuf (or whatever
it's called).

Now, I'm using a SUN keyboard (with control-key in "right",
"old-time" location, left of "a"), on sunBlade-100, Solaris 9.

What effect might that have (on my ALT working differently
from yours)?


Thanks,

David

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: minibuffer output to buffer
  2006-11-19 23:28   ` David Combs
@ 2006-11-20  7:40     ` Dieter Wilhelm
  2006-11-20 17:42     ` Kevin Rodgers
  1 sibling, 0 replies; 8+ messages in thread
From: Dieter Wilhelm @ 2006-11-20  7:40 UTC (permalink / raw)
  Cc: help-gnu-emacs

dkcombs@panix.com (David Combs) writes:

> In article <mailman.335.1163022806.2155.help-gnu-emacs@gnu.org>,
> Dieter Wilhelm  <dieter@duenenhof-wilhelm.de> wrote:
>>Gary Wessle <phddas@yahoo.com> writes:
>>
>>> how can I get the output which shows in the mini buffer into the
>>> current buffer.
>>> example
>>> M-x emacs-version shows in minibuffer.
>>
>>With a numeric prefix of M-x.  For example:
>>
>>I'm used to press the ALT key while typing - then x (M-- M-x)
>>or C-u M-x
>>or C-1 M-x
>>or M-1 M-x
>>
>
> THANK YOU!!!

Welcome!

>
> But -- what's this use of the ALT key?
> Does nothing (as prefix) for me -- msg still goes to minibuf (or whatever
> it's called).
>

(I think minibuffer is correct.)

That is sad, because the Alt key is most efficient when the following
shortcut also starts with an Alt key.  It worked so far for me on any
IBM PC.

> Now, I'm using a SUN keyboard (with control-key in "right",
> "old-time" location, left of "a"), on sunBlade-100, Solaris 9.
>
> What effect might that have (on my ALT working differently
> from yours)?
>

Sorry, I don't know, hope some guy with Solaris experience will answer
this.

-- 
    Best wishes

    H. Dieter Wilhelm
    Darmstadt, Germany

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: minibuffer output to buffer
  2006-11-19 23:28   ` David Combs
  2006-11-20  7:40     ` Dieter Wilhelm
@ 2006-11-20 17:42     ` Kevin Rodgers
  1 sibling, 0 replies; 8+ messages in thread
From: Kevin Rodgers @ 2006-11-20 17:42 UTC (permalink / raw)


David Combs wrote:
 > In article <mailman.335.1163022806.2155.help-gnu-emacs@gnu.org>,
 > Dieter Wilhelm  <dieter@duenenhof-wilhelm.de> wrote:
 >> Gary Wessle <phddas@yahoo.com> writes:
 >>
 >>> how can I get the output which shows in the mini buffer into the
 >>> current buffer.
 >>> example
 >>> M-x emacs-version shows in minibuffer.
 >>
 >> With a numeric prefix of M-x.  For example:
 >>
 >> I'm used to press the ALT key while typing - then x (M-- M-x)
 >> or C-u M-x
 >> or C-1 M-x
 >> or M-1 M-x
 >
 > COOL!
 >
 > THANK YOU!!!
 >
 > But -- what's this use of the ALT key?
 >
 > Does nothing (as prefix) for me -- msg still goes to minibuf (or whatever
 > it's called).

It is not a prefix key (pressed before another key), it is a modifier
key (pressed simultaneously with another key).  In this case, the Alt
key is acting as the Meta modifier.  Just as typing Shift-a produces the
character A, typing Alt-x produces the Meta-x character.

 > Now, I'm using a SUN keyboard (with control-key in "right",
 > "old-time" location, left of "a"), on sunBlade-100, Solaris 9.
 >
 > What effect might that have (on my ALT working differently
 > from yours)?

If I recall, modern Emacs versions map the Alt key (or perhaps the
diamond key) to the Meta modifier by default, assuming your terminal or
X server (depending on whether you're running emacs in a terminal or as
an X application) are configured correctly/normally.

-- 
Kevin

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-11-20 17:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-08 20:50 minibuffer output to buffer Gary Wessle
2006-11-08 21:53 ` Dieter Wilhelm
2006-11-08 22:01   ` Drew Adams
2006-11-08 21:54 ` Drew Adams
     [not found] ` <mailman.335.1163022806.2155.help-gnu-emacs@gnu.org>
2006-11-19 23:28   ` David Combs
2006-11-20  7:40     ` Dieter Wilhelm
2006-11-20 17:42     ` Kevin Rodgers
     [not found] <mailman.336.1163022936.2155.help-gnu-emacs@gnu.org>
2006-11-08 23:52 ` Markus Triska

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).