From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivanov Dmitry Newsgroups: gmane.emacs.help Subject: How to open dired bookmarks in the same window Date: Sun, 28 Oct 2012 13:25:49 +0400 Message-ID: <406504998.20121028132549@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1351416341 12399 80.91.229.3 (28 Oct 2012 09:25:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Oct 2012 09:25:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 28 10:25:48 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TSP7r-0001bI-2L for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Oct 2012 10:25:47 +0100 Original-Received: from localhost ([::1]:60952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSP7i-00047h-W7 for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Oct 2012 05:25:38 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSP7d-00047b-Ff for help-gnu-emacs@gnu.org; Sun, 28 Oct 2012 05:25:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TSP7c-00064A-7s for help-gnu-emacs@gnu.org; Sun, 28 Oct 2012 05:25:33 -0400 Original-Received: from mail-la0-f41.google.com ([209.85.215.41]:57942) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSP7c-00063z-0E for help-gnu-emacs@gnu.org; Sun, 28 Oct 2012 05:25:32 -0400 Original-Received: by mail-la0-f41.google.com with SMTP id p5so3709787lag.0 for ; Sun, 28 Oct 2012 02:25:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:x-mailer:x-priority:message-id:to:subject:mime-version :content-type:content-transfer-encoding; bh=4kqkYKD6R5vpJJim9b2flhaVcFjrLKoP3/b8Jwn+f8o=; b=r/1Bj2P4smt3cprk/938r6hfUaoeGzEpo4xUVGVp2L2mnFPI5TWpIRhLtiQINmB4LL C3kLE80E7sEBwwNjpmPFhofxHNW9DB4uLGPBTwWSUpx2lIjyfFJoMtT0PJCH5ajb7o2A jvOOVmyTt5J1GXn/sxGleEGFmST052E1alw5paRRwGBLTKm3bEfWWNey2ltN5IVpwb/Z rxmhcW/XWqjF8VRpb03cvvSFRp5g37V/PCQv71oSqPD0mfweKpXPUSaKVfMu3MY3Mi+p SvtwFdz1WXkGiHTK4Dt5iyp6pdom8WP8jCdhU+FJCFuxUBzasFMo2R6Gg3x3J+F1QhJg mGRw== Original-Received: by 10.152.135.139 with SMTP id ps11mr24399479lab.29.1351416330563; Sun, 28 Oct 2012 02:25:30 -0700 (PDT) Original-Received: from ORGANIZA-R2ODEV (ppp95-165-9-140.pppoe.spdop.ru. [95.165.9.140]) by mx.google.com with ESMTPS id sy1sm1908872lab.16.2012.10.28.02.25.29 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 28 Oct 2012 02:25:29 -0700 (PDT) X-Mailer: The Bat! (v3.98.4) Professional X-Priority: 3 (Normal) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.215.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87457 Archived-At: 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?