unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* calc: putting the top of the stack in the kill ring
@ 2015-03-11 13:07 Rainer Thiel
  0 siblings, 0 replies; 4+ messages in thread
From: Rainer Thiel @ 2015-03-11 13:07 UTC (permalink / raw)
  To: help-gnu-emacs

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-03-11 23:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1839.1426079711.31049.help-gnu-emacs@gnu.org>
2015-03-11 13:42 ` calc: putting the top of the stack in the kill ring Marco Wahl
2015-03-11 20:23   ` Rainer Thiel
2015-03-11 23:09 ` Emanuel Berg
2015-03-11 13:07 Rainer Thiel

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).