From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: Re: appointment display during isearch replaces buffer contents with history-element Date: Sat, 17 Nov 2007 12:04:25 +0100 Message-ID: <473ECAB9.2090607@gmx.at> References: <30sl3899pd.fsf@web.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1195297512 21348 80.91.229.12 (17 Nov 2007 11:05:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Nov 2007 11:05:12 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: =?UTF-8?B?Sm9oYW4gQm9ja2fDpXJk?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 17 12:05:11 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ItLTr-0000nZ-Fh for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Nov 2007 12:04:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ItLTe-0002Qz-Fu for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Nov 2007 06:04:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ItLSI-0000tE-Np for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2007 06:03:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ItLSD-0000l4-Vj for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2007 06:03:18 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ItLSD-0000kn-RH for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2007 06:03:13 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1ItLSD-00060e-Dg for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2007 06:03:13 -0500 Original-Received: (qmail invoked by alias); 17 Nov 2007 11:03:11 -0000 Original-Received: from N795P029.adsl.highway.telekom.at (EHLO [62.47.43.93]) [62.47.43.93] by mail.gmx.net (mp004) with SMTP; 17 Nov 2007 12:03:11 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19Fh0oEWsxFe2O6ocaVD6bS+TzyfSpl7lKYKpkpsY AUgDl9BeCg7IuX User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16999 Archived-At: > (if (equal (selected-window) (minibuffer-window)) > (if (other-window 1) > (select-window (other-window 1)) > (if (display-multi-frame-p) > (select-frame (other-frame 1))))) > > This code makes no sense. other-window and other-frame select a window > or frame--they don't return it. In fact, the return value is always nil, > so this can't possibly be right. > Does it work if you use (or (not (minibufferp)) (and (display-multi-frame-p) (progn (other-frame 1) (not (minibufferp)))) (other-window 1)) instead?