From: Xue Fuqiao <xfq.free@gmail.com>
To: 15466@debbugs.gnu.org
Subject: bug#15466: 24.3.50; [PATCH] Add some keybindings for doc-view-mode
Date: Thu, 26 Sep 2013 22:14:54 +0800 [thread overview]
Message-ID: <CAAF+z6HEE2qtUV0STzvAm=rWJw=nx6UeBeXywXmXZQ==Qj=j9g@mail.gmail.com> (raw)
severity minor
tags patch
This patch adds some keybindings to doc-view-mode:
=== modified file 'lisp/doc-view.el'
*** lisp/doc-view.el 2013-09-18 04:38:49 +0000
--- lisp/doc-view.el 2013-09-26 14:10:57 +0000
***************
*** 405,411 ****
--- 405,415 ----
(define-key map (kbd "RET") 'image-next-line)
;; Zoom in/out.
(define-key map "+" 'doc-view-enlarge)
+ (define-key map "=" 'doc-view-enlarge)
+ (define-key map (kbd "C-x C-+") 'doc-view-enlarge)
+ (define-key map (kbd "C-x C-=") 'doc-view-enlarge)
(define-key map "-" 'doc-view-shrink)
+ (define-key map (kbd "C-x C--") 'doc-view-shrink)
;; Fit the image to the window
(define-key map "W" 'doc-view-fit-width-to-window)
(define-key map "H" 'doc-view-fit-height-to-window)
--
Best regards, Xue Fuqiao.
http://www.gnu.org/software/emacs/
next reply other threads:[~2013-09-26 14:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-26 14:14 Xue Fuqiao [this message]
2013-09-26 18:05 ` bug#15466: 24.3.50; [PATCH] Add some keybindings for doc-view-mode Stefan Monnier
2013-09-26 18:38 ` Tassilo Horn
2013-09-26 19:08 ` Tassilo Horn
2013-09-27 6:50 ` Tassilo Horn
2013-09-27 13:04 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAAF+z6HEE2qtUV0STzvAm=rWJw=nx6UeBeXywXmXZQ==Qj=j9g@mail.gmail.com' \
--to=xfq.free@gmail.com \
--cc=15466@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).