[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
image cannot display if it is set to mode-line-process
From: |
山本和彦 |
Subject: |
image cannot display if it is set to mode-line-process |
Date: |
Fri, 10 Jan 2003 23:30:34 +0900 (JST) |
I don't know wether this is a bug or spec but I'm reporting this in
case you don't know this.
Image can be displayed in a mode line if it is set to
mode-line-format.
For example, the following code displays the letter image to the left
side of a mode line.
(setq str-icon (propertize "Mail" 'display (find-image '((:type xpm
:file "letter.xpm" :ascent center)))))
(setq mode-line-format (cons str-icon mode-line-format))
However, if it is set to mode-line-process, only its string is
displayed instead. Please give a try to the following:
(setq mode-line-process (list str-icon))
Even if this is spec, I would like to change it so that image can be
displayed when it is set to mode-line-process. I want to display a
lock image while an SSL/SSH process is running.
--Kazu
In GNU Emacs 21.3.50.1 (i386-unknown-netbsdelf1.6, X toolkit, Xaw3d scroll bars)
of 2003-01-10 on hikari.iij.ad.jp
configured using `configure '--without-xim' '--prefix=/usr/local/emacs21.3'
'CFLAGS=-I/usr/pkg/include' 'CPPFLAGS=-I/usr/pkg/include -L/usr/pkg/lib'
'LDFLAGS=-R/usr/pkg/lib -L/usr/pkg/lib -R/usr/X11R6/lib -L/usr/X11R6/lib''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: ja_JP.eucJP
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
locale-coding-system: japanese-iso-8bit
default-enable-multibyte-characters: t
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- image cannot display if it is set to mode-line-process,
山本和彦 <=