* How modify refill-mode's desire to remove hard returns from text???
@ 2003-02-05 0:07 Christian Seberino
2003-02-05 10:34 ` Kai Großjohann
2003-02-05 17:21 ` Kevin Rodgers
0 siblings, 2 replies; 5+ messages in thread
From: Christian Seberino @ 2003-02-05 0:07 UTC (permalink / raw)
I need refill-mode's feature of constantly reformatting
text when I type new characters.
But, I don't want it to eliminate hard returns in order
to make lines be filled up more.
I cannot type short lines
like
this
right
here.
Can I fix this?
Chris
P.S. My main goal with refill-mode is the strengthen auto-fill-mode
so hard returns are *added* more often when necessary. I never
want to *remove* hard returns however.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How modify refill-mode's desire to remove hard returns from text???
2003-02-05 0:07 How modify refill-mode's desire to remove hard returns from text??? Christian Seberino
@ 2003-02-05 10:34 ` Kai Großjohann
2003-02-05 18:45 ` Christian Seberino
2003-02-05 17:21 ` Kevin Rodgers
1 sibling, 1 reply; 5+ messages in thread
From: Kai Großjohann @ 2003-02-05 10:34 UTC (permalink / raw)
seberino@spawar.navy.mil (Christian Seberino) writes:
> P.S. My main goal with refill-mode is the strengthen auto-fill-mode
> so hard returns are *added* more often when necessary. I never
> want to *remove* hard returns however.
Really? What happens if you want to remove some words in a paragraph?
--
A turnip curses Elvis
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How modify refill-mode's desire to remove hard returns from text???
2003-02-05 0:07 How modify refill-mode's desire to remove hard returns from text??? Christian Seberino
2003-02-05 10:34 ` Kai Großjohann
@ 2003-02-05 17:21 ` Kevin Rodgers
1 sibling, 0 replies; 5+ messages in thread
From: Kevin Rodgers @ 2003-02-05 17:21 UTC (permalink / raw)
Christian Seberino wrote:
> P.S. My main goal with refill-mode is the strengthen auto-fill-mode
> so hard returns are *added* more often when necessary. I never
> want to *remove* hard returns however.
Does (setq use-hard-newlines t) help?
| use-hard-newlines's value is nil
|
| Documentation:
| Non-nil means to distinguish hard and soft newlines.
| When this is non-nil, the functions `newline' and `open-line' add the
| text-property `hard' to newlines that they insert. Also, a line is
| only considered as a candidate to match `paragraph-start' or
| `paragraph-separate' if it follows a hard newline. Newlines not
| marked hard are called "soft", and are always internal to
| paragraphs. The fill functions always insert soft newlines.
|
| Each buffer has its own value of this variable.
--
<a href="mailto:<kevin.rodgers@ihs.com>">Kevin Rodgers</a>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How modify refill-mode's desire to remove hard returns from text???
2003-02-05 10:34 ` Kai Großjohann
@ 2003-02-05 18:45 ` Christian Seberino
2003-02-06 13:44 ` Kai Großjohann
0 siblings, 1 reply; 5+ messages in thread
From: Christian Seberino @ 2003-02-05 18:45 UTC (permalink / raw)
use-hard-newlines set to non-nil value worked great!!!
Sorry, I mean I never want Emacs to *automatically* remote
hard returns.. but I will myself of course.
Chris
kai.grossjohann@uni-duisburg.de (Kai Großjohann wrote in message news:<84u1fjt3s5.fsf@lucy.is.informatik.uni-duisburg.de>...
> seberino@spawar.navy.mil (Christian Seberino) writes:
>
> > P.S. My main goal with refill-mode is the strengthen auto-fill-mode
> > so hard returns are *added* more often when necessary. I never
> > want to *remove* hard returns however.
>
> Really? What happens if you want to remove some words in a paragraph?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How modify refill-mode's desire to remove hard returns from text???
2003-02-05 18:45 ` Christian Seberino
@ 2003-02-06 13:44 ` Kai Großjohann
0 siblings, 0 replies; 5+ messages in thread
From: Kai Großjohann @ 2003-02-06 13:44 UTC (permalink / raw)
seberino@spawar.navy.mil (Christian Seberino) writes:
> use-hard-newlines set to non-nil value worked great!!!
>
> Sorry, I mean I never want Emacs to *automatically* remote
> hard returns.. but I will myself of course.
use-hard-newlines means that refill.el will remove newlines, too, but
only those newlines that were automatically added in the first place.
I think that's the right behavior, and better than what you want.
Since you're happy, you appear to agree with me :-)
--
A turnip curses Elvis
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-02-06 13:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-05 0:07 How modify refill-mode's desire to remove hard returns from text??? Christian Seberino
2003-02-05 10:34 ` Kai Großjohann
2003-02-05 18:45 ` Christian Seberino
2003-02-06 13:44 ` Kai Großjohann
2003-02-05 17:21 ` Kevin Rodgers
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.