From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: DJVU files and ImageMagick Date: Wed, 06 Feb 2019 09:45:42 +0100 Message-ID: <877eed2tl5.fsf@gmx.net> References: <87zhrdn8lf.fsf@gmx.net> <87va201e07.fsf@gnu.org> <87lg2vjw42.fsf@gmx.net> <87k1idk1xv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="94385"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Roland Winkler Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 06 10:08:01 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1grJBY-000OOV-PA for ged-emacs-devel@m.gmane.org; Wed, 06 Feb 2019 10:08:00 +0100 Original-Received: from localhost ([127.0.0.1]:47239 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grJBX-0004HX-LU for ged-emacs-devel@m.gmane.org; Wed, 06 Feb 2019 04:07:59 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39581) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grJ4n-0007k6-9V for emacs-devel@gnu.org; Wed, 06 Feb 2019 04:01:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1grIq4-00069b-Ts for emacs-devel@gnu.org; Wed, 06 Feb 2019 03:45:49 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:50157) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1grIq4-00064t-LF; Wed, 06 Feb 2019 03:45:48 -0500 Original-Received: from rosalinde ([178.6.147.236]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LztHH-1hCyPM3PRT-0152i1; Wed, 06 Feb 2019 09:45:43 +0100 In-Reply-To: <87k1idk1xv.fsf@gnu.org> (Roland Winkler's message of "Tue, 05 Feb 2019 21:53:16 -0600") X-Provags-ID: V03:K1:TyCchTXSl78xyj1puQqgK9L0j83SmzXb2YEWz6wNs4jSeZeGf3e Py8B2wuAEyamB2HNJxcUPgHAdnNmMgRv6FbTwg5TVQdmoa2glWJYUA0Fz1FOFVCDc+cJptR hVRKQx/hzzoJycbLjv9u0osGBMrS0ynDUuBaaTb7e8mEy1CAhv3aAcGVSuy//gzuJNYH4I/ noAGtp1MGfKm/YRg7kefw== X-UI-Out-Filterresults: notjunk:1;V03:K0:WsGlV2dcdho=:PJOENoXE26IvC6dDxoB2fK 3Bx6NITgmkyufNmplwaizhBYKyVcvL/VYVkJQTqMkRdzy1hG1z21fnKEW1rxC10p3u4/9a1SQ Z/rUKCkpMWA4iRufgqDJGHyOq7aA8VGHVWYOeOFJOtRtoFAV9EQya3Kb6isOx1p942G+lZWnS 3E29YPt+oRrkt6XuPDJfk4QyuCA7gSVCieHtSq8GUba4jPNNOSptH736IWTQTdnphqqjpArkq h+oxu3X1tDEJ2gNCUDCXnnzCVsqwBng77SSGrifILMXtOH2na1aLw/WH4CJlqnlwoSr7DiegY t9HoQ5XNKp5MDW/iLqO4kotkmrxBQoSQ8K459RZVERYwl9ElqLJ6Rdvfxe10RpplEm/O+sZXq uCiwC9+4CWmf3xYGmpUkBjgL90GJ1I78h7xZeoD1+GWXRGq3XX1N6mgQfkDPjmsIa41VIXpuy Bm+HqW6xwCPFZqPD24IJU3uwzZ2MIR3wD2K+P5FSD+cjJibbFe/AAqvC1VRoqshMBo8XSCH9m PW343qtvKs6Z7RHl6GYjXampZW+pJ05ZXhqI9fmwDkXJuqBlbbC0A3/f2QRbkMEOHBvnbv0QB ybk8JV0i+xTt+QURpIAVmYhVLyBk1ao4rp9ByFBy6QkFExdnhLJe2t3axlu/yRksVA3+V7VUu ee+e4t8RQxAmUy/kuNIA/sIt3WzXGWKwt/Ts5/Zs8O7RksQnjby6/P90FxkAyA1l7Rcz+uGHX OzzhIEBw66cx4VfRcsHFa2r8WBtforwqGp2RGKnsibKFIgXzdce8A1MxWut0BLohKwuU+Vrz X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.18 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:233034 Archived-At: On Tue, 05 Feb 2019 21:53:16 -0600 Roland Winkler wrote: > On Mon, Feb 04 2019, Stephen Berman wrote: >> There are a couple of features I miss; one is that I often >> like to open DJVU files from Dired > > Stefan suggested to me how to modify the code such that a djvu-mode can > be added to auto-mode-alist. I have not yet found the time to look at > this more carefully. But it should solve this problem. In the > meanwhile you could advice find-file-noselect as described in djvu.el, > which should work in most cases, too. Ah, I had seen that but forgot it. Anyway, my little hack works well enough for me until you add proper auto-mode-alist integration. >> Another nice thing would be integration with the Emacs bookmark >> facility (I haven't tried using the djvu bookmark facility, but it >> looks like it's tied to djvu outlines, so orthogonal to Emacs >> bookmarks). > > Djvu bookmarks are for efficiently moving within a djvu document, > similar to how one can define bookmarks within a pdf document. I have > never used Emacs bookmarks, but it seems their main idea is different, > moving around across different files. My current need is simply to be at a specified position in a DJVU upon visiting the file. Probably both facilities do that but since I also use Emacs bookmarks for other types of files, it's convenient to use them for DJVU files as well. >> I also like the way pdf-view-mode (and doc-view-mode) displays both >> the current and total number of pages > > Yes, that makes sense; it will be part of the next update in GNU Elpa > (implemented slightly different from your code). Looking forward to it. Steve Berman