emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daniele Pizzolli <dan@toel.it>
To: emacs-orgmode@gnu.org
Subject: Re: [FR] fill caption
Date: Sun, 15 Jun 2014 20:17:06 +0200	[thread overview]
Message-ID: <539DE322.9@toel.it> (raw)
In-Reply-To: <87zjhf6rz2.fsf@gmail.com>

On 06/15/2014 12:34 AM, Aaron Ecay wrote:
> Hi Daniele,
>
> 2014ko ekainak 14an, Daniele Pizzolli-ek idatzi zuen:
>>
>> Hello @ll,
>>
>> I noticed that multi line caption works as expected, but there is no
>> way to fill it (at least to my knowledge).

[]

> I have the following function in my org-mode-hook:

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 am using: org 8.2.7.

> If you use ispell’s facility for adding to LocalWords (pressing A
> (i.e. shift+a) at the spelling correction prompt, or “Accept (buffer)”
> in the context menu), it will handle breaking the LocalWords lines for
> you.

Yes, but do not re-fill the previous lines (eg: if you change
fill-column).  But that is a minor annoyance, let’s drop it now.

> Hope this is useful,

Sure!  Thanks,
Daniele

  reply	other threads:[~2014-06-15 18:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-14 17:21 [FR] fill caption Daniele Pizzolli
2014-06-14 18:04 ` Nicolas Goaziou
2014-06-15 18:15   ` Daniele Pizzolli
2014-06-14 22:34 ` Aaron Ecay
2014-06-15 18:17   ` Daniele Pizzolli [this message]
2014-06-19 23:52     ` Aaron Ecay
2014-07-27 17:24   ` Bastien
2014-08-06  3:55     ` Aaron Ecay

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=539DE322.9@toel.it \
    --to=dan@toel.it \
    --cc=emacs-orgmode@gnu.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).