unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Debugger output
@ 2014-05-31 11:31 Sharon Kimble
  2014-05-31 11:47 ` Thorsten Jolitz
  0 siblings, 1 reply; 3+ messages in thread
From: Sharon Kimble @ 2014-05-31 11:31 UTC (permalink / raw)
  To: help-gnu-emacs


[-- Attachment #1.1: Type: text/plain, Size: 60 bytes --]

Everytime I start emacs now I get a big problem with this -

[-- Attachment #1.2: backtrace --]
[-- Type: text/plain, Size: 5717 bytes --]

Debugger entered--Lisp error: (error "Stack overflow in regexp matcher")
  re-search-forward("^[^%]*\\\\usepackage.*{biblatex}" nil t)
  reftex-using-biblatex-p()
  reftex-locate-bibliography-files("/home/boudiccas/.emacs.d/org/")
  byte-code("\306\b\307	#\211\x12\204\x16\0\310\b!\211\x13\203\x16\0\311\v!\x12\n\204%\0\312\bD\fB\x14\313\314\315\"\210\212\316\317\b\"\210\320\n\r\321=?\"\211\x16@q\210\311 \x10\322\bD\fB\x14\323 \x1eA\324\216\325\x0eB!\210\315\x1eC\212\214~\210\326b\210\327\x0eD\315\321#\203\272\x01\326\225\203\260\0\x0eE\203\242\0\330\331!\331\332O\333\230\204\242\0\334\335!\203\236\0\334\336!\203\236\0\337 \x1eF\340\216\335 *\x0eE\235\206\232\0\337 \x1eF\341\216\336 *\x0eE\235?\202\237\0\321\203U\0\342\330\326!\b\x0eG#\fB\x14\202U\0\343\225\203\376\0\331\224\x16G`Sf\344=\203\304\0\345u\210\x0eH\b!\211\x16I\203U\0\346\x0eI8\x16J\x0eK\x0eJ^\x16K\x0eJ\x0eKU\203\362\0\316\347\350\x0eJ\x0eL\"@\351\x0eI8#\210\x0eI\fB\x14\x0eI\x16M\202U\0\332\225\203\x1d\x01\330\332!\x16N\352\315\353\354\x0eO\"\"\204U\0\355\x0eN\f	#\x14\202U\0\356\225\2030\x01\357\315\321\"\210\360\321B\fB\x14\202U\0\361\225\203f\x01\x0eP\203U\0\362\b!\211\x16Q\203U\0\x0eQA@\211\x1eR\x0eS\235\203V\x01\x0eS\210\202]\x01\x0eR\x0eSB\x16S)\x0eQ\fB\x14\202U\0\363\225\203\263\x01\212\330\363!\x1eT\363\225b\210\337 \x1eF\364\216\365\366\x0eT!!*\x1eU\367\x0eT\x0eV\"A@\211\x1eW\203\231\x01\331\225b\210\202\240\x01\363\225b\210\370 \210\342\x0eU\b\x0eG\315\211%\211\x1eX\fB\x14-\202U\0\371\372!\210\202U\0\373	!\211\x16Y\203\312\x01\374\x0eYB\fB\x14\326b\210\327\375\315\321#\203\333\x01\376\bB\fB\x14\326b\210\327\377\315\321#\203\370\x01\201Z\0\330\201[\0!\330\343!E\fB\x14\202\336\x01\201\\\0\bD\fB\x14.\x06\201]\0\x0e@!\207" [file master-dir file-found buf docstruct reftex-keep-temporary-buffers reftex-locate-file "tex" reftex-get-buffer-visiting buffer-file-name file-error throw exit nil message "Scanning file %s" reftex-get-file-buffer-force t bof syntax-table ((set-syntax-table saved-syntax)) set-syntax-table 1 re-search-forward reftex-match-string 0 7 "label{" fboundp TeX-current-macro LaTeX-current-environment match-data ((byte-code "\301\b\302\"\207" [save-match-data-internal set-match-data evaporate] 3)) ((byte-code "\301\b\302\"\207" [save-match-data-internal set-match-data evaporate] 3)) reftex-label-info 3 92 -1 5 "Scanning %s %s ..." rassoc 6 delq mapcar #[(x) "\302\b	\"\207" [x include-file string-match] 3] reftex-parse-from-file 9 reftex-init-section-numbers appendix 10 ...] 7)
  reftex-parse-from-file("/home/boudiccas/.emacs.d/org/2014a.org" nil "/home/boudiccas/.emacs.d/org/")
  reftex-do-parse(1 nil)
  reftex-access-scan-info((16))
  reftex-parse-all()
  (progn (global-auto-revert-mode t) (reftex-parse-all) (reftex-set-cite-format (quote ((98 . "[[bib:%l][%l-bib]]") (110 . "[[notes:%l][%l-notes]]") (112 . "[[papers:%l][%l-paper]]") (116 . "%t") (104 . "** %t\n:PROPERTIES:\n:Custom_ID: %l\n:END:\n[[papers:%l][%l-paper]]")))))
  (and (buffer-file-name) (file-exists-p (buffer-file-name)) (progn (global-auto-revert-mode t) (reftex-parse-all) (reftex-set-cite-format (quote ((98 . "[[bib:%l][%l-bib]]") (110 . "[[notes:%l][%l-notes]]") (112 . "[[papers:%l][%l-paper]]") (116 . "%t") (104 . "** %t\n:PROPERTIES:\n:Custom_ID: %l\n:END:\n[[papers:%l][%l-paper]]"))))))
  org-mode-reftex-setup()
  run-hooks(change-major-mode-after-body-hook text-mode-hook outline-mode-hook org-mode-hook)
  apply(run-hooks (change-major-mode-after-body-hook text-mode-hook outline-mode-hook org-mode-hook))
  run-mode-hooks(org-mode-hook)
  org-mode()
  set-auto-mode-0(org-mode nil)
  #[0 "\302\242\237\211\205.\0\211@\303\x01!\204\x17\0\304\305\x02\"\210\202'\0\301\306\240\210\307\x01\300\"\204'\0\310\311\312\"\210\x01A\266\202\202\x03\0\207" [nil (t) ((org-mode)) functionp message "Ignoring unknown mode `%s'" t set-auto-mode-0 throw nop nil] 5 "\n\n(fn)"]()
  funcall(#[0 "\302\242\237\211\205.\0\211@\303\x01!\204\x17\0\304\305\x02\"\210\202'\0\301\306\240\210\307\x01\300\"\204'\0\310\311\312\"\210\x01A\266\202\202\x03\0\207" [nil (t) ((org-mode)) functionp message "Ignoring unknown mode `%s'" t set-auto-mode-0 throw nop nil] 5 "\n\n(fn)"])
  set-auto-mode()
  normal-mode(t)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer 2014a.org> "~/.emacs.d/org/2014a.org" nil nil "~/.emacs.d/org/2014a.org" (16515183 2049))
  find-file-noselect("/home/boudiccas/.emacs.d/org/2014a.org")
  desktop-restore-file-buffer("/home/boudiccas/.emacs.d/org/2014a.org" "2014a.org" nil)
  #[0 "\v\f\236A\206\b\0\305\300\301\302#\207" ["/home/boudiccas/.emacs.d/org/2014a.org" "2014a.org" nil desktop-buffer-major-mode desktop-buffer-mode-handlers desktop-restore-file-buffer] 4 "\n\n(fn)"]()
  funcall(#[0 "\v\f\236A\206\b\0\305\300\301\302#\207" ["/home/boudiccas/.emacs.d/org/2014a.org" "2014a.org" nil desktop-buffer-major-mode desktop-buffer-mode-handlers desktop-restore-file-buffer] 4 "\n\n(fn)"])
  desktop-create-buffer(206 "/home/boudiccas/.emacs.d/org/2014a.org" "2014a.org" org-mode (auto-fill-mode abbrev-mode override-global-mode rainbow-delimiters-mode linum-mode autopair-mode org-indent-mode flyspell-mode yas-minor-mode org2blog/wp-mode global-auto-revert-mode) 108028 (1 nil) nil nil ((indent-tabs-mode) (buffer-file-coding-system . utf-8-unix) (fill-column . 78) (truncate-lines . t)))
  eval-buffer(#<buffer  *load*> nil "/home/boudiccas/.emacs.d/desktop/emacs.desktop" nil t)  ; Reading at buffer position 4880
  load-with-code-conversion("/home/boudiccas/.emacs.d/desktop/emacs.desktop" "/home/boudiccas/.emacs.d/desktop/emacs.desktop" t t)
  load("/home/boudiccas/.emacs.d/desktop/emacs.desktop" t t t)
  desktop-read()
  (if (saved-session) (desktop-read) (message "No desktop found."))
  session-restore()
  (if (y-or-n-p "Restore desktop? ") (session-restore))
  (if (saved-session) (if (y-or-n-p "Restore desktop? ") (session-restore)))
  (lambda nil (if (saved-session) (if (y-or-n-p "Restore desktop? ") (session-restore))))()
  run-hooks(after-init-hook)
  command-line()
  normal-top-level()

[-- Attachment #1.3: Type: text/plain, Size: 759 bytes --]


*That* is my "Debugger/backtrace" buffer! And I haven't a clue in
 how to sort it out! Can anyone help please? I did try to have the
 code inline, but gnus did not play ball!

I've tried renaming "2014a.org" but it made no difference as the new
file was tried to be referenced. And I must have that file which is
my daily journal, laid out like this -
--8<---------------cut here---------------start------------->8---
* May
** 31 Sat
blah blah, etc.
--8<---------------cut here---------------end--------------->8---

Can anyone help please?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, MATE 1.8.1, emacs 24.3.91.1

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

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

* Re: Debugger output
  2014-05-31 11:31 Debugger output Sharon Kimble
@ 2014-05-31 11:47 ` Thorsten Jolitz
  2014-05-31 14:38   ` Sharon Kimble
  0 siblings, 1 reply; 3+ messages in thread
From: Thorsten Jolitz @ 2014-05-31 11:47 UTC (permalink / raw)
  To: help-gnu-emacs

Sharon Kimble <boudiccas@skimble.plus.com> writes:

> Everytime I start emacs now I get a big problem with this -
>
> Debugger entered--Lisp error: (error "Stack overflow in regexp matcher")
>   re-search-forward("^[^%]*\\\\usepackage.*{biblatex}" nil t)
[...]

> *That* is my "Debugger/backtrace" buffer! And I haven't a clue in
>  how to sort it out! Can anyone help please? I did try to have the
>  code inline, but gnus did not play ball!
>
> I've tried renaming "2014a.org" but it made no difference as the new
> file was tried to be referenced. And I must have that file which is
> my daily journal, laid out like this -
> --8<---------------cut here---------------start------------->8---
> * May
> ** 31 Sat
> blah blah, etc.
> --8<---------------cut here---------------end--------------->8---
>
> Can anyone help please?

Without digging any deeper, I would suggest to try the non-greedy
variant of * in the regexp (i.e. *?). Maybe it helps and still does the
job ...

 ,------------------------------------------------------------
 | re-search-forward("^[^%]*\\\\usepackage.*{biblatex}" nil t)
 `------------------------------------------------------------

-- 
cheers,
Thorsten




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

* Re: Debugger output
  2014-05-31 11:47 ` Thorsten Jolitz
@ 2014-05-31 14:38   ` Sharon Kimble
  0 siblings, 0 replies; 3+ messages in thread
From: Sharon Kimble @ 2014-05-31 14:38 UTC (permalink / raw)
  To: Thorsten Jolitz; +Cc: help-gnu-emacs

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

Thorsten Jolitz <tjolitz@gmail.com> writes:

> Sharon Kimble <boudiccas@skimble.plus.com> writes:
>
>> Everytime I start emacs now I get a big problem with this -
>>
>> Debugger entered--Lisp error: (error "Stack overflow in regexp matcher")
>>   re-search-forward("^[^%]*\\\\usepackage.*{biblatex}" nil t)
> [...]
>
>> *That* is my "Debugger/backtrace" buffer! And I haven't a clue in
>>  how to sort it out! Can anyone help please? I did try to have the
>>  code inline, but gnus did not play ball!
>>
>> I've tried renaming "2014a.org" but it made no difference as the new
>> file was tried to be referenced. And I must have that file which is
>> my daily journal, laid out like this -
>> --8<---------------cut here---------------start------------->8---
>> * May
>> ** 31 Sat
>> blah blah, etc.
>> --8<---------------cut here---------------end--------------->8---
>>
>> Can anyone help please?
>
> Without digging any deeper, I would suggest to try the non-greedy
> variant of * in the regexp (i.e. *?). Maybe it helps and still does the
> job ...
>
>  ,------------------------------------------------------------
>  | re-search-forward("^[^%]*\\\\usepackage.*{biblatex}" nil t)
>  `------------------------------------------------------------

I couldn't find where biblatex and regexp were both called together,
so I ended up using the "shotgun-approach", i.e. commenting out all
references to regexp in the "setup-orgmode" file, now everything
loads properly with no problems.

When I use biblatex I'm mostly writing in latex-mode anyway, so its
no problem.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, MATE 1.8.1, emacs 24.3.91.1

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

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

end of thread, other threads:[~2014-05-31 14:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-31 11:31 Debugger output Sharon Kimble
2014-05-31 11:47 ` Thorsten Jolitz
2014-05-31 14:38   ` Sharon Kimble

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