unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: emacs-devel@gnu.org
Subject: Re: Cannot propertize mode-name
Date: 08 Nov 2002 15:08:58 +0100	[thread overview]
Message-ID: <5x1y5wnog5.fsf@kfs2.cua.dk> (raw)
In-Reply-To: <20021108131311.DA74.LEKTU@terra.es>

Juanma Barranquero <lektu@terra.es> writes:

> This:
> 
>  (setq mode-name (propertize "my-mode" 'display '(height (+ 5))))
> 
> used to make the mode-name display in a bigger size. In the trunk it
> doesn't work anymore.

Indeed.  

Also, format-mode-line doesn't return the propertized string
which indicates a generic problem with non-face properties on
strings in the mode line:

(setq mode-name (propertize "my-mode" 'display '(height (+ 5))))
#("my-mode" 0 7 (display (height (+ 5))))
(format-mode-line '((t mode-name)))
"my-mode"


-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

  reply	other threads:[~2002-11-08 14:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-08 12:23 Cannot propertize mode-name Juanma Barranquero
2002-11-08 14:08 ` Kim F. Storm [this message]
2002-11-08 14:10 ` Glenn Morris
2002-11-08 14:28   ` Juanma Barranquero
2002-11-10 18:06   ` Richard Stallman
2002-11-11  8:10     ` Juanma Barranquero

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=5x1y5wnog5.fsf@kfs2.cua.dk \
    --to=storm@cua.dk \
    --cc=emacs-devel@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).