emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* args-out-of-range #<buffer *Org Agenda*>
@ 2016-03-03 20:26 britt
  2016-03-16 21:41 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: britt @ 2016-03-03 20:26 UTC (permalink / raw)
  To: emacs-orgmode

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)
  apply(org-ref-make-org-link-cite-key-visible 416)
  org-activate-bracket-links(416)
  org-agenda-finalize()
  byte-code("\b\206).	\203(.\n\203..\v;\203..\306\307\n\v#\202%.\n\203$.\306\310\n\"\202%.\311\206).\f.\312\313!\210.\2064..@\211.;\203B.\314\315\316\317.#!.\320\321!\210\322\321!\210\323.A\206W..B\206W..C!.A\324 .D.\206d..D.E\325.A.E\"\211.F\326=\204{..F\327=\205}..G.G\330\316\331\"\211.H.I.G\203\224..F\326W\203\231..E\202\277.\332\333.E!!.J.G.K.J.KZ.L.E.L\334W\203\271.\326\202\272.\334.L\\Z+\211.MC.N\334.O.P?.Q.R.S\316\211.T.U\316\211.V.W\316\211.X.Y\316\211.L.Z\316\211.[.\\\316\211.].^\316._\335\336.`D.\336.AD.a\257..b.FS\334.c.d.c.dW\203*..N@T.NB.N.cT\211.c\202..*.N\237\211.N@.].N.e\337.e!@)\206B.\334T.^\340.N@.f.g\341.g!.fL*\210\342.`.f.g\341.g!.fL*\210\343\323.A!.f.g\341.g!.fL*\210.h\204\362..N@.i.N.e\337.e!@).j\344.i!.k\344.j!.l`.T.m\203\262.\345\346.m!\316\347\350$\351\261.\210\202\340.\352.A!\353.j.iZ\354W\203\333..k.lU\203\321.\306\355.k\"\202\334.\306\356.k.l#\202\334.\357\360\261.\210,\361.T`S\347\350\362\317F#\210\363.T!\210.N\211A.N\242\211.L\203\374.\333.L!.Y`.T.L.DU\211.\\\204 ..Z\204&..L.EU\203&.`.Z\2023..Z\2033..[\2043.`.[.H.I\316.W.I\211A.I\242\211.X\203N.\364\365\215\210\202:..n\203i.\317.o\366\367!\210\370.Y!.V\371.W.V\".W).W\204s..p\203\362..OT.O.q;\203\211.\372.q\373.Y!\"\202\216..q.Y!\351\261.\210\374.T`S\347\375.Y!$\210\374.T`S\362\317$\210\374.T`S\376\317$\210\374.T`S\377.O$\210.\\\203\310.\374.T`S\324\317$\210\201y..W.F.\\#\211.W\203\343.\201z..W\321\"\351\261.\210\374.T`S\201{..L$\210\374.T`S\377.O$\210\202\362..r\203U..]\203U.\330\316\331\"\346.s!\316.t.u..\201|..u\201}.\".u\201~..u\201\x7f..]#.u\201~..u\201\200..^#.u\201~..u\201\201.\321#.u\201\202.\201\203..u\"\211.tc\210+eb\210.v\204b.\201\204. \210\201\205.e!\203r.\201\205.d!\204\237.dSb\210\201\206.\201\207.!\210\201\205..Z\206\211.\201\210.!\204\237..Z\206\225.\201\210.b\210\201\206.\201\210.!\210.Z\206\247.\201\210.b\210\361ed\201\211.\321\201\212..`..AE\201\213..b\201\214..w\257\b#\210.S\201\215.=\203\325.\201\216. \210\201\217. \210\317.x\201\220.\357!..\207" [org-agenda-buffer-tmp-name org-agenda-sticky org-keys org-match org-agenda-buffer-name start-day format "*Org Agenda(%s:%s)*" "*Org Agenda(%s)*" "*Org Agenda(a)*" org-agenda-prepare "Day/Week" time-to-days org-read-date nil t org-compile-prefix-format agenda org-set-sorting-strategy org-agenda-ndays-to-span org-today org-agenda-span-to-ndays 7 14 org-agenda-files ifmode calendar-day-of-week calendar-gregorian-from-absolute 0 org-agenda-list quote last org-starting-day make-local-variable org-arg-loc org-agenda-current-span org-days-to-iso-week org-add-props copy-sequence face org-agenda-structure "\n" org-agenda-span-name "-agenda" 350 " (W%02d)" " (W%02d-W%02d)" "" ":\n" add-text-properties ...] 12)
  org-agenda-list(nil)
  call-interactively(org-agenda-list)
  byte-code("\306.	.\307 	\232\203..\310\202..\n.\v.\311\306\312\313\v\"\".\314\v.\".p.@\315\316 !.A\306\211.B.C\306\211.D.E\306\211.F.G.H\204`.\317\320!\203K...\204Q.\321\322\323\306#\210\306.I.J\306\211\223\210.K\306\211\223\210\321\324\325\306#\210\321\324\326\306#\210p.L.M\204\202.\327\b!\211.G@.M.GA.N.O\203\215.\330\331.M\"..H\204\330..N\203\330.\321\322\323.AC#\210.N\332=\203\272.p.I.J\333 \306\223\210.K\334 \306\223\210\202\330..N\335=\203\330.\212p.I\336\337!\210.J`\306\223\210.K\340\337!\306\223\210)\341.M\v\"\211.B\203..\342.B89\204\364.\343\342.B8!\203\b.\342.B8.D\344\345.B8!.E\346.B8.F.O\203#..E;\203..\330\347.M.E#\206\".\330\331.M\".\321\324\325.F#\210.D\350=\2039.\351.F\352\"\202\237..D\353=\203H.\351.F\354\"\202\237..D\355=\203W.\351.F\356\"\202\237..D\357=\203f.\351.F\360\"\202\237..D\361=\203u.\351.F\362\"\202\237..D\363=\203\204.\351.F\364\"\202\237..D\365=\203\223.\351.F\366\"\202\237..D\367=\203\242.\351.F\370\"\202\237..D\371=\203\264.\372 \210\351.F\373\"\202\237..D\374=\203\306.\372 \210\351.F\375\"\202\237..D\376=\203\330.\372 \210\351.F\377\"\202\237.\343.D!\203\351.\351.F\201S.\"\202\237.\201T..D!\203\374.\351.F\201U.\"\202\237.\201V.\201W..D\"\202\237.\201X..BA@.B\211AA\262.\"\202\237..M\201Y.\232\203-.\f.\201Z.\303!\202\237..M\201[.\232\203@.\201\\.\201].!\202\237..M\201^.\232\203S.\201\\.\201_.!\202\237..M\201`.\232\203y.\201_..P\206g.\201a..P.Q.P.R\201\\..Q!+\202\237..M\201b.\232\203\214.\201\\.\201c.!\202\237..M\201d.\232\203\262.\201c..P\206\240.\201e..P.Q.P.R\201\\..Q!+\202\237..M\201f.\232\203\305.\201\\.\201g.!\202\237..M\201h.\232\203\353.\201g..P\206\331.\201i..P.Q.P.R\201\\..Q!+\202\237..M\201j.\232\203\376.\201\\.\201k.!\202\237..M\201l.\232\203\x1f.\201g.\306\201m.\"\210\201n.\201o.\201p.\337\211$\202\237..M\201q.\232\203_.\201r.\201s.!\204:.\201V.\201t.!\210.N?\205\237.\321\322\323.AC#\210\201u..P.P.Q.P.R\201\\..Q!+\202\237..M\201v.\232\203r.\201\\.\201w.!\202\237..M\201x.\232\203\205.\201\\.\201y.!\202\237..M\201z.\232\203\230.\201Z.\201{.!\202\237.\201V.\201|.!..\207" [prefix-descriptions org-agenda-buffer-name org-agenda-window-setup org-agenda-custom-commands org-agenda-custom-commands-orig org-agenda-custom-commands-contexts nil buffer-name current-window delq mapcar #[(x) "\bA;\203\f.\b	B.\302\207\bA@;\203..\b\207\bA@\204'.\b@\303\b\211AA\262.BB\207\b@\303\bABB\207" [x prefix-descriptions nil ""] 4] org-contextualize-keys buffer-file-name buffer-base-buffer boundp org-agenda-keep-restricted-file-list put org-agenda-files org-restrict org-agenda-redo-command org-lprops last-args org-agenda-get-restriction-and-command format "*Org Agenda(%s)*" region region-beginning region-end subtree org-back-to-heading t org-end-of-subtree assoc 2 functionp eval 3 4 "*Org Agenda(%s:%s)*" agenda org-let (org-agenda-list current-prefix-arg) agenda* (org-agenda-list current-prefix-arg nil nil t) alltodo (org-todo-list current-prefix-arg) search (org-search-view current-prefix-arg org-match nil) stuck ...] 6)
  org-agenda(nil)
  call-interactively(org-agenda nil nil)
  command-execute(org-agenda)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: args-out-of-range #<buffer *Org Agenda*>
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2016-03-16 21:41 UTC (permalink / raw)
  To: britt; +Cc: John Kitchin, emacs-orgmode

Hello,

britt@uwaterloo.ca 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: args-out-of-range #<buffer *Org Agenda*>
  2016-03-16 21:41 ` Nicolas Goaziou
@ 2016-03-16 21:54   ` John Kitchin
  0 siblings, 0 replies; 3+ messages in thread
From: John Kitchin @ 2016-03-16 21:54 UTC (permalink / raw)
  To: britt@uwaterloo.ca, emacs-orgmode@gnu.org, John Kitchin

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-03-16 21:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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).