Prof. Dr. Jobst Hoffmann | 1 Dec 2006 18:13
Picon
Favicon

Error in `post-command-hook'

Since the v5.588 of tex.el I get the following error message whenever I
try to edit a .tex-file:

(1) (error/warning) Error in `post-command-hook' (setting hook to nil):
(wrong-type-argument number-char-or-marker-p nil)

I created this message with a complete empty XEmacs like Ralf described
in his mail from 2006/6/10.

What can I do to prevent this message? I don't see any actual effects
which correlate with this message.

Following the bug report:

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.

Be sure to consult the FAQ section in the manual before submitting
a bug report.  If the bug (or problem) is triggered by a specific
(La)TeX file, you should try to produce a minimal sample file
showing the problem and include it in your report.

Your bug report will be posted to the AUCTeX bug reporting list.
------------------------------------------------------------------------

Emacs  : XEmacs 21.4 (patch 19) "Constant Variable" [Lucid]
(i686-pc-linux) of Thu Feb 16 2006 on tm2-work.fb3.fh-aachen.de
Package: 2006-11-26

current state:
(Continue reading)

Ralf Angeli | 1 Dec 2006 19:01

Re: Error in `post-command-hook'

* Jobst Hoffmann (2006-12-01) writes:

> Since the v5.588 of tex.el I get the following error message whenever I
> try to edit a .tex-file:
>
> (1) (error/warning) Error in `post-command-hook' (setting hook to nil):
> (wrong-type-argument number-char-or-marker-p nil)

That was actually a bug in the latest prv-xemacs.el file.  Should be
fixed now.  Thanks for the report.

--

-- 
Ralf
David Kastrup | 1 Dec 2006 20:32
Picon
Picon

Re: Error in `post-command-hook'

Ralf Angeli <angeli <at> caeruleus.net> writes:

> * Jobst Hoffmann (2006-12-01) writes:
>
>> Since the v5.588 of tex.el I get the following error message whenever I
>> try to edit a .tex-file:
>>
>> (1) (error/warning) Error in `post-command-hook' (setting hook to nil):
>> (wrong-type-argument number-char-or-marker-p nil)
>
> That was actually a bug in the latest prv-xemacs.el file.  Should be
> fixed now.  Thanks for the report.

Oops.  We could use more XEmacs testers.  That one would have been
embarrassing to catch only after the next release.

--

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
David Kastrup | 1 Dec 2006 21:22
Picon
Picon

Re: Error in `post-command-hook'

David Kastrup <dak <at> gnu.org> writes:

> Ralf Angeli <angeli <at> caeruleus.net> writes:
>
>> * Jobst Hoffmann (2006-12-01) writes:
>>
>>> Since the v5.588 of tex.el I get the following error message whenever I
>>> try to edit a .tex-file:
>>>
>>> (1) (error/warning) Error in `post-command-hook' (setting hook to nil):
>>> (wrong-type-argument number-char-or-marker-p nil)
>>
>> That was actually a bug in the latest prv-xemacs.el file.  Should be
>> fixed now.  Thanks for the report.
>
> Oops.  We could use more XEmacs testers.  That one would have been
> embarrassing to catch only after the next release.

Not that the same error has not been in prv-emacs.el, too.

--

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Ralf Angeli | 1 Dec 2006 22:59

Re: Error in `post-command-hook'

* David Kastrup (2006-12-01) writes:

> Not that the same error has not been in prv-emacs.el, too.

Interestingly Emacs hasn't complained.  Perhaps `distance' never
becomes nil in Emacs.

--

-- 
Ralf
David Kastrup | 1 Dec 2006 23:16
Picon
Picon

Re: Error in `post-command-hook'

Ralf Angeli <angeli <at> caeruleus.net> writes:

> * David Kastrup (2006-12-01) writes:
>
>> Not that the same error has not been in prv-emacs.el, too.
>
> Interestingly Emacs hasn't complained.  Perhaps `distance' never
> becomes nil in Emacs.

It does, but the comparison with 0 occurs in XEmacs even when no
preview is active at point.

As a net result, the error would have occured less often in Emacs,
presumably just when switching between several buffers with previews.

--

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Press | 5 Dec 2006 09:19
Picon

geriatric nursing

4358

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________

Leo | 6 Dec 2006 01:32
Picon
Gravatar

2006-11-16; "error: wrong-type-argument sequencep t" in ConTeXt


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.

Be sure to consult the FAQ section in the manual before submitting
a bug report.  If the bug (or problem) is triggered by a specific
(La)TeX file, you should try to produce a minimal sample file
showing the problem and include it in your report.

Your bug report will be posted to the AUCTeX bug reporting list.
------------------------------------------------------------------------

 1. Open the sample file
 2. C-c C-m items RET

Then backtrace:
,----
| Debugger entered--Lisp error: (wrong-type-argument sequencep t)
|   TeX-argument-prompt(nil t "setup")
|   ConTeXt-arg-setup(nil t)
|   apply(ConTeXt-arg-setup nil t)
|   TeX-parse-argument(nil (ConTeXt-arg-setup t))
|   TeX-parse-arguments(((ConTeXt-arg-setup t) (TeX-arg-string "Comma separated list")))
|   TeX-parse-macro("items" ((ConTeXt-arg-setup t) (TeX-arg-string "Comma separated list")))
|   TeX-insert-macro("")
|   call-interactively(TeX-insert-macro)
`----

Attachment (cxt.tex): application/x-tex, 122 bytes
(Continue reading)

Ralf Angeli | 6 Dec 2006 19:23

Re: 2006-11-16; "error: wrong-type-argument sequencep t" in ConTeXt

* Leo (2006-12-06) writes:

>  1. Open the sample file
>  2. C-c C-m items RET
>
> Then backtrace:
> ,----
> | Debugger entered--Lisp error: (wrong-type-argument sequencep t)
> |   TeX-argument-prompt(nil t "setup")

Fixed in CVS (together with the typo you reported).  Thanks for the
report.

--

-- 
Ralf

Gmane