all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Would someone please install doc-view.el?
@ 2007-09-07 11:04 Tassilo Horn
  2007-09-07 12:32 ` Johannes Weiner
  0 siblings, 1 reply; 4+ messages in thread
From: Tassilo Horn @ 2007-09-07 11:04 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1553 bytes --]

Hi,

would someone please install doc-view.el (attached to this mail)?

Here are some ChangeLog and NEWS entries.

--8<---------------cut here---------------start------------->8---
Index: lisp/ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/lisp/ChangeLog,v
retrieving revision 1.11701
diff -u -r1.11701 ChangeLog
--- lisp/ChangeLog	7 Sep 2007 09:35:49 -0000	1.11701
+++ lisp/ChangeLog	7 Sep 2007 11:03:22 -0000
@@ -1,3 +1,8 @@
+2007-09-07  Tassilo Horn  <tassilo@member.fsf.org>
+
+	* doc-view.el: New file.  View PDF, PostScript and DVI files in an
+	Emacs buffer.
+
 2007-09-07  Thien-Thi Nguyen  <ttn@gnuvola.org>
 
 	* progmodes/autoconf.el (autoconf-definition-regexp):
Index: etc/NEWS
===================================================================
RCS file: /sources/emacs/emacs/etc/NEWS,v
retrieving revision 1.1554
diff -u -r1.1554 NEWS
--- etc/NEWS	7 Sep 2007 04:00:48 -0000	1.1554
+++ etc/NEWS	7 Sep 2007 11:03:23 -0000
@@ -112,6 +112,11 @@
 \f
 * New Modes and Packages in Emacs 23.1
 
+** The package doc-view.el has been added.  It supports viewing of PDF,
+PostScript and DVI documents inside an Emacs buffer by converting the document
+to a set of PNG images first.  One can also search for a regular expression in
+the document.  The commentary of the file explains its usage.
+
 ** A new game called `bubble' has been added
 
 ** minibuffer-indicate-depth-mode shows the minibuffer depth in the prompt.
--8<---------------cut here---------------end--------------->8---


[-- Attachment #2: doc-view.el --]
[-- Type: application/emacs-lisp, Size: 28291 bytes --]

[-- Attachment #3: Type: text/plain, Size: 23 bytes --]


Thanks a lot,
Tassilo

[-- Attachment #4: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

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

* Re: Would someone please install doc-view.el?
  2007-09-07 11:04 Would someone please install doc-view.el? Tassilo Horn
@ 2007-09-07 12:32 ` Johannes Weiner
  2007-09-07 13:30   ` Tassilo Horn
  0 siblings, 1 reply; 4+ messages in thread
From: Johannes Weiner @ 2007-09-07 12:32 UTC (permalink / raw)
  To: emacs-devel


[-- Attachment #1.1: Type: text/plain, Size: 589 bytes --]

Hi Tassilo,

On Fri, Sep 07, 2007 at 01:04:59PM +0200, Tassilo Horn wrote:
> would someone please install doc-view.el (attached to this mail)?

Thanks for your work!

However, I want to ask you if it is possible to change the bindings of
doc-view-next-page and doc-view-previous-page.  They are somehow exchanged
with scroll-up and scroll-down, at least I tried the keys the other way round
intuitively.

What do you think of

C-v for scroll-down-or-next-page
M-v for scroll-up-or-previous-page

C-n for next-line (bound by default)
C-p for previous-line (bound by default)

...?

	Hannes

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

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

* Re: Would someone please install doc-view.el?
  2007-09-07 12:32 ` Johannes Weiner
@ 2007-09-07 13:30   ` Tassilo Horn
  2007-09-07 13:42     ` Johannes Weiner
  0 siblings, 1 reply; 4+ messages in thread
From: Tassilo Horn @ 2007-09-07 13:30 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 904 bytes --]

Johannes Weiner <hannes@saeurebad.de> writes:

Hi Johannes,

> However, I want to ask you if it is possible to change the bindings of
> doc-view-next-page and doc-view-previous-page.  They are somehow
> exchanged with scroll-up and scroll-down, at least I tried the keys
> the other way round intuitively.

Why?  C-v/M-v is scroll-up/scroll-down almost everywhere in emacs, so I
think it's the right thing to bind them in doc-view.el accordingly.

> What do you think of
>
> C-v for scroll-down-or-next-page
> M-v for scroll-up-or-previous-page

These functions don't exist, you probably mean
`doc-view-scroll-up-or-next-page' and
`doc-view-scroll-down-or-previous-page'.  These are bound to SPC and DEL
because that's the same binding other pdf viewers like xpdf use.

> C-n for next-line (bound by default)
> C-p for previous-line (bound by default)

Ok, for those I agree.

Here's a changed version.


[-- Attachment #2: doc-view.el with adapted key bindings --]
[-- Type: application/emacs-lisp, Size: 28196 bytes --]

[-- Attachment #3: Type: text/plain, Size: 14 bytes --]


Bye,
Tassilo

[-- Attachment #4: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

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

* Re: Would someone please install doc-view.el?
  2007-09-07 13:30   ` Tassilo Horn
@ 2007-09-07 13:42     ` Johannes Weiner
  0 siblings, 0 replies; 4+ messages in thread
From: Johannes Weiner @ 2007-09-07 13:42 UTC (permalink / raw)
  To: emacs-devel


[-- Attachment #1.1: Type: text/plain, Size: 1107 bytes --]

Hi Tassilo,

On Fri, Sep 07, 2007 at 03:30:44PM +0200, Tassilo Horn wrote:
> > However, I want to ask you if it is possible to change the bindings of
> > doc-view-next-page and doc-view-previous-page.  They are somehow
> > exchanged with scroll-up and scroll-down, at least I tried the keys
> > the other way round intuitively.
> 
> Why?  C-v/M-v is scroll-up/scroll-down almost everywhere in emacs, so I
> think it's the right thing to bind them in doc-view.el accordingly.

Whoops, missed that. Yes, you are right.

> > What do you think of
> >
> > C-v for scroll-down-or-next-page
> > M-v for scroll-up-or-previous-page
> 
> These functions don't exist, you probably mean
> `doc-view-scroll-up-or-next-page' and
> `doc-view-scroll-down-or-previous-page'.  These are bound to SPC and DEL
> because that's the same binding other pdf viewers like xpdf use.

Typo/thinko, again. Sorry.

> > C-n for next-line (bound by default)
> > C-p for previous-line (bound by default)
> 
> Ok, for those I agree.

These are the ones I focussed most upon. Good. :)

Thank you!

	Hannes

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

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

end of thread, other threads:[~2007-09-07 13:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-07 11:04 Would someone please install doc-view.el? Tassilo Horn
2007-09-07 12:32 ` Johannes Weiner
2007-09-07 13:30   ` Tassilo Horn
2007-09-07 13:42     ` Johannes Weiner

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.