emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: nicholas.dokos@hp.com
Cc: emacs-orgmode@gnu.org, michael hohn <mhhohn@gmail.com>
Subject: Re: lists and fill-region
Date: Wed, 09 Mar 2011 15:45:31 -0500	[thread overview]
Message-ID: <87vczsc9as.fsf@norang.ca> (raw)
In-Reply-To: <11726.1299701180@alphaville.dokosmarshall.org> (Nick Dokos's message of "Wed, 09 Mar 2011 15:06:20 -0500")

Nick Dokos <nicholas.dokos@hp.com> writes:

> Bernt Hansen <bernt@norang.ca> wrote:
>
>> 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 have tried different settings for org-list-ending-method but this
>> > doesn't change the result.
>> >
>> > Has anybody seen this or know a fix?
>> 
>> Hi Michael,
>> 
>> This wraps okay for me.  I get the following:
>> 
>> - one
>>   - very, very, very, very, very, very, very, very, very, very, very,
>>     very, long
>>   - short
>> 
>> Have you tried it with a minimal emacs setup?  Maybe it's something in
>> your customizations that affects this.
>> 
>
> With fill-paragraph, I get what Bernt gets. With
> mark-paragraph/fill-region, I get what Michael gets. This is with emacs
> -q -l minimal.emacs. In both cases, I start with point at the beginning
> of the very, very long line.
>
> Org-mode version 7.5 (release_7.5.7.g4090.dirty)
> GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0) of 2010-11-17 on alphaville

Thanks Nick,

I can also reproduce this.  I was incorrectly using fill-paragraph the
first time.

Regards,
-- 
Bernt

  reply	other threads:[~2011-03-09 20:45 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
2011-03-09 19:50 ` Bernt Hansen
2011-03-09 20:06   ` Nick Dokos
2011-03-09 20:45     ` Bernt Hansen [this message]
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=87vczsc9as.fsf@norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=mhhohn@gmail.com \
    --cc=nicholas.dokos@hp.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).