From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rustom Mody Newsgroups: gmane.emacs.devel Subject: Re: function arguments Date: Fri, 25 Oct 2013 10:48:30 +0530 Message-ID: References: <87mwlykl7y.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1382678338 5449 80.91.229.3 (25 Oct 2013 05:18:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Oct 2013 05:18:58 +0000 (UTC) Cc: emacs-devel To: Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 25 07:18:59 2013 Return-path: Envelope-to: ged-emacs-devel@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 1VZZnV-00047x-Es for ged-emacs-devel@m.gmane.org; Fri, 25 Oct 2013 07:18:57 +0200 Original-Received: from localhost ([::1]:57420 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZZnU-0007Oc-WD for ged-emacs-devel@m.gmane.org; Fri, 25 Oct 2013 01:18:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57356) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZZnR-0007Mx-Kq for emacs-devel@gnu.org; Fri, 25 Oct 2013 01:18:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZZnQ-0002td-9y for emacs-devel@gnu.org; Fri, 25 Oct 2013 01:18:53 -0400 Original-Received: from mail-pa0-x22f.google.com ([2607:f8b0:400e:c03::22f]:51765) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZZnQ-0002tZ-2B for emacs-devel@gnu.org; Fri, 25 Oct 2013 01:18:52 -0400 Original-Received: by mail-pa0-f47.google.com with SMTP id lf10so3507231pab.20 for ; Thu, 24 Oct 2013 22:18:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=PiqbH2arBW6weDwl3ZcFZ6YEFhH3CHoC0eUd7MNpXGA=; b=UN5osC5/Mnz94z3NfklvvOM3+1tPV9wALD3TBNerB0X9C3ov5LQxRMfCoP+ZCe5+YT VTLrduE/TAfCPeIvB2U1Kcjv3UiLGT0ac00eRqXBidk8xMasdDgM0WoLls/kjNojFbbz j0TnEnwKhRsBq6yR493T2mGv/iXQhqH77GUnYyrBXUtbDTWBypIjQ/nWN5GcNTm4/Enq dtJj1W3nSusmjHTY4ml/ISjR8BGspgcK8mQURqbJPeVMrHCFNuu8RO629wcuVAcx0r29 tkWfEHV4khQle4eKHEPG1r6UsXhOzwkSny1Pq3UMYJaF+qfGw9pINLSuT8V1H+sKcKXu Sqew== X-Received: by 10.66.119.202 with SMTP id kw10mr8473722pab.118.1382678330982; Thu, 24 Oct 2013 22:18:50 -0700 (PDT) Original-Received: by 10.68.233.74 with HTTP; Thu, 24 Oct 2013 22:18:30 -0700 (PDT) In-Reply-To: <87mwlykl7y.fsf@web.de> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::22f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:164527 Archived-At: On Fri, Oct 25, 2013 at 10:20 AM, Michael Heerdegen wrote: > From the doc: > > ,---------------------------------------------------------------------- > | Each argument is a list of elements of the form (FROM . TO), where FROM > | is a character to be translated to TO. > `---------------------------------------------------------------------- > > Your first example is valid (with one such argument given), but not > your second (because your arguments are not _lists_ of elements of the > form (FROM . TO)). So, the doc seems to be correct, but you must not > get confused by the list of lists of blah structure ;-) Ok now I see it (and the nested dolist's in the code). A little more redundant docs would of course help the idiots like.. yours truly Rusi -- http://www.the-magus.in http://blog.languager.org