From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: font-lock "= Date: Fri, 7 May 2010 00:17:25 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1273184301 11754 80.91.229.12 (6 May 2010 22:18:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 May 2010 22:18:21 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Kevin Rodgers Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 07 00:18:18 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1OA9Ob-00009T-Qk for geh-help-gnu-emacs@m.gmane.org; Fri, 07 May 2010 00:18:18 +0200 Original-Received: from localhost ([127.0.0.1]:57080 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OA9Ob-0002pD-3T for geh-help-gnu-emacs@m.gmane.org; Thu, 06 May 2010 18:18:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OA9O8-0002lF-QQ for help-gnu-emacs@gnu.org; Thu, 06 May 2010 18:17:48 -0400 Original-Received: from [140.186.70.92] (port=36922 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OA9O7-0002j4-Ir for help-gnu-emacs@gnu.org; Thu, 06 May 2010 18:17:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OA9O6-0002o2-8Q for help-gnu-emacs@gnu.org; Thu, 06 May 2010 18:17:47 -0400 Original-Received: from mail-fx0-f41.google.com ([209.85.161.41]:62030) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OA9O6-0002nu-3p for help-gnu-emacs@gnu.org; Thu, 06 May 2010 18:17:46 -0400 Original-Received: by fxm1 with SMTP id 1so378579fxm.0 for ; Thu, 06 May 2010 15:17:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=LV9evXVnT0NikBQCP7VbElFso9vxRx9ov8Qls0DZr8Y=; b=ojIwFj1yFfViIZDM4/bA+jsFlT1ETk4NDMhHEvdlI5zPNzpPJKCTScBAcCImd8jfKt 2DfnwYdH3XF0CFhkJr+XlstmBetDaiCVRrroSmRnFXYqzOJMZxvdbjdLm3SGeZzKDIWb Rd7AAX51vjQ+vRPX+TgRWK0GSzZiFfjvtsfqU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=xdszXZcTdNtJsBkh4KoOOZzco4HzkgBlVTb2Qe2kPJ+E5ZH5duLSan0PSsbqyk39Ro EyUsgFj0icIIYdXig/Z/TH8WCCgKgv7uuqii1P1wb6nvEX3PCKAeQJ4+ogyLwuwqXkOg aKeXWy0wXkDf3r0ZJOqg566L1KjRskcvrcTJM= Original-Received: by 10.239.192.74 with SMTP id d10mr69413hbi.74.1273184265120; Thu, 06 May 2010 15:17:45 -0700 (PDT) Original-Received: by 10.239.164.81 with HTTP; Thu, 6 May 2010 15:17:25 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:73531 Archived-At: On Fri, May 7, 2010 at 12:13 AM, Kevin Rodgers wrote: > Roger Mason wrote: >> >> Hello, >> >> I'm trying to write a major mode for amrita. =C2=A0My mode is derived fr= om >> fundamental-mode. >> One of the operators in the language is "=3D. =C2=A0That is, quotation m= arks >> followed by the equals sign. =C2=A0This is currently higlighted as a str= ing >> that continues up to the next occurrence of ". =C2=A0I'd like to turn of= f >> this behaviour and have the character pair "=3D not highlighted, or >> highlighted in some other face. >> >> Can someone suggest how to accomplish this? > > ;; make double quote the same as equals sign: > (modify-syntax-entry ?\" (char-to-string (char-syntax ?=3D))) > > or just > > ;; change double quote to punctuation: > (modify-syntax-entry ?\" ".") It looks like amrita has subcode from other languages so that will probably not work.