emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r100812: [[[


From: Karl Fogel
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r100812: [[[
Date: Tue, 13 Jul 2010 18:09:20 -0400
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 100812
committer: Karl Fogel <address@hidden>
branch nick: trunk
timestamp: Tue 2010-07-13 18:09:20 -0400
message:
  [[[
  * lisp/bookmark.el (bookmark-bmenu-switch-other-window,
    bookmark-bmenu-other-window, bookmark-bmenu-2-window): Don't override
    ambient binding of `bookmark-automatically-show-annotations'.  (Bug #6515)
  ]]]
  
  === modified file 'lisp/bookmark.el'
  --- lisp/bookmark.el  2010-04-14 15:07:53 +0000
  +++ lisp/bookmark.el  2010-06-27 03:40:14 +0000
  @@ -1860,8 +1860,7 @@
           (pop-up-windows t))
       (delete-other-windows)
       (switch-to-buffer (other-buffer))
  -    (let ((bookmark-automatically-show-annotations nil)) ;FIXME: needed?
  -      (bookmark--jump-via bmrk 'pop-to-buffer))
  +    (bookmark--jump-via bmrk 'pop-to-buffer)
       (bury-buffer menu)))
   
   
  @@ -1875,8 +1874,7 @@
     "Select this line's bookmark in other window, leaving bookmark menu 
visible."
     (interactive)
     (let ((bookmark (bookmark-bmenu-bookmark)))
  -    (let ((bookmark-automatically-show-annotations t)) ;FIXME: needed?
  -      (bookmark--jump-via bookmark 'switch-to-buffer-other-window))))
  +    (bookmark--jump-via bookmark 'switch-to-buffer-other-window)))
   
   
   (defun bookmark-bmenu-switch-other-window ()
  @@ -1887,8 +1885,7 @@
           (pop-up-windows t)
           same-window-buffer-names
           same-window-regexps)
  -    (let ((bookmark-automatically-show-annotations t)) ;FIXME: needed?
  -      (bookmark--jump-via bookmark 'display-buffer))))
  +    (bookmark--jump-via bookmark 'display-buffer)))
   
   (defun bookmark-bmenu-other-window-with-mouse (event)
     "Select bookmark at the mouse pointer in other window, leaving bookmark 
menu visible."
  
  === modified file 'lisp/saveplace.el'
  --- lisp/saveplace.el 2010-01-13 08:35:10 +0000
  +++ lisp/saveplace.el 2010-02-07 23:14:52 +0000
  @@ -213,7 +213,7 @@
                         (symbol-name coding-system-for-write)))
         (let ((print-length nil)
               (print-level nil))
  -        (print save-place-alist (current-buffer)))
  +        (pp save-place-alist (current-buffer)))
         (let ((version-control
                (cond
                 ((null save-place-version-control) nil)
modified:
  lisp/ChangeLog
  lisp/bookmark.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2010-07-13 17:02:27 +0000
+++ b/lisp/ChangeLog    2010-07-13 22:09:20 +0000
@@ -1,3 +1,9 @@
+2010-07-13  Karl Fogel  <address@hidden>
+
+       * bookmark.el (bookmark-show-annotation): Ensure annotations show,
+       e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
+       Patch by Thierry Volpiatto (Bug#6444).
+
 2010-07-13  Chong Yidong  <address@hidden>
 
        * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).

=== modified file 'lisp/bookmark.el'
--- a/lisp/bookmark.el  2010-07-10 18:52:53 +0000
+++ b/lisp/bookmark.el  2010-07-13 22:09:20 +0000
@@ -1741,7 +1741,7 @@
             ;; (insert (concat "Annotation for bookmark '" bookmark "':\n\n"))
             (insert annotation)
             (goto-char (point-min))
-            (pop-to-buffer old-buf))))))
+            (switch-to-buffer-other-window old-buf))))))
 
 
 (defun bookmark-show-all-annotations ()


reply via email to

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