From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Jakub Jankiewicz Newsgroups: gmane.emacs.help Subject: How to modify scheme mode to allow JavaScript regular expressions? Date: Mon, 29 Jun 2020 17:30:35 +0200 Message-ID: <20200629173035.2d62b430@jcubic> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/0QhLZxRmOrQEa8g+rqAI45T"; protocol="application/pgp-signature"; micalg=pgp-sha256 Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="25810"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 29 17:31:47 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jpvl3-0006Z4-9k for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 29 Jun 2020 17:31:45 +0200 Original-Received: from localhost ([::1]:58076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jpvl1-00014z-6j for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 29 Jun 2020 11:31:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jpvkA-00012V-Kt for help-gnu-emacs@gnu.org; Mon, 29 Jun 2020 11:30:50 -0400 Original-Received: from smtpo35.poczta.onet.pl ([213.180.142.166]:53138 helo=smtpo57.poczta.onet.pl) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jpvk8-0002ZG-4R for help-gnu-emacs@gnu.org; Mon, 29 Jun 2020 11:30:50 -0400 Original-Received: from jcubic (user-5-173-198-153.play-internet.pl [5.173.198.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jcubic@onet.pl) by smtp.poczta.onet.pl (Onet) with ESMTPSA id 49wWf61rLXz1XQpG5 for ; Mon, 29 Jun 2020 17:30:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onet.pl; s=2011; t=1593444638; bh=QFovpsnEQFrK3PyVjRrn+UL7+OUkgh0FbiY4CaAbpF8=; h=Date:From:To:Subject:From; b=FczggIuqkEwZSOTSkyOqOoqBPjuDc4JjHDZ+dsaMrUPwnHXzTEw+TPCAFJ2G1L7yB Pnys5pLEZNxTjrrQb2eg8OyJ3KDU4/0k5pmBZPvNOLFcnB2UeRPWx7wrnOdbexdoUN TQuUGUF/DGZgN/rEtGNIkMlu+17xpnw1uQMk7WGE= X-Mailer: Claws Mail 3.17.3git196 (GTK+ 2.24.32; x86_64-pc-linux-gnu) X-ONET_PL-MDA-SEGREGATION: 0 Received-SPF: pass client-ip=213.180.142.166; envelope-from=jcubic@onet.pl; helo=smtpo57.poczta.onet.pl X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/29 11:30:43 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123451 Archived-At: --Sig_/0QhLZxRmOrQEa8g+rqAI45T Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable I have Scheme based lisp Interpreter written in JavaScript and I would like to add regular expressions since they are first class objects in lisp, they are almost the same as in JavaScript but you can't use literals spaces, you need to use \s. I have some Lips and Elisp knowledge but I have no idea how to start. It would also be nice if regex is in different color as well. How can I do that? Any help is appreciated. -- Jakub Jankiewicz, Web Developer https://jcubic.pl/me --Sig_/0QhLZxRmOrQEa8g+rqAI45T Content-Type: application/pgp-signature Content-Description: Podpis cyfrowy OpenPGP -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEvGU/kjFLOYteHgvHpY7m8TH4MBMFAl76CRsACgkQpY7m8TH4 MBOkAQgAjTdk9UacXBXt4x71n4IMXwJAUPm0NjnnWVc38qFrfShkQPBevzryGhpf RDDhxcAWU/fr8Di+HNQAMtELZBNupGoi/KIGNY5linBwwvzDHx7DdWiv2H2uLxB1 Qqi8fm8wLlGYnAFts4oAHWENIW7BLP3JE8SuWI8+Jyix14Mf6aMmFQwlilKSAf8E +L+NwLHaGEw0+QoPPXZUOSj1Bu5NICHfpOek+0ce8UYoWXawblSw3iwI8ycsPApC WHNJuqQEw/nuQJ+oJkGXmfq007S675Ro5ySO57NTloA3I5hMNkBqNrkMFtowT0mQ iNALg802nnZQMGc9KG/vHPYM0m1k8Q== =zxfI -----END PGP SIGNATURE----- --Sig_/0QhLZxRmOrQEa8g+rqAI45T--