• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/emacs-93/emacs/lisp/

Lines Matching +defs:end +defs:of

10 ;; This file is part of GNU Emacs.
13 ;; it under the terms of the GNU General Public License as published by
18 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
22 ;; You should have received a copy of the GNU General Public License
70 ;; Most of the functions described in this documentation are in
72 ;; f on top of them for help.
77 ;; normal cursor. You can then use one of the other commands to copy
78 ;; characters from the location of the virtual cursor to point. This
84 ;; cluster found above the cursor keys on a lot of keyboards, the
85 ;; function keys which my limited knowledge of X terminals expects to
102 ;; copies to the end of the line instead of just one character,
105 ;; A more general way of copying is to use C-S-tab, which is a toggle.
108 ;; backwards, though each piece of text moved over is copied forwards:
109 ;; compare the behaviour of C-S-up and C-S-left).
111 ;; However, that's just a small part of the magic. If the virtual
113 ;; window. (See the function (vcursor-find-window) for details of how
119 ;; that simply moving the cursor and virtual cursor on top of one
145 ;; beginning or end of a line, C-S-home and C-S-end the
146 ;; beginning or end of a buffer (these are also on M-C-S-up and
147 ;; M-C-S-down for those of us stuck with DEC keyboards).
168 ;; instead of the real one (that's why it's called a "virtual
181 ;; comment out the `add-hook' line at the bottom of this file. (This
184 ;; This was in keeping with the line-by-line way of entering BASIC,
187 ;; vcursor-compare-windows is now a reliable adaption of
196 ;; There is a way of moving the virtual cursor using ordinary
202 ;; ways of passing information to the command called, such as by a
205 ;; everything that the \C-x 4 series of commands can do and a lot
212 ;; you enter the name of the command. To do anything really
225 ;; There is an alternative set of key bindings which will be used
229 ;; increasing order of distance travelled) C-, M- and S- as prefixes.
254 ;; a very efficient way of locating it!
302 ;; end of the line. You're welcome to consider this a feature;
303 ;; it's just a part of how overlays work.
304 ;; - The vcursor obscures the real cursor. Creative use of overlays
347 "*A list of modifiers that are used to define vcursor key bindings."
359 "Alter the value of the variable VAR to VALUE, binding keys as required.
382 (global-set-key [M-f5] 'vcursor-beginning-of-line)
385 (global-set-key [M-f8] 'vcursor-end-of-line)
387 (global-set-key [S-f5] 'vcursor-beginning-of-buffer)
390 (global-set-key [S-f8] 'vcursor-end-of-buffer)
397 ;;; Partial dictionary of Oemacs key sequences for you to roll your own,
408 ;;; "\M-[\C-fu" C-S-end
436 (global-set-key (vcursor-cs-binding "home") 'vcursor-beginning-of-buffer)
437 (global-set-key (vcursor-cs-binding "up" t) 'vcursor-beginning-of-buffer)
438 (global-set-key (vcursor-cs-binding "end") 'vcursor-end-of-buffer)
439 (global-set-key (vcursor-cs-binding "down" t) 'vcursor-end-of-buffer)
454 (global-set-key (vcursor-cs-binding "left" t) 'vcursor-beginning-of-line)
455 (global-set-key (vcursor-cs-binding "right" t) 'vcursor-end-of-line)
481 interpretation of strings is done: \"\C-x\" is a string of four
514 "Keeps track of temporary goal columns for the virtual cursor.")
535 (define-key vcursor-map "<" 'vcursor-beginning-of-buffer)
536 (define-key vcursor-map ">" 'vcursor-end-of-buffer)
544 (define-key vcursor-map "\C-a" 'vcursor-beginning-of-line)
545 (define-key vcursor-map "\C-e" 'vcursor-end-of-line)
554 ;; This hybrid way of doing it retains compatibility while allowing
560 "Go to the starting point of the virtual cursor.
583 always considered, and the value of `pop-up-frames' is always respected\).
588 ;; The order of priorities (respecting NOT-THIS) is (1)
644 "Move the virtual cursor to the character to the right of PT.
681 This is called by most of the virtual-cursor motion commands."
688 (signal 'end-of-buffer nil))
710 "Swap the location of point and that of the virtual cursor.
762 The virtual cursor is moved to the value of point when the function
765 If FUNC is a list, call the car of the list interactively, ignoring
796 "Apply FUNC to ARGS ... and return the number of characters moved.
800 This is called by most of the virtual-cursor copying commands to find
831 Copying mode is always turned off: the next use of the vcursor will
983 (or (not (bolp)) (eq last-command 'end-of-line)))
989 (signal 'end-of-buffer nil))
1027 (defun vcursor-beginning-of-line (arg)
1028 "Move the virtual cursor to beginning of its current line.
1029 ARG is as for `beginning-of-line'."
1031 (vcursor-relative-move 'beginning-of-line
1035 (defun vcursor-end-of-line (arg)
1036 "Move the virtual cursor to end of its current line.
1037 ARG is as for `end-of-line'."
1039 (vcursor-relative-move 'end-of-line
1043 (defun vcursor-beginning-of-buffer (&optional arg)
1044 "Move the virtual cursor to the beginning of its buffer.
1045 ARG is as for `beginning-of-buffer'."
1054 (defun vcursor-end-of-buffer (&optional arg)
1055 "Move the virtual cursor to the end of its buffer.
1056 ARG is as for `end-of-buffer'.
1102 (end (+ ostart arg)))
1104 (buffer-substring ostart end)
1105 (vcursor-move end)))))
1117 With no argument, copy to the end of the current line.
1120 `kill-line'; the main difference is that whitespace at the end of the
1125 (count (vcursor-get-char-count 'end-of-line num)))
1130 "Toggle the state of the vcursor key map.
1131 When on, the keys defined in it are mapped directly on top of the main