From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bozhidar Batsov Newsgroups: gmane.emacs.devel Subject: Re: Small improvements to ruby-mode Date: Tue, 9 Jul 2013 15:55:10 +0300 Message-ID: References: <2A6700DEDCA640EF92B326002717596D@gmail.com> <87txkrm46t.fsf@yandex.ru> <6EF2AEF8D67840A2AF1C908AA3D0725F@gmail.com> <51C5A67A.2020002@yandex.ru> <51C6EA5F.2040408@yandex.ru> <51D1CB5A.2060900@yandex.ru> <51D1F98D.3060900@yandex.ru> <51D31E12.7060002@yandex.ru> <51D4476A.40107@yandex.ru> <51D6A02C.2020207@yandex.ru> <51D6D500.7080306@yandex.ru> <51DB6516.1090708@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c2a632dc620104e113ab10 X-Trace: ger.gmane.org 1373374526 29596 80.91.229.3 (9 Jul 2013 12:55:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Jul 2013 12:55:26 +0000 (UTC) Cc: Stefan Monnier , emacs-devel To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 09 14:55:27 2013 Return-path: Envelope-to: ged-emacs-devel@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 1UwXS3-0001fv-AJ for ged-emacs-devel@m.gmane.org; Tue, 09 Jul 2013 14:55:27 +0200 Original-Received: from localhost ([::1]:50778 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwXS3-0008Hx-06 for ged-emacs-devel@m.gmane.org; Tue, 09 Jul 2013 08:55:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37077) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwXRv-00085A-Sy for emacs-devel@gnu.org; Tue, 09 Jul 2013 08:55:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UwXRo-0004yY-1P for emacs-devel@gnu.org; Tue, 09 Jul 2013 08:55:19 -0400 Original-Received: from mail-qc0-x232.google.com ([2607:f8b0:400d:c01::232]:49538) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwXRn-0004yC-UJ for emacs-devel@gnu.org; Tue, 09 Jul 2013 08:55:11 -0400 Original-Received: by mail-qc0-f178.google.com with SMTP id c11so2913888qcv.37 for ; Tue, 09 Jul 2013 05:55:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=v28t2cxxPk/zRkzyv33mtFS2xgqJQUdqP6iVeQh9YYc=; b=Nh1iczbbiPBSyA3LA+EpXfu4iyZFkErdaZ54Q0UK57sPFRZzsrdJ7tO3/3KfPiG73N 7WkNaEsTtQP4Azt6E8RdHmXM/XfHohwMObN+VFftnI29xQqWD1WYSuYe5ZA1s4abCkWW myyPo7AiIODoDS3Zh4brZGy/BERmpaH7CUUrpURdAT/aYAHkTd3z776dx/TQTwwaADDR tvossM3NqjryL9jhEe5FbAYcHHTOEYA+V+MDtYWQbWwgbx+vZJrb+CsnzpcQTzVbuDT1 JieH0v2x3YujnPHJhtf7+hyuZQfa1cYlJMgk5eOrJpCKE07deHAalcGo0VtuW4abEeM9 L4pQ== X-Received: by 10.224.173.2 with SMTP id n2mr22699811qaz.75.1373374510816; Tue, 09 Jul 2013 05:55:10 -0700 (PDT) Original-Received: by 10.49.59.13 with HTTP; Tue, 9 Jul 2013 05:55:10 -0700 (PDT) In-Reply-To: <51DB6516.1090708@yandex.ru> X-Google-Sender-Auth: -2KtjfQbBKAg29OAmG0_ltHhEAI X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c01::232 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:161749 Archived-At: --001a11c2a632dc620104e113ab10 Content-Type: text/plain; charset=UTF-8 Great! On 9 July 2013 04:19, Dmitry Gutov wrote: > On 08.07.2013 13:37, Bozhidar Batsov wrote: > >> I noticed a couple of more font locking problems that we might want to >> address. They are related to method names. Consider this code >> >> >> def self.some_name .... >> >> def SomeClass.some_name ... >> >> self and SomeClass are currently highlighted with the same face as the >> method name, although they are not actually part of the method name. >> self should be highlighted with the variable face and class/modules with >> the type face. >> > > Should be fixed now. :) Along with the negation char fontification. > --001a11c2a632dc620104e113ab10 Content-Type: text/html; charset=UTF-8
Great!


On 9 July 2013 04:19, Dmitry Gutov <dgutov@yandex.ru> wrote:
On 08.07.2013 13:37, Bozhidar Batsov wrote:
I noticed a couple of more font locking problems that we might want to
address. They are related to method names. Consider this code


def self.some_name ....

def SomeClass.some_name ...

self and SomeClass are currently highlighted with the same face as the
method name, although they are not actually part of the method name.
self should be highlighted with the variable face and class/modules with
the type face.

Should be fixed now. :) Along with the negation char fontification.

--001a11c2a632dc620104e113ab10--