unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: Antoine Levitt <antoine.levitt@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: dired-mark-pop-up leaves annoying buffers lying around
Date: Sat, 19 Feb 2011 13:53:37 -0500	[thread overview]
Message-ID: <87mxlrj1ou.fsf@stupidchicken.com> (raw)
In-Reply-To: <87tygc58on.fsf@gmail.com> (Antoine Levitt's message of "Thu, 10 Feb 2011 14:19:04 +0100")

Antoine Levitt <antoine.levitt@gmail.com> writes:

> Any reason not to do the following?
>
> === modified file 'lisp/dired.el'
> --- lisp/dired.el	2011-02-02 16:21:52 +0000
> +++ lisp/dired.el	2011-02-10 13:14:32 +0000
> @@ -2840,7 +2840,8 @@
>  			      '(mouse-face nil help-echo nil)))
>      (save-window-excursion
>        (dired-pop-to-buffer bufname)
> -      (apply function args))))
> +      (apply function args)
> +      (kill-buffer bufname))))
>
>  (defun dired-format-columns-of-files (files)
>    (let ((beg (point)))

Most callers of dired-mark-pop-up use the default " *Marked Files*"
buffer (and AFAICT the others use a fixed name instead of creating
unique buffers).  The buffer name has a space in front of its name, so
it doesn't show up in the buffer list.  Any reason why it needs to be
killed?



  reply	other threads:[~2011-02-19 18:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-10 13:19 dired-mark-pop-up leaves annoying buffers lying around Antoine Levitt
2011-02-19 18:53 ` Chong Yidong [this message]
2011-02-19 20:38   ` Antoine Levitt

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87mxlrj1ou.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=antoine.levitt@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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 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).