From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: cl-assertion error in doc-view Date: Thu, 20 Sep 2012 17:10:09 -0400 Message-ID: References: <87obl1yk0q.fsf@thinkpad.tsdh.de> <505B519E.8060403@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1348175427 25481 80.91.229.3 (20 Sep 2012 21:10:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Sep 2012 21:10:27 +0000 (UTC) Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 20 23:10:28 2012 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 1TEo0x-000548-Mv for ged-emacs-devel@m.gmane.org; Thu, 20 Sep 2012 23:10:27 +0200 Original-Received: from localhost ([::1]:41015 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEo0t-0006fj-2l for ged-emacs-devel@m.gmane.org; Thu, 20 Sep 2012 17:10:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEo0p-0006et-U3 for emacs-devel@gnu.org; Thu, 20 Sep 2012 17:10:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TEo0p-0000OU-4Z for emacs-devel@gnu.org; Thu, 20 Sep 2012 17:10:19 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:54500) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEo0p-0000Ng-0b for emacs-devel@gnu.org; Thu, 20 Sep 2012 17:10:19 -0400 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q8KLA9fr008721; Thu, 20 Sep 2012 17:10:09 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 848D1B4071; Thu, 20 Sep 2012 17:10:09 -0400 (EDT) In-Reply-To: <505B519E.8060403@gmx.at> (martin rudalics's message of "Thu, 20 Sep 2012 19:25:50 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 132.204.246.22 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:153410 Archived-At: > I'd use something like the below instead. Using switch-to-buffer or set-window-buffer is incorrect since this function doesn't know if there's an actual intention to display the buffer, nor where it will be displayed (and the selected-window may be inappropriate, dedicated, minibuffer-only). So we need a different solution that does not rely on displaying the buffer. Stefan