unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: emacs-devel@gnu.org
Subject: Re: doc-view.el: about cursor and filename display
Date: Mon, 15 Oct 2007 11:20:56 +0200	[thread overview]
Message-ID: <87r6jw20p3.fsf@baldur.tsdh.de> (raw)
In-Reply-To: <m2abqkpytu.fsf@gmail.com> (William Xu's message of "Mon, 15 Oct 2007 17:27:25 +0900")

William Xu <william.xwl@gmail.com> writes:

Hi William,

> Just began to use doc-view.el, some suggestions:
>
> 1. Hide the cursor
>
>    Cursor in a image buffer looks peculiar, maybe better hide it just
>    like image-mode? namely, (setq cursor-type nil)

But you need the cursor for slicing.  Ok, I could enable it only for
this command.

But what happens with the tooltips if there's no cursor?

> 2. Filename on mode line
>
>    Why not simply display the filename on mode line as usual, like
>    `foo.pdf'? At present, the filename on the mode line is very long,
>    occupies lots of space of mode line, and is inconvenient to switch
>    to by ido, for instance.

My last patch, that makes doc-view the default viewer for pdf/ps/dvi
files uses only the filename.  You can get the patch from my mail
<87r6k2l9sr.fsf_-_@baldur.tsdh.de>.  There you don't use `doc-view'
anymore, but simply find the file using C-x C-f.

> 3. Add auto-revert-mode support?

I don't know if that's a good idea.  a-r-m checks files periodically and
reverts if something changed.  Since "reverting" means reconverting for
doc-view, it's possible that it blows your computer because it may
happen that a new conversion is started before the last one finished
(e.g. every 5 seconds a new conversion is started).

My last patch added a new binding `g' which reconverts the current
document.

Bye,
Tassilo

  reply	other threads:[~2007-10-15  9:20 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-15  8:27 doc-view.el: about cursor and filename display William Xu
2007-10-15  9:20 ` Tassilo Horn [this message]
2007-10-15 11:15   ` William Xu
2007-10-15 15:13     ` Tassilo Horn
2007-10-16  4:10       ` Richard Stallman
2007-10-15 14:00   ` Stefan Monnier
2007-10-15 14:20     ` Tassilo Horn
2007-10-16  4:10     ` Richard Stallman
2007-10-16  6:34       ` Tassilo Horn
2007-10-17  5:02         ` Richard Stallman
2007-10-17  8:39           ` Tassilo Horn
2007-10-17 13:57             ` Stefan Monnier
2007-10-17 16:19               ` Tassilo Horn
2007-10-18  5:02                 ` Richard Stallman
2007-10-18  6:50                   ` Tassilo Horn
2007-10-17 19:54               ` Tassilo Horn
2007-10-17 23:29                 ` Dan Nicolaescu
2007-10-18  1:47                   ` Miles Bader
2007-10-19  5:40                     ` Richard Stallman
2007-10-19  7:50                       ` David Kastrup
2007-10-20  1:31                         ` Miles Bader
2007-10-21 14:56                           ` David Kastrup
2007-10-21 19:23                             ` Stefan Monnier
2007-10-21 20:26                               ` David Kastrup
2007-10-22  0:48                                 ` Stefan Monnier
2007-10-20  3:29                         ` Richard Stallman
2007-10-18  6:56                   ` Tassilo Horn
2007-10-18  8:10                     ` David Kastrup
2007-10-18  8:19                       ` Tassilo Horn
2007-10-18  8:33                         ` David Kastrup
2007-10-19  0:45                           ` Juri Linkov
2007-10-18 20:37                         ` Reiner Steib
2007-10-17 20:49             ` Richard Stallman
2007-10-17 20:54               ` Tassilo Horn

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=87r6jw20p3.fsf@baldur.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=emacs-devel@gnu.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).