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 14:36:29 -0500	[thread overview]
Message-ID: <87d3m0m6gy.fsf@fastmail.fm> (raw)
In-Reply-To: <AANLkTi=BDhy7g1BQv=WdVDTw7H581GmD6EYdfSq=04Zr@mail.gmail.com> (michael hohn's message of "Wed, 9 Mar 2011 11:04:13 -0800")

michael hohn <mhhohn@gmail.com> writes:

> Hi all,
>
> after upgrading to the current git head (from a version around 6.36),
> fill-region produces wrong indentation for my lists.  Starting with
>
> - one
>   - very, very, very, very, very, very, very, very, very, very, very, very, long
>   - short
>
> and marking the second item via mark-paragraph followed by fill-region
> results in
>
> - one
>   - very, very, very, very, very, very, very, very, very, very, very,
> very, long
>   - short

I can reproduce this. It occurs only when marking a region, not when
calling fill paragraph directly on the item.

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.

Best,
Matt

  reply	other threads:[~2011-03-09 19:36 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 [this message]
2011-03-10  0:08   ` Nicolas
2011-03-10  0:32     ` Matt Lundin
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=87d3m0m6gy.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).