From: Karl Fogel <kfogel@red-bean.com>
To: Juri Linkov <juri@jurta.org>
Cc: 15329@debbugs.gnu.org, emacs-devel@gnu.org
Subject: bug#15329: saveplace restores dired positions to random places
Date: Thu, 03 Oct 2013 16:37:09 -0500 [thread overview]
Message-ID: <87hacy829m.fsf__20349.6143375107$1380836306$gmane$org@floss.red-bean.com> (raw)
In-Reply-To: <87d2odvk36.fsf@mail.jurta.org> (Juri Linkov's message of "Thu, 12 Sep 2013 23:52:29 +0300")
Juri Linkov <juri@jurta.org> writes:
>> 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').
Yes; since both saveplace and bookmark are in the standard Emacs dist,
it's fine for them to share code, and would improve maintainability.
I'm not sure when I'll get a chance to work on this, though. The
original bug here is about saving/restoring position in dired buffers.
While the current rather random behavior in dired is obviously a bug,
and fixing it would be a Good Thing, I'm not sure it rises to the level
where I drop other things to work on it :-). However, if someone were
to write a patch (along the lines described in this bug report), I'd
certainly commit to reviewing it.
Best,
-Karl
next prev parent reply other threads:[~2013-10-03 21:37 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.247.1379001674.12311.emacs-devel@gnu.org>
[not found] ` <87mwnj1414.fsf@mail.jurta.org>
2013-09-12 16:12 ` bug#15329: saveplace restores dired positions to random places Karl Fogel
[not found] ` <8761u6ow6t.fsf@kwarm.red-bean.com>
2013-09-12 19:13 ` Stefan Monnier
2013-09-12 20:52 ` Juri Linkov
[not found] ` <87d2odvk36.fsf@mail.jurta.org>
2013-10-03 21:37 ` Karl Fogel [this message]
[not found] ` <87hacy829m.fsf@floss.red-bean.com>
2013-12-15 20:20 ` Juri Linkov
2013-12-15 21:43 ` Drew Adams
2013-12-16 20:58 ` Juri Linkov
2013-12-16 21:15 ` Drew Adams
2013-12-20 20:20 ` Juri Linkov
2013-12-21 2:09 ` Karl Fogel
2013-09-10 20:45 Juri Linkov
2013-09-11 20:45 ` Juri Linkov
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='87hacy829m.fsf__20349.6143375107$1380836306$gmane$org@floss.red-bean.com' \
--to=kfogel@red-bean.com \
--cc=15329@debbugs.gnu.org \
--cc=emacs-devel@gnu.org \
--cc=juri@jurta.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).