From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ingo Lohmar Newsgroups: gmane.emacs.devel Subject: bug? mm-display-external does delete-other-windows Date: Sun, 28 Feb 2016 22:35:16 +0100 Message-ID: <8760x8cycr.fsf@acer.localhost.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1456695348 6728 80.91.229.3 (28 Feb 2016 21:35:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Feb 2016 21:35:48 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 28 22:35:44 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aa90B-0005nY-DY for ged-emacs-devel@m.gmane.org; Sun, 28 Feb 2016 22:35:43 +0100 Original-Received: from localhost ([::1]:60722 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aa907-0000ot-FF for ged-emacs-devel@m.gmane.org; Sun, 28 Feb 2016 16:35:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36018) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aa8zz-0000na-9L for emacs-devel@gnu.org; Sun, 28 Feb 2016 16:35:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aa8zv-00055Z-SV for emacs-devel@gnu.org; Sun, 28 Feb 2016 16:35:31 -0500 Original-Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:37792) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aa8zv-00053O-LZ for emacs-devel@gnu.org; Sun, 28 Feb 2016 16:35:27 -0500 Original-Received: by mail-wm0-x230.google.com with SMTP id p65so22776133wmp.0 for ; Sun, 28 Feb 2016 13:35:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:user-agent:date:message-id:mime-version; bh=U8InVTh8PeRzBnDh5/jY6t9M84aqFnyCr0t4i/IIQRM=; b=XcmrgUNtW00wuJ35epoZwTS/mv0tY7+70eps3cE5/w0NScGTRT/nxz3Ye3/BVUl9ce SyVUzA6ptBBu9HqR8rrWZwYZuTCjFnd/i4EjIyp1+hClIccbaaYVQWpDv1aPbu5VKhN+ pub5RCTLtQOTA2czi9S/S3vSq5XN939S+gL2xnfc51B/ySgxrMxJPfLK7Afd5t5vapeI RUnFJg9w8Xo3WFUxEWbQlqIrJ8pYPzCF6KOqQV/l1xhU6dTBliInYBRVRLZMZUsArw5z xSBIY+wUtWJzV8F9dBU9G9d8o49yM5iwiMQ9ersqGq+t6zeXiz7WtmNjdTfNUFsHH7NG xCgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:user-agent:date:message-id :mime-version; bh=U8InVTh8PeRzBnDh5/jY6t9M84aqFnyCr0t4i/IIQRM=; b=AI9m6cXgcVOpusPjUE96MuJJSV7I+AnYtX2k6aMNapAbLsZGy2JKa6Kx1PagXYXEzr vtCtuImFoLveTfYHbcc6jHAyuGn0IgTomfOf2AACrzd2Euk7cFbcMcZf+ZVbeqwTy9tA EFMg57HV096anazzw7lIv66V1yz9ms7qPt4bJ1i2a0M+EoEEdSI2PALyBZmYJAyGvGPS 1eBXW5w2cqDoryJP+aa8knWKDeZxzu7Mmc1pe63t7nISS0XXyLMerbUpun3MmIvWGlgE k7/6oqd2hbYGQCi0VAPSDoDHrTXQIQcvLzWrkkyxmrwfN1Rc6d7oHHe+U525JnIzP5PJ xW6A== X-Gm-Message-State: AD7BkJLgj9qMANITPOgTTh9o7FJg/dqeCq1B2ppXR0SI6AbRipYEuGPf483r+gzWlBK3Eg== X-Received: by 10.28.45.82 with SMTP id t79mr3989015wmt.46.1456695323586; Sun, 28 Feb 2016 13:35:23 -0800 (PST) Original-Received: from localhost (xdsl-87-78-45-45.netcologne.de. [87.78.45.45]) by smtp.gmail.com with ESMTPSA id 192sm13294578wmw.0.2016.02.28.13.35.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Feb 2016 13:35:22 -0800 (PST) User-Agent: Notmuch/0.20.2+113~g6332e6e (http://notmuchmail.org) Emacs/25.0.90.1 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::230 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:200785 Archived-At: Hi Emacs, Due to some other changes, I am recently affected by the "aggressive" behavior of gnus' mm-display-external function (in mm-decode.el): When displaying a part in its own window (not inline), it calls (delete-other-windows), destroying my window configuration. Is this behavior wanted when used from inside gnus? Are mm-decode.el's functions meant to be used by other packages as well? In my case the notmuch Emacs client [1] uses mm-display-part which calls mm-display-external under certain conditions. If it's ok to use the function (I hope it is), I would consider (delete-other-windows) a bug. Otherwise, are there any plans to extract the MIME functionality into a separate package? [1] http://notmuchmail.org