all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nate Eldredge <neldredge@math.ucsd.edu>
To: bug-gnu-emacs@gnu.org
Subject: Error with latexenc and vc
Date: Sun, 9 Sep 2007 00:47:34 -0700 (PDT)	[thread overview]
Message-ID: <Pine.GSO.4.64.0709090045260.11700@zeno.ucsd.edu> (raw)


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 <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
neldredge@math.ucsd.edu

             reply	other threads:[~2007-09-09  7:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-09  7:47 Nate Eldredge [this message]
2007-09-10  1:05 ` Error with latexenc and vc Karl Berry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.GSO.4.64.0709090045260.11700@zeno.ucsd.edu \
    --to=neldredge@math.ucsd.edu \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.