unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* pcvs & ewoc again
@ 2006-05-30 14:57 Sam Steingold
  2006-05-30 16:38 ` Thien-Thi Nguyen
  0 siblings, 1 reply; 2+ messages in thread
From: Sam Steingold @ 2006-05-30 14:57 UTC (permalink / raw)


GNU Emacs 22.0.50.3 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2006-05-30 on quant8

Debugger entered--Lisp error: (wrong-number-of-arguments (lambda (pretty-printer &optional header footer) "Create an empty ewoc.

The ewoc will be inserted in the current buffer at the current position.

PRETTY-PRINTER should be a function that takes one argument, an
element, and inserts a string representing it in the buffer (at
point). The string PRETTY-PRINTER inserts may be empty or span
several linse. A trailing newline will always be inserted
automatically. The PRETTY-PRINTER should use insert, and not
insert-before-markers.

Optional third argument HEADER is a string that will always be
present at the top of the ewoc. HEADER should end with a
newline.  Optionaly fourth argument FOOTER is similar, and will
be inserted at the bottom of the ewoc." (let ((new-ewoc (ewoc--create (current-buffer) pretty-printer nil nil (ewoc--dll-create))) (pos (point))) (ewoc--set-buffer-bind-dll new-ewoc (unless header (setq header "")) (unless footer (setq footer "")) (setf (ewoc--node-start-marker dll) (copy-marker pos)) (let ((foot (ewoc--create-node footer (lambda (x) (insert footer)) pos)) (head (ewoc--create-node header (lambda (x) (insert header)) pos))) (ewoc--node-enter-first dll head) (ewoc--node-enter-last dll foot) (setf (ewoc--header new-ewoc) head) (setf (ewoc--footer new-ewoc) foot))) new-ewoc)) 4)
  ewoc-create(cvs-fileinfo-pp "\n\n" "\n" t)
  cvs-make-cvs-buffer("~/src/clisp/current/" nil)
  cvs-cmd-do("update" "/home/sds/src/clisp/current/" ("-dP") nil nil :cvsargs ("-n") :noshow nil :dont-change-disc t)
  cvs-examine("/home/sds/src/clisp/current/" t)
  #[nil "Á\bÂ\"‡" [default-directory cvs-examine t] 3]()
  #[nil "rÁ\b!ƒ\r\0Â\b!‚\x0f\0\b )‡" [-cvs-mode!-fun commandp call-interactively] 2]()
  cvs-mode!(#[nil "Á\bÂ\"‡" [default-directory cvs-examine t] 3])
  cvs-mode-revert-buffer()
  call-interactively(cvs-mode-revert-buffer)


-- 
Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux)
http://openvotingconsortium.org http://honestreporting.com http://memri.org
http://dhimmi.com http://camera.org http://mideasttruth.com
Just because you're paranoid doesn't mean they AREN'T after you.

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

* Re: pcvs & ewoc again
  2006-05-30 14:57 pcvs & ewoc again Sam Steingold
@ 2006-05-30 16:38 ` Thien-Thi Nguyen
  0 siblings, 0 replies; 2+ messages in thread
From: Thien-Thi Nguyen @ 2006-05-30 16:38 UTC (permalink / raw)


Sam Steingold <sds@podval.org> writes:

> Debugger entered--Lisp error: (wrong-number-of-arguments (lambda
> (pretty-printer &optional header footer)

perhaps you have an out of date ewoc.el somewhere on your load path (it
shadows the one from cvs).  try to find it and remove it, when you are
using emacs from cvs.  or perhaps you are loading an old one explicitly
from ~/.emacs -- that should no longer be necessary as `ewoc-create' is
now autoloaded (in emacs from cvs).

to verify that the correct ewoc.el is properly loaded, you should see
that `ewoc-create' takes three optional args now.

thi

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

end of thread, other threads:[~2006-05-30 16:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-30 14:57 pcvs & ewoc again Sam Steingold
2006-05-30 16:38 ` Thien-Thi Nguyen

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).