bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#33227: 25.1; auctex: tex.el: TeX-local-master-p does not check if co


From: Jan Luca Naumann
Subject: bug#33227: 25.1; auctex: tex.el: TeX-local-master-p does not check if complete local variable block is valid
Date: Thu, 1 Nov 2018 14:34:33 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0

Dear emacs- and auctex-maintainers,

if the local variable block is not valid (for example due to a typo in
"Local Variables") the function TeX-local-master-p will create the wrong
result that TeX-master is set locally although it is not read from the
variables block. Maybe the heuristic in TeX-local-master-p should be
improved if the local variables are loaded correctly, otherwise the
complete process will fail for example in TeX-master-file-ask with the
error "Master file already set".

Thank you for your help and best regards,
Jan

In GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11)
 of 2017-09-15, modified by Debian built on trouble
Windowing system distributor 'The X.Org Foundation', version 11.0.11902000
System Description:     Debian GNU/Linux 9.5 (stretch)

Configured using:
 'configure --build x86_64-linux-gnu --prefix=/usr
 --sharedstatedir=/var/lib --libexecdir=/usr/lib
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-pop=yes
 
--enable-locallisppath=/etc/emacs25:/etc/emacs:/usr/local/share/emacs/25.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.1/site-lisp:/usr/share/emacs/site-lisp
 --with-sound=alsa --build x86_64-linux-gnu --prefix=/usr
 --sharedstatedir=/var/lib --libexecdir=/usr/lib
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-pop=yes
 
--enable-locallisppath=/etc/emacs25:/etc/emacs:/usr/local/share/emacs/25.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/25.1/site-lisp:/usr/share/emacs/site-lisp
 --with-sound=alsa --with-x=yes --with-x-toolkit=gtk3
 --with-toolkit-scroll-bars 'CFLAGS=-g -O2
 -fdebug-prefix-map=/build/emacs25-wN2qS3/emacs25-25.1+1=.
-fstack-protector-strong
 -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time
 -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11

Important settings:
  value of $LC_ALL: de_DE.utf-8
  value of $LANG: de_DE.utf-8
  locale-coding-system: utf-8

Major mode: Emacs-Lisp

Minor modes in effect:
  recentf-mode: t
  fci-mode: t
  rainbow-delimiters-mode: t
  flyspell-mode: t
  ws-butler-mode: t
  which-key-mode: t
  csv-field-index-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  ivy-mode: t
  TeX-PDF-mode: t
  global-magit-file-mode: t
  magit-file-mode: t
  diff-auto-refine-mode: t
  magit-auto-revert-mode: t
  global-git-commit-mode: t
  async-bytecomp-package-mode: t
  shell-dirtrack-mode: t
  global-undo-tree-mode: t
  undo-tree-mode: t
  override-global-mode: t
  electric-pair-mode: t
  show-paren-mode: t
  delete-selection-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  auto-fill-function: yas--auto-fill
  transient-mark-mode: t

Recent messages:
Applying style hooks...done
mwheel-scroll: End of buffer [5 times]
Auto-saving...done
Auto-saving...done
Compiling label environment definitions...done
ref: info not available, use ‘M-x reftex-view-crossref’ to get it.
Quit [2 times]
C-x C-g is undefined
Quit
Mark saved where search started

