From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.devel Subject: Re: emacs: are multi-char parentheses possible? Date: Wed, 11 Jun 2014 09:40:38 +0200 Message-ID: <539807F6.1080301@online.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1402472490 22618 80.91.229.3 (11 Jun 2014 07:41:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Jun 2014 07:41:30 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 11 09:41:24 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 1Wud9v-0007kY-C5 for ged-emacs-devel@m.gmane.org; Wed, 11 Jun 2014 09:41:23 +0200 Original-Received: from localhost ([::1]:44049 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wud9u-0000l4-Sa for ged-emacs-devel@m.gmane.org; Wed, 11 Jun 2014 03:41:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37372) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wud9m-0000kk-WE for emacs-devel@gnu.org; Wed, 11 Jun 2014 03:41:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wud9c-0002Kx-Hb for emacs-devel@gnu.org; Wed, 11 Jun 2014 03:41:14 -0400 Original-Received: from mout.kundenserver.de ([212.227.126.187]:49721) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wud9c-0002Kc-7v for emacs-devel@gnu.org; Wed, 11 Jun 2014 03:41:04 -0400 Original-Received: from [192.168.178.32] (brln-4dba5d30.pool.mediaWays.net [77.186.93.48]) by mrelayeu.kundenserver.de (node=mreue007) with ESMTP (Nemesis) id 0MSlc0-1XMEjC1eS4-00RYP2; Wed, 11 Jun 2014 09:41:02 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Icedove/24.5.0 In-Reply-To: X-Provags-ID: V02:K0:XB7wqeUhvhvmEL5GzoKMhoVPHEurJjZbhAwQmF7FrZD 5Q4p9G79ahdo65qFs2gR/zePkKJWouOcOhYcOxcvnNBIZ3DuIS t+wxcei8zJmgihTjRPjVkhRut+p9BYUfcuHL5fAchuRl0LEPno zrcyFiwp3LPwIK9tkkJv3BmtaB9h3K7Ow88ve4s/JOpw6yptDS bDPp4zxySdtbK1OsVY4WeMoteGzcZdSLX2leIm2QPHpKXdaSPj +OJBqP/UT7J10hhhHiBmxJy0Oybm6m4KDRJbq4HE25wCND00Dr nmom0fkzz+KcyZVDzwEPLJypNOTsVuf9V5Qk+YTWVmRblrZvGi REwFyKVHSzKbDETJbP8nMld1kC3WUm/Kkif8rmCPf X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.126.187 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:172444 Archived-At: On 10.06.2014 11:22, Leo Liu wrote: > On 2014-06-09 22:21 -0400, Stefan Monnier wrote: >> Maybe you "did something wrong" there, but SMIE normally tries to obey >> the existing syntax tables (and syntax-table properties), so maybe you >> saw a bug in SMIE. > > hmm, I can no longer find a recipe to reproduce the problem I was seeing > where forward-sexp before << moved forward just one char. > > BTW, some languages have structured documentation embedded in comments, > for example, texinfo used by octave, or xml-like by misc other > languages. What is the best way to provide in-comment indentation for > them? Is this something SMIE might support in future? > > Thanks, > Leo > > https://launchpad.net/s-x-emacs-werkstatt/+download comes with a parser --in beg-end.el--, where in-comment detection of thing-at-point forms might be switched on. From there it should be possible to calculate indentation. HTH, Andreas