unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* How is font-locking different in minibuf?
@ 2011-08-02  9:39 Leo
  2011-08-02 16:24 ` Andreas Schwab
  0 siblings, 1 reply; 3+ messages in thread
From: Leo @ 2011-08-02  9:39 UTC (permalink / raw)
  To: emacs-devel

Hello,

1. (setq enable-recursive-minibuffers t)
2. M-:
3. M-x emacs-lisp-mode RET
4. start typing things in the minibuffer such as (defun ....)

You can see defun not fontified. This behaviour is different from normal
buffer. Any idea why it behaves this way? Thanks.

Leo




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

* Re: How is font-locking different in minibuf?
  2011-08-02  9:39 How is font-locking different in minibuf? Leo
@ 2011-08-02 16:24 ` Andreas Schwab
  2011-08-02 17:07   ` Leo
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Schwab @ 2011-08-02 16:24 UTC (permalink / raw)
  To: Leo; +Cc: emacs-devel

Leo <sdl.web@gmail.com> writes:

> You can see defun not fontified. This behaviour is different from normal
> buffer. Any idea why it behaves this way? Thanks.

If you want font-lock-mode you need to enable it.  Invisible buffer
don't by default.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



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

* Re: How is font-locking different in minibuf?
  2011-08-02 16:24 ` Andreas Schwab
@ 2011-08-02 17:07   ` Leo
  0 siblings, 0 replies; 3+ messages in thread
From: Leo @ 2011-08-02 17:07 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: emacs-devel

On 2011-08-03 00:24 +0800, Andreas Schwab wrote:
> If you want font-lock-mode you need to enable it.

I still can't activate font-lock-mode in the minibuf. It always says
"Font-Lock mode disabled" for M-x font-lock-mode.

Leo



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

end of thread, other threads:[~2011-08-02 17:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-02  9:39 How is font-locking different in minibuf? Leo
2011-08-02 16:24 ` Andreas Schwab
2011-08-02 17:07   ` Leo

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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