unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "B.T. Raven" <ejmn@cpinternet.com>
Subject: Re: emacs calculator
Date: Mon, 17 Jan 2005 21:40:47 -0600	[thread overview]
Message-ID: <10up1br2sv9c4aa@corp.supernews.com> (raw)
In-Reply-To: mailman.13583.1105927733.27204.help-gnu-emacs@gnu.org


"Peter Dyballa" <Peter_Dyballa@Web.DE> wrote in message
news:mailman.13583.1105927733.27204.help-gnu-emacs@gnu.org...
>
> Am 15.01.2005 um 23:50 schrieb B.T. Raven:
>
> > After saving this, exiting, restarting, still no go. C-h k C-return
is
> > shown as undefined.
> >
> > Then I replaced the last line with:
> > (define-key global-map [(control return)] 'calculator)
>
> I'd use
>
>    (global-set-key [c-return] 'calculator)
>
> Besides this it's good to check whether C-return really works. In a
> terminal I don't have C-return, all Emacs sees is RET. When you first
> do 'C-h k C-return' and then 'C-x Esc Esc' (repeat-complex-command)
you
> can see in the mini-buffer the proper syntax for the key (and save it
> for later use with C-a C-k C-g).
>
> --
> Greetings
>
>    Pete
>
> "Email is a wonderful thing for people whose role in life is to be on
> top of things. But not for me; my role is to be on the bottom of
> things. What I do takes long hours of studying and uninterruptible
> concentration."   -Donald Knuth

Thanks, Sean and Peter and Stefan. I didn't know that 'calculator was
being autoloaded from somewhere, so I guess I can remove that line from
my .emacs. It turns out that all of the various ways of binding the
C-return key work just fine. The problem was that I thought .emacs was
being read from site-lisp when in fact it was being read from d:\emacs.
My directory structure in this neck of the woods is
d:emacs\emacs-21.3\bin etc. Since one thing leads to another, my
question now is whether it's possible to force runemacs.exe to look for
.emacs in site-lisp instead of whatever is in HOME (or HOME$ or ~\,
whatever that means). Is there a search path order where .emacs is
looked for?

Thanks again,

Ed.

  parent reply	other threads:[~2005-01-18  3:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-15 22:50 emacs calculator B.T. Raven
2005-01-16  2:46 ` Sean Richards
2005-01-16 10:33 ` kurtz
2005-01-16 13:16   ` Matthew Huggett
     [not found]   ` <mailman.13475.1105882289.27204.help-gnu-emacs@gnu.org>
2005-01-16 22:41     ` B.T. Raven
2005-01-17  1:16 ` Peter Dyballa
2005-01-17 20:38 ` Stefan Monnier
     [not found] ` <mailman.13583.1105927733.27204.help-gnu-emacs@gnu.org>
2005-01-18  3:40   ` B.T. Raven [this message]
2005-01-18  7:09     ` Sean Richards
2005-01-18 10:52     ` Peter Dyballa

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=10up1br2sv9c4aa@corp.supernews.com \
    --to=ejmn@cpinternet.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).