From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Ecay Subject: Re: [FR] fill caption Date: Thu, 19 Jun 2014 19:52:20 -0400 Message-ID: References: <539C84B3.9060302@toel.it> <87zjhf6rz2.fsf@gmail.com> <539DE322.9@toel.it> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42437) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wxm7z-000060-Uj for emacs-orgmode@gnu.org; Thu, 19 Jun 2014 19:52:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wxm7x-0005rz-5A for emacs-orgmode@gnu.org; Thu, 19 Jun 2014 19:52:23 -0400 Received: from mail-ie0-x233.google.com ([2607:f8b0:4001:c03::233]:62522) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wxm7w-0005rt-Vr for emacs-orgmode@gnu.org; Thu, 19 Jun 2014 19:52:21 -0400 Received: by mail-ie0-f179.google.com with SMTP id tr6so2649681ieb.38 for ; Thu, 19 Jun 2014 16:52:20 -0700 (PDT) In-Reply-To: <539DE322.9@toel.it> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Daniele Pizzolli Cc: "emacs-orgmode@gnu.org" Hi Daniele, > > Hello Aaron, > > Nice, since I do not use short caption, this could be really a > viable solution. > > How I am supposed to set it up? > > I added it as: > > (add-hook 'org-mode-hook (lambda () (awe-org-setup-fill-hook))) > > When pressing M-q it does nothing on #+caption: lines. > > If I enable the debug (fill-adapt-debug) I can see (org-message) in > the status bar and "#+caption: " becomes highlighted. But again M-q > does nothing. I'm puzzled. I have other customizations related to filling in my org-mode-hook (to make fill-paragraph split text into one sentence per line for better git diffs). The customization I sent works in the context of that other code, but I haven't been able to get it to function independently. Sorry, Aaron