1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

(global-map): Resync [home] and [end] bindings with C-a and C-e.

This commit is contained in:
Stefan Monnier 2005-10-04 21:50:34 +00:00
parent c0752bdcf7
commit f88febbb69
2 changed files with 13 additions and 2 deletions

View File

@ -1,5 +1,16 @@
2005-10-04 Stefan Monnier <monnier@iro.umontreal.ca> 2005-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
* bindings.el (global-map): Resync [home] and [end] bindings with C-a
and C-e.
* emacs-lisp/eldoc.el: Move comments into docstrings.
(eldoc-message-commands): Initialize in its declaration.
Add move-beginning-of-line and move-end-of-line.
(eldoc-add-command, eldoc-add-command-completions)
(eldoc-remove-command, eldoc-remove-command-completions): Simplify.
* outline.el (outline-mark-subtree): Activate the mark.
* calendar/appt.el (appt-time-regexp): New var. * calendar/appt.el (appt-time-regexp): New var.
(appt-add, appt-make-list): Use it. (appt-add, appt-make-list): Use it.
(appt-convert-time): Clean up. (appt-convert-time): Clean up.

View File

@ -748,7 +748,7 @@ language you are using."
;; natural bindings for terminal keycaps --- defined in X keysym order ;; natural bindings for terminal keycaps --- defined in X keysym order
(define-key global-map [C-S-backspace] 'kill-whole-line) (define-key global-map [C-S-backspace] 'kill-whole-line)
(define-key global-map [home] 'beginning-of-line) (define-key global-map [home] 'move-beginning-of-line)
(define-key global-map [C-home] 'beginning-of-buffer) (define-key global-map [C-home] 'beginning-of-buffer)
(define-key global-map [M-home] 'beginning-of-buffer-other-window) (define-key global-map [M-home] 'beginning-of-buffer-other-window)
(define-key esc-map [home] 'beginning-of-buffer-other-window) (define-key esc-map [home] 'beginning-of-buffer-other-window)
@ -768,7 +768,7 @@ language you are using."
(define-key global-map [M-prior] 'scroll-other-window-down) (define-key global-map [M-prior] 'scroll-other-window-down)
(define-key esc-map [prior] 'scroll-other-window-down) (define-key esc-map [prior] 'scroll-other-window-down)
(define-key esc-map [?\C-\S-v] 'scroll-other-window-down) (define-key esc-map [?\C-\S-v] 'scroll-other-window-down)
(define-key global-map [end] 'end-of-line) (define-key global-map [end] 'move-end-of-line)
(define-key global-map [C-end] 'end-of-buffer) (define-key global-map [C-end] 'end-of-buffer)
(define-key global-map [M-end] 'end-of-buffer-other-window) (define-key global-map [M-end] 'end-of-buffer-other-window)
(define-key esc-map [end] 'end-of-buffer-other-window) (define-key esc-map [end] 'end-of-buffer-other-window)