[Top][All Lists]

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

Re: ielm working buffer on the modeline

From: Kim F. Storm
Subject: Re: ielm working buffer on the modeline
Date: 28 Feb 2002 22:06:34 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50

Juanma Barranquero <address@hidden> writes:

> > What about changing the buffer name rather than the mode-line-process, ie.
> <snip>
> > At least, that would display the information in the part of the mode line
> > where (potentially long) names are already shown.
> Ok, I think that's a good idea, but it requires more code, because
> ELISP> (setq mode-name '("IELM on " (:eval (buffer-name 
> ielm-working-buffer))))
> *** Eval error ***  error: "Only strings should be stored in the buffer-local 
> variable mode-name"

I wasn't talking about mode-name.

I was suggesting to use something like

   (rename-buffer (concat "*IELM on " 
                    (buffer-name ielm-working-buffer) "*"))

whenever C-c C-b is called.

Kim F. Storm <address@hidden> http://www.cua.dk

reply via email to

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