From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rainer Thiel Newsgroups: gmane.emacs.help Subject: calc: putting the top of the stack in the kill ring Date: Wed, 11 Mar 2015 14:07:53 +0100 Message-ID: <817funlm1i.fsf@uni-jena.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1426079730 25615 80.91.229.3 (11 Mar 2015 13:15:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Mar 2015 13:15:30 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 11 14:15:23 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YVgTp-0000iH-Oi for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Mar 2015 14:15:21 +0100 Original-Received: from localhost ([::1]:54572 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVgTp-0007D5-3h for geh-help-gnu-emacs@m.gmane.org; Wed, 11 Mar 2015 09:15:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVgTc-0007Bp-VA for help-gnu-emacs@gnu.org; Wed, 11 Mar 2015 09:15:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVgTZ-00041q-Oy for help-gnu-emacs@gnu.org; Wed, 11 Mar 2015 09:15:08 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:38432) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVgTZ-0003yf-If for help-gnu-emacs@gnu.org; Wed, 11 Mar 2015 09:15:05 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YVgTX-0000SC-UV for help-gnu-emacs@gnu.org; Wed, 11 Mar 2015 14:15:03 +0100 Original-Received: from 95.90.212.42 ([95.90.212.42]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Mar 2015 14:15:03 +0100 Original-Received: from r.thiel by 95.90.212.42 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Mar 2015 14:15:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 95.90.212.42 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (windows-nt) Cancel-Lock: sha1:ao9qWeO8HglNcdep7Sye5nLsM3I= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103104 Archived-At: I am sorry if I am missing something very basic here, but I cannot seem to find a way to put the result on top of the stack in the kill ring. I am aware of the `Kill and Yank' section of the calc manual, but the problem is that M-w (calc-copy-region-as-kill) always copies the whole line. So when I say 2 3+ I get 5 but what is copied to the kill-ring with M-w is `1: 5'. Is there any easy way of copying only the number on stack (`5', in this case) into the kill-ring? Many thanks in advance Rainer -- Prof. Dr. Rainer Thiel Institut für Altertumswissenschaften 07737 Jena, Germany (EU) r.thiel@uni-jena.de