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

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

bug#38461: Incompatibility between reftex and turn-on-window-margin-mode


From: Roberto Zamparelli
Subject: bug#38461: Incompatibility between reftex and turn-on-window-margin-mode
Date: Mon, 2 Dec 2019 21:34:47 +0100

If I add to .emacs with AUCTeX the following:

(add-hook 'text-mode-hook 'turn-on-window-margin-mode)
(add-hook 'LaTeX-mode-hook 'turn-on-reftex)
(setq reftex-enable-partial-scans t)
(setq reftex-save-parse-info t)
(setq reftex-use-multiple-selection-buffers t)
(setq reftex-plug-into-AUCTeX t)

Reftex will not be loaded automatically by loading a TeX file. It can be
loaded manually with reftex-mode, but it will NOT parse a master file
declaration at the end, e.g.

%%% Local Variables:
%%% mode: latex
%%% TeX-master: "my-master"
%%% End:

It is indeed impossible to manually set the master file (with C-c _) to anything different from the local file.
When I remove the hook turn-on-window-margin-mode, from .emacs REFTeX resumes working normally.


Roberto Zamparelli
roberto.zamparelli@unitn.it
===============================================


In GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
 of 2019-10-22 built on lgw01-amd64-031
Repository revision: f244eb1dedaebcf69ad82bc28187cdb85a2986de
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
System Description: Ubuntu 18.04.3 LTS

Recent messages:
Loading /home/roberto/.emacs.d/elpa/auctex-12.1.0/style/article.elc...done
Loading /home/roberto/.emacs.d/elpa/auctex-12.1.0/style/babel.elc...done
Loading /home/roberto/.emacs.d/elpa/auctex-12.1.0/style/english.elc...done
Applying style hooks...done
Applying style hooks...done
Type ‘C-c C-l’ to display results of compilation.
LaTeX: successfully formatted {1} page
Making completion list...
Quit [2 times]
Mark saved where search started

Configured using:
 'configure --prefix= --prefix=/snap/emacs/current/usr 'CFLAGS=
 -I/build/emacs/parts/emacs/install/usr/include' 'CPPFLAGS=
 -I/build/emacs/parts/emacs/install/usr/include' 'LDFLAGS=
 -L/build/emacs/parts/emacs/install/lib
 -L/build/emacs/parts/emacs/install/usr/lib
 -L/build/emacs/parts/emacs/install/lib/x86_64-linux-gnu
 -L/build/emacs/parts/emacs/install/usr/lib/x86_64-linux-gnu''

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB
NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS LIBSYSTEMD LCMS2

Important settings:
  value of $LC_MONETARY: it_IT.UTF-8
  value of $LC_NUMERIC: it_IT.UTF-8
  value of $LC_TIME: it_IT.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Emacs-Lisp

Minor modes in effect:
  TeX-PDF-mode: t
  cua-mode: t
  delete-selection-mode: t
  diff-auto-refine-mode: t
  pyvenv-mode: t
  shell-dirtrack-mode: t
  recentf-mode: t
  cl-old-struct-compat-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  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
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny rfc822 mml mml-sec
gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils misearch multi-isearch texmathp
preview prv-emacs reftex-dcr reftex-auc reftex reftex-loaddefs
reftex-vars flyspell ispell tex-bar tex-buf toolbar-x noutline outline
font-latex latex tex-ispell tex-style tex dbus xml crm tex-mode latexenc
cua-base cl-extra yasnippet elec-pair highlight-indentation flymake-proc
flymake warnings company edmacro kmacro pcase help-fns radix-tree
help-mode elpy find-file-in-project ivy delsel ivy-overlay ffap
thingatpt windmove diff-mode easy-mmode pyvenv elpy-shell elpy-profile
elpy-django s elpy-refactor subr-x python tramp-sh tramp tramp-compat
tramp-loaddefs trampver ucs-normalize shell pcomplete parse-time
format-spec advice json map ido grep compile comint ansi-color files-x
etags xref project cus-edit cus-start cus-load server recentf
tree-widget wid-edit dired-quick-sort hydra ring lv savehist ls-lisp
dired dired-loaddefs epa-file epa derived epg finder-inf tex-site info
package easymenu epg-config url-handlers url-parse auth-source cl-seq
eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq
byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib time-date
mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode elisp-mode lisp-mode prog-mode register page menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors 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 composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray 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 threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 428305 24473)
 (symbols 48 37920 2)
 (miscs 40 91 298)
 (strings 32 99028 4667)
 (string-bytes 1 2780619)
 (vectors 16 55878)
 (vector-slots 8 987949 25160)
 (floats 8 190 253)
 (intervals 56 514 15)
 (buffers 992 16))

reply via email to

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