From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Bingham, Jay" Newsgroups: gmane.emacs.help Subject: RE: why cannot set cursor-type with setq but only with setq-default?????? Date: Wed, 15 Jan 2003 16:15:40 -0600 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <72A87F7160C0994D8C5A36E2FDC227F504420ED1@txnexc01.americas.cpqcorp.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1042669100 16375 80.91.224.249 (15 Jan 2003 22:18:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 15 Jan 2003 22:18:20 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18YvrW-0004Fq-00 for ; Wed, 15 Jan 2003 23:18:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Yvsg-0002OB-01 for gnu-help-gnu-emacs@m.gmane.org; Wed, 15 Jan 2003 17:19:30 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18Yvs7-0002Er-00 for help-gnu-emacs@gnu.org; Wed, 15 Jan 2003 17:18:55 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18YvrH-0001Z2-00 for help-gnu-emacs@gnu.org; Wed, 15 Jan 2003 17:18:04 -0500 Original-Received: from zcamail04.zca.compaq.com ([161.114.32.104]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Yvp4-0000ZQ-00 for help-gnu-emacs@gnu.org; Wed, 15 Jan 2003 17:15:46 -0500 Original-Received: from cacexg12.americas.cpqcorp.net (cacexg12.americas.cpqcorp.net [16.105.250.119]) by zcamail04.zca.compaq.com (Postfix) with ESMTP id 8010727C8 for ; Wed, 15 Jan 2003 14:15:42 -0800 (PST) Original-Received: from txnexc01.americas.cpqcorp.net ([16.74.7.244]) by cacexg12.americas.cpqcorp.net with Microsoft SMTPSVC(5.0.2195.2966); Wed, 15 Jan 2003 14:15:41 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: why cannot set cursor-type with setq but only with setq-default?????? Thread-Index: AcK84fmP/BZGKlxGTMyuTYX0mL5ZYwAADE1A Original-To: X-OriginalArrivalTime: 15 Jan 2003 22:15:41.0312 (UTC) FILETIME=[A3E58000:01C2BCE3] X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5527 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5527 I don't know for sure, but I think that at one time I had some logic in = my .emacs that set buffer-local variables and as I recall it affected = the *scratch* buffer. -_ J_) C_)ingham . HP - NonStop Austin Software & Services - Software Quality = Assurance . Austin, TX . "Language is the apparel in which your thoughts parade in public. . Never clothe them in vulgar and shoddy attire." -Dr. George W. = Crane- -----Original Message----- From: Romain FRANCOISE [mailto:romain@orebokech.com]=20 Sent: Wednesday, January 15, 2003 4:00 PM To: help-gnu-emacs@gnu.org Subject: Re: why cannot set cursor-type with setq but only with = setq-default?????? kai.grossjohann@uni-duisburg.de (Kai Gro=DFjohann) writes: > I don't know what's the current buffer when ~/.emacs is executed. A > temp buffer, perhaps, or *scratch*. Actually I don't think there is a buffer. I seem to remember that the init file is loaded using `load', and that doesn't need a buffer, it's a built-in function. A call to `current-buffer' would probably return whatever buffer was active at the moment, so that would be *scratch*, or maybe not (if the init file creates a buffer somehow, like a call to (calendar) would). But I'm No Expert(tm). --=20 Romain FRANCOISE | It was fourteen degrees below it's a miracle -- http://orebokech.com/ | on a screeching march 23. _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnu-emacs