unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4653: 23.1.50; ordering of bookmark-jump menu
@ 2009-10-06 14:29 Markus Rost
  0 siblings, 0 replies; 2+ messages in thread
From: Markus Rost @ 2009-10-06 14:29 UTC (permalink / raw)
  To: emacs-pretest-bug

If you call

C-x r l  (bookmark-bmenu-list)

the list of bookmarks is ordered by name.  Similarly with C-x r b RET.
That is fine.

However, if you call bookmark-jump through the menu, with

<menu-bar> <edit> <bookmark> <jump>

the shown list (in a pop up window) has the order from .emacs.bmk.
That wasn't the case with Emacs 22.





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

* bug#4653: 23.1.50; ordering of bookmark-jump menu
@ 2009-10-06 14:57 Markus Rost
  0 siblings, 0 replies; 2+ messages in thread
From: Markus Rost @ 2009-10-06 14:57 UTC (permalink / raw)
  To: 4653

Sorry, that *was* the case with Emacs 22 as well.  In my private copy
of Emacs 22 I had applied the patch below (I have added 'bookmark-jump
to the tool-bar and I use the menu very often).

A change like in the patch seems to be more consistent with the
documentation of bookmark-sort-flag:

Non-nil means that bookmarks will be displayed sorted by bookmark name.


*** lisp/bookmark.el.~1~	2008-01-07 03:45:03.000000000 +0100
--- lisp/bookmark.el	2009-01-22 02:28:54.000000000 +0100
***************
*** 460,466 ****
  the empty string."
    (bookmark-maybe-load-default-file) ; paranoia
    (if (listp last-nonmenu-event)
!       (bookmark-menu-popup-paned-menu t prompt (bookmark-all-names))
      (let* ((completion-ignore-case bookmark-completion-ignore-case)
  	   (default default)
  	   (prompt (if default
--- 460,470 ----
  the empty string."
    (bookmark-maybe-load-default-file) ; paranoia
    (if (listp last-nonmenu-event)
!       (bookmark-menu-popup-paned-menu t prompt
! 				      (if bookmark-sort-flag
! 					  (sort (bookmark-all-names)
! 						'string-lessp)
! 					(bookmark-all-names)))
      (let* ((completion-ignore-case bookmark-completion-ignore-case)
  	   (default default)
  	   (prompt (if default





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

end of thread, other threads:[~2009-10-06 14:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-06 14:57 bug#4653: 23.1.50; ordering of bookmark-jump menu Markus Rost
  -- strict thread matches above, loose matches on Subject: below --
2009-10-06 14:29 Markus Rost

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).