From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: synhedionn@gmail.com Newsgroups: gmane.emacs.help Subject: elisp errors Date: Thu, 22 Jan 2009 08:56:57 -0800 (PST) Organization: http://groups.google.com Message-ID: <26488aad-8ff8-4dda-bda5-ce5036de3617@w39g2000prb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1232690030 30881 80.91.229.12 (23 Jan 2009 05:53:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Jan 2009 05:53:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 23 06:54:59 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LQF0F-00063M-IQ for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Jan 2009 06:54:51 +0100 Original-Received: from localhost ([127.0.0.1]:59240 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQEyy-0000jl-8W for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Jan 2009 00:53:32 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!w39g2000prb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: 88.165.17.74 Original-X-Trace: posting.google.com 1232643418 20814 127.0.0.1 (22 Jan 2009 16:56:58 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 22 Jan 2009 16:56:58 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: w39g2000prb.googlegroups.com; posting-host=88.165.17.74; posting-account=Sx1YUQoAAAAuXI-_9m2ZZabE5DOwGMzv User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008121622 Fedora/3.0.5-1.fc10 Firefox/3.0.5, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:166241 X-Mailman-Approved-At: Fri, 23 Jan 2009 00:52:24 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:61578 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)?