unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Line Break behavior in emacs terminal
@ 2009-04-23  0:38 Xin Shi
  2009-04-25 16:45 ` Kevin Rodgers
  0 siblings, 1 reply; 3+ messages in thread
From: Xin Shi @ 2009-04-23  0:38 UTC (permalink / raw)
  To: help-gnu-emacs

Hello Experts,

I'm using the multi-term.el. Are there any way to control the line break
behavior in the emacs terminal? It looks the default one is break the line with
a hard return which is not convent when copy it.

I've got a message from the author:


------------------------------------------------------------------
(add-hook 'term-mode-hook '(lambda () (setq truncate-lines t)))

But this looks just work with one window, if i split current multi-term
window horizontally, it still will get hard return.

------------------------------------------------------------------

Any suggestions? 

Thanks!

Xin






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

* Re: Line Break behavior in emacs terminal
  2009-04-23  0:38 Line Break behavior in emacs terminal Xin Shi
@ 2009-04-25 16:45 ` Kevin Rodgers
  2009-04-26  2:18   ` Xin Shi
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Rodgers @ 2009-04-25 16:45 UTC (permalink / raw)
  To: help-gnu-emacs

Xin Shi wrote:
> Hello Experts,
> 
> I'm using the multi-term.el. Are there any way to control the line break
> behavior in the emacs terminal? It looks the default one is break the line with
> a hard return which is not convent when copy it.
> 
> I've got a message from the author:
> 
> 
> ------------------------------------------------------------------
> (add-hook 'term-mode-hook '(lambda () (setq truncate-lines t)))
> 
> But this looks just work with one window, if i split current multi-term
> window horizontally, it still will get hard return.
> 
> ------------------------------------------------------------------
> 
> Any suggestions? 

Does longlines-mode solve the problem?

-- 
Kevin Rodgers
Denver, Colorado, USA





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

* Re: Line Break behavior in emacs terminal
  2009-04-25 16:45 ` Kevin Rodgers
@ 2009-04-26  2:18   ` Xin Shi
  0 siblings, 0 replies; 3+ messages in thread
From: Xin Shi @ 2009-04-26  2:18 UTC (permalink / raw)
  To: help-gnu-emacs

Kevin Rodgers <kevin.d.rodgers@gmail.com> writes:

>> Any suggestions? 
>
> Does longlines-mode solve the problem?
>
> -- 
> Kevin Rodgers
> Denver, Colorado, USA

Yeah! It solves the problem. Thank you!

Xin








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

end of thread, other threads:[~2009-04-26  2:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-23  0:38 Line Break behavior in emacs terminal Xin Shi
2009-04-25 16:45 ` Kevin Rodgers
2009-04-26  2:18   ` Xin Shi

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