GNU bug report logs - #24529
11.89.5; Bug: org-table/auctex error "Marker does not point anywhere"

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: auctex; Reported by: "Tamulis, Andrius" <andriust@HIDDEN>; dated Sat, 24 Sep 2016 17:42:01 UTC; Maintainer for auctex is bug-auctex@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Sep 2016 17:41:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 24 13:41:15 2016
Received: from localhost ([127.0.0.1]:34714 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bnqws-0006bw-K9
	for submit <at> debbugs.gnu.org; Sat, 24 Sep 2016 13:41:15 -0400
Received: from eggs.gnu.org ([208.118.235.92]:39456)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <andriust@HIDDEN>) id 1bnqNB-0005j1-RG
 for submit <at> debbugs.gnu.org; Sat, 24 Sep 2016 13:04:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <andriust@HIDDEN>) id 1bnqN4-0006Fa-Qv
 for submit <at> debbugs.gnu.org; Sat, 24 Sep 2016 13:04:16 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:39687)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <andriust@HIDDEN>) id 1bnqN4-0006FS-Nb
 for submit <at> debbugs.gnu.org; Sat, 24 Sep 2016 13:04:14 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58654)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <andriust@HIDDEN>) id 1bnqN2-0000lt-06
 for bug-auctex@HIDDEN; Sat, 24 Sep 2016 13:04:13 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <andriust@HIDDEN>) id 1bnqMy-0006CI-CJ
 for bug-auctex@HIDDEN; Sat, 24 Sep 2016 13:04:11 -0400
Received: from nm16-vm7.access.bullet.mail.bf1.yahoo.com
 ([216.109.115.54]:48394) by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <andriust@HIDDEN>) id 1bnqMy-00066E-7h
 for bug-auctex@HIDDEN; Sat, 24 Sep 2016 13:04:08 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.net; s=s1024;
 t=1474736638; bh=WkQAVLYfKZirZzsXPHXa1/c/6+HN2JxXo92oHuEtZmU=;
 h=To:From:Subject:Date:From:Subject;
 b=szKH+sk6rMgcemhcQklazaNMU/4eIKoWr+979dwGnYEB6huCmKYDY0qgyvVc1yo6SwoE17k16OHXl8uiBnT25iVnubXc3yF+gSICK+Mu8tT2ygUxXkTbQYPhxhUk3kKYZv06YECp7qeop9nIrTCLDt/r/wELn8JfYT5epuQZ/+Y=
Received: from [66.196.81.163] by nm16.access.bullet.mail.bf1.yahoo.com with
 NNFMP; 24 Sep 2016 17:03:58 -0000
Received: from [98.138.226.241] by tm9.access.bullet.mail.bf1.yahoo.com with
 NNFMP; 24 Sep 2016 17:03:57 -0000
Received: from [127.0.0.1] by smtp112.sbc.mail.ne1.yahoo.com with NNFMP;
 24 Sep 2016 17:03:57 -0000
X-Yahoo-Newman-Id: 880062.21717.bm@HIDDEN
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: Rm4e0WAVM1kntlShxGJ82UNwDCmEIl9Kb39Dq2Wqu6qjiiH
 tN_dAAjwTUi6AamjCS.jdIP05674TP1RIVjqkMRvSIDQMb82U5r0IuGviZNQ
 tHCYFya70dHsTQh8dXMYrPB4Kzx.D82BTOjMf.IPJLu7Kd3kyC6iSBC8t036
 gnqv3.GU.ppMaGt7lTCYMuU_0D7wnbx6Z3iNX98MwDJG2PSviz0FwpXbeLaB
 lb.7f3725TvF_1b.5UV_kOyEWblfN42Y2uzbCuR56h5S4AgphWq67ivj2xbN
 UuMd3rXsdh2ASJzyr3k1U4t6uDqOdfVAU7W5mwa7Ln8sGkaLygrr81QW6eFt
 R_oDH8S1K7YsCPUgMsi2HNzEgaYnj2EEW.yR5xEpFGIHnt_QWsXmu8RS5yYT
 Kp0xz8s_Xhz5ZyW1IlbTA2ev9UowtloK7AlZCebzn7T9xjv6DzJAOJLmDrU6
 OLsBh76ixe.0PWTl2.F1ucFS78mjz59Uzbr4u8Fdks_R5jWOEDS9eUvP0N2Z
 1185wZmJuVMH0oOuRb5VMOmn6K3KR3kPgw9YdUYmrfJ.JFeqde5s-
