From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Kupfer Newsgroups: gmane.emacs.devel Subject: Re: bug? mm-display-external does delete-other-windows Date: Sun, 28 Feb 2016 17:07:30 -0800 Message-ID: <2235.1456708050@allegro.localdomain> References: <8760x8cycr.fsf@acer.localhost.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: ger.gmane.org 1456708073 26302 80.91.229.3 (29 Feb 2016 01:07:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Feb 2016 01:07:53 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ingo Lohmar Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 29 02:07:45 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 1aaCJN-0000AM-EU for ged-emacs-devel@m.gmane.org; Mon, 29 Feb 2016 02:07:45 +0100 Original-Received: from localhost ([::1]:33218 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaCJM-0006fv-8q for ged-emacs-devel@m.gmane.org; Sun, 28 Feb 2016 20:07:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaCJJ-0006fp-1p for emacs-devel@gnu.org; Sun, 28 Feb 2016 20:07:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaCJF-00049p-05 for emacs-devel@gnu.org; Sun, 28 Feb 2016 20:07:40 -0500 Original-Received: from shell1.rawbw.com ([198.144.192.42]:47707) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaCJE-00047s-Nq for emacs-devel@gnu.org; Sun, 28 Feb 2016 20:07:36 -0500 Original-Received: from allegro.localdomain (m208-249.dsl.rawbw.com [198.144.208.249]) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTP id u1T17U7Z091061; Sun, 28 Feb 2016 17:07:30 -0800 (PST) (envelope-from m.kupfer@acm.org) X-Authentication-Warning: shell1.rawbw.com: Host m208-249.dsl.rawbw.com [198.144.208.249] claimed to be allegro.localdomain In-Reply-To: Your message of "Sun, 28 Feb 2016 22:35:16 +0100." <8760x8cycr.fsf@acer.localhost.com> X-Mailer: MH-E 8.6; nmh 1.6; GNU Emacs 25.0.91 Content-ID: <2234.1456708050.1@allegro.localdomain> X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x X-Received-From: 198.144.192.42 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:200796 Archived-At: Ingo Lohmar wrote: > 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. Hi Ingo, yes, the mm functions are documented as general-purpose. There's at least one other package that uses them (MH-E). I don't see any problems with MH-E when I use an external viewer. I guess this is because MH-E is invoking mm-display-external directly in response to a user keystroke, rather than going through mm-display-part. And MH-E passes in a string, not a function, as the method. I don't know how much the above helps you, but I wanted to reassure you that the mm layer is supposed to be general-purpose. regards, mike