unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Chris Green <cmg@dok.org>
Subject: Re: Calculator Questions
Date: Sat, 21 Aug 2004 15:24:02 -0400	[thread overview]
Message-ID: <87y8k8mh0t.fsf@ion.xlipstream.com> (raw)
In-Reply-To: 87vffdmkvt.fsf@truman.edu

Jay Belanger <belanger@truman.edu> writes:

>> 1) Is there anyway for Calc mode to allow middle mouse clicks to
>>    insert data?

> Data from where?

I would like to highlight a number into the selection buffer and
paste/yank it into calc.

> The middle mouse click will insert clipboard contents; that has
> nothing to do with Calc.

It has everything to do w/ calc interacting with mouse-yank.. Should
have pasted the error message: insert-for-yank: Buffer is read-only:
#<buffer *Calculator*>.. After chasing for a while I found what works:

   (define-key calc-mode-map [mouse-2] 'calc-yank)


> Sure.  Insert H hours, M minutes and S seconds as H@M'S" or
> You can use o instead of @ for hours, m in place of ' for minutes, and
> s in place of " for seconds when inserting the data.
>
>   9@24' RET
>  10@34' RET
>  -

Thanks for the notation example. :)

-- 
Chris Green <cmg@dok.org>
"I have no ability to read string
       handling code in a gaim window" -- me

  reply	other threads:[~2004-08-21 19:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2142.1093043696.2011.help-gnu-emacs@gnu.org>
2004-08-20 23:48 ` Calculator Questions Jay Belanger
2004-08-21 19:24   ` Chris Green [this message]
2004-08-20 20:57 Chris Green

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=87y8k8mh0t.fsf@ion.xlipstream.com \
    --to=cmg@dok.org \
    /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).