unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2145: 23.0.90; S-SPC should scroll up in view-only buffers
@ 2009-02-02  1:19 Rudi Schlatte
  2013-02-12  4:48 ` Glenn Morris
  0 siblings, 1 reply; 5+ messages in thread
From: Rudi Schlatte @ 2009-02-02  1:19 UTC (permalink / raw)
  To: emacs-pretest-bug

(This should be filed as "wishlist")

Summary:

S-SPC should scroll up in view-only buffers, such as info, gnus
messages and buffers in view-mode; currently it scrolls down.

Rationale:

Most other programs that display more than a screenful of information
(Firefox, various mail clients, the evince pdf viewer, ...) use SPC to
scroll down and S-SPC (Shift-Space) to scroll up.  Emacs uses SPC (and
S-SPC) to scroll down and <backspace> to scroll up.  Additionally, in
some programs, Backspace is bound to some deleting action (in my email
reader, it moves the current message to Trash).  Paging up and down
through stuff thus requires me to be careful about which program I'm
in; I've accidentally deleted emails after reading too much stuff in
emacs.

Workarounds:

Putting the appropriate define-key forms, e.g.

(define-key view-mode-map (kbd "S-SPC") 'View-scroll-page-backward)
(define-key Info-mode-map (kbd "S-SPC") 'Info-scroll-down)

in the user's init file.






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#2145: 23.0.90; S-SPC should scroll up in view-only buffers
  2009-02-02  1:19 bug#2145: 23.0.90; S-SPC should scroll up in view-only buffers Rudi Schlatte
@ 2013-02-12  4:48 ` Glenn Morris
  2013-02-12 17:42   ` Juri Linkov
  0 siblings, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2013-02-12  4:48 UTC (permalink / raw)
  To: 2145-done

Version: 24.4

Rudi Schlatte wrote:

> S-SPC should scroll up in view-only buffers, such as info, gnus
> messages and buffers in view-mode; currently it scrolls down.

Sorry for the huge delay. This seemed like a good idea to me, so I did
it in whichever relevant keymaps I could find.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#2145: 23.0.90; S-SPC should scroll up in view-only buffers
  2013-02-12  4:48 ` Glenn Morris
@ 2013-02-12 17:42   ` Juri Linkov
  2013-02-12 18:54     ` Glenn Morris
  0 siblings, 1 reply; 5+ messages in thread
From: Juri Linkov @ 2013-02-12 17:42 UTC (permalink / raw)
  To: 2145; +Cc: rudi

>> S-SPC should scroll up in view-only buffers, such as info,
>> gnus messages and buffers in view-mode; currently it scrolls down.
>
> Sorry for the huge delay. This seemed like a good idea to me, so I did
> it in whichever relevant keymaps I could find.

To do the same for gnus messages is possible with:

(define-key gnus-summary-mode-map [?\S-\ ] 'gnus-summary-prev-page)
(define-key gnus-article-mode-map [?\S-\ ] 'gnus-article-goto-prev-page)

And this is also useful for images:

(define-key image-mode-map [?\S-\ ] 'image-scroll-down)
(define-key doc-view-mode-map [?\S-\ ] 'doc-view-scroll-down-or-previous-page)





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#2145: 23.0.90; S-SPC should scroll up in view-only buffers
  2013-02-12 17:42   ` Juri Linkov
@ 2013-02-12 18:54     ` Glenn Morris
  2013-02-13  8:29       ` Juri Linkov
  0 siblings, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2013-02-12 18:54 UTC (permalink / raw)
  To: Juri Linkov; +Cc: 2145, rudi

Juri Linkov wrote:

> To do the same for gnus messages is possible with:
>
> (define-key gnus-summary-mode-map [?\S-\ ] 'gnus-summary-prev-page)
> (define-key gnus-article-mode-map [?\S-\ ] 'gnus-article-goto-prev-page)
>
> And this is also useful for images:
>
> (define-key image-mode-map [?\S-\ ] 'image-scroll-down)
> (define-key doc-view-mode-map [?\S-\ ] 'doc-view-scroll-down-or-previous-page)

Please add them then.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#2145: 23.0.90; S-SPC should scroll up in view-only buffers
  2013-02-12 18:54     ` Glenn Morris
@ 2013-02-13  8:29       ` Juri Linkov
  0 siblings, 0 replies; 5+ messages in thread
From: Juri Linkov @ 2013-02-13  8:29 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 2145, rudi

>> To do the same for gnus messages is possible with:
>>
>> (define-key gnus-summary-mode-map [?\S-\ ] 'gnus-summary-prev-page)
>> (define-key gnus-article-mode-map [?\S-\ ] 'gnus-article-goto-prev-page)
>>
>> And this is also useful for images:
>>
>> (define-key image-mode-map [?\S-\ ] 'image-scroll-down)
>> (define-key doc-view-mode-map [?\S-\ ] 'doc-view-scroll-down-or-previous-page)
>
> Please add them then.

Added with `ediff-previous-difference' as well.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-02-13  8:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-02  1:19 bug#2145: 23.0.90; S-SPC should scroll up in view-only buffers Rudi Schlatte
2013-02-12  4:48 ` Glenn Morris
2013-02-12 17:42   ` Juri Linkov
2013-02-12 18:54     ` Glenn Morris
2013-02-13  8:29       ` Juri Linkov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).