unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* `C-h m' to list active modes in minibuffer?
@ 2010-07-21 10:54 Elena
  2010-07-21 11:18 ` Pascal J. Bourguignon
  0 siblings, 1 reply; 5+ messages in thread
From: Elena @ 2010-07-21 10:54 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

I'd like to know what modes are active in the minibuffer (to override
their keymaps).

`C-h m' runs `describe-mode', but I can't find a way to call it on the
minibuffer.

Thanks.


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

* Re: `C-h m' to list active modes in minibuffer?
  2010-07-21 10:54 `C-h m' to list active modes in minibuffer? Elena
@ 2010-07-21 11:18 ` Pascal J. Bourguignon
       [not found]   ` <4bef6c59-82ae-41de-8e3f-bae535adaf62@y11g2000yqm.googlegroups.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Pascal J. Bourguignon @ 2010-07-21 11:18 UTC (permalink / raw)
  To: help-gnu-emacs

Elena <egarrulo@gmail.com> writes:

> Hello,
>
> I'd like to know what modes are active in the minibuffer (to override
> their keymaps).
>
> `C-h m' runs `describe-mode', but I can't find a way to call it on the
> minibuffer.

What about:

  (with-current-buffer " *Minibuf-1*" (describe-mode))

?


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/


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

* Re: `C-h m' to list active modes in minibuffer?
       [not found]   ` <4bef6c59-82ae-41de-8e3f-bae535adaf62@y11g2000yqm.googlegroups.com>
@ 2010-07-21 12:38     ` Pascal J. Bourguignon
  2010-07-21 13:07     ` TheFlyingDutchman
  1 sibling, 0 replies; 5+ messages in thread
From: Pascal J. Bourguignon @ 2010-07-21 12:38 UTC (permalink / raw)
  To: help-gnu-emacs

Elena <egarrulo@gmail.com> writes:

> Thanks, Pascal.
>
> I tried that, and I don't know whether its output is correct. I have
> Ido mode enabled: shouldn't such a snippet show something related to
> it? It doesn't, even when Ido's completion is at work.
>
> Maybe my Emacs session just happens to have a different name for the
> minibuffer. I have therefore evaluated `(buffer-alist)' to find out
> what buffers are there, but its result gets truncated.
>
> Any hints? Thanks.

Check your variables:

print-length
eval-expression-print-length


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/


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

* Re: `C-h m' to list active modes in minibuffer?
       [not found]   ` <4bef6c59-82ae-41de-8e3f-bae535adaf62@y11g2000yqm.googlegroups.com>
  2010-07-21 12:38     ` Pascal J. Bourguignon
@ 2010-07-21 13:07     ` TheFlyingDutchman
  2010-07-21 14:38       ` Elena
  1 sibling, 1 reply; 5+ messages in thread
From: TheFlyingDutchman @ 2010-07-21 13:07 UTC (permalink / raw)
  To: help-gnu-emacs


>
> Maybe my Emacs session just happens to have a different name for the
> minibuffer. I have therefore evaluated `(buffer-alist)' to find out
> what buffers are there, but its result gets truncated.
>
> Any hints? Thanks
>

Does

(message "%s" (buffer-list))

show a complete list?

What do you get from evaluating

(message "%s" (get-buffer " *Minibuf-0*"))

If that doesn't display nil, you have that mini buffer.

 According to the docs the only thing that can be different in a mini
buffer name from " *Minibuf-0*"  (name has a leading space) is the
number.
 ( " *Minibuf-0*"   ...  " *Minibuf-n*" )


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

* Re: `C-h m' to list active modes in minibuffer?
  2010-07-21 13:07     ` TheFlyingDutchman
@ 2010-07-21 14:38       ` Elena
  0 siblings, 0 replies; 5+ messages in thread
From: Elena @ 2010-07-21 14:38 UTC (permalink / raw)
  To: help-gnu-emacs

On Jul 21, 1:07 pm, TheFlyingDutchman <zzbba...@aol.com> wrote:
> Does
>
> (message "%s" (buffer-list))
>
> show a complete list?

Yes, it does.

>
> What do you get from evaluating
>
> (message "%s" (get-buffer " *Minibuf-0*"))
>
> If that doesn't display nil, you have that mini buffer.

According to the above snippet, I have both " *Minibuf-0*" and "
*Minibuf-1*". Still, I can't find traces of Ido mode in neither of
them (I don't know whether I should).

Thanks for answering.



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

end of thread, other threads:[~2010-07-21 14:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-21 10:54 `C-h m' to list active modes in minibuffer? Elena
2010-07-21 11:18 ` Pascal J. Bourguignon
     [not found]   ` <4bef6c59-82ae-41de-8e3f-bae535adaf62@y11g2000yqm.googlegroups.com>
2010-07-21 12:38     ` Pascal J. Bourguignon
2010-07-21 13:07     ` TheFlyingDutchman
2010-07-21 14:38       ` Elena

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).