From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 07 08:28:26 2014 Received: (at submit) by debbugs.gnu.org; 7 Apr 2014 12:28:26 +0000 Received: from localhost ([127.0.0.1]:38855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WX8f2-0007bY-Gu for submit@debbugs.gnu.org; Mon, 07 Apr 2014 08:28:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34137) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WX8ex-0007bL-Fo for submit@debbugs.gnu.org; Mon, 07 Apr 2014 08:28:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WX8en-0002fV-14 for submit@debbugs.gnu.org; Mon, 07 Apr 2014 08:28:19 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.8 required=5.0 tests=AC_HTML_NONSENSE_TAGS, BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:34053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WX8em-0002fP-Tk for submit@debbugs.gnu.org; Mon, 07 Apr 2014 08:28:08 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35741) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WX8ef-0000Yb-Aj for bug-gnu-emacs@gnu.org; Mon, 07 Apr 2014 08:28:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WX8eX-0002cg-Nb for bug-gnu-emacs@gnu.org; Mon, 07 Apr 2014 08:28:01 -0400 Received: from mail-ee0-f54.google.com ([74.125.83.54]:53018) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WX8eX-0002cc-DW for bug-gnu-emacs@gnu.org; Mon, 07 Apr 2014 08:27:53 -0400 Received: by mail-ee0-f54.google.com with SMTP id d49so582752eek.41 for ; Mon, 07 Apr 2014 05:27:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-type; bh=rQ8NDBur/I5of36ge0LAEFYgXvvxMp+gb5eLI9dGUkc=; b=DikDtIuaTMKmT0CkwWeYlHubI+E3LO1RloKxsiCkoyXJpA3+uLGbajm9UvrG9HyQBQ E8HxLdt6zHF2ypMl3I/RYNuhBJvRD7Fb/nlFaG+XEhCrd3XM3o5mol2kledmGjprSmbm 7+cWTPHKbnES37ZIiF7nYZOa13pxX1m4K1786xO9Xq2LWc9rCWmFY485HihyiyEoda+j 3QsaT4NExmDif8N56g9G8+qT9L+RlNoaiVkLn9rnWwmkvEQSQGYWdM5ZtCjB2lKd4E1p XWGT25VqWHMNwSKEscVpWyXuklNbu//ytL+KUeZwvfaSgLbJUE918M7Uyk/vq599c1bB PzEw== X-Gm-Message-State: ALoCoQnovBVBSlnpxNEEivgYAH1+qRjAEgojG8mx5kyjeotpI4kAhAkAePyYMH9KMO9M1rkVP24R X-Received: by 10.14.115.1 with SMTP id d1mr2574887eeh.30.1396873672297; Mon, 07 Apr 2014 05:27:52 -0700 (PDT) Received: from Bozhidars-MacBook-Pro.local ([95.87.231.111]) by mx.google.com with ESMTPSA id 45sm41515819eeh.9.2014.04.07.05.27.50 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 07 Apr 2014 05:27:51 -0700 (PDT) Received: by Bozhidars-MacBook-Pro.local (Postfix, from userid 501) id 08AB78C47884; Mon, 7 Apr 2014 15:27:48 +0300 (EEST) From: Bozhidar Batsov To: bug-gnu-emacs@gnu.org Subject: 24.4.50; [ruby-mode] Font lock more methods from Module as built-in Date: Mon, 07 Apr 2014 15:27:48 +0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.0 (---) The following 4 methods Module methods should be font-locked as built-in: private_class_method private_constant public_class_method public_constant They were all added in 1.9.3 and are useful when dealing with lots of class methods. Unlike `private` and friends, they always require an argument: class SimpleSingleton private_class_method :new def SimpleSingleton.create(*args, &block) @me = new(*args, &block) if ! @me @me end end In GNU Emacs 24.4.50.1 (x86_64-apple-darwin13.1.0, NS apple-appkit-1265.19) of 2014-03-29 on Bozhidars-MacBook-Pro.local Windowing system distributor `Apple', version 10.3.1265 Configured using: `configure --prefix=/usr/local/Cellar/emacs/HEAD --without-dbus --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs/HEAD/share/info/emacs --without-gnutls --with-ns --disable-ns-self-contained' Configured features: ACL LIBXML2 ZLIB Important settings: locale-coding-system: utf-8-unix Major mode: EL Minor modes in effect: magit-auto-revert-mode: t diff-auto-refine-mode: t rainbow-mode: t rainbow-delimiters-mode: t elisp-slime-nav-mode: t guru-mode: t erc-truncate-mode: t erc-spelling-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t global-flycheck-mode: t flycheck-mode: t which-function-mode: t flx-ido-mode: t ido-ubiquitous-mode: t winner-mode: t global-undo-tree-mode: t undo-tree-mode: t eldoc-mode: t whitespace-mode: t global-anzu-mode: t anzu-mode: t projectile-global-mode: t projectile-mode: t flyspell-mode: t shell-dirtrack-mode: t volatile-highlights-mode: t global-hl-line-mode: t recentf-mode: t savehist-mode: t show-smartparens-global-mode: t show-smartparens-mode: t smartparens-strict-mode: t smartparens-mode: t global-auto-revert-mode: t delete-selection-mode: t prelude-global-mode: t prelude-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-n M-w C-x o C-x g l l q C-x o C-x g C-s r u b y - m o d e C-l C-p C-a s s c c C-y M-y C-k C-p C-p C-p C-SPC C-f C-f C-b C-n C-n C-x r d C-p C-p C-f C-f l i s p / C-e C-n C-n C-c C-c P P F F P P C-x o M-< C-s c h a n g e l o g C-s C-g C-g C-x b c h a n g e C-v C-v C-v M-< C-s j a v a C-l C-s C-s C-l C-s C-s C-l C-s C-s C-g M-< C-s p y t h o n C-l C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-l C-l C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-s C-s C-l C-s C-s C-s C-s C-l C-s C-s C-s C-l C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-l C-s C-s C-s C-s C-s C-s C-s C-l C-s C-s C-s C-s C-s C-s C-l C-s C-s C-s C-s C-s C-s C-s C-s C-s C-l M-< C-x b r u b y - m o d e C-s p r i v a t e C-l C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-a C-a C-SPC C-n C-n C-n C-n M-w M-x e m a c s - r e p o r e p o r t - b u g C-r Recent messages: Reverting buffer `ChangeLog'. Reverting buffer `ruby-mode.el'. Git finished Mark set Mark saved where search started [3 times] Quit Mark set Mark saved where search started [9 times] Mark set Mark saved where search started Load-path shadows: /Users/bozhidar/.emacs.d/elpa/tabulated-list-20120406.2251/tabulated-list hides /usr/local/Cellar/emacs/HEAD/share/emacs/24.4.50/lisp/emacs-lisp/tabulated-list Features: (shadow sort emacsbug bug-reference image-mode vc vc-dispatcher rubocop yaml-mode ace-jump-buffer bs ace-jump-mode hippie-exp debug eieio-opt speedbar sb-image ezimage dframe cus-start cus-load rect mail-extr markdown-mode noutline outline mule-util magit-key-mode magit view epa derived epg epg-config diff-mode git-rebase-mode git-commit-mode server log-edit message sendmail rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader pcvs-util misearch multi-isearch ffap url-parse url-vars slim-mode find-dired add-log cap-words superword subword ruby-tools inf-ruby ruby-mode-expansions smartparens-ruby ruby-mode vc-git rainbow-mode color rainbow-delimiters elisp-slime-nav guru-mode prelude-key-chord key-chord prelude-xml nxml-mode-expansions html-mode-expansions sgml-mode smartparens-html rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok prelude-web prelude-scss prelude-shell sh-script smie executable prelude-scheme prelude-ruby prelude-perl prelude-org prelude-js prelude-erc erc-truncate erc-autoaway erc-spelling erc-notify erc-log erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete erc-track erc-match erc-button erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat prelude-emacs-lisp prelude-css prelude-common-lisp slime-autoloads prelude-clojure prelude-lisp prelude-c prelude-programming flycheck help-mode rx f which-func imenu prelude-ido smex flx-ido flx ido-ubiquitous warnings ido prelude-osx exec-path-from-shell prelude-global-keybindings prelude-editor winner undo-tree diff esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg eldoc esh-groups eshell esh-module esh-mode esh-util re-builder whitespace browse-kill-ring midnight ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff dired-x dired anzu projectile pkg-info find-func lisp-mnt grep compile s bookmark pp expand-region text-mode-expansions er-basic-expansions expand-region-core expand-region-custom flyspell ispell tramp tramp-compat auth-source gnus-util mm-util mail-prsvr password-cache tramp-loaddefs trampver shell pcomplete comint ansi-color format-spec etags ring volatile-highlights hl-line windmove recentf tree-widget wid-edit savehist saveplace diminish smartparens-config smartparens autorevert filenotify delsel prelude-mode easy-mmode edmacro kmacro prelude-core epl advice help-fns pcase dash thingatpt prelude-ui zenburn-theme prelude-packages finder-inf ack-and-a-half-autoloads diminish-autoloads erlang-autoloads flx-ido-autoloads eieio byte-opt bytecomp byte-compile cconv eieio-core grizzl-autoloads key-chord-autoloads logito-autoloads info easymenu cl-macs gv rubocop-autoloads volatile-highlights-autoloads yaml-mode-autoloads package cl cl-loaddefs cl-lib time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process cocoa ns multi-tty emacs) Memory information: ((conses 16 812867 578026) (symbols 48 44010 0) (miscs 40 6357 17305) (strings 32 104936 170933) (string-bytes 1 3013205) (vectors 16 121702) (vector-slots 8 4379790 302521) (floats 8 25395 9209) (intervals 56 25426 3862) (buffers 960 119)) From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 08 20:17:21 2014 Received: (at 17216-done) by debbugs.gnu.org; 9 Apr 2014 00:17:21 +0000 Received: from localhost ([127.0.0.1]:38290 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WXgCf-0004vV-4U for submit@debbugs.gnu.org; Tue, 08 Apr 2014 20:17:21 -0400 Received: from mail-bk0-f43.google.com ([209.85.214.43]:41276) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WXgCc-0004vB-Ke for 17216-done@debbugs.gnu.org; Tue, 08 Apr 2014 20:17:19 -0400 Received: by mail-bk0-f43.google.com with SMTP id v15so1607894bkz.30 for <17216-done@debbugs.gnu.org>; Tue, 08 Apr 2014 17:17:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=bMgUPxzNcEQFvHEAnrC//z29UY819I/ENKZjWaYlVFU=; b=bNxmUgzbr6Dr8lMa6N8smGGMXv8xRSBbZdDHGLvBoOlcB2vXAjC5DDXtA3AoT5vzUL zrPRlEecKrEeShCLBsihJeLd4g6B4dIhrrxph3TYQ6AyyXFMHYfQ+LQ+pAyOkHqhS7J2 U7xvJz9QPOwYdkUDxrwdUH9vUW1PPrl83Qu5N243WWM58Tz2D6e3wgwRg6wxU13HzWW8 JRSnC6PXkmBM9dkJ5/Hx+knbJfjy6Y6OE810QnIlgox9csSqOSOkjRQ8TkrB6V+y53ej Q5L07A3UpDvxTTKDt2c7G+iOPTIwZ9QsPfMEOnW8tLgi5bQmv4BSYIgrbNabvnTpOYZX /WLw== X-Received: by 10.112.199.99 with SMTP id jj3mr4716820lbc.22.1397002632574; Tue, 08 Apr 2014 17:17:12 -0700 (PDT) Received: from axl ([178.252.98.87]) by mx.google.com with ESMTPSA id q4sm2826336lbl.14.2014.04.08.17.17.10 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 08 Apr 2014 17:17:11 -0700 (PDT) From: Dmitry Gutov To: Bozhidar Batsov Subject: Re: bug#17216: 24.4.50; [ruby-mode] Font lock more methods from Module as built-in References: Date: Wed, 09 Apr 2014 04:17:05 +0400 In-Reply-To: (Bozhidar Batsov's message of "Mon, 07 Apr 2014 15:27:48 +0300") Message-ID: <87r4571hmm.fsf@yandex.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.6 (/) X-Debbugs-Envelope-To: 17216-done Cc: 17216-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.6 (/) Version: 24.4 Bozhidar Batsov writes: > The following 4 methods Module methods should be font-locked as built-in: > > private_class_method > private_constant > public_class_method > public_constant Done, thanks. From unknown Wed Aug 20 02:45:59 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 07 May 2014 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator