all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Weird change in behavior...
@ 2002-11-12  8:01 Anthony Roberts
  2002-11-12  8:10 ` update Anthony Roberts
  0 siblings, 1 reply; 3+ messages in thread
From: Anthony Roberts @ 2002-11-12  8:01 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* update...
  2002-11-12  8:01 Weird change in behavior Anthony Roberts
@ 2002-11-12  8:10 ` Anthony Roberts
  2002-11-12 23:19   ` update Peter Ashford
  0 siblings, 1 reply; 3+ messages in thread
From: Anthony Roberts @ 2002-11-12  8:10 UTC (permalink / raw)


I downloaded my .emacs file from uni and that fixed the problem right up...

...but I still would like to know what happend...

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: update...
  2002-11-12  8:10 ` update Anthony Roberts
@ 2002-11-12 23:19   ` Peter Ashford
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Ashford @ 2002-11-12 23:19 UTC (permalink / raw)



"Anthony Roberts" <anthonyr-at-hotmail-dot-com@nospam.com> wrote in message
news:cI2A9.805388$Ag2.27309684@news2.calgary.shaw.ca...
> I downloaded my .emacs file from uni and that fixed the problem right
up...
>
> ...but I still would like to know what happend...
>
>

Your emacs session spontaneously decided it couldn't stomach Java ;-)

Peter.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-11-12 23:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-12  8:01 Weird change in behavior Anthony Roberts
2002-11-12  8:10 ` update Anthony Roberts
2002-11-12 23:19   ` update Peter Ashford

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.