From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: [juri@jurta.org: cursor-in-echo-area ignores the default cursor type] Date: Sun, 22 Jan 2006 02:57:14 +0200 Organization: JURTA Message-ID: <87zmlpdut1.fsf@jurta.org> References: <87wth3g3yr.fsf@stupidchicken.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1137894487 2145 80.91.229.2 (22 Jan 2006 01:48:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 22 Jan 2006 01:48:07 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 22 02:48:05 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F0UKq-0003Jw-UX for ged-emacs-devel@m.gmane.org; Sun, 22 Jan 2006 02:48:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F0UNP-0000bm-SD for ged-emacs-devel@m.gmane.org; Sat, 21 Jan 2006 20:50:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F0UGt-0002ab-Tb for emacs-devel@gnu.org; Sat, 21 Jan 2006 20:44:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F0UGs-0002YJ-33 for emacs-devel@gnu.org; Sat, 21 Jan 2006 20:43:58 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F0UGr-0002Y1-LF for emacs-devel@gnu.org; Sat, 21 Jan 2006 20:43:57 -0500 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1F0ULJ-0005AU-NJ; Sat, 21 Jan 2006 20:48:33 -0500 Original-Received: from mail.neti.ee (80-235-32-6-dsl.mus.estpak.ee [80.235.32.6]) by Relayhost1.neti.ee (Postfix) with ESMTP id 05AE4CC68; Sun, 22 Jan 2006 03:41:08 +0200 (EET) Original-To: Chong Yidong In-Reply-To: <87wth3g3yr.fsf@stupidchicken.com> (Chong Yidong's message of "Fri, 13 Jan 2006 17:25:48 -0500") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:49377 Archived-At: >> After setting the default cursor type to something other than the default >> block cursor: >> >> (setq default-cursor-type 'bar) >> >> and using a function that internally sets the variable `cursor-in-echo-area' >> to non-nil, e.g.: >> >> (y-or-n-p "prompt: ") >> >> the specified cursor type is ignored and the minibuffer in all these cases >> displays the block cursor. > > How about this fix? Actually a slightly different fix was installed, and it doesn't work correctly. Splitting a window in two and calling a key reading function displays the default cursor in all windows, even in non-selected ones. To reproduce this bug, you could type `C-x 2 C-h k' and see how the cursor in the non-selected window changes from hollow to box. -- Juri Linkov http://www.jurta.org/emacs/