From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.bugs Subject: bug#15874: 24.3.50; exit! not properly font-locked in ruby-mode Date: Wed, 04 Dec 2013 23:34:35 -0700 Message-ID: References: <8761r4bh8h.fsf@yandex.ru> 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 1386225259 5602 80.91.229.3 (5 Dec 2013 06:34:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Dec 2013 06:34:19 +0000 (UTC) To: 15874@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 05 07:34:24 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1VoSVy-00083P-VB for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Dec 2013 07:34:23 +0100 Original-Received: from localhost ([::1]:51980 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoSVy-0007Bp-Ij for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Dec 2013 01:34:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoSVl-000773-9A for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2013 01:34:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VoSVe-0002nE-QE for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2013 01:34:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44808) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoSVe-0002lq-LW for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2013 01:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VoSVe-00018X-5b for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2013 01:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Kevin Rodgers Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Dec 2013 06:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15874 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13862251964311 (code B ref -1); Thu, 05 Dec 2013 06:34:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Dec 2013 06:33:16 +0000 Original-Received: from localhost ([127.0.0.1]:58827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VoSUs-00017O-Os for submit@debbugs.gnu.org; Thu, 05 Dec 2013 01:33:15 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56776) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VoSUp-00017F-6C for submit@debbugs.gnu.org; Thu, 05 Dec 2013 01:33:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VoSUj-0002OO-Jw for submit@debbugs.gnu.org; Thu, 05 Dec 2013 01:33:10 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:37542) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoSUj-0002OK-Gn for submit@debbugs.gnu.org; Thu, 05 Dec 2013 01:33:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoSUe-0006ce-Ej for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2013 01:33:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VoSUY-0002Nk-Gj for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2013 01:33:00 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:43742) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoSUY-0002NZ-AI for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2013 01:32:54 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VoSUT-00077E-KW for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2013 07:32:49 +0100 Original-Received: from 70-59-41-30.hlrn.qwest.net ([70.59.41.30]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Dec 2013 07:32:49 +0100 Original-Received: from kevin.d.rodgers by 70-59-41-30.hlrn.qwest.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Dec 2013 07:32:49 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 40 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 70-59-41-30.hlrn.qwest.net User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20 In-Reply-To: <8761r4bh8h.fsf@yandex.ru> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:81419 Archived-At: On 12/4/13 11:31 AM, Dmitry Gutov wrote: > Bozhidar Batsov writes: > >> The built-in Kernel#exit! method is not properly font-locked. exit is >> font-locked with the built-in face, but the ! is font-locked with the >> default face. > > Any ideas for a regexp that matches (any) non-symbol character? `\sCODE' matches any character whose syntax is CODE. Here CODE is a character that represents a syntax code: thus, `w' for word constituent, `-' for whitespace, `(' for open parenthesis, etc. To represent whitespace syntax, use either `-' or a space character. *Note Syntax Class Table::, for a list of syntax codes and the characters that stand for them. `\SCODE' matches any character whose syntax is not CODE. ... -- Syntax class: symbol constituent "Symbol constituents" (designated by `_') are the extra characters that are used in variable and command names along with word constituents. For example, the symbol constituents class is used in Lisp mode to indicate that certain characters may be part of symbol names even though they are not part of English words. These characters are `$&*+-_<>'. In standard C, the only non-word-constituent character that is valid in symbols is underscore (`_'). > http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00684.html > > I'm not sure we want to move `!' to the symbol syntax class. Maybe we > even should move `?' back to punctuation. -- Kevin Rodgers Denver, Colorado, USA