From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: +1 char strings as open-bracket/close-bracket Date: 25 Jun 2009 11:19:20 GMT Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1245930138 29889 80.91.229.12 (25 Jun 2009 11:42:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Jun 2009 11:42:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 25 13:42:11 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MJnLE-0004Vz-LB for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Jun 2009 13:42:08 +0200 Original-Received: from localhost ([127.0.0.1]:58300 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJnLD-00029y-Kp for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Jun 2009 07:42:07 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-X-Trace: individual.net GVqRZiLlPlW7DKtoTlAMwAlRreiksVcWAxBYJz2Pb0LoN9XcqW Cancel-Lock: sha1:J7M6XDIZiW2wjyY1wWNxHibTcCs= Mail-Copies-To: nobody X-Editor: Emacs of course! User-Agent: slrn/0.9.9 (Linux) Original-Xref: news.stanford.edu gnu.emacs.help:170280 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65498 Archived-At: Kokor Hekkus wrote: > Any way of modifying the syntax table to identify a string of more > than one character as an open-bracket or a close-bracket character. > For instance, you might do: > > (modify-syntax-entry ?^ "($") > (modify-syntax-entry ?$ ")^") > > ...to make ^ and $ match each other (from EmacsWiki). How would I > make the two character strings '#>' and '<#' match in the same way? > The above doesn't work. if i do C-h f modify-syntax-entry RET, somewhere in the help buffer, it says: "Only single-character comment start and end sequences are represented thus. Two-character sequences are represented as described below." i guess that would be a starting point for you to look at. -- Joost Kremers joostkremers@yahoo.com Selbst in die Unterwelt dringt durch Spalten Licht EN:SiS(9)