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: Lisp mode syntax table Date: Mon, 17 Feb 2014 15:19:22 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1392668373 30314 80.91.229.3 (17 Feb 2014 20:19:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Feb 2014 20:19:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: Fabrice Popineau Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 17 21:19:41 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 1WFUfE-0007GH-RT for ged-emacs-devel@m.gmane.org; Mon, 17 Feb 2014 21:19:40 +0100 Original-Received: from localhost ([::1]:44013 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFUfE-0007rl-Be for ged-emacs-devel@m.gmane.org; Mon, 17 Feb 2014 15:19:40 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFUf4-0007rb-Qg for emacs-devel@gnu.org; Mon, 17 Feb 2014 15:19:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFUex-0000WY-GY for emacs-devel@gnu.org; Mon, 17 Feb 2014 15:19:30 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:18162) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFUex-0000WS-CI for emacs-devel@gnu.org; Mon, 17 Feb 2014 15:19:23 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFLd/lO/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2NDoN8A4hhnBmBXoMV X-IPAS-Result: Av4EABK/CFFLd/lO/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2NDoN8A4hhnBmBXoMV X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="47893241" Original-Received: from 75-119-249-78.dsl.teksavvy.com (HELO pastel.home) ([75.119.249.78]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 17 Feb 2014 15:19:22 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 6E7AA60176; Mon, 17 Feb 2014 15:19:22 -0500 (EST) In-Reply-To: (Fabrice Popineau's message of "Mon, 17 Feb 2014 10:43:40 +0000 (UTC)") 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.181 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:169713 Archived-At: > Is there a good reason why: > (with-syntax-table lisp-mode-syntax-table > (string (char-syntax ?\|))) > "\"" IIRC some Lisps use that for symbols. > |rdf|:|someClass| and smartparen can't behave well in this case, If it hurts don't do that. Really, it seems like a particularly bad idea. > Would that switch imply any drawbacks I can't think of? I'm not sure what lisp-mode-syntax-table should use, but so far emacs-lisp-mode-syntax-table should use "_" for the syntax of ?| OTOH, someone might want to make |...| into a new syntax for symbols, in which case your |rdf|:|someClass| might break in the future. Stefan