[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r100262: Add TeX open-block and close
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r100262: Add TeX open-block and close-block keybindings to SGML, and vice versa. |
Date: |
Thu, 13 May 2010 17:52:20 -0400 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 100262
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Thu 2010-05-13 17:52:20 -0400
message:
Add TeX open-block and close-block keybindings to SGML, and vice versa.
* textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
latex-open-block and C-c / to latex-close-block.
* textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
and C-c C-e to sgml-close-tag.
modified:
lisp/ChangeLog
lisp/textmodes/sgml-mode.el
lisp/textmodes/tex-mode.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2010-05-13 20:45:58 +0000
+++ b/lisp/ChangeLog 2010-05-13 21:52:20 +0000
@@ -1,3 +1,14 @@
+2010-05-13 Chong Yidong <address@hidden>
+
+ Add TeX open-block and close-block keybindings to SGML, and vice
+ versa.
+
+ * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
+ latex-open-block and C-c / to latex-close-block.
+
+ * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
+ and C-c C-e to sgml-close-tag.
+
2010-05-13 Michael Albinus <address@hidden>
* net/tramp.el (with-progress-reporter): Create reporter object
=== modified file 'lisp/textmodes/sgml-mode.el'
--- a/lisp/textmodes/sgml-mode.el 2010-01-21 14:03:10 +0000
+++ b/lisp/textmodes/sgml-mode.el 2010-05-13 21:52:20 +0000
@@ -101,6 +101,11 @@
(define-key map "\C-c\^?" 'sgml-delete-tag)
(define-key map "\C-c?" 'sgml-tag-help)
(define-key map "\C-c/" 'sgml-close-tag)
+
+ ;; Redundant keybindings, for consistency with TeX mode.
+ (define-key map "\C-c\C-o" 'sgml-tag)
+ (define-key map "\C-c\C-e" 'sgml-close-tag)
+
(define-key map "\C-c8" 'sgml-name-8bit-mode)
(define-key map "\C-c\C-v" 'sgml-validate)
(when sgml-quick-keys
=== modified file 'lisp/textmodes/tex-mode.el'
--- a/lisp/textmodes/tex-mode.el 2010-04-06 15:43:08 +0000
+++ b/lisp/textmodes/tex-mode.el 2010-05-13 21:52:20 +0000
@@ -808,6 +808,11 @@
(define-key map "\C-c\C-c" 'tex-compile)
(define-key map "\C-c\C-i" 'tex-bibtex-file)
(define-key map "\C-c\C-o" 'latex-insert-block)
+
+ ;; Redundant keybindings, for consistency with SGML mode.
+ (define-key map "\C-c\C-t" 'latex-insert-block)
+ (define-key map "\C-c/" 'latex-close-block)
+
(define-key map "\C-c\C-e" 'latex-close-block)
(define-key map "\C-c\C-u" 'tex-goto-last-unclosed-latex-block)
(define-key map "\C-c\C-m" 'tex-feed-input)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r100262: Add TeX open-block and close-block keybindings to SGML, and vice versa.,
Chong Yidong <=