all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lektu@terra.es>
Subject: ielm working buffer on the modeline
Date: Wed, 27 Feb 2002 10:02:49 +0100	[thread overview]
Message-ID: <20020227094926.B653.LEKTU@terra.es> (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


             reply	other threads:[~2002-02-27  9:02 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-27  9:02 Juanma Barranquero [this message]
2002-02-28  4:07 ` ielm working buffer on the modeline 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

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

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

  git send-email \
    --in-reply-to=20020227094926.B653.LEKTU@terra.es \
    --to=lektu@terra.es \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.