From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Juri Linkov <juri@jurta.org>
Cc: 5118@emacsbugs.donarmstrong.com,
Tassilo Horn <tassilo@member.fsf.org>,
Kevin Rodgers <kevin.d.rodgers@gmail.com>
Subject: bug#5118: DocView: copy/search text
Date: Sat, 05 Dec 2009 16:12:42 -0500 [thread overview]
Message-ID: <jwvpr6tm8jw.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <87pr6te9tt.fsf@mail.jurta.org> (Juri Linkov's message of "Sat, 05 Dec 2009 21:47:50 +0200")
>>> Please add two features that would be easy to implement:
>>> 1. Copying the text of the current page to the kill ring.
>> I don't know anything about DocView, but shouldn't that be possible
>> in any major mode via C-x C-p (mark-page) then M-w (kill-ring-save)?
> `C-x C-p' and `M-w' will copy binary data, whereas `pdftotext' converts
> it to plain text in a hidden buffer that can be displayed with `C-c C-t'
> where you can do `C-x C-p' and `M-w'. But the problem is that it's
> difficult to find the current page in the text representation to be able
> to copy it.
doc-view-search-internal seems to just count ^Ls, so assuming
doc-view-search-internal works (which it appears to do), it shouldn't be
that hard.
Stefan
next prev parent reply other threads:[~2009-12-05 21:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-04 0:03 bug#5118: DocView: copy/search text Juri Linkov
2009-12-05 8:59 ` Kevin Rodgers
2009-12-05 19:47 ` Juri Linkov
2009-12-05 21:12 ` Stefan Monnier [this message]
2009-12-05 23:21 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvpr6tm8jw.fsf-monnier+emacsbugreports@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=5118@emacsbugs.donarmstrong.com \
--cc=juri@jurta.org \
--cc=kevin.d.rodgers@gmail.com \
--cc=tassilo@member.fsf.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.