From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: Re: Putting blink-cursor-mode in Options menu. Date: Wed, 2 Mar 2005 16:23:31 +0000 (UTC) Message-ID: References: <200503010034.j210Y4k13181@raven.dms.auburn.edu> Reply-To: bob@rattlesnake.com NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1109781289 7613 80.91.229.2 (2 Mar 2005 16:34:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 2 Mar 2005 16:34:49 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 02 17:34:49 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D6Wjm-00054N-8Y for ged-emacs-devel@m.gmane.org; Wed, 02 Mar 2005 17:30:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D6X2Z-0007jy-3c for ged-emacs-devel@m.gmane.org; Wed, 02 Mar 2005 11:49:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D6X03-0006vk-3g for emacs-devel@gnu.org; Wed, 02 Mar 2005 11:47:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D6Wzw-0006si-OT for emacs-devel@gnu.org; Wed, 02 Mar 2005 11:47:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D6Wzv-0006kj-Jc for emacs-devel@gnu.org; Wed, 02 Mar 2005 11:46:55 -0500 Original-Received: from [69.168.108.225] (helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D6WdP-0000kV-9j for emacs-devel@gnu.org; Wed, 02 Mar 2005 11:23:39 -0500 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.115) Wed, 2 Mar 2005 16:23:31 +0000 (UTC) Original-To: emacs-devel@gnu.org In-reply-to: (storm@cua.dk) 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:34088 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34088 On the Appearence menu, there could be a Cursor submenu with these choices: [x] Blinking 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 Block < > Block < > Hollow Block Hollow Block < > Bar < > Bar Width <2> Width <2> for (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 bob@rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.rattlesnake.com http://www.teak.cc