unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [ulrich@a0.complang.tuwien.ac.at: blink-cursor improvement suggestion]
@ 2002-02-25  0:09 Richard Stallman
  2002-02-25  9:51 ` Kim F. Storm
  2002-02-25 20:47 ` Jason Rumney
  0 siblings, 2 replies; 16+ messages in thread
From: Richard Stallman @ 2002-02-25  0:09 UTC (permalink / raw)


Do people like change?

------- Start of forwarded message -------
From: Ulrich Neumerkel <ulrich@a0.complang.tuwien.ac.at>
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


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2002-03-03 19:43 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-25  0:09 [ulrich@a0.complang.tuwien.ac.at: blink-cursor improvement suggestion] Richard Stallman
2002-02-25  9:51 ` Kim F. Storm
2002-02-25 20:55   ` Jason Rumney
2002-02-25 20:47 ` Jason Rumney
2002-02-25 21:19   ` Kim F. Storm
2002-02-26 11:02     ` Kim F. Storm
2002-02-26 11:46       ` Juanma Barranquero
2002-02-26 12:05         ` Kim F. Storm
2002-02-26 14:25           ` Juanma Barranquero
2002-02-27  5:50       ` Richard Stallman
2002-02-27 10:12         ` Kim F. Storm
2002-02-28  4:08           ` Richard Stallman
2002-03-01 23:27           ` Kim F. Storm
2002-03-03 16:06             ` Tak Ota
2002-03-03 19:43       ` Tak Ota
2002-02-26 20:15     ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).