emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [bug] args out of range upon meta-return in body of list item
Date: Tue, 4 Aug 2020 15:41:05 -0700	[thread overview]
Message-ID: <CAJcAo8uEmEuZYNOGnrQ0mRrBPVfnjCXQsJGi27B6pW=aQSZR9Q@mail.gmail.com> (raw)

recent maint on emacs 25.

i know this is an imperfect bug report with no mce that you can
probably repro.  but perhaps it can trigger an idea that could lead
directly to a fix.  my brain and computer limitations cannot do better
at this time.

when i run m-ret at the caret i get this bt.  my intent is to make a
new list item containing prefer as its header.

   1) [ ] towels
      1) [ ] 12 very large (asdfasdf asdfasdf) solid color,
         like the ones i use, thick -- asdafsdf -- ^prefer
         to get them slightly wider
         - not any ...
         - not any pattern (something like different color on
           end might be ok, dunno) or anything garish
      2) [ ] 6 dark aasdfa dfnkajs dkfaskdf kasdn
         fkasdnkfanksdfn kasdfn
   2) asdfasdfasdf

Debugger entered--Lisp error: (args-out-of-range -1 3)
  replace-match("1) " nil nil nil 1)
  #[771 ...
  org-list-struct-apply-struct(...
  org-list-write-struct(...
  org-insert-item(nil)
  funcall-interactively(org-insert-item nil)
  call-interactively(org-insert-item)
  org-meta-return(nil)
  funcall-interactively(org-meta-return nil)
  call-interactively(org-meta-return nil nil)
  command-execute(org-meta-return)


             reply	other threads:[~2020-08-04 22:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-04 22:41 Samuel Wales [this message]
2020-08-05  4:51 ` [bug] args out of range upon meta-return in body of list item Kyle Meyer
2020-08-05  5:18   ` Samuel Wales
2020-08-16  9:45   ` Nicolas Goaziou
2020-08-16 15:36     ` Kyle Meyer
2020-08-16 22:12       ` Samuel Wales
2020-08-20 20:55         ` Samuel Wales
2020-08-20 21:16           ` Nicolas Goaziou
2020-08-20 21:47             ` Samuel Wales

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='CAJcAo8uEmEuZYNOGnrQ0mRrBPVfnjCXQsJGi27B6pW=aQSZR9Q@mail.gmail.com' \
    --to=samologist@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).