emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Re: lists and fill-region


From: Matt Lundin
Subject: [O] Re: lists and fill-region
Date: Wed, 09 Mar 2011 19:32:33 -0500
User-agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux)

Nicolas <address@hidden> writes:

> Hello,
>
> Matt Lundin <address@hidden> writes:
>
>> A related bug: 
>>
>>> - one
>>>   - very, very, very, very, very, very, very, very, very, very, very,
>>> very, long
>>>   - short
>>
>> If one calls unfill-paragraph on the "very, very" line above, nothing
>> happens. In the past, unfill paragraph would turn the item into a single
>> line, which is very convenient for fixing improperly indented multi-line
>> items.
>
> Could you tell me if the problem with unfill-paragraph persists?  

The problem is solved in the most recent git. Thanks!

> If it does, as there is no unfill-paragraph in standard Emacs, could
> you provide the definition you gave it?

You are right. Sometimes it is difficult to remember where Emacs begins
and one's own customizations end. :)

Here is unfill-paragraph (grabbed from the emacswiki, I believe):

--8<---------------cut here---------------start------------->8---
(defun unfill-paragraph ()
  (interactive)
  (let ((fill-column (point-max)))
    (fill-paragraph nil)))
--8<---------------cut here---------------end--------------->8---

Thanks again,
Matt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]