[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Putting blink-cursor-mode in Options menu.

From: Robert J. Chassell
Subject: Re: Putting blink-cursor-mode in Options menu.
Date: Wed, 2 Mar 2005 16:23:31 +0000 (UTC)

   On the Appearence menu, there could be a Cursor submenu with
   these choices:

         [x] Blinking
         <x> Block
         < > Bar
         < > Hollow

Please remember the non-selected window, too!  

Consider a default mouse user interface like this for a Cursor menu in
Options that applies to all windows and all frames:

        Selected Window         Non-selected Window

         [ ] Blinking              [ ] Blinking

         <x> Block                 < > Block
         < > Hollow Block          <x> Hollow Block
         < > Bar                   < > Bar
             Width <2>                 Width <2>

      (blink-cursor-mode 0)
      (setq cursor-type 'box)

for the selected window, and also writing code for the non-selected
window.  Currently the documentation for `cursor-type' says that

    When the buffer is displayed in a nonselected window,
    this variable has no effect; the cursor appears as a hollow box.

The new function and variable might be:

      (blink-cursor-mode-non-selected-window 0)
      (setq cursor-type-non-selected-window 'hollow)

For a mouse user interface, buffer specific options might go into a
submenu of some sort. 

Presumably, a mouse user interface that sets values permanently makes
use of the same automatic code writing library as Customize?  Is that
right?  Or does it use a different library?  I do not use my mouse in
the Emacs menu and have never looked into the matter.

In any event, Customize could write buffer specific options as well as
general options into a .emacs file so the user can see what the
expressions look like, the way Customize does now with `baud-rate' and
other such variables.

    Robert J. Chassell                         
    address@hidden                         GnuPG Key ID: 004B4AC8
    http://www.rattlesnake.com                  http://www.teak.cc

reply via email to

[Prev in Thread] Current Thread [Next in Thread]