emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r111744: Make S-SPC scroll in the opp


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r111744: Make S-SPC scroll in the opposite direction to SPC
Date: Mon, 11 Feb 2013 20:46:18 -0800
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 111744
fixes bug: http://debbugs.gnu.org/2145
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Mon 2013-02-11 20:46:18 -0800
message:
  Make S-SPC scroll in the opposite direction to SPC
  
  * lisp/calc/calc-graph.el (calc-graph-show-dumb):
  * lisp/calendar/calendar.el (calendar-mode-map):
  * lisp/cus-edit.el (custom-mode-map):
  * lisp/ehelp.el (electric-help-map):
  * lisp/emulation/vip.el (vip-mode-map):
  * lisp/epa.el (epa-key-list-mode-map):
  * lisp/info.el (Info-mode-map):
  * lisp/mail/rmail.el (rmail-mode-map):
  * lisp/mail/rmailsum.el (rmail-summary-mode-map):
  * lisp/man.el (Man-mode-map):
  * lisp/net/newst-plainview.el (newsticker-mode-map):
  * lisp/progmodes/cpp.el (cpp-edit-mode-map):
  * lisp/progmodes/grep.el (grep-mode-map):
  * lisp/progmodes/idlw-help.el (idlwave-help-mode-map):
  * lisp/simple.el (special-mode-map):
  * lisp/startup.el (splash-screen-keymap):
  * lisp/view.el (view-mode-map):
  Make S-SPC scroll in the opposite sense to SPC.
modified:
  etc/NEWS
  lisp/ChangeLog
  lisp/calc/calc-graph.el
  lisp/calendar/calendar.el
  lisp/cus-edit.el
  lisp/ehelp.el
  lisp/emulation/vip.el
  lisp/epa.el
  lisp/info.el
  lisp/mail/rmail.el
  lisp/mail/rmailsum.el
  lisp/man.el
  lisp/net/newst-plainview.el
  lisp/progmodes/cpp.el
  lisp/progmodes/grep.el
  lisp/progmodes/idlw-help.el
  lisp/simple.el
  lisp/startup.el
  lisp/view.el
=== modified file 'etc/NEWS'
--- a/etc/NEWS  2013-02-11 19:21:23 +0000
+++ b/etc/NEWS  2013-02-12 04:46:18 +0000
@@ -76,6 +76,9 @@
 ** New commands `toggle-frame-fullscreen' and `toggle-frame-maximized',
 bound to <f11> and M-<f10>, respectively.
 
+** In keymaps where SPC scrolls, S-SPC now scrolls in the reverse direction.
+Eg View mode, etc.
+
 
 * Changes in Specialized Modes and Packages in Emacs 24.4
 