Load-path shadows:
/home/janluca/.emacs.d/elpa/csv-mode-1.7/csv-mode hides
/usr/share/emacs25/site-lisp/emacs-goodies-el/csv-mode
/home/janluca/.emacs.d/elpa/htmlize-1.54/htmlize hides
/usr/share/emacs25/site-lisp/emacs-goodies-el/htmlize
/home/janluca/.emacs.d/elpa/auctex-12.1.0/preview hides
/usr/share/emacs25/site-lisp/auctex/preview
/home/janluca/.emacs.d/elpa/auctex-12.1.0/latex hides
/usr/share/emacs25/site-lisp/auctex/latex
/home/janluca/.emacs.d/elpa/auctex-12.1.0/tex-ispell hides
/usr/share/emacs25/site-lisp/auctex/tex-ispell
/home/janluca/.emacs.d/elpa/auctex-12.1.0/tex-info hides
/usr/share/emacs25/site-lisp/auctex/tex-info
/home/janluca/.emacs.d/elpa/auctex-12.1.0/tex-style hides
/usr/share/emacs25/site-lisp/auctex/tex-style
/home/janluca/.emacs.d/elpa/auctex-12.1.0/bib-cite hides
/usr/share/emacs25/site-lisp/auctex/bib-cite
/home/janluca/.emacs.d/elpa/auctex-12.1.0/tex-font hides
/usr/share/emacs25/site-lisp/auctex/tex-font
/home/janluca/.emacs.d/elpa/auctex-12.1.0/tex-buf hides
/usr/share/emacs25/site-lisp/auctex/tex-buf
/home/janluca/.emacs.d/elpa/auctex-12.1.0/toolbar-x hides
/usr/share/emacs25/site-lisp/auctex/toolbar-x
/home/janluca/.emacs.d/elpa/auctex-12.1.0/context-nl hides
/usr/share/emacs25/site-lisp/auctex/context-nl
/home/janluca/.emacs.d/elpa/auctex-12.1.0/font-latex hides
/usr/share/emacs25/site-lisp/auctex/font-latex
/home/janluca/.emacs.d/elpa/auctex-12.1.0/plain-tex hides
/usr/share/emacs25/site-lisp/auctex/plain-tex
/home/janluca/.emacs.d/elpa/auctex-12.1.0/tex-jp hides
/usr/share/emacs25/site-lisp/auctex/tex-jp
/home/janluca/.emacs.d/elpa/auctex-12.1.0/multi-prompt hides
/usr/share/emacs25/site-lisp/auctex/multi-prompt
/home/janluca/.emacs.d/elpa/auctex-12.1.0/texmathp hides
/usr/share/emacs25/site-lisp/auctex/texmathp
/home/janluca/.emacs.d/elpa/auctex-12.1.0/prv-emacs hides
/usr/share/emacs25/site-lisp/auctex/prv-emacs
/home/janluca/.emacs.d/elpa/auctex-12.1.0/context-en hides
/usr/share/emacs25/site-lisp/auctex/context-en
/home/janluca/.emacs.d/elpa/auctex-12.1.0/tex-fold hides
/usr/share/emacs25/site-lisp/auctex/tex-fold
/home/janluca/.emacs.d/elpa/auctex-12.1.0/tex hides
/usr/share/emacs25/site-lisp/auctex/tex
/home/janluca/.emacs.d/elpa/auctex-12.1.0/context hides
/usr/share/emacs25/site-lisp/auctex/context
/home/janluca/.emacs.d/elpa/auctex-12.1.0/tex-mik hides
/usr/share/emacs25/site-lisp/auctex/tex-mik
/home/janluca/.emacs.d/elpa/auctex-12.1.0/tex-bar hides
/usr/share/emacs25/site-lisp/auctex/tex-bar
/usr/share/emacs/25.1/site-lisp/debian-startup hides
/usr/share/emacs/site-lisp/debian-startup
/home/janluca/.emacs.d/elpa/auctex-12.1.0/auctex hides
/usr/share/emacs/site-lisp/auctex
/usr/share/emacs25/site-lisp/cmake-data/cmake-mode hides
/usr/share/emacs/site-lisp/cmake-mode
/home/janluca/.emacs.d/elpa/auctex-12.1.0/tex-site hides
/usr/share/emacs/site-lisp/tex-site
/home/janluca/.emacs.d/elpa/let-alist-1.0.5/let-alist hides
/usr/share/emacs/25.1/lisp/emacs-lisp/let-alist
/home/janluca/.emacs.d/elpa/auctex-12.1.0/tex-info hides
/usr/share/emacs/site-lisp/auctex/tex-info
/home/janluca/.emacs.d/elpa/auctex-12.1.0/tex-style hides
/usr/share/emacs/site-lisp/auctex/tex-style
/home/janluca/.emacs.d/elpa/auctex-12.1.0/tex-buf hides
/usr/share/emacs/site-lisp/auctex/tex-buf
/home/janluca/.emacs.d/elpa/auctex-12.1.0/toolbar-x hides
/usr/share/emacs/site-lisp/auctex/toolbar-x
/home/janluca/.emacs.d/elpa/auctex-12.1.0/context-nl hides
/usr/share/emacs/site-lisp/auctex/context-nl
/home/janluca/.emacs.d/elpa/auctex-12.1.0/font-latex hides
/usr/share/emacs/site-lisp/auctex/font-latex
/home/janluca/.emacs.d/elpa/auctex-12.1.0/preview hides
/usr/share/emacs/site-lisp/auctex/preview
/home/janluca/.emacs.d/elpa/auctex-12.1.0/context-en hides
/usr/share/emacs/site-lisp/auctex/context-en
/home/janluca/.emacs.d/elpa/auctex-12.1.0/tex-fold hides
/usr/share/emacs/site-lisp/auctex/tex-fold
/home/janluca/.emacs.d/elpa/auctex-12.1.0/tex-mik hides
/usr/share/emacs/site-lisp/auctex/tex-mik
/home/janluca/.emacs.d/elpa/auctex-12.1.0/latex hides
/usr/share/emacs/site-lisp/auctex/latex
/home/janluca/.emacs.d/elpa/auctex-12.1.0/prv-emacs hides
/usr/share/emacs/site-lisp/auctex/prv-emacs
/home/janluca/.emacs.d/elpa/auctex-12.1.0/bib-cite hides
/usr/share/emacs/site-lisp/auctex/bib-cite
/home/janluca/.emacs.d/elpa/auctex-12.1.0/tex-jp hides
/usr/share/emacs/site-lisp/auctex/tex-jp
/home/janluca/.emacs.d/elpa/auctex-12.1.0/tex hides
/usr/share/emacs/site-lisp/auctex/tex
/home/janluca/.emacs.d/elpa/auctex-12.1.0/tex-bar hides
/usr/share/emacs/site-lisp/auctex/tex-bar
/home/janluca/.emacs.d/elpa/auctex-12.1.0/context hides
/usr/share/emacs/site-lisp/auctex/context
/home/janluca/.emacs.d/elpa/auctex-12.1.0/tex-font hides
/usr/share/emacs/site-lisp/auctex/tex-font
/home/janluca/.emacs.d/elpa/auctex-12.1.0/multi-prompt hides
/usr/share/emacs/site-lisp/auctex/multi-prompt
/home/janluca/.emacs.d/elpa/auctex-12.1.0/tex-ispell hides
/usr/share/emacs/site-lisp/auctex/tex-ispell
/home/janluca/.emacs.d/elpa/auctex-12.1.0/texmathp hides
/usr/share/emacs/site-lisp/auctex/texmathp
/home/janluca/.emacs.d/elpa/auctex-12.1.0/plain-tex hides
/usr/share/emacs/site-lisp/auctex/plain-tex

