[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-AUCTeX] "View" hardcoded in tex.el
From: |
jfbu |
Subject: |
[Bug-AUCTeX] "View" hardcoded in tex.el |
Date: |
Thu, 20 Sep 2012 11:46:03 +0200 |
Hi,
from tex-buf.el: (previously in tex.el)
(defun TeX-view ()
"Start a viewer without confirmation.
The viewer is started either on region or master file,
depending on the last command issued."
(interactive)
(let ((output-file (TeX-active-master (TeX-output-extension))))
(if (file-exists-p output-file)
(TeX-command "View" 'TeX-active-master 0)
(message "Output file %S does not exist." output-file))))
So this hardcodes "View"
On the other hand there is a variable TeX-command-Show in tex.el which can be
customized and whose default value is "View"
I once customized the TeX-command-list and renamed "View" to something french,
and I thought that I just add to also customize TeX-command-Show to reflect the
change.
It is not until much later that I noticed some things were broken (I think for
example the toolbar View button; and the C-cC-v). This was two or three years
ago, and in fact I had just gotten used to not use what was broken. Recently
(after years of not upgrading) however I am switching to a brand new laptop and
system, and need to re-install Emacs/AUCTeX, and review all my .emacs. This led
me to realize that the function TeX-view, which is bound to C-cC-v and to the
toolbar button, has this hardcoded "View". Is this a bug?
Sincerely,
JF B.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-AUCTeX] "View" hardcoded in tex.el,
jfbu <=