unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: karl@freefriends.org (Karl Berry)
Cc: emacs-devel@gnu.org
Subject: Re: Refilling overrides texinfo commands
Date: Thu, 26 Jun 2003 18:44:02 -0400	[thread overview]
Message-ID: <200306262244.h5QMi2M13224@f7.net> (raw)

    > 1. Change the standalone info to hide the same text as Emacs info does.

    > 2. Change Makeinfo to recognize when filling that that text will be
    >    hidden.

I suppose, although one of the whole purposes of Info format was to make
as simple to display as possible.  If any info reader now has to
magically know which text to hide, that makes the format that much less
transparent.

Also, this will be the first time regular paragraphs will be treated
differently in Info and in plain text.  I guess that's not exactly a
problem, but it seems somewhat strange.

Finally, and most importantly, isn't the whole hiding feature optional?
In that case, if the user turns off hiding, they will have lines that
are too long.  What then?  They lose because they want to use Info as
originally designed?  Doesn't seem right.  Likewise, old info readers
won't know they're now supposed to hide text, so their display of new
info files will be suboptimal, although still usable.


Thinking more generally, it seems to me that a number of these new Emacs
Info features, including this one, are trying to intuit document
structure/information out of the plain text output, and that way lies
madness.

For example, what if next month someone decides they want to display
code fragments in a monospaced font and regular text in a variable-width
font?  (Heck, for all I know, maybe you already put in other magic
variables to try to do that.)  Or, what if someone resizes their window
to be wider or narrower, wouldn't it be nice if Emacs refilled all the
text to the new window size?  I'm sure we could dream up many other
features along these lines, based on analogous features in web browsers.

These are very reasonable things to want to do, but Info format just was
never designed to support any of this stuff, and grafting it on now
seems wrong to me.  As I said before, parsing the XML or docbook output
from makeinfo seems like a much more viable approach, since those
formats preserve the document structure.  (In theory, anyway, I'm sure
the implementation is not 100% correct at present.)

And, following that path, we might as well abandon the original Info
format entirely, instead of trying to add this or that feature to it.
We could leave Emacs Info and standalone Info basically alone, and
implement fancy new features in some new Emacs module that isn't
hampered by compatibility constraints.


One thing that would help is if the people who are working on these new
features could give a brief summary of where they want Info to go.  Kim,
anyone?  That way, we (I) won't be surprised after the fact when it
turns out makeinfo or standalone info need changes, etc.

Sorry this is so long.

k

             reply	other threads:[~2003-06-26 22:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-26 22:44 Karl Berry [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-06-25 13:33 Refilling overrides texinfo commands Karl Berry
2003-06-25 13:21 Luc Teirlinck
2003-06-26  0:58 ` Kim F. Storm
2003-06-25 23:58   ` Luc Teirlinck
2003-06-26 20:21   ` Richard Stallman
2003-06-26 23:53     ` Luc Teirlinck
2003-06-27  0:43       ` Luc Teirlinck
2003-06-27 16:23       ` Richard Stallman
2003-07-06 12:14         ` Kim F. Storm
2003-07-06 11:36           ` Robert J. Chassell
2003-07-06 23:50             ` Kim F. Storm
2003-07-07  3:39             ` Richard Stallman
2003-07-07  3:39           ` Richard Stallman
2003-06-27  0:12     ` Kim F. Storm

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=200306262244.h5QMi2M13224@f7.net \
    --to=karl@freefriends.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).