From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fabrice Popineau Newsgroups: gmane.emacs.devel Subject: Re: Lisp mode syntax table Date: Tue, 18 Feb 2014 07:02:02 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c38fecfcd96404f2a803ea X-Trace: ger.gmane.org 1392703341 24201 80.91.229.3 (18 Feb 2014 06:02:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Feb 2014 06:02:21 +0000 (UTC) Cc: Emacs developers To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 18 07:02:30 2014 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 1WFdlF-0001EK-Gt for ged-emacs-devel@m.gmane.org; Tue, 18 Feb 2014 07:02:29 +0100 Original-Received: from localhost ([::1]:46463 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFdlF-0004CT-1I for ged-emacs-devel@m.gmane.org; Tue, 18 Feb 2014 01:02:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFdlB-0004CN-D9 for emacs-devel@gnu.org; Tue, 18 Feb 2014 01:02:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFdl9-0002ed-FL for emacs-devel@gnu.org; Tue, 18 Feb 2014 01:02:25 -0500 Original-Received: from mail-ee0-x235.google.com ([2a00:1450:4013:c00::235]:58105) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFdl9-0002eZ-8F for emacs-devel@gnu.org; Tue, 18 Feb 2014 01:02:23 -0500 Original-Received: by mail-ee0-f53.google.com with SMTP id t10so7522956eei.12 for ; Mon, 17 Feb 2014 22:02:22 -0800 (PST) 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=uDS6uhcHbyBB0RkokNeomGjoVAS3i1M+BxOWRzdICfQ=; b=psjCShTnPjN/9ybgBZ/X1j53z01Cvq7O15P5ztWY9ukhsrYThY9/jpDvLCzAtWVfnj E/JNfqs/1OT1qz9fzcLrtAoZ4xRH/1/NLtK4qbHA6++U9lMjR1TjOV9wpOW70WJCxhXk 5CMGFGYkYdZQoyvb4zpKkHVXpMhena0yMPc/XEoZovmwiAv8Qc+F+MwPPKLUG01s32kW r5T/2ZtzA1P1lM/9bcspQmi5olU7knowLb0z5tl+eprDo70zUompjkYK9PnBkQIRCWug 7HpwYvb2JjJv4WDH7SpZbQ6tJl1QXBX7zvdX8BnEjymnCHucsG+DatX61Qhdevts7IhM tHsg== X-Received: by 10.14.22.5 with SMTP id s5mr1420919ees.85.1392703342171; Mon, 17 Feb 2014 22:02:22 -0800 (PST) Original-Received: by 10.14.8.196 with HTTP; Mon, 17 Feb 2014 22:02:02 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::235 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:169734 Archived-At: --001a11c38fecfcd96404f2a803ea Content-Type: text/plain; charset=ISO-8859-1 > > > Might be a problem in smartparen. What does it do that you dislike? > > > The problem may not be the class of ?| per se, but the interaction with ?: . The whole thing |rdf|:|someClass| should be considered as a symbol. At the moment, using smartparen to push a ?) through this symbol, you start by putting it here : |rdf|):|someClass| then here |rdf| :)|someParen| (notice that a space has been added) and last here |rdf| : |someClass|) Smartparen relies on syntax tables for motion and categorizing symbols. Its author pointed me to the syntax class of ?|, and I actually wonder in CL if ?| shouldn't be part of the symbol rather than a string delimiter. In CL standard syntax, it is also used in multi lines comments #| ... |# There maybe other uses I don't remember. Fabrice --001a11c38fecfcd96404f2a803ea Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

Might be a problem in smartparen. =A0What does it do that you dislike= ?


The problem may not be the class of ?| = per se, but the interaction with ?: .
The whole thing |rdf|:|some= Class| should be considered as a symbol.
At the moment, using sma= rtparen to push a ?) through this symbol,
you start by putting it here :
|rdf|):|someClass|
= then here
|rdf| :)|someParen|
(notice that a space has = been added)
and last here=A0
|rdf| : |someClass|)
Smartparen relies on syntax tables for motion and categorizing symbols= .
Its author pointed me to the syntax class of ?|, and I actually= wonder in CL
if ?| shouldn't be part of the symbol rather th= an a string delimiter.
In CL standard syntax, it is also used in multi lines comments
#| ... |#
There maybe other uses I don't remember.

Fabrice
--001a11c38fecfcd96404f2a803ea--