all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Redistributing Text After Editing
@ 2006-10-30  1:36 Bill
  0 siblings, 0 replies; 8+ messages in thread
From: Bill @ 2006-10-30  1:36 UTC (permalink / raw)


It's quite possible I'm missing something, but is there a way to make
Emacs OS X Tiger automatically redistribute text after making an edit
in a paragraph?

This would be the equivalent of selecting the fill command under the
Edit menu, only it would take place automatically.

Thanks

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

* Re: Redistributing Text After Editing
       [not found] <mailman.417.1162172211.27805.help-gnu-emacs@gnu.org>
@ 2006-10-30  3:26 ` Maarten Bergvelt
  2006-10-30  3:30 ` Burton Samograd
  2006-10-30  5:36 ` Sam Peterson
  2 siblings, 0 replies; 8+ messages in thread
From: Maarten Bergvelt @ 2006-10-30  3:26 UTC (permalink / raw)


In article <mailman.417.1162172211.27805.help-gnu-emacs@gnu.org>, Bill wrote:
> It's quite possible I'm missing something, but is there a way to make
> Emacs OS X Tiger automatically redistribute text after making an edit
> in a paragraph?

What does it mean to redistribute text? Are you looking for M-q?

-- 
Maarten Bergvelt		

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

* Re: Redistributing Text After Editing
       [not found] <mailman.417.1162172211.27805.help-gnu-emacs@gnu.org>
  2006-10-30  3:26 ` Redistributing Text After Editing Maarten Bergvelt
@ 2006-10-30  3:30 ` Burton Samograd
  2006-10-30  5:36 ` Sam Peterson
  2 siblings, 0 replies; 8+ messages in thread
From: Burton Samograd @ 2006-10-30  3:30 UTC (permalink / raw)


Bill <tfc4@cybcon.com> writes:

> It's quite possible I'm missing something, but is there a way to make
> Emacs OS X Tiger automatically redistribute text after making an edit
> in a paragraph?
>
> This would be the equivalent of selecting the fill command under the
> Edit menu, only it would take place automatically.

I can't say I know how to make it automatic, but M-q will refill the
current paragraph.  Also, M-x auto-fill-mode will do line breaks
automatically.

-- 
burton samograd                                             kruhft .at. gmail
       buy my music => http://kruhft.boldlygoingnowhere.org/buy.html

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

* Re: Redistributing Text After Editing
       [not found] <mailman.417.1162172211.27805.help-gnu-emacs@gnu.org>
  2006-10-30  3:26 ` Redistributing Text After Editing Maarten Bergvelt
  2006-10-30  3:30 ` Burton Samograd
@ 2006-10-30  5:36 ` Sam Peterson
  2006-10-30 16:05   ` bjemacs
       [not found]   ` <mailman.436.1162224357.27805.help-gnu-emacs@gnu.org>
  2 siblings, 2 replies; 8+ messages in thread
From: Sam Peterson @ 2006-10-30  5:36 UTC (permalink / raw)


>>>>> "Bill" == Bill  <tfc4@cybcon.com> writes:

    > It's quite possible I'm missing something, but is there a way to
    > make Emacs OS X Tiger automatically redistribute text after
    > making an edit in a paragraph?

    > This would be the equivalent of selecting the fill command under
    > the Edit menu, only it would take place automatically.

    > Thanks

Take a look at M-x refill-mode.


-- 
Sam Peterson
skpeterson At nospam ucdavis.edu
"if programmers were paid to remove code instead of adding it,
software would be much better" -- unknown

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

* Re: Redistributing Text After Editing
  2006-10-30  5:36 ` Sam Peterson
@ 2006-10-30 16:05   ` bjemacs
  2006-10-30 16:14     ` Andy Gimblett
       [not found]   ` <mailman.436.1162224357.27805.help-gnu-emacs@gnu.org>
  1 sibling, 1 reply; 8+ messages in thread
From: bjemacs @ 2006-10-30 16:05 UTC (permalink / raw)



Here's the scenario. I open a page containing several
paragraphs. I begin to edit one of the paragraphs. As I am
editing the paragraph, it begins to take on an 'odd' shape. When
I have finished editing the paragraph I press M-q and the
paragraph takes on a more 'normal' shape.

I'm looking for a way to have Emacs shape the paragraph 'as' I
edit it, rather than having to press M-q each time I'm done
editing the paragraph.

Thanks
___________________________________________________________


Sam Peterson-2 wrote:
> 
>>>>>> "Bill" == Bill  <tfc4@cybcon.com> writes:
> 
>     > It's quite possible I'm missing something, but is there a way to
>     > make Emacs OS X Tiger automatically redistribute text after
>     > making an edit in a paragraph?
> 
>     > This would be the equivalent of selecting the fill command under
>     > the Edit menu, only it would take place automatically.
> 
>     > Thanks
> 
> Take a look at M-x refill-mode.
> 
> 
> -- 
> Sam Peterson
> skpeterson At nospam ucdavis.edu
> "if programmers were paid to remove code instead of adding it,
> software would be much better" -- unknown
> _______________________________________________
> 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/Redistributing-Text-After-Editing-tf2536982.html#a7077306
Sent from the Emacs - Help mailing list archive at Nabble.com.

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

* Re: Redistributing Text After Editing
  2006-10-30 16:05   ` bjemacs
