From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#12766: read-from-minibuffer does not preserve current-buffer Date: Wed, 31 Oct 2012 10:07:08 -0400 Message-ID: References: <508FABAE.4050104@gmx.at> <50902133.1070703@gmx.at> <5090FD03.9080405@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; CHARSET=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: ger.gmane.org 1351692458 1100 80.91.229.3 (31 Oct 2012 14:07:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Oct 2012 14:07:38 +0000 (UTC) Cc: 12766@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 31 15:07:47 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1TTYxP-0004sv-D1 for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Oct 2012 15:07:47 +0100 Original-Received: from localhost ([::1]:53602 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTYxG-0005O8-SJ for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Oct 2012 10:07:38 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44519) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTYx8-0005Nj-Vw for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2012 10:07:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TTYx3-0000Lk-8o for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2012 10:07:30 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59548) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTYx3-0000Lg-5L for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2012 10:07:25 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TTYza-0002oy-Cx for bug-gnu-emacs@gnu.org; Wed, 31 Oct 2012 10:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Oct 2012 14:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12766 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12766-submit@debbugs.gnu.org id=B12766.135169259110824 (code B ref 12766); Wed, 31 Oct 2012 14:10:02 +0000 Original-Received: (at 12766) by debbugs.gnu.org; 31 Oct 2012 14:09:51 +0000 Original-Received: from localhost ([127.0.0.1]:41566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TTYzP-0002oW-GY for submit@debbugs.gnu.org; Wed, 31 Oct 2012 10:09:51 -0400 Original-Received: from relais.videotron.ca ([24.201.245.36]:62889) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TTYzO-0002oQ-Ed for 12766@debbugs.gnu.org; Wed, 31 Oct 2012 10:09:50 -0400 Original-Received: from ceviche.home ([24.201.208.110]) by VL-VM-MR004.ip.videotron.ca (Oracle Communications Messaging Exchange Server 7u4-22.01 64bit (built Apr 21 2011)) with ESMTP id <0MCR00ATOGK0W6E0@VL-VM-MR004.ip.videotron.ca> for 12766@debbugs.gnu.org; Wed, 31 Oct 2012 10:07:12 -0400 (EDT) Original-Received: by ceviche.home (Postfix, from userid 20848) id 88B76660E0; Wed, 31 Oct 2012 10:07:08 -0400 (EDT) In-reply-to: <5090FD03.9080405@gmx.at> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:66275 Archived-At: > For me the fact that unwinding a sequence of operations as > choose_minibuf_frame (); > record_unwind_protect (choose_minibuf_frame_1, Qnil); > record_unwind_protect (Fset_window_configuration, > Fcurrent_window_configuration (Qnil)); > record_unwind_protect (Fset_window_configuration, > Fcurrent_window_configuration (mini_frame)); > would work in practice constitutes a miracle already. Yes, Emacs is amazing ;-) Stefan "who'd be happy to move read_minibuf to Lisp"