all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: David Reitter <david.reitter@gmail.com>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: word-wrap in echo area
Date: Mon, 11 Aug 2008 12:03:22 -0400	[thread overview]
Message-ID: <87od3z5yk5.fsf@stupidchicken.com> (raw)
In-Reply-To: <1BFB5A3E-310A-4F88-B3A2-3758EB4A4ACC@gmail.com> (David Reitter's message of "Mon, 11 Aug 2008 15:38:16 +0200")

David Reitter <david.reitter@gmail.com> writes:

>>>> Incidentally: how would one turn on word-wrap for the echo area?
>>>> Word wrapping for `message' would be very useful.  (It could even
>>>> be the default.)
>
> It's a simple change.  Is this trouble-prone, or can it be installed
> now?
>
>
> Index: xdisp.c
> ===================================================================
> RCS file: /sources/emacs/emacs/src/xdisp.c,v
> retrieving revision 1.1245
> diff -c -r1.1245 xdisp.c
> *** xdisp.c	8 Aug 2008 15:43:45 -0000	1.1245
> --- xdisp.c	11 Aug 2008 13:33:36 -0000
> ***************
> *** 8320,8325 ****
> --- 8320,8326 ----
>   	sprintf (name, " *Echo Area %d*", i);
>   	echo_buffer[i] = Fget_buffer_create (build_string (name));
>   	XBUFFER (echo_buffer[i])->truncate_lines = Qnil;
> + 	XBUFFER (echo_buffer[i])->word_wrap = Qt;

We shouldn't turn on word wrap unconditionally in the echo area, because
there are instances in which word wrap is undesirable.  For example,
when the buffer contains words that are (on average) half the window
width, word wrap actually makes text harder to read than ordinary line
wrapping.  Maybe this situation never occurs in the echo area; maybe
not; in any case, let's leave this till after the release.




  reply	other threads:[~2008-08-11 16:03 UTC|newest]

Thread overview: 73+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-29  6:30 visual-line-mode David Reitter
2008-06-29  7:05 ` visual-line-mode Miles Bader
2008-06-29  7:19   ` visual-line-mode Miles Bader
2008-06-29 14:01   ` visual-line-mode Stefan Monnier
2008-06-29 15:29     ` visual-line-mode Chong Yidong
2008-06-30  3:07     ` visual-line-mode Miles Bader
2008-06-30  3:15       ` visual-line-mode Chong Yidong
2008-06-30  5:13         ` visual-line-mode Miles Bader
2008-06-30  5:15           ` visual-line-mode Miles Bader
2008-06-30 10:39             ` visual-line-mode Miles Bader
2008-06-30 11:20               ` visual-line-mode Miles Bader
2008-06-30 14:01               ` visual-line-mode Chong Yidong
2008-06-30 16:10                 ` visual-line-mode Chong Yidong
2008-07-01  9:10               ` visual-line-mode David Reitter
2008-07-03 19:20           ` visual-line-mode Chong Yidong
2008-07-03 23:56             ` visual-line-mode David Reitter
2008-07-04 10:23               ` visual-line-mode Chong Yidong
2008-07-04 10:58                 ` visual-line-mode Miles Bader
2008-07-04 13:04                   ` visual-line-mode Chong Yidong
2008-07-04 15:04                     ` visual-line-mode David Reitter
2008-07-04 15:49                       ` visual-line-mode Stefan Monnier
2008-07-04 16:21                         ` visual-line-mode David Reitter
2008-07-05 18:41                       ` visual-line-mode Chong Yidong
2008-07-06  1:29                         ` visual-line-mode Miles Bader
2008-07-09 14:28                         ` visual-line-mode David Reitter
2008-07-10  3:05                           ` visual-line-mode Chong Yidong
2008-07-10 12:39                             ` visual-line-mode David Reitter
2008-07-10 13:55                               ` visual-line-mode Chong Yidong
2008-08-03 13:47                                 ` visual-line-mode David Reitter
2008-08-11 13:38                                   ` word-wrap in echo area (was Re: visual-line-mode) David Reitter
2008-08-11 16:03                                     ` Chong Yidong [this message]
2008-07-10 16:37                               ` visual-line-mode Chong Yidong
2008-07-10 17:32                                 ` visual-line-mode Miles Bader
2008-07-10 17:40                                   ` visual-line-mode Miles Bader
2008-07-10 20:23                                   ` visual-line-mode Stefan Monnier
2008-07-10 23:23                                     ` visual-line-mode Chong Yidong
2008-07-10 23:44                                       ` visual-line-mode Miles Bader
2008-07-10 23:49                                         ` visual-line-mode Chong Yidong
2008-07-11 13:10                                         ` visual-line-mode David Reitter
2008-07-14  3:58                                           ` visual-line-mode Miles Bader
2008-07-14  3:59                                             ` visual-line-mode Miles Bader
2008-07-11  1:36                                       ` visual-line-mode Stefan Monnier
2008-07-11  2:30                                         ` visual-line-mode Miles Bader
2008-07-11  4:36                                         ` visual-line-mode Chong Yidong
2008-07-11 14:56                                           ` visual-line-mode David Reitter
2008-07-11 15:57                                             ` visual-line-mode Chong Yidong
2008-07-11 18:27                                               ` visual-line-mode Chong Yidong
2008-07-11 20:36                                             ` visual-line-mode Miles Bader
2008-07-11 21:18                                               ` visual-line-mode Stefan Monnier
2008-07-11 21:23                                                 ` visual-line-mode David Kastrup
2008-07-11 21:41                                                   ` visual-line-mode David Reitter
2008-07-12  1:49                                                   ` visual-line-mode Stefan Monnier
2008-07-12  8:09                                                     ` visual-line-mode David Kastrup
2008-07-12 16:35                                                       ` visual-line-mode Richard M Stallman
2008-07-12 17:42                                                         ` visual-line-mode Chong Yidong
2008-07-16  4:21                                                     ` visual-line-mode Chong Yidong
2008-07-16  4:37                                                       ` visual-line-mode Miles Bader
2008-07-11 21:10                                     ` visual-line-mode Chong Yidong
2008-07-12  1:43                                       ` visual-line-mode Stefan Monnier
2008-07-10 18:08                                 ` visual-line-mode David Reitter
2008-07-10 23:18                                   ` visual-line-mode Miles Bader
2008-07-10 23:35                                     ` visual-line-mode Chong Yidong
2008-07-10 23:49                               ` visual-line-mode Chong Yidong
2008-07-09 14:31                         ` visual-line-mode David Reitter
2008-07-04 11:09                 ` visual-line-mode David Reitter
2008-07-04 12:39                   ` visual-line-mode Paul R
2008-06-30  7:32   ` visual-line-mode David Reitter
2008-06-30  7:43     ` visual-line-mode Miles Bader
2008-06-30  7:58       ` visual-line-mode David Reitter
2008-06-30  8:05         ` visual-line-mode Miles Bader
2008-06-30  8:25           ` visual-line-mode David Reitter
2008-06-30  8:30             ` visual-line-mode Miles Bader
2008-07-10  4:53 ` visual-line-mode 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=87od3z5yk5.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=david.reitter@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 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.