From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [ulrich@a0.complang.tuwien.ac.at: blink-cursor improvement suggestion] Date: Sun, 24 Feb 2002 17:09:38 -0700 (MST) Message-ID: <200202250009.g1P09cn15738@aztec.santafe.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: quimby2.netfonds.no X-Trace: quimby2.netfonds.no 1014596189 12279 195.204.10.66 (25 Feb 2002 00:16:29 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 25 Feb 2002 00:16:29 GMT Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16f8oe-0003Bx-00 for ; Mon, 25 Feb 2002 01:16:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16f8m1-0005dh-00; Sun, 24 Feb 2002 19:13:45 -0500 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16f8i3-0005Mp-00; Sun, 24 Feb 2002 19:09:39 -0500 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g1P09iu00937; Sun, 24 Feb 2002 17:09:44 -0700 (MST) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g1P09cn15738; Sun, 24 Feb 2002 17:09:38 -0700 (MST) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: emacs-devel@gnu.org Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:1497 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1497 Do people like change? ------- Start of forwarded message ------- From: Ulrich Neumerkel To: bug-gnu-emacs@gnu.org Subject: blink-cursor improvement suggestion Sender: bug-gnu-emacs-admin@gnu.org Date: Sun, 24 Feb 2002 18:21:37 +0100 (MET) Cursor blinking in 21 is rather irritating to look at, because the cursor vanishes completely making it difficult to remember its precise position. E.g. when comparing two windows. On the other hand blinking is useful for locating the cursor in large areas or when a bar is used. It appears less distracting, if the cursor changes its background color instead of vanishing completely. Here is an attempt to show the difference. C-x C-e the following functions alternatively. (I tried it in GNU Emacs 21.2.50.1) (Certainly this would have to go into internal-show-cursor to be efficient and reliable) (defvar cursor-on t) (modify-frame-parameters (selected-frame) '((cursor-type . bar))) (modify-frame-parameters (selected-frame) '((cursor-type . box))) (defun blink-cursor-timer-function () "Improved but flickering timer function of timer `blink-cursor-timer'." (setq cursor-on (not cursor-on)) (set-face-background 'cursor (if cursor-on "black" "gray50"))) (defun blink-cursor-timer-function () "Original timer function of timer `blink-cursor-timer'." (internal-show-cursor nil (not (internal-show-cursor-p)))) _______________________________________________ Bug-gnu-emacs mailing list Bug-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs ------- End of forwarded message ------- _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel