emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <johnrkitchin@gmail.com>
To: "britt@uwaterloo.ca" <britt@uwaterloo.ca>,
	"emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>,
	John Kitchin <johnrkitchin@gmail.com>
Subject: Re: args-out-of-range #<buffer *Org Agenda*>
Date: Wed, 16 Mar 2016 14:54:08 -0700	[thread overview]
Message-ID: <CAJ51ETrGah477pFhgDPEVJxo-x93Wcc+m=9HGeazRJt4Gi+jgg@mail.gmail.com> (raw)
In-Reply-To: <87bn6ew15x.fsf@nicolasgoaziou.fr>

[-- Attachment #1: Type: text/plain, Size: 3167 bytes --]

I pushed a fix for this last night. I don't totally understand why it
happens and the fix is to not run the advice in the agenda buffer.

On Wednesday, March 16, 2016, Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

> Hello,
>
> britt@uwaterloo.ca <javascript:;> writes:
>
> > This message just started appearing today when I open an agenda view
> > "C-c a a". It is not obvious to me what I am doing or have done
> > differently, and I would appreciate some advice how to diagnose the
> > problem:
> > Emacs: 24.5.1
> > Orgmode: 8.3.4-5 (20160229 elpa)
> >
> > Thank you, -- Britt
> >
> > The error trace follows:
> >
> > Debugger entered--Lisp error: (args-out-of-range #<buffer *Org Agenda*>
> 1372 1409)
> >   match-string(1)
> >   (let ((s (match-string 1)) (s-begin (match-beginning 1)) (s-end
> > (match-end 1)) (beg (match-beginning 0)) (end (match-end 0)) (cite-re
> > (format "^\\(%s:\\)" (regexp-opt (-sort (function (lambda ... ...))
> > org-ref-cite-types)))) cite-type) (if (and s (string-match cite-re s))
> > (progn (setq cite-type (match-string 1 s)) (remove-text-properties beg
> > end (quote (invisible))) (add-text-properties beg end (list (quote
> > face) (list (quote :foreground) org-ref-cite-color))))))
> >   (progn (let ((s (match-string 1)) (s-begin (match-beginning 1))
> > (s-end (match-end 1)) (beg (match-beginning 0)) (end (match-end 0))
> > (cite-re (format "^\\(%s:\\)" (regexp-opt (-sort (function ...)
> > org-ref-cite-types)))) cite-type) (if (and s (string-match cite-re s))
> > (progn (setq cite-type (match-string 1 s)) (remove-text-properties beg
> > end (quote (invisible))) (add-text-properties beg end (list (quote
> > face) (list (quote :foreground) org-ref-cite-color)))))))
> >   (unwind-protect (progn (let ((s (match-string 1)) (s-begin
> > (match-beginning 1)) (s-end (match-end 1)) (beg (match-beginning 0))
> > (end (match-end 0)) (cite-re (format "^\\(%s:\\)" (regexp-opt (-sort
> > ... org-ref-cite-types)))) cite-type) (if (and s (string-match cite-re
> > s)) (progn (setq cite-type (match-string 1 s)) (remove-text-properties
> > beg end (quote (invisible))) (add-text-properties beg end (list (quote
> > face) (list ... org-ref-cite-color))))))) (set-match-data
> > save-match-data-internal (quote evaporate)))
> >   (let ((save-match-data-internal (match-data))) (unwind-protect
> > (progn (let ((s (match-string 1)) (s-begin (match-beginning 1)) (s-end
> > (match-end 1)) (beg (match-beginning 0)) (end (match-end 0)) (cite-re
> > (format "^\\(%s:\\)" (regexp-opt ...))) cite-type) (if (and
> > s (string-match cite-re s)) (progn (setq cite-type (match-string 1 s))
> > (remove-text-properties beg end (quote ...)) (add-text-properties beg
> > end (list ... ...)))))) (set-match-data save-match-data-internal
> > (quote evaporate))))
> >   org-ref-make-org-link-cite-key-visible(416)
>
> This looks like an org-ref issue. I'm Cc'ing John Kitchin.
>
> Regards,
>
> --
> Nicolas Goaziou
>


-- 
John

-----------------------------------
John Kitchin
Professor
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
http://kitchingroup.cheme.cmu.edu

[-- Attachment #2: Type: text/html, Size: 3949 bytes --]

      reply	other threads:[~2016-03-16 21:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-03 20:26 args-out-of-range #<buffer *Org Agenda*> britt
2016-03-16 21:41 ` Nicolas Goaziou
2016-03-16 21:54   ` John Kitchin [this message]

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='CAJ51ETrGah477pFhgDPEVJxo-x93Wcc+m=9HGeazRJt4Gi+jgg@mail.gmail.com' \
    --to=johnrkitchin@gmail.com \
    --cc=britt@uwaterloo.ca \
    --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).