]> code.delx.au - gnu-emacs/commitdiff
(Killing from the stack): Mention how to use normal Emacs copying.
authorJay Belanger <jay.p.belanger@gmail.com>
Tue, 24 Jun 2008 05:27:35 +0000 (05:27 +0000)
committerJay Belanger <jay.p.belanger@gmail.com>
Tue, 24 Jun 2008 05:27:35 +0000 (05:27 +0000)
doc/misc/ChangeLog
doc/misc/calc.texi
lisp/ChangeLog

index 57a29a3c1a812be5e7d2e29c157574b61350a415..8b0b08cdf90f681d5cdaa659423536ee5fb0b5a2 100644 (file)
@@ -1,3 +1,8 @@
+2008-06-24  Jay Belanger  <jay.p.belanger@gmail.com>
+
+       * calc.texi (Killing from the stack): Mention using normal Emacs
+       copying.
+
 2008-06-21  Michael Albinus  <michael.albinus@gmx.de>
 
        * tramp.texi (Password handling): Renamed from "Password
index a8cd3bf080bcd8b3235a45f26d10f871a27ca754..61c62b999a6441cacada680ddf4e184ec6125191 100644 (file)
@@ -29228,24 +29228,28 @@ work with Calc from a regular editing buffer.  @xref{Embedded Mode}.
 @pindex calc-kill-region
 @kindex M-w
 @pindex calc-copy-region-as-kill
+@kindex M-C-w
 @cindex Kill ring
-@dfn{Kill} commands are Emacs commands that insert text into the
-``kill ring,'' from which it can later be ``yanked'' by a @kbd{C-y}
-command.  Three common kill commands in normal Emacs are @kbd{C-k}, which
-kills one line, @kbd{C-w}, which kills the region between mark and point,
-and @kbd{M-w}, which puts the region into the kill ring without actually
-deleting it.  All of these commands work in the Calculator, too.  Also,
-@kbd{M-k} has been provided to complete the set; it puts the current line
-into the kill ring without deleting anything.
+@dfn{Kill} commands are Emacs commands that insert text into the ``kill
+ring,'' from which it can later be ``yanked'' by a @kbd{C-y} command.
+Three common kill commands in normal Emacs are @kbd{C-k}, which kills
+one line, @kbd{C-w}, which kills the region between mark and point, and
+@kbd{M-w}, which puts the region into the kill ring without actually
+deleting it.  All of these commands work in the Calculator, too,
+although in the Calculator they operate on whole stack entries, so they
+``round up'' the specified region to encompass full lines.  (To copy
+only parts of lines, the @kbd{M-C-w} command in the Calculator will copy
+the region to the kill ring without any ``rounding up'', just like the
+@kbd{M-w} command in normal Emacs.)  Also, @kbd{M-k} has been provided
+to complete the set; it puts the current line into the kill ring without
+deleting anything.
 
 The kill commands are unusual in that they pay attention to the location
-of the cursor in the Calculator buffer.  If the cursor is on or below the
-bottom line, the kill commands operate on the top of the stack.  Otherwise,
-they operate on whatever stack element the cursor is on.  Calc's kill
-commands always operate on whole stack entries.  (They act the same as their
-standard Emacs cousins except they ``round up'' the specified region to
-encompass full lines.)  The text is copied into the kill ring exactly as
-it appears on the screen, including line numbers if they are enabled.
+of the cursor in the Calculator buffer.  If the cursor is on or below
+the bottom line, the kill commands operate on the top of the stack.
+Otherwise, they operate on whatever stack element the cursor is on.  The
+text is copied into the kill ring exactly as it appears on the screen,
+including line numbers if they are enabled.
 
 A numeric prefix argument to @kbd{C-k} or @kbd{M-k} affects the number
 of lines killed.  A positive argument kills the current line and @expr{n-1}
index 439b08e017068afe657280e09e186d743008a05c..ba8a1afd73805386a46a065c3a454c83278ec019 100644 (file)
@@ -1,3 +1,10 @@
+2008-06-24  Jay Belanger  <jay.p.belanger@gmail.com>
+
+       * calc/calc.el (calc-mode-map): Add extra keybindings to
+       `calc-missing-key'.
+       * calc/calc-ext.el (calc-init-extensions): Add keybinding for
+       `kill-ring-save'.
+
 2008-06-24  Miles Bader  <miles@gnu.org>
 
        * mouse.el (mouse-appearance-menu): Don't do anything if the user