From unknown Tue Aug 19 09:32:03 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#18644 <18644@debbugs.gnu.org> To: bug#18644 <18644@debbugs.gnu.org> Subject: Status: 24.4.50; [ruby-mode] Font-lock bug for hash literals Reply-To: bug#18644 <18644@debbugs.gnu.org> Date: Tue, 19 Aug 2025 16:32:03 +0000 retitle 18644 24.4.50; [ruby-mode] Font-lock bug for hash literals reassign 18644 emacs submitter 18644 Bozhidar Batsov severity 18644 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 06 07:46:52 2014 Received: (at submit) by debbugs.gnu.org; 6 Oct 2014 11:46:52 +0000 Received: from localhost ([127.0.0.1]:35300 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xb6kd-0000R3-Dh for submit@debbugs.gnu.org; Mon, 06 Oct 2014 07:46:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42205) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xb6ka-0000Qu-Mm for submit@debbugs.gnu.org; Mon, 06 Oct 2014 07:46:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xb6kR-0003rn-4w for submit@debbugs.gnu.org; Mon, 06 Oct 2014 07:46:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40925) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xb6kR-0003rj-1h for submit@debbugs.gnu.org; Mon, 06 Oct 2014 07:46:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xb6kH-0004Ty-QD for bug-gnu-emacs@gnu.org; Mon, 06 Oct 2014 07:46:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xb6k8-0003o3-No for bug-gnu-emacs@gnu.org; Mon, 06 Oct 2014 07:46:29 -0400 Received: from mail-wi0-x234.google.com ([2a00:1450:400c:c05::234]:36190) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xb6k8-0003nm-EE for bug-gnu-emacs@gnu.org; Mon, 06 Oct 2014 07:46:20 -0400 Received: by mail-wi0-f180.google.com with SMTP id em10so4302044wid.1 for ; Mon, 06 Oct 2014 04:46:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=5oC2jbPJgm1IaJKBI3mBeeJGnWzPwZfi+a//cqEKanA=; b=YljuOgPEzP6MuxpArZ/8Cnpjv9rFkKwira7pFl3oTJl+6jyH61u2lAGZnw/emGdEfz ze2NkcRrrww04nepHpaHWAdB2kINYCach14NlXLobSodv7yczjOdKAOcLJ5PDCE2NTv5 U5BmALo3lKjZagS8D5TQ2lpfqPW2T6Suf2nX7UJXP+o5ErLmmQBiBTCiDFk5QTChs6ll YmOVVcs588+evSehu4pKaO9PTwUNXPmtYgS7BC1tkYVS0dpbMQMgaoWT05c9rowxJyhT kGMmOIztu390Opc/D0ZnSBbJ9hTkW6pvDY0vCOr5H7cryDAXAbRBzNxmXHRfEGoU3DAC sLkg== X-Received: by 10.180.91.170 with SMTP id cf10mr18867539wib.70.1412595978842; Mon, 06 Oct 2014 04:46:18 -0700 (PDT) Received: from Bozhidars-MacBook-Pro.local ([95.87.231.111]) by mx.google.com with ESMTPSA id h4sm1344982wjb.9.2014.10.06.04.46.17 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 06 Oct 2014 04:46:18 -0700 (PDT) Received: from Bozhidars-MacBook-Pro.local (localhost [IPv6:::1]) by Bozhidars-MacBook-Pro.local (Postfix) with ESMTP id E9261AF3CB4B for ; Mon, 6 Oct 2014 14:46:15 +0300 (EEST) From: Bozhidar Batsov To: bug-gnu-emacs@gnu.org Subject: 24.4.50; [ruby-mode] Font-lock bug for hash literals Date: Mon, 06 Oct 2014 14:45:52 +0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.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: -4.0 (----) The following code is not properly font-locked by ruby-mode: {:a=>2, :b=>2} Seems that `=` is interpreted as part of the symbol names, although it isn't. In GNU Emacs 24.4.50.1 (x86_64-apple-darwin13.3.0, NS appkit-1265.21 Version 10.9.4 (Build 13E28)) of 2014-09-13 on Bozhidars-MacBook-Pro.local Windowing system distributor `Apple', version 10.3.1265 Configured using: `configure --prefix=/usr/local/Cellar/emacs/HEAD --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs/HEAD/share/info/emacs --without-dbus --with-gnutls --with-ns --disable-ns-self-contained' Configured features: ACL GNUTLS LIBXML2 ZLIB Important settings: locale-coding-system: utf-8-unix Major mode: Ruby Minor modes in effect: ruby-tools-mode: t inf-ruby-minor-mode: t magit-auto-revert-mode: t subword-mode: t electric-pair-mode: t global-company-mode: t company-mode: t show-paren-mode: t flx-ido-mode: t ido-ubiquitous-mode: t global-diff-hl-mode: t diff-hl-mode: t diff-auto-refine-mode: t winner-mode: t global-anzu-mode: t anzu-mode: t projectile-global-mode: t projectile-mode: t shell-dirtrack-mode: t global-hl-line-mode: t recentf-mode: t savehist-mode: t global-auto-revert-mode: t delete-selection-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 Recent input: o c k SPC b u g SPC i n SPC f o r SPC h a s h SPC l i t e r a l s T h e SPC f o l l o w i n g SPC c o d e SPC i s SPC n o t SPC p r o p e r l y SPC f o n t e d - l o c - l o c k e d : C-y T h e SPC = SPC s i g n SPC i s SPC t r e a t e d SPC a s SPC p a r t SPC o f SPC t h e SPC s y m b o l SPC n a ' s SPC n a m e , SPC b u t SPC i t SPC s h o ' s SPC n o t . C-a C-f C-f C-f C-f ` C-f ` C-p C-p C-p C-p C-e C-b SPC i n SPC r u b y - m o d e C-n C-n C-c C-c y s m n M-< M-f M-f M-f M-f M-f M-b M-d M-d M-d C-d C-d C-d C-d C-d C-d b a t s o v . c o m A-H-s-๗ตนถ C-g C-n C-c C-c y l o c a l h o s t 2 5 C-x b C-g C-x b m e s s C-g C-x b C-g M-x r e p o s e r m a C-s Recent messages: Wrote /Users/bozhidar/*message*-20141006-141241 Saving file /Users/bozhidar/.emacs.d/init.el... Wrote /Users/bozhidar/.emacs.d/init.el [2 times] Saving file /Users/bozhidar/.emacs.d/init.el... Wrote /Users/bozhidar/.emacs.d/init.el [2 times] Sending email Sending email done Sending...done Saving file /Users/bozhidar/projects/test.rb... Wrote /Users/bozhidar/projects/test.rb Quit [3 times] Load-path shadows: None found. Features: (mailalias smtpmail cus-edit cus-start cus-load shadow sort mail-extr emacsbug sendmail ruby-tools inf-ruby ruby-mode-expansions ruby-mode smie executable markdown-mode misearch multi-isearch network-stream starttls tls cider tramp-sh cider-mode cider-repl cider-eldoc cider-interaction apropos arc-mode archive-mode cider-doc org-table the-org-mode-expansions org org-macro org-footnote org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs org-loaddefs cal-menu calendar cal-loaddefs cider-test cider-stacktrace cider-client nrepl-client queue cider-util ffap url-parse url-vars mule-util magit-key-mode magit view epa derived epg epg-config git-rebase-mode git-commit-mode server log-edit message 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 add-log vc-git cl-macs cap-words superword subword clojure-mode-expansions clojure-mode imenu inf-lisp cl rainbow-delimiters paredit elisp-slime-nav help-mode elec-pair company-files company-oddmuse company-keywords company-etags etags company-gtags company-dabbrev-code company-dabbrev company-capf company-cmake company-ropemacs company-xcode company-clang company-semantic company-eclim company-template company-css company-nxml company-bbdb company paren exec-path-from-shell pcase smex flx-ido flx ido-ubiquitous ido diff-hl vc-dir ewoc vc vc-dispatcher diff-mode easy-mmode winner 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 edmacro kmacro anzu warnings gv projectile ibuf-ext ibuffer pkg-info find-func lisp-mnt epl grep compile dash s ucs-normalize bookmark pp expand-region text-mode-expansions er-basic-expansions thingatpt expand-region-core expand-region-custom flyspell ispell tramp tramp-compat auth-source eieio eieio-core gnus-util mm-util mail-prsvr password-cache tramp-loaddefs trampver shell pcomplete comint ansi-color ring format-spec hl-line byte-opt bytecomp byte-compile cconv advice help-fns windmove recentf tree-widget wid-edit cl-loaddefs cl-lib savehist saveplace diminish autorevert filenotify delsel zenburn-theme info easymenu package 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 574559 251678) (symbols 48 44490 151) (miscs 40 1945 3457) (strings 32 101806 165383) (string-bytes 1 2945334) (vectors 16 92618) (vector-slots 8 2604559 113663) (floats 8 8543 1592) (intervals 56 6462 763) (buffers 976 38)) From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 08 23:27:58 2015 Received: (at 18644) by debbugs.gnu.org; 9 Mar 2015 03:27:58 +0000 Received: from localhost ([127.0.0.1]:39949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YUoMI-000200-5N for submit@debbugs.gnu.org; Sun, 08 Mar 2015 23:27:58 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:38134) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YUoMG-0001zn-8K for 18644@debbugs.gnu.org; Sun, 08 Mar 2015 23:27:56 -0400 Received: by widex7 with SMTP id ex7so15962550wid.3 for <18644@debbugs.gnu.org>; Sun, 08 Mar 2015 20:27:50 -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=vIBLNG54JitMgXuDcmSqLRKIvGOSaGuc1XbNXUiRDMw=; b=LkicLbj6jqHKKrvgiVF734mUs79w24PBJKEzIQlgOtWn551i8YtkJD7WZeUKeKrCfM DaK2ci8MiIdps1ITg78MhcZRzU96NJkqnIPbxJYLWa20N+1YDEDBbwH3WkVWioLgwOxf 1kHScBkUx6ULeAHOkgKCRNb3Pj0+SHq0MFQ0oQjWg5dPm1HqS/aFtI/cUpl8e8YIVcvi wwMn9zfrX7M3bMgL5d/3g36+Ym2JesNPfT3pClGKNKB9gYyQWH7TsjB9G2+kIwLiMgrm euFR7TE5r6bZh5AJqsbdO9xMOyqG8O3qkrFU0yGhajkdXsokIkmqraZzteXufP8YUGCJ veSw== X-Received: by 10.180.14.66 with SMTP id n2mr96495588wic.50.1425871670501; Sun, 08 Mar 2015 20:27:50 -0700 (PDT) Received: from axl ([82.102.93.54]) by mx.google.com with ESMTPSA id s19sm45465784wik.18.2015.03.08.20.27.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Mar 2015 20:27:48 -0700 (PDT) From: Dmitry Gutov To: Bozhidar Batsov Subject: Re: bug#18644: 24.4.50; [ruby-mode] Font-lock bug for hash literals References: Date: Mon, 09 Mar 2015 05:27:44 +0200 In-Reply-To: (Bozhidar Batsov's message of "Mon, 06 Oct 2014 14:45:52 +0300") Message-ID: <86ioeaalzj.fsf@yandex.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18644 Cc: 18644@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.7 (/) Version: 25.1 Bozhidar Batsov writes: > The following code is not properly font-locked by ruby-mode: > > {:a=>2, :b=>2} > > Seems that `=` is interpreted as part of the symbol names, although it > isn't. Thanks. Should be fixed in master now. From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 08 23:57:56 2015 Received: (at 18644-done) by debbugs.gnu.org; 9 Mar 2015 03:57:56 +0000 Received: from localhost ([127.0.0.1]:39956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YUopI-0002ji-0D for submit@debbugs.gnu.org; Sun, 08 Mar 2015 23:57:56 -0400 Received: from mail-wg0-f45.google.com ([74.125.82.45]:43226) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YUopF-0002jR-Tv for 18644-done@debbugs.gnu.org; Sun, 08 Mar 2015 23:57:54 -0400 Received: by wggx12 with SMTP id x12so14488739wgg.10 for <18644-done@debbugs.gnu.org>; Sun, 08 Mar 2015 20:57:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=vD6IiqaZ8fDaAMEYGQOihqyStueAl4r6HiKl8XvezFk=; b=Tp8YZcxDj2RYXBM8bSNa897WIchbgxYZka/4gtzBqP67W/GZ7E8wVpCjtbDtQ1IOM7 9uecuJe4bU3Zl12O+xH3Q/LobHzNH6pddkuN8V4xi2Dl93xP4Hq1hVAKcoX6qfpjxjQG JF+35Yu5UoDntC/PcyA11GqRscT63oJCGAlkTdX2qfOVxlJMbFXwFuL6K1ryHKbG4Mqu NNpuVEbCi5YRHGV36vFe9HAmZjPuh/SjdgaUvPABPcmAPGSpK2gsBAVuv60CS4+1BsWc sHK/j2+3l0Vrpr4kjh7kGgnvS/wqBr6+pxRiJTMpYEV8aZUp2TxYXlUA+w+fHVUk3KxD 1WBg== X-Received: by 10.194.7.98 with SMTP id i2mr7957509wja.125.1425873468277; Sun, 08 Mar 2015 20:57:48 -0700 (PDT) Received: from [192.168.1.3] ([82.102.93.54]) by mx.google.com with ESMTPSA id kr5sm26385695wjc.1.2015.03.08.20.57.47 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Mar 2015 20:57:47 -0700 (PDT) Message-ID: <54FD1A37.2030009@yandex.ru> Date: Mon, 09 Mar 2015 05:57:43 +0200 From: Dmitry Gutov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Thunderbird/36.0 MIME-Version: 1.0 To: Bozhidar Batsov Subject: bug#18644: 24.4.50; [ruby-mode] Font-lock bug for hash literals References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18644-done Cc: 18644-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.7 (/) Version: 25.1 And closing. From unknown Tue Aug 19 09:32:03 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 06 Apr 2015 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