aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorJay Belanger2008-06-24 05:27:35 +0000
committerJay Belanger2008-06-24 05:27:35 +0000
commitaee08080a29cd480e3e33366fb1570fb321653f5 (patch)
tree8ca01d7e7e247501da448ff8d58c21b44be0964e /doc/misc
parent7a3e1fb5a87552da8ae9ec98b56b177c3b5094c6 (diff)
downloademacs-aee08080a29cd480e3e33366fb1570fb321653f5.tar.gz
emacs-aee08080a29cd480e3e33366fb1570fb321653f5.zip
(Killing from the stack): Mention how to use normal Emacs copying.
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/ChangeLog5
-rw-r--r--doc/misc/calc.texi34
2 files changed, 24 insertions, 15 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 57a29a3c1a8..8b0b08cdf90 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,8 @@
12008-06-24 Jay Belanger <jay.p.belanger@gmail.com>
2
3 * calc.texi (Killing from the stack): Mention using normal Emacs
4 copying.
5
12008-06-21 Michael Albinus <michael.albinus@gmx.de> 62008-06-21 Michael Albinus <michael.albinus@gmx.de>
2 7
3 * tramp.texi (Password handling): Renamed from "Password 8 * tramp.texi (Password handling): Renamed from "Password
diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi
index a8cd3bf080b..61c62b999a6 100644
--- a/doc/misc/calc.texi
+++ b/doc/misc/calc.texi
@@ -29228,24 +29228,28 @@ work with Calc from a regular editing buffer. @xref{Embedded Mode}.
29228@pindex calc-kill-region 29228@pindex calc-kill-region
29229@kindex M-w 29229@kindex M-w
29230@pindex calc-copy-region-as-kill 29230@pindex calc-copy-region-as-kill
29231@kindex M-C-w
29231@cindex Kill ring 29232@cindex Kill ring
29232@dfn{Kill} commands are Emacs commands that insert text into the 29233@dfn{Kill} commands are Emacs commands that insert text into the ``kill
29233``kill ring,'' from which it can later be ``yanked'' by a @kbd{C-y} 29234ring,'' from which it can later be ``yanked'' by a @kbd{C-y} command.
29234command. Three common kill commands in normal Emacs are @kbd{C-k}, which 29235Three common kill commands in normal Emacs are @kbd{C-k}, which kills
29235kills one line, @kbd{C-w}, which kills the region between mark and point, 29236one line, @kbd{C-w}, which kills the region between mark and point, and
29236and @kbd{M-w}, which puts the region into the kill ring without actually 29237@kbd{M-w}, which puts the region into the kill ring without actually
29237deleting it. All of these commands work in the Calculator, too. Also, 29238deleting it. All of these commands work in the Calculator, too,
29238@kbd{M-k} has been provided to complete the set; it puts the current line 29239although in the Calculator they operate on whole stack entries, so they
29239into the kill ring without deleting anything. 29240``round up'' the specified region to encompass full lines. (To copy
29241only parts of lines, the @kbd{M-C-w} command in the Calculator will copy
29242the region to the kill ring without any ``rounding up'', just like the
29243@kbd{M-w} command in normal Emacs.) Also, @kbd{M-k} has been provided
29244to complete the set; it puts the current line into the kill ring without
29245deleting anything.
29240 29246
29241The kill commands are unusual in that they pay attention to the location 29247The kill commands are unusual in that they pay attention to the location
29242of the cursor in the Calculator buffer. If the cursor is on or below the 29248of the cursor in the Calculator buffer. If the cursor is on or below
29243bottom line, the kill commands operate on the top of the stack. Otherwise, 29249the bottom line, the kill commands operate on the top of the stack.
29244they operate on whatever stack element the cursor is on. Calc's kill 29250Otherwise, they operate on whatever stack element the cursor is on. The
29245commands always operate on whole stack entries. (They act the same as their 29251text is copied into the kill ring exactly as it appears on the screen,
29246standard Emacs cousins except they ``round up'' the specified region to 29252including line numbers if they are enabled.
29247encompass full lines.) The text is copied into the kill ring exactly as
29248it appears on the screen, including line numbers if they are enabled.
29249 29253
29250A numeric prefix argument to @kbd{C-k} or @kbd{M-k} affects the number 29254A numeric prefix argument to @kbd{C-k} or @kbd{M-k} affects the number
29251of lines killed. A positive argument kills the current line and @expr{n-1} 29255of lines killed. A positive argument kills the current line and @expr{n-1}