From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: sokobania.01@gmail.com Newsgroups: gmane.emacs.help Subject: Re: Always using let* Date: Tue, 16 Sep 2014 07:23:26 -0700 (PDT) Message-ID: <732966c5-a667-4fc7-9d07-8da315862ce2@googlegroups.com> References: <87fvfukmso.fsf@Equus.decebal.nl> <93faab1c-96bd-4188-9686-3869fc027601@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1410877539 13177 80.91.229.3 (16 Sep 2014 14:25:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Sep 2014 14:25:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 16 16:25:33 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XTthD-00053J-Tk for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Sep 2014 16:25:32 +0200 Original-Received: from localhost ([::1]:38312 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTthD-0004Sp-Bm for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Sep 2014 10:25:31 -0400 X-Received: by 10.182.29.10 with SMTP id f10mr19060196obh.23.1410877406761; Tue, 16 Sep 2014 07:23:26 -0700 (PDT) X-Received: by 10.140.94.34 with SMTP id f31mr10757qge.11.1410877406729; Tue, 16 Sep 2014 07:23:26 -0700 (PDT) Original-Path: usenet.stanford.edu!r10no3273449igi.0!news-out.google.com!q8ni12qal.1!nntp.google.com!m5no1498047qaj.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=213.39.33.67; posting-account=6AmU8QoAAABkSb2sbJisGlnlR_egh2hP Original-NNTP-Posting-Host: 213.39.33.67 User-Agent: G2/1.0 Injection-Date: Tue, 16 Sep 2014 14:23:26 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:207685 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:99958 Archived-At: Le lundi 15 septembre 2014 18:15:14 UTC+2, Drew Adams a =E9crit=A0: > In sum: If I use `let*' then look for a binding dependency. > If I use `let' then don't bother to look for one. I agree. Some cases are intermediate. If I have several variables with "enough" binding dependency, I use "let*". But, quite often, I have several independent variable, except one or two. So, I would use "let" rather than "let*", but don't bind these variables=20 and then use "setq" in the body of the let: (let ((a (val-for-a)) (b (val-for-b)) ... x y) ; depend on a b (setq x (val-for-x a b)) (setq y (val-for-y a b)) ... )