From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "James K. Lowden" Newsgroups: gmane.emacs.help Subject: Re: critique: my-first-function Date: Tue, 14 Jun 2016 21:47:34 -0400 Organization: http://www.NewsDemon.com Message-ID: <20160614214734.128b4c55eaf6b66a7b3ef537@speakeasy.net> References: <20160612183901.e51dc7f75549ed99cfd47363@speakeasy.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1465955431 10647 80.91.229.3 (15 Jun 2016 01:50:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Jun 2016 01:50:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 15 03:50:31 2016 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 1bCzyM-0001Bj-Jn for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Jun 2016 03:50:26 +0200 Original-Received: from localhost ([::1]:39087 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCzyL-0000kb-GR for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Jun 2016 21:50:25 -0400 Original-Path: usenet.stanford.edu!news.glorb.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!fx02.iad.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Newsreader: Sylpheed 3.4.3 (GTK+ 2.24.28; x86_64--netbsd) Original-Lines: 29 Original-X-Complaints-To: abuse@newsdemon.com Original-NNTP-Posting-Date: Wed, 15 Jun 2016 01:47:35 UTC X-Received-Bytes: 1614 X-Received-Body-CRC: 3802996599 Original-Xref: usenet.stanford.edu gnu.emacs.help:218133 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:110442 Archived-At: On Mon, 13 Jun 2016 03:08:47 +0200 Emanuel Berg wrote: My thanks to both you and Stefan. > `let' should be `let*' since "frame-parameters" > are used inside the same `let'. It's a good thing you mentioned that! The next morning, I had to restart emacs (because ssh mumble something timeout) and my function failed. It had worked the day before because > (let ( (frame-parameters frame-parameters happened to have been defined globally during testing. Adding the "*" fixed it instantly. Is the "*" a convention of some kind that I should be aware of? > Instead of "frame1" "frame2", name them after > some property. Well, one day the whole thing will be a recursive call over a list of coordinates. The frames don't deserve names, but I couldn't see my way to creating the list. Thanks again. --jkl