all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jay Belanger <belanger@truman.edu>
Cc: "Robert J. Chassell" <bob@rattlesnake.com>, belanger@truman.edu
Subject: Patches (Re: Calc problem)
Date: Wed, 18 Feb 2004 12:21:05 -0600	[thread overview]
Message-ID: <874qtow8oe.fsf_-_@truman.edu> (raw)
In-Reply-To: <87smh8qzd0.fsf@truman.edu> (Jay Belanger's message of "Wed, 18 Feb 2004 07:41:15 -0600")

[-- Attachment #1: Type: text/plain, Size: 1077 bytes --]


The purpose of calc-mode-var-list seems to be to allow users to
access and change variable settings easily; the variables in the list 
are actually bound by a mapcar.  I think this was got rid of because
it didn't give docstrings to the variables.
The following patches put calc-mode-var-list back in, and also adds
docstrings to the variables when they are bound.
The list is used by a couple of functions in calc.el and
calc-embed.el, so because the list has been changed to include
docstrings, some minor changes are needed in those functions.
So included are patches for calc.el and calc-embed.el.

(Completely unrelated, but calc-mode compares the calc-settings file
to ".emacs" to make sure it doesn't get loaded twice.  The problem is
that it only checks to see if the calc settings file contains the
string ".emacs", so if it is "~/.emacs.d/calc", for example, it
doesn't get loaded.  Miles Bader suggested changing the check to see
if the calc-settings file is actually the user-init-file instead of
seeing if it contains ".emacs".  The third patch does that.)

Jay


[-- Attachment #2: Patch to put calc-mode-var-list in calc.el (gzipped) --]
[-- Type: application/octet-stream, Size: 4345 bytes --]

[-- Attachment #3: Patch to take care of calc-mode-var-list in calc-embed.el (gzipped) --]
[-- Type: application/octet-stream, Size: 287 bytes --]

[-- Attachment #4: Patch to take care of settings file in calc.el (gzipped) --]
[-- Type: application/octet-stream, Size: 288 bytes --]

[-- Attachment #5: Type: text/plain, Size: 141 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel

      reply	other threads:[~2004-02-18 18:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-18  8:39 Calc problem Richard Stallman
2004-02-18 13:41 ` Jay Belanger
2004-02-18 18:21   ` Jay Belanger [this message]

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=874qtow8oe.fsf_-_@truman.edu \
    --to=belanger@truman.edu \
    --cc=bob@rattlesnake.com \
    /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.