From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Konrad Podczeck Newsgroups: gmane.emacs.bugs Subject: bug#37840: Missing in the Emacs manuals: Date: Mon, 28 Oct 2019 20:04:39 +0100 Message-ID: References: <5440997d-8f3f-12f9-ae9e-c0caadde4a01@gmx.at> <81790531-20E9-4919-A485-0D8FE6F60CE1@univie.ac.at> <38fdbe2c-5f1a-3b37-da5f-e2fa6411d8e1@gmx.at> <4ee75419-6f22-4928-3ddb-1add957fb9e4@gmx.at> Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3594.4.19\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="16424"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 37840@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 28 21:04:55 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 1iPBG1-00047l-Er for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Oct 2019 21:04:53 +0100 Original-Received: from localhost ([::1]:33114 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPBFz-0004zy-9w for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Oct 2019 16:04:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35840) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPAK8-00017K-6Y for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2019 15:05:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPAK6-0003YI-VB for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2019 15:05:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37534) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPAK6-0003Xo-IW for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2019 15:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iPAK6-0001lg-AB for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2019 15:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Konrad Podczeck Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Oct 2019 19:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37840 X-GNU-PR-Package: emacs Original-Received: via spool by 37840-submit@debbugs.gnu.org id=B37840.15722894856764 (code B ref 37840); Mon, 28 Oct 2019 19:05:02 +0000 Original-Received: (at 37840) by debbugs.gnu.org; 28 Oct 2019 19:04:45 +0000 Original-Received: from localhost ([127.0.0.1]:46355 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPAJp-0001l2-1M for submit@debbugs.gnu.org; Mon, 28 Oct 2019 15:04:45 -0400 Original-Received: from grace.univie.ac.at ([131.130.3.115]:42784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPAJm-0001ks-Bm for 37840@debbugs.gnu.org; Mon, 28 Oct 2019 15:04:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=univie.ac.at; s=rev2; h=To:References:Message-Id:Content-Transfer-Encoding: Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=iTHrg+DzOl47IQgbBZjfGEPXYwJxa722sJOYX4K0FSk=; b=J6AV40Xt8W5eaiBXAMkPJHdtaE eHu4bXK/3LSIxFktbRXxlpQoO7L1Zd+1KYi2skBBIF9/SHK+If0TeCRpuQuM4WSHnFFi++24DF53A hSdeSzoL4ZWfFUEox8mBgiH4Os4qaXHfR47V6x/mW+8dE79gGGG24a7MUpZZRhwxH3zM=; Original-Received: from justin.univie.ac.at ([131.130.3.111] helo=justin.univie.ac.at) by grace.univie.ac.at with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.2) (envelope-from ) id 1iPAJk-00085I-7M; Mon, 28 Oct 2019 20:04:40 +0100 Original-Received: from 80-109-8-38.cable.dynamic.surfer.at ([80.109.8.38] helo=[192.168.0.234]) by justin.univie.ac.at with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) (envelope-from ) id 1iPAJk-0003No-1c; Mon, 28 Oct 2019 20:04:40 +0100 In-Reply-To: <4ee75419-6f22-4928-3ddb-1add957fb9e4@gmx.at> X-Mailer: Apple Mail (2.3594.4.19) X-Univie-Virus-Scan: scanned by ClamAV on justin.univie.ac.at 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:170324 Archived-At: C-c C-c in this case runs the function "message-send-and-exit=E2=80=9D = from message.el: (defun message-send-and-exit (&optional arg) "Send message like `message-send', then, if no errors, exit from mail = buffer. The usage of ARG is defined by the instance that called Message. It should typically alter the sending method in some way or other." (interactive "P") (let ((buf (current-buffer)) (actions message-exit-actions)) (when (and (message-send arg) (buffer-name buf)) (message-bury buf) (if message-kill-buffer-on-exit (kill-buffer buf)) (message-do-actions actions) t))) By =E2=80=9Csecond instance=E2=80=9D I meant the following situation: Suppose originally I had frame A with buffer.foo and frame B with = buffer.mail, then after C-c C-c I get frame A with buffer.foo and frame with B buffer.foo > Am 28.10.2019 um 19:13 schrieb martin rudalics : >=20 > > Now if I have some buffer.foo open in its own frame, and then issue > > C-x m, a new message buffer pops up in its own frame, as it should > > be. However, after finally issuing C-c C-c to send the mail, the > > frame which contained the mail buffer does not disappear (as it was > > the case with the old special-display.regexp stuff), rather this > > frame shows a second instance of buffer.foo. >=20 > Can you tell me the function(s) called by C-c C-c to get rid of the > window or the mail buffer? =46rom what you say here, the function can > be hardly 'kill-buffer' because that would not show "a second instance > of buffer.foo". And what is a second instance of a buffer? >=20 > martin