all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: patrol <patrol_boat@hotmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: change cursor type
Date: Fri, 28 May 2010 13:03:35 -0700 (PDT)	[thread overview]
Message-ID: <3202a04a-2f7e-4cc8-9fde-c165d42f85bc@k31g2000vbu.googlegroups.com> (raw)
In-Reply-To: 44ocg1dqmd.fsf@be-well.ilk.org

On May 27, 4:41 pm, Lowell Gilbert <lguse...@be-well.ilk.org> wrote:
> patrol <patrol_b...@hotmail.com> writes:
> > On May 26, 11:15 am, Lowell Gilbert <lguse...@be-well.ilk.org> wrote:
>
> >> Add to .emacs:
> >> (setq-default cursor-type 'bar)
>
> > I see. So these variables assignments must be done using Lisp. The
> > Emacs manual is great, but it doesn't make that point clear. Thanks.
>
> I don't actually know that that is true.  
> There may be more than one way to do it;
> in fact, there often is with emacs.
>
> > But why can't you just change the value of any variable using the set-
> > variable command? Why make some variables "user-option" and others
> > not? What's wrong with allowing:
>
> > M-x set-variable RET cursor-type RET "bar"
>
> This is a special case, because when you do M-x, you are no longer in
> the same buffer.  Because that variable is buffer-local, changing it
> interactively would never set it in the buffer that you actually wanted
> to change it in.
>
> Does that make sense?

I think so. You seem to be saying that, because cursor-type is a
buffer-local variable, setting it in the minibuffer would only change
the cursor in the minibuffer itself, correct? Do you know this for a
fact, or would you say it's more of an "educated guess" on your part.
If you're right, you wouldn't be able to change *any* buffer-local
variable using M-x set-variable.


  parent reply	other threads:[~2010-05-28 20:03 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 [this message]
2013-11-29 10:08 ` mohamedaslam785
2013-11-29 15:50   ` Drew Adams
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=3202a04a-2f7e-4cc8-9fde-c165d42f85bc@k31g2000vbu.googlegroups.com \
    --to=patrol_boat@hotmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.