From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dont.spam.earl@gmail.com Newsgroups: gmane.emacs.help Subject: How to show (text-properties-at (point)) in minibuffer? Date: Wed, 14 May 2014 22:18:02 -0700 (PDT) Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1400132169 23939 80.91.229.3 (15 May 2014 05:36:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 May 2014 05:36:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 15 07:36:03 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WkoKm-0001C9-3K for geh-help-gnu-emacs@m.gmane.org; Thu, 15 May 2014 07:36:00 +0200 Original-Received: from localhost ([::1]:55721 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkoKl-0008B7-Np for geh-help-gnu-emacs@m.gmane.org; Thu, 15 May 2014 01:35:59 -0400 X-Received: by 10.50.93.101 with SMTP id ct5mr4564701igb.7.1400131082964; Wed, 14 May 2014 22:18:02 -0700 (PDT) X-Received: by 10.50.59.179 with SMTP id a19mr958017igr.10.1400131082840; Wed, 14 May 2014 22:18:02 -0700 (PDT) Original-Path: usenet.stanford.edu!c1no6996595igq.0!news-out.google.com!gi6ni1825igc.0!nntp.google.com!r10no4783418igi.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2602:306:cdd1:1270:c199:afe5:e7ad:d059; posting-account=QyAvTQoAAADtRdvZ5VbKTpUdY2nZ1GFk Original-NNTP-Posting-Host: 2602:306:cdd1:1270:c199:afe5:e7ad:d059 User-Agent: G2/1.0 Injection-Date: Thu, 15 May 2014 05:18:02 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:205392 X-Mailman-Approved-At: Thu, 15 May 2014 01:35:46 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:97659 Archived-At: Hi all, I'm customizing my shell mode and noticing some regions have unexpected fac= es. To debug this, I want the minibuffer to list the faces at the current p= oint (from 'text-properties-at) and automatically update as the point moves= . I've tried this a few ways but haven't gotten it to work. I tried customizing the mode-line-format variable, yielding this line in my= .emacs file. It didn't work: '(mode-line-format (quote ("%e" mode-line-front-space mode-line-mule-info= mode-line-client mode-line-modified mode-line-remote mode-line-frame-ident= ification mode-line-buffer-identification " " mode-line-position (vc-mode= vc-mode) " " mode-line-modes mode-line-misc-info mode-line-end-spaces (:e= val (text-properties-at (point)))))) This also doesn't work: (setq global-mode-string (append global-mode-string (list '(:eval (text-properties-at (point)))))) Any suggestions on how to do this? Thanks! Earl