From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: patrol Newsgroups: gmane.emacs.help Subject: Re: change cursor type Date: Fri, 28 May 2010 13:03:35 -0700 (PDT) Organization: http://groups.google.com Message-ID: <3202a04a-2f7e-4cc8-9fde-c165d42f85bc@k31g2000vbu.googlegroups.com> References: <44wruq8zjz.fsf@be-well.ilk.org> <5ddbef76-f446-443a-9a8c-17511120f692@v37g2000vbv.googlegroups.com> <44ocg1dqmd.fsf@be-well.ilk.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1291824099 3601 80.91.229.12 (8 Dec 2010 16:01:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 16:01:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 08 17:01:34 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQMSS-0006vh-S3 for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 17:01:33 +0100 Original-Received: from localhost ([127.0.0.1]:34460 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQMSR-0004IX-QT for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 11:01:32 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!k31g2000vbu.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: 173.34.86.168 Original-X-Trace: posting.google.com 1275077015 5619 127.0.0.1 (28 May 2010 20:03:35 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 28 May 2010 20:03:35 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: k31g2000vbu.googlegroups.com; posting-host=173.34.86.168; posting-account=tRtJWQkAAABbewN3eJi0F90kUywr8NrS User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; CPDTDF; InfoPath.2),gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:178464 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:75575 Archived-At: On May 27, 4:41=A0pm, Lowell Gilbert wrote: > patrol writes: > > On May 26, 11:15=A0am, Lowell Gilbert 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. =A0 > 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. =A0Because 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.