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

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

Error with latexenc and vc


From: Nate Eldredge
Subject: Error with latexenc and vc
Date: Sun, 9 Sep 2007 00:47:34 -0700 (PDT)


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 address@hidden 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 <tab> <return> t r <backspace>
<backspace> d e b <tab> o n <tab> e <tab> <return>
t <return> C-x v v <help-echo> <help-echo> <help-echo>
<down-mouse-1> <mouse-movement> <mouse-movement> <help-echo>
<mouse-movement> <mouse-movement> <drag-mouse-1> <help-echo>
<help-echo> <help-echo> M-w <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> C-x C-f b u g -
r e p o r t <return> C-y <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> C-x b <return> C-x b <return> <next>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> C-x
C-f b l a h . t e x <return> C-x i t e m <tab> <return>
C-x C-s C-x b b u <tab> <return> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar>
<help-menu> <report-emacs-bug>

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
address@hidden




reply via email to

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