@ 2006-10-30 16:14     ` Andy Gimblett
  2006-10-30 16:21       ` bjemacs
  0 siblings, 1 reply; 8+ messages in thread
From: Andy Gimblett @ 2006-10-30 16:14 UTC (permalink / raw)


On Mon, Oct 30, 2006 at 08:05:50AM -0800, bjemacs wrote:
> 
> Here's the scenario. I open a page containing several
> paragraphs. I begin to edit one of the paragraphs. As I am
> editing the paragraph, it begins to take on an 'odd' shape. When
> I have finished editing the paragraph I press M-q and the
> paragraph takes on a more 'normal' shape.
> 
> I'm looking for a way to have Emacs shape the paragraph 'as' I
> edit it, rather than having to press M-q each time I'm done
> editing the paragraph.

Then, as the man said, refill-mode will do what you want.

Add this to your .emacs file:

(add-hook 'text-mode-hook '(lambda () (refill-mode)))

Now every time you're in a text mode buffer, refill-mode will be
turned on automatically.  I don't like it personally, but I believe
the above will do what you've asked for...

-Andy

-- 
Andy Gimblett
Computer Science Department
University of Wales Swansea
http://www.cs.swan.ac.uk/~csandy/

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

* Re: Redistributing Text After Editing
  2006-10-30 16:14     ` Andy Gimblett
@ 2006-10-30 16:21       ` bjemacs
  0 siblings, 0 replies; 8+ messages in thread
From: bjemacs @ 2006-10-30 16:21 UTC (permalink / raw)



Yes! That's it exactly.

Much appreciated.

Bill
___________________________________________________________


Andy Gimblett wrote:
> 
> On Mon, Oct 30, 2006 at 08:05:50AM -0800, bjemacs wrote:
>> 
>> Here's the scenario. I open a page containing several
>> paragraphs. I begin to edit one of the paragraphs. As I am
>> editing the paragraph, it begins to take on an 'odd' shape. When
>> I have finished editing the paragraph I press M-q and the
>> paragraph takes on a more 'normal' shape.
>> 
>> I'm looking for a way to have Emacs shape the paragraph 'as' I
>> edit it, rather than having to press M-q each time I'm done
>> editing the paragraph.
> 
> Then, as the man said, refill-mode will do what you want.
> 
> Add this to your .emacs file:
> 
> (add-hook 'text-mode-hook '(lambda () (refill-mode)))
> 
> Now every time you're in a text mode buffer, refill-mode will be
> turned on automatically.  I don't like it personally, but I believe
> the above will do what you've asked for...
> 
> -Andy
> 
> -- 
> Andy Gimblett
> Computer Science Department
> University of Wales Swansea
> http://www.cs.swan.ac.uk/~csandy/
> 
> 
> _______________________________________________
> 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/Redistributing-Text-After-Editing-tf2536982.html#a7077663
Sent from the Emacs - Help mailing list archive at Nabble.com.

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

* Re: Redistributing Text After Editing
       [not found]   ` <mailman.436.1162224357.27805.help-gnu-emacs@gnu.org>
@ 2006-10-31  9:47     ` Giorgos Keramidas
  0 siblings, 0 replies; 8+ messages in thread
From: Giorgos Keramidas @ 2006-10-31  9:47 UTC (permalink / raw)


On Mon, 30 Oct 2006 08:05:50 -0800 (PST), bjemacs <tfc4@cybcon.com> wrote:
>Sam Peterson-2 wrote:
>> Take a look at M-x refill-mode.
>
> Here's the scenario. I open a page containing several
> paragraphs. I begin to edit one of the paragraphs. As I am
> editing the paragraph, it begins to take on an 'odd'
> shape. When I have finished editing the paragraph I press M-q
> and the paragraph takes on a more 'normal' shape.
>
> I'm looking for a way to have Emacs shape the paragraph 'as' I
> edit it, rather than having to press M-q each time I'm done
> editing the paragraph.

This is _exactly_ what `M-x refill-mode RET' enables :-)

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

end of thread, other threads:[~2006-10-31  9:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.417.1162172211.27805.help-gnu-emacs@gnu.org>
2006-10-30  3:26 ` Redistributing Text After Editing Maarten Bergvelt
2006-10-30  3:30 ` Burton Samograd
2006-10-30  5:36 ` Sam Peterson
2006-10-30 16:05   ` bjemacs
2006-10-30 16:14     ` Andy Gimblett
2006-10-30 16:21       ` bjemacs
     [not found]   ` <mailman.436.1162224357.27805.help-gnu-emacs@gnu.org>
2006-10-31  9:47     ` Giorgos Keramidas
2006-10-30  1:36 Bill

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.