From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.help Subject: Re: make `bookmark-jump' use ido? Date: Mon, 08 May 2006 07:57:42 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1147070425 19059 80.91.229.2 (8 May 2006 06:40:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 May 2006 06:40:25 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 08 08:40:24 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FczPp-0005x0-V0 for geh-help-gnu-emacs@m.gmane.org; Mon, 08 May 2006 08:40:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FczPp-0006cQ-Gr for geh-help-gnu-emacs@m.gmane.org; Mon, 08 May 2006 02:40:21 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!news2.volia.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-X-Trace: individual.net 6fZ0+zJPmnIrNSEUEMGmfQ4f0vjNR+PSIqfYMHjtcCVQb6/IIa User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:I7/CvP3L+XIXWcmiYA1bg0iP1I4= Original-Xref: shelby.stanford.edu gnu.emacs.help:139274 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:34898 Archived-At: William Xu writes: > i noticed that (ido-everywhere 1) has no effect on `bookmark-jump'. Is > there any easy way(without modifying `bookmark-jump' directly) to make > `bookmark-jump' use ido? I use this: (defun my-switch-to-bookmark (bname) "Interactively switch to bookmark as `iswitchb' does." (interactive (list (flet ((iswitchb-make-buflist (default) (require 'bookmark) (setq iswitchb-buflist (bookmark-all-names)))) (iswitchb-read-buffer "Jump to bookmark: ")))) (bookmark-jump bname)) I have bound C-x r b to this: (global-set-key "\C-xrb" 'my-switch-to-bookmark) It uses `iswitchb' instead of ido but it is probably close enough for you.