aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorChong Yidong2011-02-13 15:04:33 -0500
committerChong Yidong2011-02-13 15:04:33 -0500
commitd4eb88c7ab151a7cb7188c3ba03eb326ec1fa6f2 (patch)
treef685934b7cf5ba0906ab5de0c5692185c07013b1 /etc
parente430810c897eb9e9594eccde36bf1f015b9ecb26 (diff)
downloademacs-d4eb88c7ab151a7cb7188c3ba03eb326ec1fa6f2.tar.gz
emacs-d4eb88c7ab151a7cb7188c3ba03eb326ec1fa6f2.zip
Bind RET in Log View mode to a command that toggles a more detailed display.
* lisp/vc/log-view.el: New command log-view-toggle-entry-display for toggling log entries between concise and detailed forms. (log-view-toggle-entry-display): New command. (log-view-mode-map): Bind RET to it. (log-view-expanded-log-entry-function): New variable. (log-view-current-entry, log-view-inside-comment-p) (log-view-current-tag): New functions. (log-view-toggle-mark-entry): Use log-view-current-entry and log-view-end-of-defun instead of searching directly with log-view-message-re. (log-view-end-of-defun): Likewise. Add optional ARG for compatibility with end-of-defun. (log-view-end-of-defun): Ignore comments and VC buttons. * lisp/vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function. (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS10
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 1a030d5972a..c8bfffcd789 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -608,6 +608,16 @@ the user for specifics, e.g. a merge source.
608 608
609**** Currently supported by Bzr, Git, and Mercurial. 609**** Currently supported by Bzr, Git, and Mercurial.
610 610
611*** Log entries in some Log View buffers can be toggled to display a
612longer description by typing RET (log-view-toggle-entry-display).
613In the Log View buffers made by `C-x v L' (vc-print-root-log), you can
614use this to display the full log entry for the revision at point.
615
616**** Currently supported by Bzr.
617
618**** Packages using Log View mode can enable this functionality by
619binding `log-view-expanded-log-entry-function' to a suitable function.
620
611** Miscellaneous 621** Miscellaneous
612 622
613--- 623---