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 20:34:45 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0160c1aa7dc51304f2b35e8a X-Trace: ger.gmane.org 1392752109 25611 80.91.229.3 (18 Feb 2014 19:35:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Feb 2014 19:35:09 +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 20:35:18 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 1WFqRn-0005S5-4M for ged-emacs-devel@m.gmane.org; Tue, 18 Feb 2014 20:35:15 +0100 Original-Received: from localhost ([::1]:53707 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFqRm-0000wo-OD for ged-emacs-devel@m.gmane.org; Tue, 18 Feb 2014 14:35:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFqRj-0000wi-0K for emacs-devel@gnu.org; Tue, 18 Feb 2014 14:35:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFqRe-00088K-6i for emacs-devel@gnu.org; Tue, 18 Feb 2014 14:35:10 -0500 Original-Received: from mail-ea0-x22b.google.com ([2a00:1450:4013:c01::22b]:39508) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFqRe-00087w-06 for emacs-devel@gnu.org; Tue, 18 Feb 2014 14:35:06 -0500 Original-Received: by mail-ea0-f171.google.com with SMTP id f15so8072138eak.16 for ; Tue, 18 Feb 2014 11:35:05 -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=minZy2NDezgcrxlJlwqBM0rv//ytW95PFyUVuZkWK+c=; b=DSjp3CVUk2GKi+04kF8A0ZjZz3Zq6zIpELo+lvoqhP5uWpfUhv9zV+zes321cIqf5s CUTGZQDkdpodqCWuW249zLLm8coD3VwOwRUSDCaq7/Ys7sSfa7JaDys8rvnKXN89rp8L P21YATl5DMzHhhKRTlKHevpWJBNQCUiF4hXcvWsArJVZsCNNSCDYRKuRmDrzUzPMosaO R2/Tt3Hl/yfgFD1C3QfNYkhpQyCu9hb5P30StYJ/LCBaHs+dx2wT13uGJMIktgMtIsoE EOwkrIJcr2vcXkIchtxFyVCjedDinxoBadaH8S61PCtdvgG8YGCmqQDRd5xDfi1KNYS7 DyEA== X-Received: by 10.15.23.194 with SMTP id h42mr35496475eeu.32.1392752105210; Tue, 18 Feb 2014 11:35:05 -0800 (PST) Original-Received: by 10.14.8.196 with HTTP; Tue, 18 Feb 2014 11:34:45 -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:c01::22b 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:169745 Archived-At: --089e0160c1aa7dc51304f2b35e8a Content-Type: text/plain; charset=ISO-8859-1 2014-02-18 15:00 GMT+01:00 Stefan Monnier : > > 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. > > Right, that is something Emacs syntax tables can't currently express. > > Ok, I think I got it. > As mentioned, it has string syntax for things like |)| and | |. > > Something like this would fix my case (modify-syntax-entry ?\| "_ 23bn" lisp-mode-syntax-table) but fail on the ones you mention. Right paren is weird in an atom name, but it may be easy to put spaces in it. Thanks, Fabrice --089e0160c1aa7dc51304f2b35e8a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable



2014-02-18 15:00 GMT+01:00 Stefan Monnier <monnier@iro.umon= treal.ca>:
> The problem may not be the class of ?= | per se, but the interaction with ?:
> The whole thing |rdf|:|someClass| should be cons= idered as a symbol.

Right, that is something Emacs syntax tables can't currently expr= ess.


Ok, I think I go= t it.
=A0
As mentioned, it has string syntax for things like |)| and | |.


Something like t= his would fix my case
=A0 (modify-syntax-entry ?\| "_ 23bn&q= uot; lisp-mode-syntax-table)
but fail on the ones you mention.
Right paren is weird in an atom name, but it may be easy to put spaces= in it.

Thanks,

Fabrice
--089e0160c1aa7dc51304f2b35e8a--