From: Drew Adams <drew.adams@oracle.com>
To: mohamedaslam785@gmail.com, help-gnu-emacs@gnu.org
Subject: RE: change cursor type
Date: Fri, 29 Nov 2013 07:50:07 -0800 (PST) [thread overview]
Message-ID: <0c834f35-353a-4b56-8131-788ca463376d@default> (raw)
In-Reply-To: <41194d17-7423-4b72-9ccf-22f98d9d50a2@googlegroups.com>
> > I want to change the cursor from box to bar style. Apparently, the
> > variable cursor-type is not a "user-option" variable and so doesn't
> > respond to M-x set-variable. I'm not clear on this distinction between
> > user-option and "non-user-option" variables, and the manual doesn't
> > seem to say anything about it (I could be mistaken but I didn't find
> > anything). Can anyone tell me how to change the value of cursor-type
> > to "bar"? I'd like the change to be global.
A user option is a variable defined using `defcustom', not `defvar'.
A user option is intended to be changed by users. It can be customized
easily, using `M-x customize-option'. It can also be set using
`set-variable'.
Any variable can be set by a user, using
`M-: (setq THE-VAR THE-NEW-VALUE)'. Users can change any variable
they like, but it is not necessarily a good idea to do so.
Some variables that are not user options could be, arguably.
In older versions of Emacs, `cursor-type' was not even a variable;
it was only a frame parameter. In Emacs 22 (it might have been 21)
`cursor-type' became a variable (it is still a frame-parameter also).
As of Emacs 24.3, `cursor-type' is not an option, but you can change
it without problems.
In Emacs 24.4 (not yet released) `cursor-type' will be a user option.
See the Emacs manual, node `Easy Customization' for information about
options vs other variables.
next prev parent reply other threads:[~2013-11-29 15:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <f998fc25-7848-4ac4-8e47-ed4364c7c848@j27g2000vbp.googlegroups.com>
2010-05-26 15:15 ` change cursor type Lowell Gilbert
2010-05-27 14:28 ` patrol
[not found] ` <44ocg1dqmd.fsf@be-well.ilk.org>
2010-05-28 20:03 ` patrol
2013-11-29 10:08 ` mohamedaslam785
2013-11-29 15:50 ` Drew Adams [this message]
2013-11-29 16:43 ` Dan Espen
2013-11-29 19:30 ` Emanuel Berg
2013-12-06 13:38 ` Daniel E. Doherty
2013-12-07 2:42 ` Emanuel Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0c834f35-353a-4b56-8131-788ca463376d@default \
--to=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
--cc=mohamedaslam785@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.