From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Skip Montanaro Newsgroups: gmane.emacs.help Subject: Re: Hack for JSON sequences with trailing commas? Date: Wed, 1 Aug 2018 04:58:05 -0500 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1533117421 20695 195.159.176.226 (1 Aug 2018 09:57:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 1 Aug 2018 09:57:01 +0000 (UTC) Cc: Help GNU Emacs , Barry Margolin To: Yuri Khan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 01 11:56:56 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fknsF-0005GB-En for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Aug 2018 11:56:56 +0200 Original-Received: from localhost ([::1]:38692 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fknuM-0008NI-5D for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Aug 2018 05:59:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkntb-0008Li-0Q for help-gnu-emacs@gnu.org; Wed, 01 Aug 2018 05:58:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fknta-000137-8a for help-gnu-emacs@gnu.org; Wed, 01 Aug 2018 05:58:19 -0400 Original-Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]:41948) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fknta-00012s-22 for help-gnu-emacs@gnu.org; Wed, 01 Aug 2018 05:58:18 -0400 Original-Received: by mail-pg1-x52f.google.com with SMTP id z8-v6so10569078pgu.8 for ; Wed, 01 Aug 2018 02:58:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=iHEg2zN0OVIdUEi91jQAyaEI5wR3AvxpAlzjjc5Fg8g=; b=Ra+60ZXlUgZsfO5l/PzCtAI4DJA0JYGkIGnlho4r8EVVaG+hEnwpQTsdpW0YNLY/AZ YQYKHvIlssKLtXiWYXlDmjstHIIm4KHWXlj+1/pZP4rqeZVOUKBfIGMEdWGzeMfq40/s qfNUlt61Y5j1WTppEQAjsFG0RDXnAEPdkpFRKpRgS9CPwAzWCiPG447+x6cKNw8KONd1 Enr2yjr5ewjThhNC6ItznAsiARX+pTdAbKQrHkQMVWg5f5o3zOvgdo7QUyK+3kDoDFXz UmleZui9efikcyTYxVRk7JR757ItBVnIOcRc6Q0sB6gAQDJa4OcA7K+qClX3SeVk5SI2 EoBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=iHEg2zN0OVIdUEi91jQAyaEI5wR3AvxpAlzjjc5Fg8g=; b=BOcfWGTcJR9OgZSPyGqi7oyMnGNap0Y5v2nFwz5a8eBWlqfbNO5K0XGYQB74XzyuAx UdAFD+Ja3UxZm3UAL58C6eluqjGv+CcDKMr2Qj0OQlXAivYR0JH0FToklqHbekHE9V4t rsN+O+OC8MqmqIUOG3F+Tj5L9CCxq5AQMUpA4BjSzxVkFvveosqOySXdNgcyidRSLx2L TDAV5mxMxerWS0ifg64+oRqe9Pr/+uZHviGlU9BLLNNqapeoxUcZyfr7h3HYdSHm+exa iCsF8TQwSvff0ShVuyBCf3XHs6tCUojg6BlSgkL0PMjUupfeSzFFSuRRWWHaADpd+Ov7 Aqgw== X-Gm-Message-State: AOUpUlG/PR1BVE9yJqghomr2YN8vnpDzzdbpP8rU6syeH33mGR9cvkmh NruYQx2dSX5u5oqRlPBS7M7YZCRW8KdJ7NfoaUzJogY= X-Google-Smtp-Source: AAOMgpfXeNtZOzoEQzq6bxRSumRlkB2sG/J7EE2kY58G6CW+yP9FojG79vCCt+18EeKUUP2KG4mH/DjD0fxRbNVUm9E= X-Received: by 2002:a63:6d8b:: with SMTP id i133-v6mr24306930pgc.215.1533117496823; Wed, 01 Aug 2018 02:58:16 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::52f X-Content-Filtered-By: Mailman/MimeDel 2.1.21 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:117619 Archived-At: On Wed, Aug 1, 2018, 2:23 AM Yuri Khan wrote: > On Wed, Aug 1, 2018 at 1:55 PM Barry Margolin wrote= : > > > JSON is a very limited subset of Javascript notation for literals. [=E2= =80=A6] > > More importantly, Javascript allows comments and string concatenation > expressions, while JSON doesn=E2=80=99t. Which makes it a really bad choi= ce > for hand-written configuration files. > Thanks, folks. I know all this. I can (and do) handle the comment situation. I was just asking if there was some reasonable way to support trailing commas in sequences. If not, it won't kill me. Skip >