all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
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: Sat, 26 Nov 2011 16:45:02 +0200	[thread overview]
Message-ID: <83sjlb6iz5.fsf@gnu.org> (raw)
In-Reply-To: <A2BDBB85CE16484CA56DD9292C6AF38E@us.oracle.com>

> From: "Drew Adams" <drew.adams@oracle.com>
> Cc: <10127@debbugs.gnu.org>
> Date: Fri, 25 Nov 2011 11:41:16 -0800
> 
> I really am delighted that you want to fix this in the best way
> possible.  My suggestions for fixing it were only that: suggestions.
> I have no problem if you ignore them, as I said.  My only concern is
> that the bug be fixed, not how the fix is implemented.

OK, let's give it another try.

No matter how you format the various fields of the information
displayed by "C-u C-x =", it will eventually happen that the window is
not wide enough to display something like this:

   foo bar: bla-bla-bla yak-yak-yak

in a single screen line.  When this happens, the current code does the
following:

  . it inserts a newline after the colon
  . it indents to the column just past the one occupied by the colon
  . it then inserts the remaining text at that point

The result is roughly this:

    foo bar:
             bla-bla-bla yak-yak-yak

There are several possible ways to change this.  One is just
displaying the value disregarding the window width, producing a
continuation line:

    foo bar: bla-bla-bla yak-\
 yak-yak

Another is to force word-wrap in the *Help* buffer, resulting in

    foo bar: bla-bla-bla \
 yak-yak-yak

Yet another is do the equivalent of M-q, with this result:

    foo bar: bla-bla-bla
             yak-yak-yak

There are others, I'm sure.

So which one is the best?





  parent reply	other threads:[~2011-11-26 14:45 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
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 [this message]
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=83sjlb6iz5.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=10127@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /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.