unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Greg Hill <ghill@synergymicro.com>
Subject: Re: why cannot set cursor-type with setq but only with setq-default??????
Date: Wed, 15 Jan 2003 13:28:26 -0800	[thread overview]
Message-ID: <p04310100ba4b7eba66bf@[198.17.100.22]> (raw)
In-Reply-To: <bf23f78f.0301150934.2b1e7b76@posting.google.com>

At 9:34 AM -0800 1/15/03, Christian Seberino wrote:
>setq-default is used to set cursor to be a bar rather than a box...
>
>(setq-default cursor-type    'bar)
>
>How come (setq cursor-type    'bar) doesn't work????

Chris,

Apparently cursor-type is automatically buffer-local, so setq changes 
its value only for the current buffer.  setq-default changes its 
value for all buffers that don't have their own buffer-local version.

cursor-type as a variable seems to be new to emacs-21.  I didn't even 
know it existed until you asked this question.  Before 21 you had to 
use modify-frame-parameters to change it.  I have not been able to 
find any documentation on cursor-type as a variable other than in 
emacs-21's interactive help.  Can you point us to some?  Thanks.

--Greg

  reply	other threads:[~2003-01-15 21:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-15 17:34 why cannot set cursor-type with setq but only with setq-default?????? Christian Seberino
2003-01-15 21:28 ` Greg Hill [this message]
2003-01-15 21:41 ` Kai Großjohann
2003-01-15 21:59   ` Romain FRANCOISE
  -- strict thread matches above, loose matches on Subject: below --
2003-01-15 22:15 Bingham, Jay
2003-01-15 22:39 Bingham, Jay
     [not found] <mailman.338.1042670496.21513.help-gnu-emacs@gnu.org>
2003-01-15 23:21 ` John Paul Wallington

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='p04310100ba4b7eba66bf@[198.17.100.22]' \
    --to=ghill@synergymicro.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.
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).