unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* elisp errors
@ 2009-01-22 16:56 synhedionn
  2009-01-23  3:48 ` Barry Margolin
  0 siblings, 1 reply; 6+ messages in thread
From: synhedionn @ 2009-01-22 16:56 UTC (permalink / raw)
  To: help-gnu-emacs

hi,
I try to evaluate, for doing indentation of poub.y(so C-mode):
(defun indentTabs()
 (interactive)
  (   save-excursion ; cf
http://www.cs.tut.fi/lintula/manual/elisp/emacs-lisp-intro-1.05/emacs-lisp-intro_13.html#SEC145
restores point to its original position
    (   message "coucou"   )
    (goto-char (point-min))
(let  ((cpt 100))    ;double parenthese obligee
    (while (> cpt 0)
      (
    ((c-indent-command));   widget-forward			;TAB
      ( move-beginning-of-line 0)
     (  next-line 1)

	(setq cpt   (1- cpt)) ;  (1- cpt))
; ( message "cpt=%d"( 3 )  );!! parentheses autour cpt
	   (   message "fin partielle"   )
	      )) )  ) )

I do C-x C-e at end of command
Then , in my poub.y : M-x indentTabs
But error: Invalid read syntax: expected lambda expression (((c-indent-
command));   widget-forward			;TAB	)
What does it mean(evaluate by own your correction suggestion, please)?




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

end of thread, other threads:[~2009-02-01  2:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-22 16:56 elisp errors synhedionn
2009-01-23  3:48 ` Barry Margolin
2009-01-23 20:27   ` synhedionn
2009-01-24  4:19     ` Barry Margolin
2009-02-01  2:52   ` Samuel Wales
     [not found]   ` <mailman.6394.1233456736.26697.help-gnu-emacs@gnu.org>
2009-02-01  2:58     ` Barry Margolin

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