From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#15329: saveplace restores dired positions to random places Date: Thu, 12 Sep 2013 23:52:29 +0300 Organization: JURTA Message-ID: <87d2odvk36.fsf__37036.6249619567$1379019273$gmane$org@mail.jurta.org> References: <87mwnj1414.fsf@mail.jurta.org> <8761u6ow6t.fsf@kwarm.red-bean.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1379019264 27255 80.91.229.3 (12 Sep 2013 20:54:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Sep 2013 20:54:24 +0000 (UTC) Cc: 15329@debbugs.gnu.org, emacs-devel@gnu.org To: Karl Fogel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 12 22:54:22 2013 Return-path: Envelope-to: geb-bug-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 1VKDuA-00039n-2a for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Sep 2013 22:54:22 +0200 Original-Received: from localhost ([::1]:43801 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKDu9-0000z8-H7 for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Sep 2013 16:54:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKDtx-0000iz-Uq for bug-gnu-emacs@gnu.org; Thu, 12 Sep 2013 16:54:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VKDtr-0005rV-H9 for bug-gnu-emacs@gnu.org; Thu, 12 Sep 2013 16:54:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKDtr-0005r8-AL for bug-gnu-emacs@gnu.org; Thu, 12 Sep 2013 16:54:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VKDtq-0004WV-KO for bug-gnu-emacs@gnu.org; Thu, 12 Sep 2013 16:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Sep 2013 20:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15329 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 15329-submit@debbugs.gnu.org id=B15329.137901921917354 (code B ref 15329); Thu, 12 Sep 2013 20:54:02 +0000 Original-Received: (at 15329) by debbugs.gnu.org; 12 Sep 2013 20:53:39 +0000 Original-Received: from localhost ([127.0.0.1]:59729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VKDtT-0004Vp-1i for submit@debbugs.gnu.org; Thu, 12 Sep 2013 16:53:39 -0400 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:44005 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VKDtR-0004Vf-4E for 15329@debbugs.gnu.org; Thu, 12 Sep 2013 16:53:37 -0400 Original-Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 18A9D258B9E935; Thu, 12 Sep 2013 13:53:34 -0700 (PDT) In-Reply-To: <8761u6ow6t.fsf@kwarm.red-bean.com> (Karl Fogel's message of "Thu, 12 Sep 2013 11:12:58 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:78307 Archived-At: > The modern format would have a more extensible structure, similarly to how > bookmark.el does it. Say, a sublist whose first element is the type of > the record, and the rest of which is the data for that record. Do you think it would be possible to use the existing infrastructure of bookmark.el, so for instance, to save a place in an Info manual, saveplace.el could call `Info-bookmark-make-record' and to restore it with `Info-bookmark-jump'. This would be better than adding a third hook for saveplace (the second existing hook is desktop-specific like `Info-desktop-buffer-misc-data' and `Info-restore-desktop-buffer').