all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Eli Zaretskii'" <eliz@gnu.org>
Cc: 10127@debbugs.gnu.org
Subject: bug#10127: 24.0.91; wrong window width calc for `C-u C-x =' when *Help* in separate frame
Date: Thu, 24 Nov 2011 11:08:59 -0800	[thread overview]
Message-ID: <0797981120E94694A8751992E871E874@us.oracle.com> (raw)
In-Reply-To: <83y5v58if1.fsf@gnu.org>

> > There is no reason to base the display output width on the window
> > width of the current buffer - no relation.
> 
> How else would you suggest to make the text aligned nicely?  That's
> the intent, I believe.

Well, the bug describes how "nicely" the text is laid out now.

Keep it simple.  Do not try to second-guess where *Help* will be displayed or
how wide its window might be.  Keep the text in *Help* to the normal max width,
as much as possible.

There is nothing wonderful about this:

             foo: jkjkj
  something-else: lllmmnlkjlj
     and-another: hhhhhmlkklmkklj
 and-yet-another: 232iulkjlikjkm

This is just as readable:

 foo:             jkjkj
 something-else:  lllmmnlkjlj
 and-another:     hhhhhmlkklmkklj
 and-yet-another: 232iulkjlikjkm

So is this:

 foo            : jkjkj
 something-else : lllmmnlkjlj
 and-another    : hhhhhmlkklmkklj
 and-yet-another: 232iulkjlikjkm

And so is this:

 foo: jkjkj
 something-else: lllmmnlkjlj
 and-another: hhhhhmlkklmkklj
 and-yet-another: 232iulkjlikjkm

And so are other ways to display such info.  Besides, these are different fields
with different meanings - we are not aligning decimal points here.  Each field
is essentially a heading/term followed by a description.  This is a _description
list_.

There are many, many ways to display such info, and which do not require
calculating the window width.  We do the same kind of thing in our online
manuals, when we describe functions etc., and even when we list menu items.

Be less "clever".  Be more helpful to more users, who can have different
preferences for displaying *Help*.

Do not suppose that people use windows the same way you do.  *Help* is very
general, and is meant to be.  It needs to be versatile and simple, not cleverly
trying to adapt itself to the current window config.

Misguided - should be rethought along the lines of traditional Emacs *Help*
output - straightforward and simple.






  reply	other threads:[~2011-11-24 19:08 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-24 18:29 bug#10127: 24.0.91; wrong window width calc for `C-u C-x =' when *Help* in separate frame Drew Adams
2011-11-24 18:49 ` Eli Zaretskii
2011-11-24 19:08   ` Drew Adams [this message]
2011-11-24 20:40     ` Juanma Barranquero
2011-11-24 20:52       ` Drew Adams
2011-11-24 21:06         ` Juanma Barranquero
2011-11-25  8:06     ` Eli Zaretskii
2011-11-25 15:25       ` Drew Adams
2011-11-25 18:23         ` Eli Zaretskii
2011-11-25 19:41           ` Drew Adams
2011-11-26 14:44             ` Eli Zaretskii
2011-11-26 14:45             ` Eli Zaretskii
2011-11-26 17:56               ` Drew Adams
2012-08-09  8:13 ` Chong Yidong

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0797981120E94694A8751992E871E874@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=10127@debbugs.gnu.org \
    --cc=eliz@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.