From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nate Eldredge Newsgroups: gmane.emacs.bugs Subject: Error with latexenc and vc Date: Sun, 9 Sep 2007 00:47:34 -0700 (PDT) Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: sea.gmane.org 1189331285 22163 80.91.229.12 (9 Sep 2007 09:48:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 9 Sep 2007 09:48:05 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 09 19:47:52 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IUQNz-0004X6-G5 for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Sep 2007 19:15:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUItd-0001qy-1S for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Sep 2007 05:16:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IUHXc-0002RR-8g for bug-gnu-emacs@gnu.org; Sun, 09 Sep 2007 03:49:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IUHXb-0002Qk-Gd for bug-gnu-emacs@gnu.org; Sun, 09 Sep 2007 03:49:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUHXb-0002QZ-DB for bug-gnu-emacs@gnu.org; Sun, 09 Sep 2007 03:49:11 -0400 Original-Received: from euclid.ucsd.edu ([132.239.145.52]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IUHXa-0004nV-Rk for bug-gnu-emacs@gnu.org; Sun, 09 Sep 2007 03:49:11 -0400 Original-Received: from zeno.ucsd.edu (zeno.ucsd.edu [132.239.145.22]) by euclid.ucsd.edu (8.11.7p3+Sun/8.11.7) with ESMTP id l897lZj27241 for ; Sun, 9 Sep 2007 00:47:35 -0700 (PDT) Original-Received: from localhost (neldredg@localhost) by zeno.ucsd.edu (8.11.7p3+Sun/8.11.7) with ESMTP id l897lY116582 for ; Sun, 9 Sep 2007 00:47:34 -0700 (PDT) X-Authentication-Warning: zeno.ucsd.edu: neldredg owned process doing -bs X-X-Sender: neldredg@zeno.ucsd.edu X-Detected-Kernel: Solaris 8 (1) X-Mailman-Approved-At: Sun, 09 Sep 2007 05:15:59 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16514 Archived-At: Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: I use RCS for version control on LaTeX files. Today it started producing an error message. I don't recall changing anything. I can reproduce it with minimal input: $ cat template.tex \documentclass[12pt]{article} \begin{document} \end{document} $ rcs -i template.tex RCS file: template.tex,v enter description, terminated with single '.' or end of file: NOTE: This is NOT the log message! >> jsldkfjlsdjflsd >> . done $ ci template.tex template.tex,v <-- template.tex initial revision: 1.1 done $ co template.tex template.tex,v --> template.tex revision 1.1 done $ emacs template.tex Now when I type C-x v v, I get the error message (wrong-type-argument arrayp nil) Here is a backtrace. Debugger entered--Lisp error: (wrong-type-argument arrayp nil) coding-system-plist(nil) coding-system-get(nil alias-coding-systems) coding-system-base(nil) latexenc-find-file-coding-system((insert-file-contents "/tmp/foo/template.tex" t 0 64 t)) insert-file-contents("/tmp/foo/template.tex" t nil nil t) revert-buffer(t t t) vc-revert-buffer1(t t) vc-resynch-window("/tmp/foo/template.tex" t t) vc-resynch-buffer("/tmp/foo/template.tex" t t) vc-checkout("/tmp/foo/template.tex" t) vc-next-action-on-file("/tmp/foo/template.tex" nil) byte-code([unprintable, if you really need it I can send an attachment]) vc-next-action(nil) call-interactively(vc-next-action) The problem doesn't seem to occur on non-RCS'ed files. Any advice is appreciated. I'm happy to provide more details if needed. Thanks! If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/local/share/emacs/22.1/etc/DEBUG for instructions. In GNU Emacs 22.1.1 (x86_64-pc-freebsd, GTK+ Version 2.10.14) of 2007-08-12 on vulcan.lan Windowing system distributor `The X.Org Foundation', version 11.0.70200000 configured using `configure '--with-gtk' '--x-libraries=/usr/local/lib' '--x-includes=/usr/local/include' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' 'amd64-freebsd' 'build_alias=amd64-freebsd' 'host_alias=amd64-freebsd' 'target_alias=amd64-freebsd' 'CC=cc' 'CFLAGS=-O2 -fno-strict-aliasing -pipe -march=opteron'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t Recent input: M-x s e t - v a r i t r d e b o n e t C-x v v M-w C-x C-f b u g - r e p o r t C-y C-x b C-x b C-x C-f b l a h . t e x C-x i t e m C-x C-s C-x b b u Recent messages: Checking out /tmp/foo/template.tex...done Loading debug...done Entering debugger... (New file) Mark set (New file) Mark set Wrote /tmp/foo/blah.tex Auto-saving...done Loading emacsbug...done -- Nate Eldredge neldredge@math.ucsd.edu