help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

calc: putting the top of the stack in the kill ring


From: Rainer Thiel
Subject: calc: putting the top of the stack in the kill ring
Date: Wed, 11 Mar 2015 14:07:53 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (windows-nt)

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)
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]