help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to show (text-properties-at (point)) in minibuffer?


From: Michael Heerdegen
Subject: Re: How to show (text-properties-at (point)) in minibuffer?
Date: Thu, 15 May 2014 11:47:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.90 (gnu/linux)

Hi,

you already know that C-u C-x = lists text properties at point?
The mode-line might not be such a superb place to show them, the list
can be quite longish.

Anyway, in your code, the :eval construct should evaluate to a string,
e.g.

(setq-default
 mode-line-format
 (cons '(:eval (format "%s" (text-properties-at (point))))
       (default-value 'mode-line-format)))

Note that the mode-line isn't necessarily recomputed after every
command.

Michael.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]