all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#5617: 23.1; Preferences of Calc are lost when started twice during Emacs session
       [not found] <4B8169E1.7080603@gmx.de>
@ 2010-02-22  1:14 ` Jay Belanger
  0 siblings, 0 replies; only message in thread
From: Jay Belanger @ 2010-02-22  1:14 UTC (permalink / raw)
  To: Ingo Thies; +Cc: 5617


> I want to submit a possible bug concerning Emacs (23.1.1) and Calc
> (2.02), both in Linux and Mac.

Calc 2.02 is a very old version of Calc; Emacs 23.1.1 comes with its own
version. 

> If Calc is started first during an Emacs session, then closed, and
> later opened again, the preferences from .calc.el are not reloaded
> again.

What preferences are you referring to?  Any changes in the mode settings
should be handled properly without rereading the settings file.  The
intended behavior is that if you open a Calc buffer and make changes,
starting another copy of Calc (`another-calc') should have the same
settings as the first copy originally had.  (Hmm, this isn't working
correctly right now; I'll have to fix it.)  If you change some modes and
save them (`calc-save-modes'), then if another copy of Calc rereads the
init file it would have the new modes, not the original modes.  (Either
using the new modes or the original modes would sound reasonable to me; 
Calc was just designed to have the latter behavior.)

It sounds like you are quitting Calc by killing the buffer.  If you use
`q'(`calc-quit') first, then the current modes will become the new
default modes (the new "original" modes).  Or, of course, you could
...
>  A workaround is possible by adding
>
> (add-hook 'calc-mode-hook
> (function (lambda ()
> (load "~/.calc.el"))))"
>
> to .emacs.  However, I guess that this behaviour is not intended.

Jay






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-02-22  1:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <4B8169E1.7080603@gmx.de>
2010-02-22  1:14 ` bug#5617: 23.1; Preferences of Calc are lost when started twice during Emacs session Jay Belanger

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.