all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

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.