X-Yahoo-SMTP: CsaGh4GswBDnH9VcoWRC7hOtF73f6_hgLgZw7mg-
To: bug-auctex@HIDDEN
From: "Tamulis, Andrius" <andriust@HIDDEN>
Subject: 11.89.5; Bug: org-table/auctex error "Marker does not point anywhere"
Message-ID: <33a20009-da68-58d4-a95c-b17ab8df808e@HIDDEN>
Date: Sat, 24 Sep 2016 12:03:59 -0500
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101
 Thunderbird/45.3.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sat, 24 Sep 2016 13:41:13 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

I get an error "Marker does not point anywhere" when using orgtbl-mode 
while using AUCTeX to edit a .tex file. The error does not happen if I 
rename the min.tex file to min.nottex, as then AUCTeX does not recognize 
the file and does not load. So this is a joint 
org-table/auctex/font-lock error, and I am submitting this bug to 
emacs-orgmode@HIDDEN and to bug-auctex@HIDDEN

I open the .tex file, get to the table I want to edit, then do M-x 
orgtbl-mode. I then tab a couple of times. Then make an edit - any edit. 
Tab again, and the error comes up.

I finally traced the error to the line

    '(font-lock-global-modes nil)

in my .emacs file. Comment this out, and the error does not happen.

I really don't like font-lock, as I don't like all those colors. I'd 
prefer to have my font-lock-global-modes set to nil, somehow.

Minimal files and backtrace below.

Thanks,

Andrius

-----------------------------------

Files:

min.emacs:

-----------------------------------
(require 'package)
(add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t)
(package-initialize)

(setq debug-on-error t)

(custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
  '(font-lock-global-modes nil))

(require 'org-install)
(require 'org-table)

;; The following lines are always needed. Choose your own keys.
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-cc" 'org-capture)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-iswitchb)
-----------------------------------

and my min.tex:

-----------------------------------
\documentclass[%
12pt,%
%draft,%
%final,%
]{article}

\usepackage{comment}

\begin{document}

\begin{tabular}{|l|l|}
% BEGIN RECEIVE ORGTBL inclass
\hline
Score & Criteria\\
\hline
10 & Lorem ipsum dolor sit amet,\\
\hline
9 & consectetur adipiscing elit.\\
\hline
8 & Praesent eu arcu nisl.\\
\hline
7 & Aliquam sagittis aliquam iaculis.\\
\hline
6 & Proin dignissim, tellus sit amet faucibus fermentum,\\
\hline
5 & tellus tortor posuere justo,\\
0 & sit amet cursus eros felis ac lorem.\\
\hline
% END RECEIVE ORGTBL inclass
\end{tabular}
\begin{comment}
#+ORGTBL: SEND inclass orgtbl-to-latex :splice t :skip 0
|-------+------------------------------------------------------|
| Score | Criteria                                             |
|-------+------------------------------------------------------|
|    10 | Lorem ipsum dolor sit amet,                          |
|-------+------------------------------------------------------|
|     9 | consectetur adipiscing elit.                         |
|-------+------------------------------------------------------|
|    8  | Praesent eu arcu nisl.                               |
|-------+------------------------------------------------------|
|     7 | Aliquam sagittis aliquam iaculis.                    |
|     6 | Proin dignissim, tellus sit amet faucibus fermentum, |
|     5 | tellus tortor posuere justo,                         |
|     0 | sit amet cursus eros felis ac lorem.                 |
|-------+------------------------------------------------------|
\end{comment}


\end{document}
-----------------------------------

And the backtrace:

-----------------------------------
Debugger entered--Lisp error: (error "Marker does not point anywhere")
   font-lock-default-fontify-region(537 #<marker at 1512 in min.tex> nil)
   font-latex-fontify-region(537 #<marker at 1512 in min.tex> nil)
   font-lock-fontify-region(537 #<marker at 1512 in min.tex>)
   org-table-align()
   org-table-next-field()
   orgtbl-tab(nil)
   call-interactively(orgtbl-tab)
   (if (org-at-table-p) (call-interactively (quote orgtbl-tab)) (let 
(orgtbl-mode) (call-interactively (or (key-binding [(tab)]) (key-binding 
"    ") (quote orgtbl-error)))))
   orgtbl-hijacker-command-102(1)
   call-interactively(orgtbl-hijacker-command-102 nil nil)
   command-execute(orgtbl-hijacker-command-102)
-----------------------------------


Emacs  : GNU Emacs 24.5.1 (i686-pc-mingw32)
  of 2015-04-11 on LEG570
Package: Org-mode version 8.3.6 (8.3.6-3-gf46b92-elpa @ 
c:/Users/atamulis/.emacs.d/elpa/org-20160919/)
AUCTeX Package: 11.89.5

current state:
==============
(setq
  AUCTeX-date "2016-09-01"
  window-system 'w32
  LaTeX-version "2e"
  TeX-style-path '("~/.emacs.d/auctex"
           "c:/Users/atamulis/.emacs.d/elpa/auctex-11.89.5/style"
           "c:/Users/atamulis/.emacs.d/auctex/auto"
           "c:/Users/atamulis/.emacs.d/auctex/style" "auto" "style")
  TeX-auto-save nil
  TeX-parse-self nil
  TeX-master t
  TeX-command-list '(("TeX"
              "%(PDF)%(tex) %(file-line-error) %(extraopts) 
%`%S%(PDFout)%(mode)%' %t"
              TeX-run-TeX nil
              (plain-tex-mode ams-tex-mode texinfo-mode) :help
              "Run plain TeX")
             ("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil
              (latex-mode doctex-mode) :help "Run LaTeX")
             ("Makeinfo" "makeinfo %(extraopts) %t" TeX-run-compile nil
              (texinfo-mode) :help "Run Makeinfo with Info output")
             ("Makeinfo HTML" "makeinfo %(extraopts) --html %t"
              TeX-run-compile nil (texinfo-mode) :help
              "Run Makeinfo with HTML output")
             ("AmSTeX" "amstex %(PDFout) %(extraopts) %`%S%(mode)%' %t"
              TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX")
             ("ConTeXt"
              "%(cntxcom) --once --texutil %(extraopts) %(execopts)%t"
              TeX-run-TeX nil (context-mode) :help "Run ConTeXt once")
             ("ConTeXt Full" "%(cntxcom) %(extraopts) %(execopts)%t"
              TeX-run-TeX nil (context-mode) :help
              "Run ConTeXt until completion")
             ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help
              "Run BibTeX")
             ("Biber" "biber %s" TeX-run-Biber nil t :help "Run Biber")
             ("View" "%V" TeX-run-discard-or-function t t :help
              "Run Viewer")
             ("Print" "%p" TeX-run-command t t :help "Print the file")
             ("Queue" "%q" TeX-run-background nil t :help
              "View the printer queue" :visible TeX-queue-command)
             ("File" "%(o?)dvips %d -o %f " TeX-run-dvips t t :help
              "Generate PostScript file")
             ("Dvips" "%(o?)dvips %d -o %f " TeX-run-dvips nil t :help
              "Convert DVI file to PostScript")
             ("Dvipdfmx" "dvipdfmx %d" TeX-run-dvipdfmx nil t :help
              "Convert DVI file to PDF with dvipdfmx")
             ("Ps2pdf" "ps2pdf %f" TeX-run-ps2pdf nil t :help
              "Convert PostScript file to PDF")
             ("Index" "makeindex %s" TeX-run-index nil t :help
              "Run makeindex to create index file")
             ("Xindy" "texindy %s" TeX-run-command nil t :help
              "Run xindy to create index file")
             ("Check" "lacheck %s" TeX-run-compile nil (latex-mode)
              :help "Check LaTeX file for correctness")
             ("ChkTeX" "chktex -v6 %s" TeX-run-compile nil (latex-mode)
              :help "Check LaTeX file for common mistakes")
             ("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil
              t :help "Spell-check the document")
             ("Clean" "TeX-clean" TeX-run-function nil t :help
              "Delete generated intermediate files")
             ("Clean All" "(TeX-clean t)" TeX-run-function nil t :help
              "Delete generated intermediate and output files")
             ("Other" "" TeX-run-command t t :help
              "Run an arbitrary command")
             )
  )





Acknowledgement sent to "Tamulis, Andrius" <andriust@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-auctex@HIDDEN. Full text available.
Report forwarded to bug-auctex@HIDDEN:
bug#24529; Package auctex. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.