Features:
(shadow mail-extr emacsbug sendmail counsel etags xref project
reftex-parse texmathp vc-git preview prv-emacs reftex-dcr reftex-auc
tex-bar tex-buf toolbar-x font-latex latex tex-ispell tex-style tex-mode
latexenc minibuffer-complete-cycle colir color recentf tree-widget
fill-column-indicator rainbow-delimiters flyspell ispell ws-butler
windmove which-key em-term term disp-table ehelp em-prompt em-cmpl
em-smart esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg
esh-groups eshell esh-module esh-util esh-mode iedit iedit-lib
multiple-cursors-core rect csv-mode sort yasnippet swiper ivy
ivy-overlay ffap thingatpt cython-mode python tramp-sh tramp
tramp-compat tramp-loaddefs trampver ucs-normalize org-ref-core warnings
reftex-cite parsebib org-ref-glossary org-ref-bibtex org-ref-citeproc
key-chord hydra lv doi-utils org-ref-utils org-ref-pdf pdf-tools compile
cus-edit cus-start cus-load wid-edit pdf-view magit-bookmark bookmark pp
jka-compr pdf-cache pdf-info tq pdf-util image-mode org-bibtex ox-latex
ox-icalendar ox-html ox-ascii ox-publish ox org-element ob-scheme
ob-python ob-sh org org-macro org-footnote org-pcomplete org-list
org-faces org-entities noutline outline org-version ob-emacs-lisp ob
ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint
ob-core ob-eval org-compat org-macs org-loaddefs find-func cal-menu
calendar cal-loaddefs htmlize cl reftex reftex-vars bibtex tex dbus xml
magit-obsolete magit-blame magit-stash magit-bisect magit-remote
magit-commit magit-sequence magit-notes magit-worktree magit-tag
magit-merge magit-branch magit-reset magit-collab ghub-graphql treepy
subr-x graphql ghub url-http tls gnutls url-gw url-auth url url-proxy
url-privacy url-expand url-methods url-history url-cookie url-domsuf
url-util url-parse url-vars mailcap let-alist json map auth-source
magit-files magit-refs magit-status magit magit-repos magit-apply
magit-wip magit-log magit-diff smerge-mode diff-mode magit-core
magit-autorevert autorevert filenotify magit-process magit-margin
magit-mode git-commit magit-git magit-section eieio eieio-core
magit-utils crm magit-popup log-edit message dired format-spec rfc822
mml mml-sec password-cache epg gnus-util mm-decode mm-bodies mm-encode
mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util help-fns
mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log
with-editor async-bytecomp advice async shell pcomplete comint
ansi-color ring server undo-tree diff dash-functional cl-macs cl-seq
diminish use-package use-package-ensure use-package-delight
use-package-diminish use-package-bind-key bind-key use-package-core
elec-pair time-date paren f dash s delsel finder-inf edmacro kmacro rx
info package epg-config seq byte-opt gv bytecomp byte-compile cl-extra
help-mode easymenu cconv cl-loaddefs pcase cl-lib emacs-goodies-el
emacs-goodies-custom emacs-goodies-loaddefs easy-mmode devhelp
preview-latex tex-site auto-loads mule-util tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
dbusbind inotify dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 684267 78046)
 (symbols 48 51500 0)
 (miscs 40 414 589)
 (strings 32 166779 8340)
 (string-bytes 1 4349305)
 (vectors 16 89838)
 (vector-slots 8 1211215 12576)
 (floats 8 1396 1303)
 (intervals 56 7729 4196)
 (buffers 976 25))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]