]> code.delx.au - gnu-emacs/blobdiff - lisp/emulation/pc-select.el
Fix ccl encoding of unibyte source.
[gnu-emacs] / lisp / emulation / pc-select.el
index 956c61ee0980609c894b68dc0a8db428400d90ee..45c3840bdd2df7a9eabdf64b2d66e96b15745fa5 100644 (file)
@@ -3,7 +3,7 @@
 ;;;                 including key bindings.
 
 ;; Copyright (C) 1995, 1996, 1997, 2000, 2001, 2002, 2003, 2004,
-;;   2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+;;   2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
 
 ;; Author: Michael Staats <michael@thp.Uni-Duisburg.DE>
 ;; Keywords: convenience emulation
 
 ;; This file is part of GNU Emacs.
 
-;; GNU Emacs is free software; you can redistribute it and/or modify
+;; GNU Emacs is free software: you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation; either version 3, or (at your option)
-;; any later version.
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
 
 ;; GNU Emacs is distributed in the hope that it will be useful,
 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -22,9 +22,7 @@
 ;; GNU General Public License for more details.
 
 ;; You should have received a copy of the GNU General Public License
-;; along with GNU Emacs; see the file COPYING.  If not, write to the
-;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-;; Boston, MA 02110-1301, USA.
+;; along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
 
 ;;; Commentary:
 
@@ -32,7 +30,7 @@
 ;; programs (which is the same as the MAC gui and (sorry for that) MS-Windows).
 ;; It modifies the keybindings of the cursor keys and the next, prior,
 ;; home and end keys. They will modify mark-active.
-;; You can still get the old behaviour of cursor moving with the
+;; You can still get the old behavior of cursor moving with the
 ;; control sequences C-f, C-b, etc.
 ;; This package uses transient-mark-mode and
 ;; delete-selection-mode.
@@ -73,7 +71,7 @@
 ;;    which will operate on the active region
 ;;    It was not possible to bind them to C-v, C-x and C-c for obvious
 ;;    emacs reasons.
-;;    They will be bound according to the "old" behaviour to S-delete (cut),
+;;    They will be bound according to the "old" behavior to S-delete (cut),
 ;;    S-insert (paste) and C-insert (copy). These keys do the same in many
 ;;    other programs.
 ;;
@@ -384,7 +382,9 @@ If scan reaches end of buffer, stop there without error."
   "Ensure mark is active; scroll down ARG lines; or near full screen if no ARG.
 A near full screen is `next-screen-context-lines' less than a full screen.
 Negative ARG means scroll upward.
-When calling from a program, supply a number as argument or nil."
+When calling from a program, supply a number as argument or nil.
+Attempting to scroll past the edge of buffer does not raise an
+error, unless `pc-select-override-scroll-error' is nil."
   (interactive "P")
   (pc-select-ensure-mark)
   (cond (pc-select-override-scroll-error
@@ -517,7 +517,9 @@ If scan reaches end of buffer, stop there without error."
   "Deactivate mark; scroll down ARG lines; or near full screen if no ARG.
 A near full screen is `next-screen-context-lines' less than a full screen.
 Negative ARG means scroll upward.
-When calling from a program, supply a number as argument or nil."
+When calling from a program, supply a number as argument or nil.
+Attempting to scroll past the edge of buffer does not raise an
+error, unless `pc-select-override-scroll-error' is nil."
   (interactive "P")
   (pc-select-maybe-deactivate-mark)
   (cond (pc-select-override-scroll-error
@@ -632,7 +634,9 @@ If scan reaches end of buffer, stop there without error."
 "Ensure mark is active; scroll upward ARG lines; or near full screen if no ARG.
 A near full screen is `next-screen-context-lines' less than a full screen.
 Negative ARG means scroll downward.
-When calling from a program, supply a number as argument or nil."
+When calling from a program, supply a number as argument or nil.
+Attempting to scroll past the edge of buffer does not raise an
+error, unless `pc-select-override-scroll-error' is nil."
   (interactive "P")
   (pc-select-ensure-mark)
   (cond (pc-select-override-scroll-error
@@ -729,7 +733,9 @@ If scan reaches end of buffer, stop there without error."
   "Deactivate mark; scroll upward ARG lines; or near full screen if no ARG.
 A near full screen is `next-screen-context-lines' less than a full screen.
 Negative ARG means scroll downward.
-When calling from a program, supply a number as argument or nil."
+When calling from a program, supply a number as argument or nil.
+Attempting to scroll past the edge of buffer does not raise an
+error, unless `pc-select-override-scroll-error' is nil."
   (interactive "P")
   (pc-select-maybe-deactivate-mark)
   (cond (pc-select-override-scroll-error