* Bookmarks in non-file buffers?
@ 2008-04-01 12:57 Dmitri Minaev
2008-04-01 14:03 ` Drew Adams
2008-04-01 18:36 ` Peter Dyballa
0 siblings, 2 replies; 7+ messages in thread
From: Dmitri Minaev @ 2008-04-01 12:57 UTC (permalink / raw)
To: EMACS list
Is there a way to save the current position (by placing a bookmark or
in any other way) in a buffer that is not associated with a file?
Namely, I'm interested in w3m buffers, pdftotext output and text files
extracted from zip archives in zip-archive mode. Of course, besides
the text position (line number) such bookmarks should contain the
information on how the text was produced.
--
With best regards,
Dmitri Minaev
Russian history blog: http://minaev.blogspot.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: Bookmarks in non-file buffers?
2008-04-01 12:57 Bookmarks in non-file buffers? Dmitri Minaev
@ 2008-04-01 14:03 ` Drew Adams
2008-04-01 18:36 ` Peter Dyballa
1 sibling, 0 replies; 7+ messages in thread
From: Drew Adams @ 2008-04-01 14:03 UTC (permalink / raw)
To: 'Dmitri Minaev', 'EMACS list'
> Is there a way to save the current position (by placing a bookmark or
> in any other way) in a buffer that is not associated with a file?
> Namely, I'm interested in w3m buffers, pdftotext output and text files
> extracted from zip archives in zip-archive mode. Of course, besides
> the text position (line number) such bookmarks should contain the
> information on how the text was produced.
http://www.emacswiki.org/cgi-bin/wiki/Icicles_-_Multiple_Regions should help,
but no info is saved about "how the text was produced".
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Bookmarks in non-file buffers?
2008-04-01 12:57 Bookmarks in non-file buffers? Dmitri Minaev
2008-04-01 14:03 ` Drew Adams
@ 2008-04-01 18:36 ` Peter Dyballa
2008-04-02 10:33 ` Dmitri Minaev
1 sibling, 1 reply; 7+ messages in thread
From: Peter Dyballa @ 2008-04-01 18:36 UTC (permalink / raw)
To: Dmitri Minaev; +Cc: EMACS list
Am 01.04.2008 um 14:57 schrieb Dmitri Minaev:
> Is there a way to save the current position
You could check session.el ...
--
Greetings
Pete
Got Mole problems?
Call Avogadro 6.02 x 10^23
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Bookmarks in non-file buffers?
2008-04-01 18:36 ` Peter Dyballa
@ 2008-04-02 10:33 ` Dmitri Minaev
2008-04-02 14:08 ` Drew Adams
0 siblings, 1 reply; 7+ messages in thread
From: Dmitri Minaev @ 2008-04-02 10:33 UTC (permalink / raw)
To: Peter Dyballa; +Cc: EMACS list
On Tue, Apr 1, 2008 at 11:36 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote:
>
> You could check session.el ...
From http://emacs-session.sourceforge.net/details.html :
"The buffer must visit a readable file." I'm afraid, this is not what I need.
Actually, what I want is to use Emacs as an ebook reader. Most of my
books are in (or, at least, can be converted into) html and pdf. A
necessary feature of any book-reading program is to save the last
location in the current file. I tried w3m-session-save for html files,
but it only saves the current url, not the point in the buffer.
As for the Icicles recommended by Drew, I had an impression from the
manual that the multiple regions don't keep the mode used to open the
file.
--
With best regards,
Dmitri Minaev
Russian history blog: http://minaev.blogspot.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: Bookmarks in non-file buffers?
2008-04-02 10:33 ` Dmitri Minaev
@ 2008-04-02 14:08 ` Drew Adams
0 siblings, 0 replies; 7+ messages in thread
From: Drew Adams @ 2008-04-02 14:08 UTC (permalink / raw)
To: 'Dmitri Minaev', 'Peter Dyballa'; +Cc: 'EMACS list'
> Actually, what I want is to use Emacs as an ebook reader. Most of my
> books are in (or, at least, can be converted into) html and pdf. A
> necessary feature of any book-reading program is to save the last
> location in the current file. I tried w3m-session-save for html files,
> but it only saves the current url, not the point in the buffer.
>
> As for the Icicles recommended by Drew, I had an impression from the
> manual that the multiple regions don't keep the mode used to open the
> file.
Then maybe the doc needs clarifying - if so, please let me know the particulars.
This feature is about saved regions (which you name/tag) - any number, from any
buffers. If you revisit the buffers later, you can revisit the regions.
Presumably, when you revisit such a buffer you revisit it in the proper mode -
that is independent of this feature; it imposes no mode.
Also, keep in mind that if the buffer content changes, then the saved regions
might be displaced, but that should not be the case for html and pdf files,
unless you modify them. This caveat is why I did not simply recommend this
feature to you - I said that it might help you. From your description so far, I
still think it might help.
^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <mailman.9776.1207054643.18990.help-gnu-emacs@gnu.org>]
end of thread, other threads:[~2008-04-02 14:08 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-01 12:57 Bookmarks in non-file buffers? Dmitri Minaev
2008-04-01 14:03 ` Drew Adams
2008-04-01 18:36 ` Peter Dyballa
2008-04-02 10:33 ` Dmitri Minaev
2008-04-02 14:08 ` Drew Adams
[not found] <mailman.9776.1207054643.18990.help-gnu-emacs@gnu.org>
2008-04-02 12:15 ` Johan Bockgård
2008-04-02 13:09 ` Dmitri Minaev
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).