all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* another auto-fill bug
@ 2012-10-19 17:04 Samuel Wales
  2012-10-20 10:05 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Samuel Wales @ 2012-10-19 17:04 UTC (permalink / raw)
  To: emacs-orgmode

If you press SPC after this with the appropriate fill-columun setup,
Org will incorrectly comment the next line.

===
#   It's not as if bad guys always aim
# for the loss of life per se.  They often just consider the
# loss of life less important than their real goal.
I won't go into the details, because I don't use the term.
===

Just out of curiosity, what would be the incorrect behavior that would
result if Org used Emacs standard filling and auto-filling instead of
its own?

Thanks.

Samuel

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: another auto-fill bug
  2012-10-19 17:04 another auto-fill bug Samuel Wales
@ 2012-10-20 10:05 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2012-10-20 10:05 UTC (permalink / raw)
  To: Samuel Wales; +Cc: emacs-orgmode

Hello,

Samuel Wales <samologist@gmail.com> writes:

> If you press SPC after this with the appropriate fill-columun setup,
> Org will incorrectly comment the next line.
>
> ===
> #   It's not as if bad guys always aim
> # for the loss of life per se.  They often just consider the
> # loss of life less important than their real goal.
> I won't go into the details, because I don't use the term.
> ===

Thanks for the report. It should be fixed now.

> Just out of curiosity, what would be the incorrect behavior that would
> result if Org used Emacs standard filling and auto-filling instead of
> its own?

As I already explained, standard filling and auto-filling cannot cope
with Org requirements about paragraphs and comments. It would be
too tedious to describe the incorrect behaviour here.

You can remove all comments and filling code and start from scratch to
get you an idea if you want to.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-20 10:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-19 17:04 another auto-fill bug Samuel Wales
2012-10-20 10:05 ` Nicolas Goaziou

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.