emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

word-wrap in echo area (was Re: visual-line-mode)


From: David Reitter
Subject: word-wrap in echo area (was Re: visual-line-mode)
Date: Mon, 11 Aug 2008 15:38:16 +0200

On 3 Aug 2008, at 15:47, David Reitter wrote:

On 10 Jul 2008, at 15:55, Chong Yidong wrote:

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.)

This is controlled in xdisp.c.  Let's worry about it later.

Should we revisit and fix this issue now while it's early in the pretest phase?


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;

        for (j = 0; j < 2; ++j)
          if (EQ (old_buffer, echo_area_buffer[j]))

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]