all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Juri Linkov <juri@linkov.net>, Lars Ingebrigtsen <larsi@gnus.org>
Cc: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>, 36122@debbugs.gnu.org
Subject: bug#36122: A second find-dired clobbers the first's buffer
Date: Tue, 9 Jul 2019 14:12:28 -0700 (PDT)	[thread overview]
Message-ID: <e425eb9e-73ee-47c4-9b43-081398e79e0d@default> (raw)
In-Reply-To: <87ftnfj8o5.fsf@mail.linkov.net>

> Yes, there are many ways to do this:
> (add-hook 'dired-after-readin-hook 'rename-uniquely)
> (add-hook 'compilation-mode-hook 'rename-uniquely)
> or better
> (setq compilation-buffer-name-function
>       (lambda (mode-name)
>         (generate-new-buffer-name
>          (concat "*" (downcase mode-name) "*"))))
> ...

Or better: Hit a key bound to `rename-buffer'.





  reply	other threads:[~2019-07-09 21:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-07  0:43 bug#36122: A second find-dired clobbers the first's buffer 積丹尼 Dan Jacobson
2019-07-09  2:07 ` Lars Ingebrigtsen
2019-07-09 20:18   ` Juri Linkov
2019-07-09 21:12     ` Drew Adams [this message]
2019-07-09 22:44   ` Richard Stallman

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=e425eb9e-73ee-47c4-9b43-081398e79e0d@default \
    --to=drew.adams@oracle.com \
    --cc=36122@debbugs.gnu.org \
    --cc=jidanni@jidanni.org \
    --cc=juri@linkov.net \
    --cc=larsi@gnus.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 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.