unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Full word wrap for the compilation window ?
@ 2019-03-25 14:37 jonetsu
  2019-03-25 15:48 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: jonetsu @ 2019-03-25 14:37 UTC (permalink / raw)
  To: help-gnu-emacs

I've enabled line wrap in the compilation results window but it
line-wraps at the character level, showing those little arrows in the
margins at each end.  Is it possible to have a full word-based line
wrap ?

What I do so far is:

(defun my-compilation-mode-hook ()
  (setq truncate-lines nil) ;; automatically becomes buffer local
  (set (make-local-variable 'truncate-partial-width-windows) nil))
(add-hook 'compilation-mode-hook 'my-compilation-mode-hook)

Thanks.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Full word wrap for the compilation window ?
  2019-03-25 14:37 Full word wrap for the compilation window ? jonetsu
@ 2019-03-25 15:48 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2019-03-25 15:48 UTC (permalink / raw)
  To: help-gnu-emacs

> Date: Mon, 25 Mar 2019 10:37:25 -0400
> From: jonetsu <jonetsu@teksavvy.com>
> 
> I've enabled line wrap in the compilation results window but it
> line-wraps at the character level, showing those little arrows in the
> margins at each end.  Is it possible to have a full word-based line
> wrap ?

I think you want to turn on visual-line-mode in that buffer.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-25 15:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-25 14:37 Full word wrap for the compilation window ? jonetsu
2019-03-25 15:48 ` Eli Zaretskii

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