emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian P. Luque <spluque@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Bug: Editing <column-width> cookie in table column breaks tabbing [9.1.9 (9.1.9-3-gb1a639-elpa @ /home/foo/.emacs.d/elpa/org-20180402/)]
Date: Wed, 11 Apr 2018 10:47:40 -0500	[thread overview]
Message-ID: <87in8xvj6r.fsf@gmail.com> (raw)
In-Reply-To: 87d0z6q9eq.fsf@nicolasgoaziou.fr

On Wed, 11 Apr 2018 13:17:49 +0200,
Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:

> Hello, "Sebastian P. Luque" <spluque@gmail.com> writes:

>> When `org-startup-align-all-tables' is t, then editing the <N> cookie
>> in a table causes subsequent tabbing inside the table to throw the
>> following trace:

>> Debugger entered--Lisp error: (args-out-of-range #("abcde" 0 1
>> (help-echo "Clipped table field, use `\\[org-table-edit-field]' to
>> edit.  Full value is:\a

> Could you provide an ECM? I couldn't reproduce the issue.

Biensur:

╭───── [ emacs_init.el ]
│ (package-initialize)
│ (toggle-debug-on-error)
│ (setq org-startup-align-all-tables t)
╰─────

First line is to ensure the Elpa Org package is available.

╭───── [ bug.org ]
│ * Column width alignment
│ 
│ |   A |    B | C     |
│ |     |      | <5>   |
│ | 123 | 1234 | 56789 |
╰─────

and then do:

emacs -q -l emacs_init.el bug.org

Now edit the column width cookie a few times, hitting TAB after each
edit.  I haven't yet found what sequence of edits that triggers the
error in this example, as it seems inconsistent.  I tried switching
between different permutations of 2, 3, 4, 5, and eventually the
debugger is entered.  During normal use cases, I get into the error
right away.

-- 
Seb

  reply	other threads:[~2018-04-11 15:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-02 19:27 Bug: Editing <column-width> cookie in table column breaks tabbing [9.1.9 (9.1.9-3-gb1a639-elpa @ /home/foo/.emacs.d/elpa/org-20180402/)] Sebastian P. Luque
2018-04-11 11:17 ` Nicolas Goaziou
2018-04-11 15:47   ` Sebastian P. Luque [this message]
2018-04-12 13:41     ` 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=87in8xvj6r.fsf@gmail.com \
    --to=spluque@gmail.com \
    --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).