From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: cua-mode: cursor types Date: 30 Apr 2004 22:56:11 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20040224032032.10511.qmail@web60306.mail.yahoo.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1083365995 16775 80.91.224.253 (30 Apr 2004 22:59:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 30 Apr 2004 22:59:55 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat May 01 00:59:50 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BJgz0-0001Oe-00 for ; Sat, 01 May 2004 00:59:50 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BJgz0-0006Xk-00 for ; Sat, 01 May 2004 00:59:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BJgwp-0003RZ-MM for emacs-devel@quimby.gnus.org; Fri, 30 Apr 2004 18:57:35 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BJgwj-0003QW-Gu for emacs-devel@gnu.org; Fri, 30 Apr 2004 18:57:29 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BJgwD-0003LH-Hn for emacs-devel@gnu.org; Fri, 30 Apr 2004 18:57:28 -0400 Original-Received: from [195.41.46.236] (helo=pfepb.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BJgwC-0003Kf-T4 for emacs-devel@gnu.org; Fri, 30 Apr 2004 18:56:57 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepb.post.tele.dk (Postfix) with SMTP id 465E45EE022; Sat, 1 May 2004 00:56:56 +0200 (CEST) Original-To: Michael Mauger In-Reply-To: <20040224032032.10511.qmail@web60306.mail.yahoo.com> Original-Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:22471 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22471 Michael Mauger writes: > Below is a patch for cua-base.el that changes the cursor shape based on > insert/overstrike or read-only state. The mode already supports changing > the color of the cursor, this patch only adds changing its shape. > > It also fixes a bug where the cursor was not being set when the mode > starts up. Thank you. I have installed your patch with some minor changes. Most notably, I could not get the cursor type to change via modify-frame-parameters. Insted I set default-cursor-type, which works for me. -- Kim F. Storm http://www.cua.dk