bug-gnu-emacs
[Top][All Lists]
Advanced

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

request for buff-menu.el modification


From: Tak Ota
Subject: request for buff-menu.el modification
Date: Thu, 22 Feb 2001 23:05:30 -0800 (PST)

I like to request modifying buff-menu.el for giving user control of
displaying internal buffers if necessary.  Currently the function
`list-buffers-noselect' does not give any user control regarding this
issue.  It is sometimes very useful finding what internal buffer is
wasting memory.  Here is one way of implementation.

In `list-buffers-noselect' replace

            ((string= (substring name 0 1) " "))

with

            ((and buffer-internal-regexp (string-match buffer-internal-regexp 
name)))

and define

(defvar buffer-internal-regexp "^ "
  "*Regexp to match name of internal buffers.")

somewhere in buff-menu.el.

This way it is backward compatible and one can do

(let ((buffer-internal-regexp nil)) (list-buffers))

to see all the existing buffers.

-Tak



reply via email to

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