From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#36122: A second find-dired clobbers the first's buffer Date: Tue, 9 Jul 2019 14:12:28 -0700 (PDT) Message-ID: References: <87pnnqp6m5.5.fsf@jidanni.org> <87bly4ezao.fsf@mouse.gnus.org> <87ftnfj8o5.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="136014"; mail-complaints-to="usenet@blaine.gmane.org" Cc: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson , 36122@debbugs.gnu.org To: Juri Linkov , Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 09 23:13:33 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hkxQY-000ZA0-Az for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Jul 2019 23:13:30 +0200 Original-Received: from localhost ([::1]:56166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkxQX-0001Yl-CV for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Jul 2019 17:13:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57257) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkxQO-0001Ww-Sz for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2019 17:13:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hkxQJ-0002yA-F8 for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2019 17:13:18 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53808) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hkxQ7-0002tl-Uf for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2019 17:13:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hkxQ5-0000x8-Vv for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2019 17:13:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Jul 2019 21:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36122 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 36122-submit@debbugs.gnu.org id=B36122.15627067613631 (code B ref 36122); Tue, 09 Jul 2019 21:13:01 +0000 Original-Received: (at 36122) by debbugs.gnu.org; 9 Jul 2019 21:12:41 +0000 Original-Received: from localhost ([127.0.0.1]:34396 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkxPk-0000wV-Us for submit@debbugs.gnu.org; Tue, 09 Jul 2019 17:12:41 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:41960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkxPj-0000wG-NZ for 36122@debbugs.gnu.org; Tue, 09 Jul 2019 17:12:40 -0400 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x69L9Ga6177690; Tue, 9 Jul 2019 21:12:33 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=bqSD388KsBJNBKtR/TZDDNIn+SokmkxkR7mrQnjyVcs=; b=ST39YXDbobxt+JOcsQYYbq0Q0TT3K/929xX5tWbOGNC/5pD4E8nH2dpE9s0nS8xipsSQ zWtrBMVVObRLlFdSZXgPet8hAAxSKS4aolgHixz11vkQZL775s03rY5+/jO6vcJokzbH Eao5HgV4jquWKgT+vqVO6q8GjIxfw4z5z4uXkhWhWu0TYrSuC71JHvIcCvORynIeqeYa f7VkEfENXwCBOpXE/zRAl8K8k6S+e6U6ozgo4ucMyu8wy+GyJ8d36ZPuDsSX5qy+/yf8 oo7Yo1qGi1UKIAB4wFYey11D6ZdSdj/HY2wHUnR/b0zFvqkwzIlxCjzOKgk35G9hlHIm Qg== Original-Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by aserp2120.oracle.com with ESMTP id 2tjkkppmhr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 09 Jul 2019 21:12:33 +0000 Original-Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x69L7o6X056544; Tue, 9 Jul 2019 21:12:32 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3030.oracle.com with ESMTP id 2tn1j0gv97-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 09 Jul 2019 21:12:32 +0000 Original-Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x69LCTdi015763; Tue, 9 Jul 2019 21:12:30 GMT In-Reply-To: <87ftnfj8o5.fsf@mail.linkov.net> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4861.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9313 signatures=668688 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=502 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907090254 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9313 signatures=668688 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=569 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907090254 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:162558 Archived-At: > 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'.