GNU bug report logs - #48180
ruby-mode.el: fix font lock for puts and printf

Previous Next

Package: emacs;

Reported by: Steve Purcell <steve <at> sanityinc.com>

Date: Mon, 3 May 2021 01:02:02 UTC

Severity: normal

Tags: fixed, patch

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Steve Purcell <steve <at> sanityinc.com>, Juri Linkov <juri <at> linkov.net>
Cc: 48180 <at> debbugs.gnu.org
Subject: bug#48180: ruby-mode.el: fix font lock for puts and printf
Date: Mon, 3 May 2021 23:42:16 +0300
On 03.05.2021 23:31, Steve Purcell wrote:
>> It always bothered me that in ruby-mode highlighting was broken for printing
>> without arguments, but I had no time to investigate.  Now finally this is fixed.
>> Maybe some other printing like "p" could be fixed as well, but the
>> already fixed "puts" and "print" is an improvement.
> 
> Yes, it’s actually pretty common to just use “puts” without args to print an empty line.

Very good, then.




This bug report was last modified 4 years and 20 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.