unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#34478: DocView uses unlisted buffers nobody can get back to
@ 2019-02-14 15:13 積丹尼 Dan Jacobson
  2019-03-09 17:39 ` Tassilo Horn
  0 siblings, 1 reply; 5+ messages in thread
From: 積丹尼 Dan Jacobson @ 2019-02-14 15:13 UTC (permalink / raw)
  To: 34478

We are viewing a document in DocView,
in fact a PDF attachment to a gnus email message.

The problem is, often we wish to switch to other buffers to do other
things, and come back to DocView to finish reading --- back and forth.

But apparently the DocView designers assumed people would just read
short tweets with it, not longer PDFs.

So they use a buffer name *mm*-12345... that
1) does not appear in (C-x C-b) list-buffers.
2) does not get TAB completion when trying to type in

The result is there is no way to find the document you were just
reading, if you dared let it get off the screen by choosing some other
buffer(s).

The only way to continue reading is to go back to the gnus Article
buffer again, and hit RET on the attachment again, and scroll down again
to where you hopefully thought you were!





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#34478: DocView uses unlisted buffers nobody can get back to
  2019-02-14 15:13 bug#34478: DocView uses unlisted buffers nobody can get back to 積丹尼 Dan Jacobson
@ 2019-03-09 17:39 ` Tassilo Horn
  2019-03-09 20:31   ` Tassilo Horn
  0 siblings, 1 reply; 5+ messages in thread
From: Tassilo Horn @ 2019-03-09 17:39 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 34478

積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:

Hi Dan,

> We are viewing a document in DocView, in fact a PDF attachment to a
> gnus email message.
>
> The problem is, often we wish to switch to other buffers to do other
> things, and come back to DocView to finish reading --- back and forth.
>
> But apparently the DocView designers assumed people would just read
> short tweets with it, not longer PDFs.
>
> So they use a buffer name *mm*-12345... that

It's the name Gnus chooses, not DocView.

> 1) does not appear in (C-x C-b) list-buffers.
> 2) does not get TAB completion when trying to type in

I guess it's a hidden buffer.  Those are buffers with a leading space.
Type the space and it will be shown and completed.

> The result is there is no way to find the document you were just
> reading, if you dared let it get off the screen by choosing some other
> buffer(s).

You can either save the PDF before reading (o in Gnus), or just do M-x
rename-buffer RET.  BTW, how do you get Gnus to open PDFs with DocView
in the first place?

Attachments can have a filename and a description.  So in general I'd
assume Gnus would use one of these as buffer names.  But maybe they were
missing for that attachment you are talking about?  (I guess not every
mail client does them properly.)

Do you have a sample mail which you can forward to this bug report for
testing?

Bye,
Tassilo





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#34478: DocView uses unlisted buffers nobody can get back to
  2019-03-09 17:39 ` Tassilo Horn
@ 2019-03-09 20:31   ` Tassilo Horn
  2019-03-10  1:21     ` 積丹尼 Dan Jacobson
  0 siblings, 1 reply; 5+ messages in thread
From: Tassilo Horn @ 2019-03-09 20:31 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 34478-done

Tassilo Horn <tsdh@gnu.org> writes:

> Attachments can have a filename and a description.  So in general I'd
> assume Gnus would use one of these as buffer names.  But maybe they
> were missing for that attachment you are talking about?  (I guess not
> every mail client does them properly.)

Now Gnus names the buffer for showing the attachment according to the
attachment's filename, e.g., "*mm* Important Document.pdf".

Bye,
Tassilo





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#34478: DocView uses unlisted buffers nobody can get back to
  2019-03-09 20:31   ` Tassilo Horn
@ 2019-03-10  1:21     ` 積丹尼 Dan Jacobson
  2019-03-10  6:33       ` Tassilo Horn
  0 siblings, 1 reply; 5+ messages in thread
From: 積丹尼 Dan Jacobson @ 2019-03-10  1:21 UTC (permalink / raw)
  To: Tassilo Horn; +Cc: 34478-done

Glad you found the bug.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#34478: DocView uses unlisted buffers nobody can get back to
  2019-03-10  1:21     ` 積丹尼 Dan Jacobson
@ 2019-03-10  6:33       ` Tassilo Horn
  0 siblings, 0 replies; 5+ messages in thread
From: Tassilo Horn @ 2019-03-10  6:33 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 34478-done

On March 10, 2019 02:21:55 積丹尼 Dan Jacobson <jidanni@jidanni.org> wrote:

> Glad you found the bug.

Well, it has been this way the last twenty years so let's call it an 
enhancement rather than a bug.  :-)

Tassilo







^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-03-10  6:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-14 15:13 bug#34478: DocView uses unlisted buffers nobody can get back to 積丹尼 Dan Jacobson
2019-03-09 17:39 ` Tassilo Horn
2019-03-09 20:31   ` Tassilo Horn
2019-03-10  1:21     ` 積丹尼 Dan Jacobson
2019-03-10  6:33       ` Tassilo Horn

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).