From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Chris Green Newsgroups: gmane.emacs.help Subject: Re: Calculator Questions Date: Sat, 21 Aug 2004 15:24:02 -0400 Organization: have you seen my office? Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87y8k8mh0t.fsf@ion.xlipstream.com> References: <87vffdmkvt.fsf@truman.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1093116274 8891 80.91.224.253 (21 Aug 2004 19:24:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 21 Aug 2004 19:24:34 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 21 21:24:27 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BybTX-0001Z9-00 for ; Sat, 21 Aug 2004 21:24:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BybXt-0000e8-M1 for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Aug 2004 15:28:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BybXc-0000as-E9 for help-gnu-emacs@gnu.org; Sat, 21 Aug 2004 15:28:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BybXa-0000Xm-R4 for help-gnu-emacs@gnu.org; Sat, 21 Aug 2004 15:28:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BybXa-0000XZ-N7 for help-gnu-emacs@gnu.org; Sat, 21 Aug 2004 15:28:38 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BybTB-0003Ks-UL for help-gnu-emacs@gnu.org; Sat, 21 Aug 2004 15:24:06 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BybTA-0001J6-00 for ; Sat, 21 Aug 2004 21:24:05 +0200 Original-Received: from pcp04630372pcs.gambrl01.md.comcast.net ([68.49.57.84]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 21 Aug 2004 21:24:04 +0200 Original-Received: from cmg by pcp04630372pcs.gambrl01.md.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 21 Aug 2004 21:24:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 34 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pcp04630372pcs.gambrl01.md.comcast.net User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:g8hbY3lxaoG0A5K40lJNmH7Tc6o= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20211 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20211 Jay Belanger 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: #.. 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 "I have no ability to read string handling code in a gaim window" -- me