emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Yagnesh Raghava Yakkala <hi@yagnesh.org>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [bug?] org-e-latex; unexpected enumerate in export
Date: Wed, 14 Nov 2012 06:07:09 +0900	[thread overview]
Message-ID: <876259i54y.fsf@yagnesh.org> (raw)
In-Reply-To: <87k3tpi6w1.fsf@gmail.com> (Nicolas Goaziou's message of "Tue, 13 Nov 2012 21:29:18 +0100")


Hello Nicolas,

> I'm not talking about export, but filling. Can you fill correctly
> with -Q ? By "fill correctly" I mean that "2008." shouldn't be put at
> the beginning of a line unless it wasn't there already.

with emacs -Q (with org-mode release_7.9.2-584-g0421be)

--8<---------------cut here---------------start------------->8---
The Model was initialized at 00 UTC 25 DEC 2008 to 00 UTC 28 DEC 2008. The initial and boundary conditions blah blah.  more blah
--8<---------------cut here---------------end--------------->8---

fill-paragraph (M-q) is filling following way (I think correctly).

--8<---------------cut here---------------start------------->8---
The Model was initialized at 00 UTC 25 DEC 2008 to 00 UTC 28
DEC 2008. The initial and boundary conditions blah blah.  more blah
--8<---------------cut here---------------end--------------->8---

but when the paragraph

--8<---------------cut here---------------start------------->8---
The Model was initialized at 00 UTC 25 DEC 2008 to 00 UTC 28 DEC
2008. The initial and boundary conditions blah blah.  more blah
--8<---------------cut here---------------end--------------->8---

fill-paragraph doesn't change anything. May be fill is also assuming the
second line as a list and correctly so.

I think the fault is with my English and writing habits. After several edits
in that paragraph It ended up having number and dot at the bol.  I think Its
just a watch-out case.

>>>Also, what is the value of `fill-nobreak-predicate' variable in that buffer?
>>
>> Its value is `nil'.
>
> That is the problem. It should contain at least
> `org-fill-paragraph-separate-nobreak-p' and
> `org-fill-line-break-nobreak-p' functions. 

>Do you have an idea why it doesn't?

I read it wrong earlier.

Sorry for ringing false alarm.

Thanks a lot.
-- 
ఎందరో మహానుభావులు అందరికి వందనములు
YYR

      reply	other threads:[~2012-11-13 21:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-12 16:08 [bug?] org-e-latex; unexpected enumerate in export Yagnesh Raghava Yakkala
2012-11-12 20:19 ` Nicolas Goaziou
2012-11-13  4:37   ` Yagnesh Raghava Yakkala
2012-11-13  4:55     ` Yagnesh Raghava Yakkala
2012-11-13 19:59       ` Nicolas Goaziou
2012-11-13 20:20         ` Yagnesh Raghava Yakkala
2012-11-13 20:29           ` Nicolas Goaziou
2012-11-13 21:07             ` Yagnesh Raghava Yakkala [this message]

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=876259i54y.fsf@yagnesh.org \
    --to=hi@yagnesh.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@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).