unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: 11756@debbugs.gnu.org
Subject: bug#11756: 24.1.50; mode-line string and properties
Date: Thu, 21 Jun 2012 03:20:09 +0200	[thread overview]
Message-ID: <87wr31tq9i.fsf@web.de> (raw)
In-Reply-To: <FBFF432C6A184C7FA5C381F4ADBED459@us.oracle.com> (Drew Adams's message of "Wed, 20 Jun 2012 17:27:09 -0700")

Hi,

to see with a short recipe that there is something wrong, try this in
emacs -Q:

  (setq A-red_B-C
        '(:eval (concat "A" (propertize "B" 'face 'font-lock-warning-face) "C"))
        red_B
        '(:eval (propertize "B" 'face 'font-lock-warning-face)))
  
  (setq mode-name red_B) ;; works
  
  (setq mode-name A-red_B-C) ;; doesn't work
  
  (setq mode-line-format A-red_B-C) ;; works


Michael.





  reply	other threads:[~2012-06-21  1:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-21  0:27 bug#11756: 24.1.50; mode-line string and properties Drew Adams
2012-06-21  1:20 ` Michael Heerdegen [this message]
2012-06-21  7:24   ` Andreas Schwab
2012-06-21 14:01     ` Drew Adams
2021-08-23 15:00       ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wr31tq9i.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=11756@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).