all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jay Belanger <jay.p.belanger@gmail.com>
To: Ingo Thies <ingo.thies@gmx.de>
Cc: 5617@debbugs.gnu.org
Subject: bug#5617: 23.1; Preferences of Calc are lost when started twice during Emacs session
Date: Sun, 21 Feb 2010 19:14:16 -0600	[thread overview]
Message-ID: <87y6imgjh3.fsf@gmail.com> (raw)
In-Reply-To: <4B8169E1.7080603@gmx.de> (Ingo Thies's message of "Sun, 21 Feb 2010 18:14:09 +0100")


> 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






           reply	other threads:[~2010-02-22  1:14 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <4B8169E1.7080603@gmx.de>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y6imgjh3.fsf@gmail.com \
    --to=jay.p.belanger@gmail.com \
    --cc=5617@debbugs.gnu.org \
    --cc=ingo.thies@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.