unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* ielm working buffer on the modeline
@ 2002-02-27  9:02 Juanma Barranquero
  2002-02-28  4:07 ` Richard Stallman
  0 siblings, 1 reply; 14+ messages in thread
From: Juanma Barranquero @ 2002-02-27  9:02 UTC (permalink / raw)


Currently IELM shows "(IELM:run)" on the mode line. I'm proposing
using mode-line-process to show the current working buffer, so it'll
look like "(IELM on test.el)" instead.

Any comments?

                                                           /L/e/k/t/u




Index: ielm.el
===================================================================
RCS file: /cvs/emacs/lisp/ielm.el,v
retrieving revision 1.25
diff -u -r1.25 ielm.el
--- ielm.el	25 Feb 2002 16:07:01 -0000	1.25
+++ ielm.el	27 Feb 2002 09:02:13 -0000
@@ -449,6 +449,7 @@
   (make-local-variable 'indent-line-function)
   (make-local-variable 'ielm-working-buffer)
   (setq ielm-working-buffer (current-buffer))
+  (setq mode-line-process '(" on " (:eval (buffer-name ielm-working-buffer))))
   (setq indent-line-function 'ielm-indent-line)
   (make-local-variable 'fill-paragraph-function)
   (setq fill-paragraph-function 'lisp-fill-paragraph)


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2002-03-01 17:54 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-27  9:02 ielm working buffer on the modeline Juanma Barranquero
2002-02-28  4:07 ` Richard Stallman
2002-02-28  8:26   ` Juanma Barranquero
2002-02-28 10:27     ` Andreas Schwab
2002-02-28 11:37       ` Juanma Barranquero
2002-02-28 12:38         ` Kim F. Storm
2002-02-28 14:38           ` Juanma Barranquero
2002-02-28 21:06             ` Kim F. Storm
2002-03-01  8:03               ` Juanma Barranquero
2002-03-01  1:15             ` Stefan Monnier
2002-03-01  8:06               ` Juanma Barranquero
2002-03-01  1:11           ` Richard Stallman
2002-03-01 17:54             ` Kim F. Storm
2002-03-01  1:00     ` Stefan Monnier

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).