unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Error with latexenc and vc
@ 2007-09-09  7:47 Nate Eldredge
  2007-09-10  1:05 ` Karl Berry
  0 siblings, 1 reply; 2+ messages in thread
From: Nate Eldredge @ 2007-09-09  7:47 UTC (permalink / raw)
  To: bug-gnu-emacs


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Error with latexenc and vc
  2007-09-09  7:47 Error with latexenc and vc Nate Eldredge
@ 2007-09-10  1:05 ` Karl Berry
  0 siblings, 0 replies; 2+ messages in thread
From: Karl Berry @ 2007-09-10  1:05 UTC (permalink / raw)
  To: neldredge; +Cc: bug-gnu-emacs

Hi Nate,

    Now when I type C-x v v, I get the error message
    (wrong-type-argument arrayp nil)

Thanks for your report.  However, I can't reproduce this with a stock
Emacs 22.1 -- instead, Emacs says "checking out template.tex", and makes
it writable, as should happen.

Does the problem still happen if you invoke Emacs with 
  emacs -q --no-site template.tex
instead of just "emacs"?  I'm wondering if you could perhaps be loading
some older packages, or have something in your init files that is
overriding the Emacs distribution's code.

karl




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-10  1:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-09  7:47 Error with latexenc and vc Nate Eldredge
2007-09-10  1:05 ` Karl Berry

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).