unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Roland Winkler" <winkler@gnu.org>
To: dalanicolai <dalanicolai@gmail.com>
Cc: Lars Ingebrigtsen <larsi@gnus.org>, 42824@debbugs.gnu.org
Subject: bug#42824: 26.3; Feature request: implement 'smooth scroll' in djvu.el package
Date: Fri, 6 Nov 2020 12:51:54 -0600	[thread overview]
Message-ID: <39754.26909.124027.24485@gargle.gargle.HOWL> (raw)
In-Reply-To: <CACJP=3kXs4OKUVa7UMn_vuqQBg=_XgUKYJjCFptB=PAQu4fddg@mail.gmail.com>

On Thu Oct 29 2020 dalanicolai wrote:
> Well, it is just more or less the function
> `doc-view-next-line-or-next-page` (i.e. `C-n`) slightly adapted to
> djvu-mode, because djvu-mode works slightly differently.  It is
> meant for `djvu-image-mode-only` but I have simply bound it in the
> `djvu-read-mode-map` and it seems to handle things fine.  It is
> just a small addition that slightly improves the scrolling
> experience (i.e. it becomes like that in doc-view).

Update:

I have been looking into doc-view.  It offers more complete and more
consistent support for scrolling and I am trying to find out how
this can possibly be ported to djvu.el.

On the other hand, I am also wondering whether it could make sense
to add a backend for djvu files to doc-view.  Probably this depends
on what users want to do.  I started djvu.el for editing djvu
documents which is often very different from viewing such files.

> While I am here anyway, I have also created some code to implement
> `djvu-occur` similar to `pdf-occur` (but synchronous instead of
> async) which works fine for most djvu documents.

Did I see correctly that this code relies on `convert' from
imagemagic for updating the images?

I need some more time to understand better what the code is doing.





  parent reply	other threads:[~2020-11-06 18:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-12  8:38 bug#42824: 26.3; Feature request: implement 'smooth scroll' in djvu.el package dalanicolai
2020-10-26 21:42 ` Lars Ingebrigtsen
2020-10-27  1:32   ` dalanicolai
2020-10-28 19:45     ` Roland Winkler
2020-10-29 14:53       ` dalanicolai
2020-10-29 14:54         ` dalanicolai
2020-11-06 18:51         ` Roland Winkler [this message]
2020-11-07 19:16           ` dalanicolai
2020-11-15 21:18             ` Roland Winkler
2020-11-16 13:08               ` dalanicolai
2020-11-16 16:50                 ` Roland Winkler

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=39754.26909.124027.24485@gargle.gargle.HOWL \
    --to=winkler@gnu.org \
    --cc=42824@debbugs.gnu.org \
    --cc=dalanicolai@gmail.com \
    --cc=larsi@gnus.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).