=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-02-11 22:53:36 +0000
+++ b/lisp/ChangeLog    2013-02-12 04:46:18 +0000
@@ -1,3 +1,24 @@
+2013-02-12  Glenn Morris  <address@hidden>
+
+       * calc/calc-graph.el (calc-graph-show-dumb):
+       * calendar/calendar.el (calendar-mode-map):
+       * cus-edit.el (custom-mode-map):
+       * ehelp.el (electric-help-map):
+       * emulation/vip.el (vip-mode-map):
+       * epa.el (epa-key-list-mode-map):
+       * info.el (Info-mode-map):
+       * mail/rmail.el (rmail-mode-map):
+       * mail/rmailsum.el (rmail-summary-mode-map):
+       * man.el (Man-mode-map):
+       * net/newst-plainview.el (newsticker-mode-map):
+       * progmodes/cpp.el (cpp-edit-mode-map):
+       * progmodes/grep.el (grep-mode-map):
+       * progmodes/idlw-help.el (idlwave-help-mode-map):
+       * simple.el (special-mode-map):
+       * startup.el (splash-screen-keymap):
+       * view.el (view-mode-map):
+       Make S-SPC scroll in the opposite sense to SPC.  (Bug#2145)
+
 2013-02-11  Elias Pipping  <address@hidden>
 
        * doc-view.el (doc-view-current-cache-dir): Beware % escapes

=== modified file 'lisp/calc/calc-graph.el'
--- a/lisp/calc/calc-graph.el   2013-01-01 09:11:05 +0000
+++ b/lisp/calc/calc-graph.el   2013-02-12 04:46:18 +0000
@@ -948,6 +948,7 @@
          (setq calc-dumb-map (make-sparse-keymap))
          (define-key calc-dumb-map "\n" 'scroll-up-command)
          (define-key calc-dumb-map " " 'scroll-up-command)
+         (define-key calc-dump-map [?\S-\ ] 'scroll-down-command)
          (define-key calc-dumb-map "\177" 'scroll-down-command)
          (define-key calc-dumb-map "<" 'scroll-left)
          (define-key calc-dumb-map ">" 'scroll-right)

=== modified file 'lisp/calendar/calendar.el'
--- a/lisp/calendar/calendar.el 2013-01-14 15:39:04 +0000
+++ b/lisp/calendar/calendar.el 2013-02-12 04:46:18 +0000
@@ -1635,6 +1635,7 @@
     (define-key map "S"   'calendar-sunrise-sunset)
     (define-key map "M"   'calendar-lunar-phases)
     (define-key map " "   'scroll-other-window)
+    (define-key map [?\S-\ ] 'scroll-other-window-down)
     (define-key map "\d"  'scroll-other-window-down)
     (define-key map "\C-c\C-l" 'calendar-redraw)
     (define-key map "."   'calendar-goto-today)

=== modified file 'lisp/cus-edit.el'
--- a/lisp/cus-edit.el  2013-01-02 16:13:04 +0000
+++ b/lisp/cus-edit.el  2013-02-12 04:46:18 +0000
@@ -443,6 +443,7 @@
     (define-key map [remap self-insert-command] 'Custom-no-edit)
     (define-key map "\^m" 'Custom-newline)
     (define-key map " " 'scroll-up-command)
+    (define-key map [?\S-\ ] 'scroll-down-command)
     (define-key map "\177" 'scroll-down-command)
     (define-key map "\C-c\C-c" 'Custom-set)
     (define-key map "\C-x\C-s" 'Custom-save)

=== modified file 'lisp/ehelp.el'
--- a/lisp/ehelp.el     2013-01-01 09:11:05 +0000
+++ b/lisp/ehelp.el     2013-02-12 04:46:18 +0000
@@ -80,6 +80,7 @@
     (define-key map (char-to-string help-char) 'electric-help-help)
     (define-key map "?" 'electric-help-help)
     (define-key map " " 'scroll-up)
+    (define-key map [?\S-\ ] 'scroll-down)
     (define-key map "\^?" 'scroll-down)
     (define-key map "." 'beginning-of-buffer)
     (define-key map "<" 'beginning-of-buffer)

=== modified file 'lisp/emulation/vip.el'
--- a/lisp/emulation/vip.el     2013-01-01 09:11:05 +0000
+++ b/lisp/emulation/vip.el     2013-02-12 04:46:18 +0000
@@ -183,6 +183,7 @@
     (define-key map "\C-z" 'vip-change-mode-to-emacs)
     (define-key map "\e" 'vip-ESC)
 
+    (define-key map [?\S-\ ] 'vip-scroll-back)
     (define-key map " " 'vip-scroll)
     (define-key map "!" 'vip-command-argument)
     (define-key map "\"" 'vip-command-argument)

=== modified file 'lisp/epa.el'
--- a/lisp/epa.el       2013-01-01 09:11:05 +0000
+++ b/lisp/epa.el       2013-02-12 04:46:18 +0000
@@ -169,6 +169,7 @@
     (define-key keymap "n" 'next-line)
     (define-key keymap "p" 'previous-line)
     (define-key keymap " " 'scroll-up-command)
+    (define-key keymap [?\S-\ ] 'scroll-down-command)
     (define-key keymap [delete] 'scroll-down-command)
     (define-key keymap "q" 'epa-exit-buffer)
     (define-key keymap [menu-bar epa-key-list-mode] (cons "Keys" menu-map))

=== modified file 'lisp/info.el'
--- a/lisp/info.el      2013-02-01 16:46:46 +0000
+++ b/lisp/info.el      2013-02-12 04:46:18 +0000
@@ -3874,6 +3874,7 @@
     (suppress-keymap map)
     (define-key map "." 'beginning-of-buffer)
     (define-key map " " 'Info-scroll-up)
+    (define-key map [?\S-\ ] 'Info-scroll-down)
     (define-key map "\C-m" 'Info-follow-nearest-node)
     (define-key map "\t" 'Info-next-reference)
     (define-key map "\e\t" 'Info-prev-reference)

=== modified file 'lisp/mail/rmail.el'
--- a/lisp/mail/rmail.el        2013-02-07 08:04:05 +0000
+++ b/lisp/mail/rmail.el        2013-02-12 04:46:18 +0000
@@ -1085,6 +1085,7 @@
     (define-key map "<"      'rmail-first-message)
     (define-key map ">"      'rmail-last-message)
     (define-key map " "      'scroll-up-command)
+    (define-key map [?\S-\ ] 'scroll-down-command)
     (define-key map "\177"   'scroll-down-command)
     (define-key map "?"      'describe-mode)
     (define-key map "\C-c\C-s\C-d" 'rmail-sort-by-date)
@@ -4751,7 +4752,7 @@
 
 ;;;### (autoloads (rmail-summary-by-senders rmail-summary-by-topic
 ;;;;;;  rmail-summary-by-regexp rmail-summary-by-recipients 
rmail-summary-by-labels
-;;;;;;  rmail-summary) "rmailsum" "rmailsum.el" 
"341825201e892b8fc875c1ae49ffd560")
+;;;;;;  rmail-summary) "rmailsum" "rmailsum.el" 
"119ce8b431f01e7f54bb6fa99603b3d9")
 ;;; Generated autoloads from rmailsum.el
 
 (autoload 'rmail-summary "rmailsum" "\

=== modified file 'lisp/mail/rmailsum.el'
--- a/lisp/mail/rmailsum.el     2013-01-01 09:11:05 +0000
+++ b/lisp/mail/rmailsum.el     2013-02-12 04:46:18 +0000
@@ -118,6 +118,7 @@
     (define-key map "<"      'rmail-summary-first-message)
     (define-key map ">"      'rmail-summary-last-message)
     (define-key map " "      'rmail-summary-scroll-msg-up)
+    (define-key map [?\S-\ ] 'rmail-summary-scroll-msg-down)
     (define-key map "\177"   'rmail-summary-scroll-msg-down)
     (define-key map "?"      'describe-mode)
     (define-key map "\C-c\C-n" 'rmail-summary-next-same-subject)

=== modified file 'lisp/man.el'
--- a/lisp/man.el       2013-01-10 15:01:35 +0000
+++ b/lisp/man.el       2013-02-12 04:46:18 +0000
@@ -426,6 +426,7 @@
     (suppress-keymap map)
     (set-keymap-parent map button-buffer-map)
 
+    (define-key map [?\S-\ ] 'scroll-down-command)
     (define-key map " "    'scroll-up-command)
     (define-key map "\177" 'scroll-down-command)
     (define-key map "n"    'Man-next-section)

=== modified file 'lisp/net/newst-plainview.el'
--- a/lisp/net/newst-plainview.el       2013-01-01 09:11:05 +0000
+++ b/lisp/net/newst-plainview.el       2013-02-12 04:46:18 +0000
@@ -5,7 +5,7 @@
 ;; Author:      Ulf Jasper <address@hidden>
 ;; Filename:    newst-plainview.el
 ;; URL:         http://www.nongnu.org/newsticker
-;; Time-stamp:  "13. Mai 2011, 19:28:34 (ulf)"
+;; Time-stamp:  "Mon 11-Feb-2013 20:27:11 gm on skiddaw"
 ;; Package:     newsticker
 
 ;; ======================================================================
@@ -405,6 +405,7 @@
     (define-key map "sx" 'newsticker-show-extra)
     (define-key map "hx" 'newsticker-hide-extra)
 
+    (define-key map [?\S-\ ] 'scroll-down-command)
     (define-key map " "  'scroll-up-command)
     (define-key map "q"  'newsticker-close-buffer)
     (define-key map "p"  'newsticker-previous-item)

=== modified file 'lisp/progmodes/cpp.el'
--- a/lisp/progmodes/cpp.el     2013-01-01 09:11:05 +0000
+++ b/lisp/progmodes/cpp.el     2013-02-12 04:46:18 +0000
@@ -420,6 +420,7 @@
     (define-key map [ down-mouse-2 ] 'cpp-push-button)
     (define-key map [ mouse-2 ] 'ignore)
     (define-key map " " 'scroll-up-command)
+    (define-key map [?\S-\ ] 'scroll-down-command)
     (define-key map "\C-?" 'scroll-down-command)
     (define-key map [ delete ] 'scroll-down)
     (define-key map "\C-c\C-c" 'cpp-edit-apply)

=== modified file 'lisp/progmodes/grep.el'
--- a/lisp/progmodes/grep.el    2013-02-02 00:35:38 +0000
+++ b/lisp/progmodes/grep.el    2013-02-12 04:46:18 +0000
@@ -246,6 +246,7 @@
   (let ((map (make-sparse-keymap)))
     (set-keymap-parent map compilation-minor-mode-map)
     (define-key map " " 'scroll-up-command)
+    (define-key map [?\S-\ ] 'scroll-down-command)
     (define-key map "\^?" 'scroll-down-command)
     (define-key map "\C-c\C-f" 'next-error-follow-minor-mode)
 

=== modified file 'lisp/progmodes/idlw-help.el'
--- a/lisp/progmodes/idlw-help.el       2013-01-01 09:11:05 +0000
+++ b/lisp/progmodes/idlw-help.el       2013-02-12 04:46:18 +0000
@@ -227,6 +227,7 @@
                              (interactive "p")
                              (scroll-up arg)))
     (define-key map " " 'scroll-up-command)
+    (define-key map [?\S-\ ] 'scroll-down-command)
     (define-key map [delete] 'scroll-down-command)
     (define-key map "h" 'idlwave-help-find-header)
     (define-key map "H" 'idlwave-help-find-first-header)

=== modified file 'lisp/simple.el'
--- a/lisp/simple.el    2013-02-08 15:53:49 +0000
+++ b/lisp/simple.el    2013-02-12 04:46:18 +0000
@@ -358,6 +358,7 @@
     (suppress-keymap map)
     (define-key map "q" 'quit-window)
     (define-key map " " 'scroll-up-command)
+    (define-key map [?\S-\ ] 'scroll-down-command)
     (define-key map "\C-?" 'scroll-down-command)
     (define-key map "?" 'describe-mode)
     (define-key map "h" 'describe-mode)

=== modified file 'lisp/startup.el'
--- a/lisp/startup.el   2013-02-06 02:03:35 +0000
+++ b/lisp/startup.el   2013-02-12 04:46:18 +0000
@@ -1466,6 +1466,7 @@
     (suppress-keymap map)
     (set-keymap-parent map button-buffer-map)
     (define-key map "\C-?" 'scroll-down-command)
+    (define-key map [?\S-\ ] 'scroll-down-command)
     (define-key map " " 'scroll-up-command)
     (define-key map "q" 'exit-splash-screen)
     map)

=== modified file 'lisp/view.el'
--- a/lisp/view.el      2013-01-04 02:53:48 +0000
+++ b/lisp/view.el      2013-02-12 04:46:18 +0000
@@ -199,6 +199,7 @@
     (define-key map "\C-?" 'View-scroll-page-backward)
     ;; (define-key map "f" 'View-scroll-page-forward)
     (define-key map " " 'View-scroll-page-forward)
+    (define-key map [?\S-\ ]  'View-scroll-page-backward)
     (define-key map "o" 'View-scroll-to-buffer-end)
     (define-key map ">" 'end-of-buffer)
     (define-key map "<" 'beginning-of-buffer)
@@ -407,8 +408,8 @@
 \\[View-scroll-to-buffer-end]  scroll so that buffer end is at last line of 
window.
 SPC    scroll forward \"page size\" lines.
          With prefix scroll forward prefix lines.
-DEL    scroll backward \"page size\" lines.
-         With prefix scroll backward prefix lines.
+DEL, S-SPC  scroll backward \"page size\" lines.
+             With prefix scroll backward prefix lines.
 \\[View-scroll-page-forward-set-page-size]     like  
\\[View-scroll-page-forward]  but with prefix sets \"page size\" to prefix.
 \\[View-scroll-page-backward-set-page-size]    like  
\\[View-scroll-page-backward]  but with prefix sets \"page size\" to prefix.
 \\[View-scroll-half-page-forward]      scroll forward \"half page size\" 
lines.  With prefix, sets


reply via email to

[Prev in Thread] Current Thread [Next in Thread]