unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Darren Hoo <darren.hoo@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: [Patch] reformat man buffer on the fly for man.el
Date: Wed, 30 Oct 2013 12:24:45 +0800	[thread overview]
Message-ID: <m2iowfbd2q.fsf@gmail.com> (raw)
In-Reply-To: jwv8uxbizrt.fsf-monnier+emacs@gnu.org

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> I think the right fix for that is to display the buffer before it gets
> filled

hmm, that's an option, but my last attempt was to add new function for
newcomers instead of changing the way how man.el works. I suppose your
suggestion needs more changes and might break things for "old" people who
have customized their Man-notify-method.  
  
> so you don't need any new command like  "Man-update-manpage".  

I think I still need this. There's one thing I like Man more than
Info is that manpage can be re-formatted and it is easier for me to 
read large blocks of text with long lines which makes the text less 
cluttered.

When I lookup manpage occassionally I prefer reading some of it with
windows side by side. But when I find myself need to concentrate on one 
looked-up manpage, I would like to C-x 1 then reformat the Man buffer 
and read it from begin to end.

> It will also solve the problem that if generating
> the manpage takes a long time, it ends up popping up in your face
> unexpectedly (since you've lost patience in the mean time and moved on
> to something else).

Generating the manpage is so fast for me that this senario has never
occurred to me. Actually I find it unneccessary to call the command
asynchronouslly for me because I do not have to wait at all.


One question about the following code:

  (if (fboundp 'start-process)
     (start-process ...)
    (call-process ...))

Is it due to once in Emacs history when there is no `start-process' but
only `call-process', Can you fill me in?
 




  reply	other threads:[~2013-10-30  4:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-25  6:28 [Patch] reformat man buffer on the fly for man.el Darren Hoo
2013-10-29 20:34 ` Stefan Monnier
2013-10-30  4:24   ` Darren Hoo [this message]
2013-10-30 12:27     ` Stefan Monnier
2013-10-31 14:07       ` Xue Fuqiao
2013-10-31 16:28         ` Glenn Morris
2013-10-31 17:20           ` Eli Zaretskii
2013-10-31 17:37             ` DOS versions [was Re: [Patch] reformat man buffer on the fly for man.el] Glenn Morris
2013-10-31 18:08               ` Eli Zaretskii
2013-10-31 23:05               ` Xue Fuqiao
2013-11-08  4:11 ` [Patch] reformat man buffer on the fly for man.el Stefan Monnier

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=m2iowfbd2q.fsf@gmail.com \
    --to=darren.hoo@gmail.com \
    --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).