Commit graph

26 commits

Author SHA1 Message Date
Richard M. Stallman
e873bbf926 Doc fixes: say "PC Selection mode", not "`pc-selection-mode'". 2004-06-13 22:02:49 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
a1506d2977 Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
Richard M. Stallman
93e92186be (pc-selection-mode): Alter the existing global map, don't replace it. 2002-03-18 04:31:36 +00:00
Richard M. Stallman
024ab5b504 (pc-select-save-and-set-mode): Properly use MODE-VAR. 2002-02-01 03:59:17 +00:00
Richard M. Stallman
cb96f0941a (pc-selection-mode-hook)
(pc-select-saved-settings-alist, pc-select-map)
(pc-select-saved-global-map, pc-select-key-bindings-alist)
(pc-select-default-key-bindings, pc-select-extra-key-bindings)
(pc-select-meta-moves-sexps-key-bindings)
(pc-select-tty-key-bindings, pc-select-old-M-delete-binding):
New variables.
(pc-select-define-keys, pc-select-restore-keys): New functions.
(pc-select-add-to-alist, pc-select-save-and-set-var)
(pc-select-save-and-set-mode, pc-select-restore-var)
(pc-select-restore-mode): New macros.

(pc-selection-mode): Completely rewrote the body of the function;
the main goal was to make pc-selection-mode "turn-off"-able, like
other minor modes.  Use define-minore-mode instead of just a
defun.  Store the key bindings into four alists:
pc-select-default-key-bindings, pc-select-extra-key-bindings,
pc-select-meta-moves-sexps-key-bindings, and
pc-select-tty-key-bindings; then have the pc-select-define-keys
function walk those alists instead of calling define-key
repeatedly.  When the mode is turned on, set the
keybindings in global-map and remember the old keybindings; when
the mode is turned off, restore the previously-saved keybindings.

(pc-selection-mode defcustom): Reflect the fact that the mode is
now "turn-off"-able.
2002-01-26 22:47:39 +00:00
Stefan Monnier
fd4e5923fe Doc string fixes.
(pc-selection-mode): Don't treat macos as a tty.
2001-11-19 23:09:28 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Eli Zaretskii
5d5e7f5328 (pc-selection-mode): Don't turn on
normal-erase-is-backspace on a tty.  Instead, bind some keys such
as [delete] directly, like pc-select.el did before
normal-erase-is-backspace was invented.
2001-04-13 11:13:23 +00:00
Eli Zaretskii
58e4f61d20 (pc-selection-mode): Call normal-erase-is-backspace-mode instead of
binding keys individually.
2001-04-04 14:09:12 +00:00
Dave Love
de98695343 Add `emulation' to keywords. 2000-09-12 13:07:00 +00:00
Sam Steingold
13f5a20e25 fixed sds e-mail 2000-08-14 21:45:06 +00:00
Gerd Moellmann
e7cec0051a (pc-selection-mode): Bind `M-\d'
instead of `M-backspace'.
2000-06-20 18:24:35 +00:00
Dan Nicolaescu
f5f727f8ff *** empty log message *** 1998-05-26 09:23:23 +00:00
Richard M. Stallman
83d1d58cbf Customized. 1997-08-11 00:23:00 +00:00
Karl Heuer
b50c87ee6e (pc-select-selection-keys-only): New variable.
(pc-select-meta-moves-sexps): New variable.
(exchange-point-and-mark-nomark): New function.
(forward-sexp-mark, forward-sexp-nomark): New functions.
(backward-sexp-mark, backward-sexp-nomark): New functions.
(pc-selection-mode): Doc fix.
Bind exchange-point-and-mark-nomark, C-escape.
Honor pc-select-meta-moves-sexps, pc-select-selection-keys-only.
Unset highlight-nonselected-windows.
1997-06-10 19:44:44 +00:00
Richard M. Stallman
8c4ba7c83f (pc-selection-mode): Swap meanings of f16 and f18;
they were backwards.
1997-05-22 02:06:07 +00:00
Richard M. Stallman
2a81150148 (ensure-mark): Minor rewrite.
(scroll-down-mark): Handle pc-select-override-scroll-error,
(scroll-down-nomark): Likewise.
(scroll-up-mark, scroll-up-nomark): Likewise.
(pc-selection-mode): Get rid of the advice on scroll-up, scroll-down.
1996-08-26 15:15:02 +00:00
Richard M. Stallman
20c5a87d0b Replace \n in doc strings.
(pc-selection-mode): Big doc fix.  Don't bind f1.

(forward-line-mark): New function.
(forward-line-nomark): New function.
(backward-line-mark): New function.
(backward-line-nomark): New function.
(pc-selection-mode): Add keybindings for those functions.
(pc-select-override-scroll-error): New variable.
1996-08-24 16:10:28 +00:00
Richard M. Stallman
9596811a3d Comment change. 1996-03-02 06:37:35 +00:00
Richard M. Stallman
14dacacd65 Add some keybindings.
(next-line-mark, next-line-nomark): Set this-command.
(previous-line-mark, previous-line-nomark): Likewise.
(end-of-line-mark, end-of-line-nomark): Likewise.
1996-01-26 19:53:32 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
a7acbbe4d4 Comment fixes. 1996-01-05 22:21:28 +00:00
Richard M. Stallman
4bba4654c6 (pc-selection-mode): Don't mess with c-mode-map. 1995-11-10 17:19:47 +00:00
Richard M. Stallman
3eeb7b9f68 (pc-selection-mode): Add autoload cookie. 1995-10-17 18:13:25 +00:00
Richard M. Stallman
215e89e594 Initial revision 1995-10-17 18:10:37 +00:00