From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: About elements in `format-alist' Date: Mon, 17 Jun 2013 20:57:24 -0400 Message-ID: References: <878v28tlyh.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1371517052 2981 80.91.229.3 (18 Jun 2013 00:57:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Jun 2013 00:57:32 +0000 (UTC) Cc: emacs-devel To: Xue Fuqiao Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 18 02:57:31 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 1UokEk-0002k3-Ky for ged-emacs-devel@m.gmane.org; Tue, 18 Jun 2013 02:57:30 +0200 Original-Received: from localhost ([::1]:54879 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UokEk-0006KX-CH for ged-emacs-devel@m.gmane.org; Mon, 17 Jun 2013 20:57:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UokEg-0006KG-2p for emacs-devel@gnu.org; Mon, 17 Jun 2013 20:57:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UokEf-0007Tt-BI for emacs-devel@gnu.org; Mon, 17 Jun 2013 20:57:26 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:61456) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UokEf-0007To-7A for emacs-devel@gnu.org; Mon, 17 Jun 2013 20:57:25 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFpZVy/2dsb2JhbABEvw4Xc4IfAQVWIxALDiYSFBgNJIgkwS2RCgOkeoFegxM X-IPAS-Result: Av4EABK/CFFFpZVy/2dsb2JhbABEvw4Xc4IfAQVWIxALDiYSFBgNJIgkwS2RCgOkeoFegxM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="16609387" Original-Received: from 69-165-149-114.dsl.teksavvy.com (HELO pastel.home) ([69.165.149.114]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 17 Jun 2013 20:57:19 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 4E8BE62D01; Mon, 17 Jun 2013 20:57:24 -0400 (EDT) In-Reply-To: (Xue Fuqiao's message of "Tue, 18 Jun 2013 06:59:49 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 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:160543 Archived-At: > \(NAME DOC-STR REGEXP FROM-FN TO-FN MODIFY MODE-FN PRESERVE). > +If an element list is not that long, the excessive part is taken as nil. It's OK to add it, but at the same time it's not worth the trouble, because it's a general convention: in 99% of the cases nil is treated identically to (cons nil nil). I.e. it's only when this equivalence is not followed that we should mention it. Stefan