unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Ivanov Dmitry <usr345@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: How to open dired bookmarks in the same window
Date: Sun, 28 Oct 2012 13:25:49 +0400	[thread overview]
Message-ID: <406504998.20121028132549@gmail.com> (raw)

I asked a question, that nobody knows the answer:

http://stackoverflow.com/questions/13090190/emacs-how-to-open-dired-bookmarks-in-the-same-window

After inspecting the code of bookmark.el I came to conclusion, that every bookmark has a handler function, that is taken in bookmark-get-handler. I think, that I need to attach find-alternate-file function as a handler to every bookmark-directory. So it will be opened in the same buffer.

But I don't know, how to do it. Any ideas?




             reply	other threads:[~2012-10-28  9:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-28  9:25 Ivanov Dmitry [this message]
2012-10-28 14:52 ` How to open dired bookmarks in the same window Drew Adams
2012-10-28 16:10   ` Re[2]: " Ivanov Dmitry
2012-10-28 17:19     ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=406504998.20121028132549@gmail.com \
    --to=usr345@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).