From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: bug#15329: saveplace restores dired positions to random places Date: Thu, 12 Sep 2013 23:52:29 +0300 Organization: JURTA Message-ID: <87d2odvk36.fsf@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 1379019237 27017 80.91.229.3 (12 Sep 2013 20:53:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Sep 2013 20:53:57 +0000 (UTC) Cc: 15329@debbugs.gnu.org, emacs-devel@gnu.org To: Karl Fogel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 12 22:53:58 2013 Return-path: Envelope-to: ged-emacs-devel@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 1VKDtj-0002it-Qm for ged-emacs-devel@m.gmane.org; Thu, 12 Sep 2013 22:53:55 +0200 Original-Received: from localhost ([::1]:43799 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKDtj-0000Fl-A4 for ged-emacs-devel@m.gmane.org; Thu, 12 Sep 2013 16:53:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKDtZ-00007d-OG for emacs-devel@gnu.org; Thu, 12 Sep 2013 16:53:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VKDtR-0005n6-Bh for emacs-devel@gnu.org; Thu, 12 Sep 2013 16:53:45 -0400 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:41035 helo=ps18281.dreamhostps.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKDtR-0005mv-5u for emacs-devel@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-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 69.163.218.105 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:163319 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').