From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Anthony Roberts" Newsgroups: gmane.emacs.help Subject: Weird change in behavior... Date: Tue, 12 Nov 2002 08:01:11 GMT Organization: Shaw Residential Internet Sender: help-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1037089260 4812 80.91.224.249 (12 Nov 2002 08:21:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 12 Nov 2002 08:21:00 +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 18BWI6-0001FM-00 for ; Tue, 12 Nov 2002 09:20:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18BWFx-0004yR-00; Tue, 12 Nov 2002 03:18:45 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news.stealth.net!news.stealth.net!prodigy.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!news2.calgary.shaw.ca.POSTED!not-for-mail X-Trace-PostClient-IP: 68.145.156.31 Original-Newsgroups: gnu.emacs.help Original-Lines: 37 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Original-NNTP-Posting-Host: 24.71.223.147 Original-X-Complaints-To: abuse@shaw.ca Original-X-Trace: news2.calgary.shaw.ca 1037088071 24.71.223.147 (Tue, 12 Nov 2002 01:01:11 MST) Original-NNTP-Posting-Date: Tue, 12 Nov 2002 01:01:11 MST Original-Xref: shelby.stanford.edu gnu.emacs.help:106955 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3507 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3507 I use GNU Emacs 20.7.1 for Windows NT... I've been using this version for almost a year now. Today, when programming in Java, the intending style spontaneously changed, apparently without cause. I haven't changed my system or even altered the paths or anything, and the Java_Mode_Hook's I added are still there in the C customization group. This is the modification I made like a year ago, copied from the customization buffer. ------------ Java Mode Hook: [Hide] [INS] [DEL] (lambda nil (c-set-style "bsd")) [INS] [DEL] (lambda nil (c-set-offset 'inline-open 0)) [INS] [State]: this option has been set and saved. Hook called by `java-mode'. ------------ The one modification I've made recently was adding exactly the same things to C_Mode_Hook, a few weeks ago, but this problem didn't appear until about an hour ago. I've been coding all day without this problem so I'm confused. First, just a single instance of Emacs was affected, and I thought that I had just missed a brace or semicolon somewhere. All new instances of Emacs have been affected, and I've since closed all the old ones. I tried removing the C_Mode_Hook's, without success, so I'm out of ideas. Except for upgrading that is, but I was planning to do that anyway. TIA for any help, Anthony