emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: michael hohn <mhhohn@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: lists and fill-region
Date: Wed, 09 Mar 2011 19:32:33 -0500	[thread overview]
Message-ID: <87pqpz24ta.fsf@fastmail.fm> (raw)
In-Reply-To: <87oc5j25xr.fsf@gmail.com> (Nicolas's message of "Thu, 10 Mar 2011 01:08:16 +0100")

Nicolas <n.goaziou@gmail.com> writes:

> Hello,
>
> Matt Lundin <mdl@imapmail.org> 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	other threads:[~2011-03-10  0:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-09 19:04 lists and fill-region michael hohn
2011-03-09 19:36 ` Matt Lundin
2011-03-10  0:08   ` Nicolas
2011-03-10  0:32     ` Matt Lundin [this message]
2011-03-09 19:50 ` Bernt Hansen
2011-03-09 20:06   ` Nick Dokos
2011-03-09 20:45     ` Bernt Hansen
2011-03-10  0:03 ` Nicolas
2011-03-10  6:11   ` michael hohn
2011-03-10  8:55     ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pqpz24ta.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=mhhohn@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).