emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: Sebastien Vauban
	<public-wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@plane.gmane.org>
Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org
Subject: Re: More problems with orgstruct++-mode, message-mode and auto fill
Date: Thu, 10 May 2012 11:26:11 +0200	[thread overview]
Message-ID: <8762c4mlos.fsf@gnu.org> (raw)
In-Reply-To: <80vck4o2y0.fsf@somewhere.org> (Sebastien Vauban's message of "Thu, 10 May 2012 10:28:07 +0200")




Hi Sébastien,

perhaps the problem with filladapt was specific to Thorsten's
installation, it's hard to guess.

IMHO the real question is: what do you need filladapt for?

You wouldn't install a new software called Emacs-For-The-Real-Men just
because it advertizes itself as "Make a better job than Emacs"... unless
you can tell if this is true, and for what.

But I don't have /a priori/ concerns with anyone using filladapt.el, and
my advice was just to be taken as it is: a personal point of view.

My concern is "Should Org work even if people are shooting themselves in
the foot with libraries that are perhaps obsolete and that replace
fundamental variables of Emacs"?  The simple answer is: "Yes, if this is
both reasonable and feasible."

Regarding filladapt, if it really "does a better job" at filling, then 
it should be somehow merged into Emacs.  For now, it replaces functions
like `do-auto-fill' and Org cannot really be expected to understand such
replacements done outside Emacs.

> Notice that I had to add:
>
> #+begin_src emacs-lisp
>           ;; make `orgstruct-hijacker-command-22' rebind `M-q' to a message
>           ;; specific function to fill a paragraph
>           (setq fill-paragraph-function 'message-fill-paragraph)
> #+end_src

> a couple of weeks ago, because the filling did not behave anymore like it did.

That's why it "works" now.  

You enable orgstruct++-mode but you don't use its `org-fill-paragraph'
function, you use `message-fill-paragraph' instead.  As for auto-filling,
you don't use `auto-fill-function', but filladapt's internal ̀do-auto-fill'
instead.

So, unless you really know why you need/enjoy filladapt, I think it's
not _that_ unreasonable not using it.

2 cents,

-- 
 Bastien

      reply	other threads:[~2012-05-10 10:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-09 16:53 More problems with orgstruct++-mode, message-mode and auto fill Bernt Hansen
2012-05-09 17:03 ` Christopher Schmidt
2012-05-09 17:40 ` Bastien
2012-05-09 19:30   ` Bernt Hansen
2012-05-09 21:06     ` Bastien
2012-05-09 21:49     ` Bernt Hansen
2012-05-09 19:15 ` Thorsten Jolitz
2012-05-10  1:11   ` Eric S Fraga
2012-05-10  6:36     ` Bastien
2012-05-10  8:28       ` Sebastien Vauban
2012-05-10  9:26         ` Bastien [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=8762c4mlos.fsf@gnu.org \
    --to=bzg@gnu.org \
    --cc=public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org \
    --cc=public-wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@plane.gmane.org \
    /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).