emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Brand <michael.ch.brand@gmail.com>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: [BUG] org-fill-paragraph on #+TBLNAME
Date: Thu, 25 Apr 2013 14:36:18 +0200	[thread overview]
Message-ID: <CALn3zoj7ku+298fGM=KU08Wy9vnifEjO_VpyaBzrfgPhmRgumw@mail.gmail.com> (raw)

Hi all

There is a minor bug, relevant in my first and simple trial to apply
org-fill-paragraph on all parts of an Org buffer: M-q
(fill-paragraph/org-fill-paragraph) on the first column of the
line #+TBLNAME here

#+TBLNAME: table
| field |

results in an error. The type "table" and the buffer range returned by
org-element-at-point that determines to use org-table-align seems ok
to me. More like the problem seems that the variable "lines" of
org-table-align that should contain the table rows becomes nil. I am
not sure how to resolve it in a robust way, preferrably with
org-element. This is release_8.0.1-35-ge87dc9.

Michael

             reply	other threads:[~2013-04-25 12:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-25 12:36 Michael Brand [this message]
2013-04-26 12:31 ` Nicolas Goaziou
2013-04-26 12:58   ` Michael Brand
2013-04-26 13:03     ` Nicolas Goaziou
2013-04-26 13:31       ` Michael Brand
2013-04-26 14:00         ` Nicolas Goaziou
2013-04-26 15:10           ` Michael Brand
2013-04-26 21:21             ` Nicolas Goaziou

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='CALn3zoj7ku+298fGM=KU08Wy9vnifEjO_VpyaBzrfgPhmRgumw@mail.gmail.com' \
    --to=michael.ch.brand@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: [BUG] org-fill-paragraph on #+TBLNAME' \
    /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

Code repositories for project(s) associated with this 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).