all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Longlines fuses words together after kill/yank
@ 2007-11-13 13:15 Guym
  0 siblings, 0 replies; 5+ messages in thread
From: Guym @ 2007-11-13 13:15 UTC (permalink / raw)
  To: Help-gnu-emacs


With Emacs 22.1.1 (i386-mingw-nt5.1.2600) and the longlines provided I find
that when I kill a line and then yank it back (either in the same place, or
somewhere else in the document) I get words fused together.

For example, suppose these are lines broken by a longlines softline break
(where I originally typed a space):

This is an example
of lines broken by
a softline.

Then if I kill the paragraph or one line and yank it back I might get
`example' and `of' fused together into `exampleof', or perhaps `by' and `a.'

This seems to occur in all the modes I tried, though the problem does
disappear when longlines-auto-wrap is turned off. Is there anything less
extreme I can do?

Thanks! 
-- 
View this message in context: http://www.nabble.com/Longlines-fuses-words-together-after-kill-yank-tf4797684.html#a13725553
Sent from the Emacs - Help mailing list archive at Nabble.com.

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

* Re: Longlines fuses words together after kill/yank
       [not found] <mailman.3431.1194959741.18990.help-gnu-emacs@gnu.org>
@ 2007-11-14 10:21 ` David Rod
  2007-11-14 10:54   ` Peter Dyballa
  2007-11-15 15:58 ` Xah Lee
  1 sibling, 1 reply; 5+ messages in thread
From: David Rod @ 2007-11-14 10:21 UTC (permalink / raw)
  To: help-gnu-emacs

what package is longlines-auto-wrap-off from?
All I have is longlines-mode as interactive function

There seems to be something a bit wrong somewhere.
My emacs doesn't do this.


-- 

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

* Re: Longlines fuses words together after kill/yank
  2007-11-14 10:21 ` Longlines fuses words together after kill/yank David Rod
@ 2007-11-14 10:54   ` Peter Dyballa
  2007-11-14 11:25     ` Guym
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Dyballa @ 2007-11-14 10:54 UTC (permalink / raw)
  To: David Rod; +Cc: help-gnu-emacs


Am 14.11.2007 um 11:21 schrieb David Rod:

> what package is longlines-auto-wrap-off from?

Have you tried to find out the meaning of this variable? Or of  
longlines-mode? Doesn't the *Help* buffer provide information where  
the variable comes from? If so, it would be a bug.

--
Greetings

   Pete

"What is this talk of 'release?' Klingons do not make software  
'releases.'  Our software 'escapes,' leaving a bloody trail of  
designers and quality assurance people in its wake."

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

* Re: Longlines fuses words together after kill/yank
  2007-11-14 10:54   ` Peter Dyballa
@ 2007-11-14 11:25     ` Guym
  0 siblings, 0 replies; 5+ messages in thread
From: Guym @ 2007-11-14 11:25 UTC (permalink / raw)
  To: Help-gnu-emacs


Thanks. Longlines is now shipped with gnu emacs. There's a good general
description on emacs wiki: 
http://www.emacswiki.org/cgi-bin/emacs-en/LongLines 

The mode documentation is as follows:

Longlines minor mode (indicator ll):
Toggle Long Lines mode.
In Long Lines mode, long lines are wrapped if they extend beyond
`fill-column'.  The soft newlines used for line wrapping will not
show up when the text is yanked or saved to disk.

If the variable `longlines-auto-wrap' is non-nil, lines are automatically
wrapped whenever the buffer is changed.  You can always call
`fill-paragraph' to fill individual paragraphs.

If the variable `longlines-show-hard-newlines' is non-nil, hard newlines
are indicated with a symbol.



longlines-auto-wrap toggles automatic wrapping of paragraphs as you type (or
otherwise make changes, e.g. by yanking the paragraph). If it's off the
paragraph just appears as one long line with these wrapping arrows at the
end, but that's hard to read for text files (e.g. latex). With auto wrap off
it's still possible to request wrapping of paragraphs after you type them,
but that's not very convenient. The normal use is meant to be with auto
wrapping on, but then I have this problem with words fusing after kill/yank.

Guy.



Peter Dyballa wrote:
> 
> 
> Am 14.11.2007 um 11:21 schrieb David Rod:
> 
>> what package is longlines-auto-wrap-off from?
> 
> Have you tried to find out the meaning of this variable? Or of  
> longlines-mode? Doesn't the *Help* buffer provide information where  
> the variable comes from? If so, it would be a bug.
> 
> --
> Greetings
> 
>    Pete
> 
> "What is this talk of 'release?' Klingons do not make software  
> 'releases.'  Our software 'escapes,' leaving a bloody trail of  
> designers and quality assurance people in its wake."
> 
> 
> 
> 
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
> 
> 

-- 
View this message in context: http://www.nabble.com/Longlines-fuses-words-together-after-kill-yank-tf4797684.html#a13744596
Sent from the Emacs - Help mailing list archive at Nabble.com.

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

* Re: Longlines fuses words together after kill/yank
       [not found] <mailman.3431.1194959741.18990.help-gnu-emacs@gnu.org>
  2007-11-14 10:21 ` Longlines fuses words together after kill/yank David Rod
@ 2007-11-15 15:58 ` Xah Lee
  1 sibling, 0 replies; 5+ messages in thread
From: Xah Lee @ 2007-11-15 15:58 UTC (permalink / raw)
  To: help-gnu-emacs

yes, it's a software error created by whoever coded lonelines-mode.

it's a major pain in the ass. I have also reported the problem here
before. I have basically now abandoned using longelines-mode.

i'm not sure what you can do to work around this... but thanks for
bringing attention to it.

not solving your problem, but i've written essays on this issue you
might be interested:

The Harm of hard-wrapping Lines
http://xahlee.org/UnixResource_dir/writ/hard-wrap.html

The Modernization of Emacs
http://xahlee.org/emacs/modernization.html

  Xah
  xah@xahlee.org
\xAD\xF4 http://xahlee.org/

On Nov 13, 5:15 am, Guym <g.may...@gmail.com> wrote:
> With Emacs 22.1.1 (i386-mingw-nt5.1.2600) and the longlines provided I find
> that when I kill a line and then yank it back (either in the same place, or
> somewhere else in the document) I get words fused together.
>
> For example, suppose these are lines broken by a longlines softline break
> (where I originally typed a space):
>
> This is an example
> of lines broken by
> a softline.
>
> Then if I kill the paragraph or one line and yank it back I might get
> `example' and `of' fused together into `exampleof', or perhaps `by' and `a.'
>
> This seems to occur in all the modes I tried, though the problem does
> disappear when longlines-auto-wrap is turned off. Is there anything less
> extreme I can do?
>
> Thanks!
> --
> View this message in context:http://www.nabble.com/Longlines-fuses-words-together-after-kill-yank-...
> Sent from the Emacs - Help mailing list archive at Nabble.com.

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

end of thread, other threads:[~2007-11-15 15:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.3431.1194959741.18990.help-gnu-emacs@gnu.org>
2007-11-14 10:21 ` Longlines fuses words together after kill/yank David Rod
2007-11-14 10:54   ` Peter Dyballa
2007-11-14 11:25     ` Guym
2007-11-15 15:58 ` Xah Lee
2007-11-13 13:15 Guym

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.