🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99874

Re: Matching string-quote syntax

#99874
From: Kyle Jones
Date: Thu, 26 Apr 1990 13:31
13 lines
1019 bytes
macrakis@ri.osf.fr writes:
 > GNU Emacs 18.55
 > 
 > It would occasionally be useful to have a matching string-quote syntax
 > category (as for parentheses).  This is useful, for instance, for
 > .framemif format, where strings are delimited by left-quote and
 > right-quote (`string')

If I understnad what you are asking for, you can do this using
the open-parentheses and close-parentheses syntax classes.

(modify-syntax-entry ?` "('")
(modify-syntax-entry ?' ")`")
Technical Details
Message-ID: <1990Apr26.133144.6428@talos.pm.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!talos!kjones
References: <9004251813.AA14943@.dupuis.>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,95c26f7ca04a3555
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-04-26 06:31:44 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!talos!kjones
From: kjones@talos.pm.com (Kyle Jones)
Newsgroups: gnu.emacs.bug
Subject: Re: Matching string-quote syntax
Message-ID: <1990Apr26.133144.6428@talos.pm.com>
Date: 26 Apr 90 13:31:44 GMT
References: <9004251813.AA14943@.dupuis.>
Reply-To: kyle@cs.odu.edu
Distribution: gnu
Lines: 13
Posted: Thu Apr 26 14:31:44 1990