From unknown Sun Jun 22 11:40:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23515: 25.0.93; ruby-mode: regex ending with : fails to terminate Resent-From: John Ledbetter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 May 2016 18:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23515 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23515@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.146299101828305 (code B ref -1); Wed, 11 May 2016 18:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 May 2016 18:23:38 +0000 Received: from localhost ([127.0.0.1]:47624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0YnI-0007MS-Rh for submit@debbugs.gnu.org; Wed, 11 May 2016 14:23:38 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34039) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0U03-000814-KZ for submit@debbugs.gnu.org; Wed, 11 May 2016 09:16:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0Tzu-0005xr-4N for submit@debbugs.gnu.org; Wed, 11 May 2016 09:16:22 -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,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48994) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0Tzu-0005xY-2P for submit@debbugs.gnu.org; Wed, 11 May 2016 09:16:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53204) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0Tzq-00085X-45 for bug-gnu-emacs@gnu.org; Wed, 11 May 2016 09:16:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0Tzh-0005wP-Ti for bug-gnu-emacs@gnu.org; Wed, 11 May 2016 09:16:11 -0400 Received: from mail-qk0-x233.google.com ([2607:f8b0:400d:c09::233]:36179) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0Tzh-0005wC-N7 for bug-gnu-emacs@gnu.org; Wed, 11 May 2016 09:16:05 -0400 Received: by mail-qk0-x233.google.com with SMTP id x7so24499391qkd.3 for ; Wed, 11 May 2016 06:16:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=callrail-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:message-id:subject:mime-version :content-transfer-encoding:content-disposition; bh=fAhAfqlsUc1Iu03zfmJRCe2FBjkeM0NLXLpS4zWQzkY=; b=BCxGK7iG+c1T9ld+9E4+wAwksu4ALx26EjdoLHtgczcdqQLgYpg6CoN7TDr+GUsJ28 UbadTAZEz8hcIjkeKyYwaJI8K1VIJDzxXsK9qA8aNZab91uzvboOVBcf3k+nUH0cNNNE TztJu806WyNmlYC+/QAJFtfslrBcqw8TcvmMflCsZ0L+NPpBCFeXn7ulSNh8DQwtqHZ2 J1zo/pUDMY1wLzuhIWlEdeizP9hvcIN3m+OiRUORZLsgokNM0JIOYTUq8Un6yxb4hkNO q3GbHdfrao7OZxHZw5JhaEwYNFJ5kz+naMYkZYxGH+p1FzQXx6aqBLOCa5FpFHRZ0nuq 0aCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:message-id:subject:mime-version :content-transfer-encoding:content-disposition; bh=fAhAfqlsUc1Iu03zfmJRCe2FBjkeM0NLXLpS4zWQzkY=; b=gjt/P6YLiXBpYCv9DM4QAf0xucCdzFJmcK+YW/NvBZe8Hk4/nJvqLHgZSr5L7E3hUt LizGhUQdIpA4RWjg4Y/ZktXX9pcrpvprtLcs7HMpFiBQUaR+BjKL7d2CqBJ3DRSNvRx4 JnH58ji6ufOrXavi03prcgUvLw7XCnhsfWEvBiH2uSuv2v1+l9d3ulBWJi2MTaXMUa+8 RiEqEHNNKN6o2CHZrg8oymkdGbkf7uct3kUzcG7q2GpNEWLdY/dmqzEaBQbpw+tW+oBQ 7fejPvrIv5qQa/VZTDdg3/Ve9ssUmMAMs2LTvfUzXQWXYtXs0kgnoRMSyadqXDWuwXgD ZczA== X-Gm-Message-State: AOPr4FVeo8UhPL2xiUrOHP6kfam8LlgT3EhjHr+c4/yXe9tSqSUNAVO0Waq3P72RMwPTXQ== X-Received: by 10.55.74.9 with SMTP id x9mr3349154qka.81.1462972564732; Wed, 11 May 2016 06:16:04 -0700 (PDT) Received: from nix.local ([38.104.182.134]) by smtp.gmail.com with ESMTPSA id p143sm3400078qke.38.2016.05.11.06.16.03 for (version=TLSv1/SSLv3 cipher=OTHER); Wed, 11 May 2016 06:16:03 -0700 (PDT) Date: Wed, 11 May 2016 09:16:04 -0400 From: John Ledbetter Message-ID: X-Mailer: Airmail (351) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Mailman-Approved-At: Wed, 11 May 2016 14:23:35 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) =C2=A0 Description: in ruby-mode, ending a regex with a colon is not parsed as a complete regular expression, which causes the rest of the buffer to be font-locked as part of the regular expression. To reproduce: add the following to a ruby-mode buffer: =23 start snippet x =3D /http:/ def test x end =23 end snippet Note that all lines following the regular expression are font-locked as part of the regex and do not indent correctly. In GNU Emacs 25.0.93.1 (x86=5F64-apple-darwin15.4.0, NS appkit-1404.46 Ve= rsion 10.11.4 (Build 15E65)) of 2016-04-25 built on nix.local Windowing system distributor 'Apple', version 10.3.1404 Configured using: 'configure --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=3D/usr/local/share/emacs/site-lisp --infodir=3D/usr/local/Cellar/emacs/25.0.93/share/info/emacs --prefix=3D/usr/local/Cellar/emacs/25.0.93 --with-xml2 --without-dbus --with-gnutls --with-rsvg --with-ns --disable-ns-self-contained' Configured features: JPEG RSVG NOTI=46Y ACL GNUTLS LIBXML2 ZLIB TOOLKIT=5FSCROLL=5FBARS NS Important settings: value of =24LANG: en=5FUS.UT=46-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: =46or information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Load-path shadows: None found. =46eatures: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win ucs-normalize term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded 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 kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 195852 8262) (symbols 48 19471 0) (miscs 40 45 220) (strings 32 14905 5648) (string-bytes 1 431667) (vectors 16 32813) (vector-slots 8 647456 4536) (floats 8 158 22) (intervals 56 217 0) (buffers 976 12)) From unknown Sun Jun 22 11:40:17 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: John Ledbetter Subject: bug#23515: closed (Re: bug#23515: 25.0.93; ruby-mode: regex ending with : fails to terminate) Message-ID: References: <520a55df-af79-aeaf-f456-47a842f85803@yandex.ru> X-Gnu-PR-Message: they-closed 23515 X-Gnu-PR-Package: emacs Reply-To: 23515@debbugs.gnu.org Date: Thu, 12 May 2016 00:24:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1463012642-18389-1" This is a multi-part message in MIME format... ------------=_1463012642-18389-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #23515: 25.0.93; ruby-mode: regex ending with : fails to terminate which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 23515@debbugs.gnu.org. --=20 23515: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D23515 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1463012642-18389-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 23515-done) by debbugs.gnu.org; 12 May 2016 00:23:11 +0000 Received: from localhost ([127.0.0.1]:47858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0ePH-0004lU-Au for submit@debbugs.gnu.org; Wed, 11 May 2016 20:23:11 -0400 Received: from mail-wm0-f54.google.com ([74.125.82.54]:36037) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0ePF-0004lG-1N for 23515-done@debbugs.gnu.org; Wed, 11 May 2016 20:23:09 -0400 Received: by mail-wm0-f54.google.com with SMTP id n129so239436163wmn.1 for <23515-done@debbugs.gnu.org>; Wed, 11 May 2016 17:23:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=/5lILQKUxa8smYIuBC2ke9nrzMkgRTuFeFwl8hO6HZU=; b=cPYGncB2KZx4PM/ILkxlstqhUjz712efXvZld2VvkMru2rOxHvmJ5xFxFwtCcB6ni4 yXQpDV9TlHUzjGYn7e7E39T5B5/JXVa2MVLxhOTJE1S+v+LONpZEzH5Yss8FvXXxZjoY gG8+x379EMVX7OuRDawL2nxLCQ39iXwSaCyZ2AMjWchvgYZwrSzVDAyxrK4PiGdgFG3R 6iK37aEmE2WCF9nFT5Sc81TIL1S0IGodyBUgyiKtW5sIN1ye8LdheX5r2jh1zJrBm/wK 5OXykCajB7gMCpd9lNFiDm5Z93BY94K1CzxtIj9wbAU0SD40vLeqaNNuEldos1eKapRG 9rqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=/5lILQKUxa8smYIuBC2ke9nrzMkgRTuFeFwl8hO6HZU=; b=UsfwiknPLK7CTm2parrAV5cbiq6V89NiahjFgoSFk97SNARIx1I0pvTpQaLYPl9zMR iOIZnMlGwycy0zPiGIxY8IpeieIV2c2VPAbZKbaIRaKG/1ah6T4J5hOthVRkMrH0NLeZ WhVXzAQLOwXri9yVXOslS1la3Zb8PQ6xhgx3vaRJGYQi6t1rSAeP5AowBDoInhfWAYhn xbLfLBK/Sva4SCPh4IMl2ES2HVZhXExY1SqoSLXjFXkL5StubEKNGMfAjDrmiO2JnbW1 TY+kgEvBjwZsrEHCI7YA2l/CEcPvl6FVve8+jMC6tWKd4n9FjZQqBydWi/h0JJk7SRrT RNfQ== X-Gm-Message-State: AOPr4FXt64WNJif71xK/e8mLJb1W2ClIaV5gwCUPVZQ46NQr1+0m3nQYiDhcoOI9+XNNsg== X-Received: by 10.194.188.106 with SMTP id fz10mr6615629wjc.18.1463012582896; Wed, 11 May 2016 17:23:02 -0700 (PDT) Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id f188sm38417217wma.2.2016.05.11.17.23.01 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 11 May 2016 17:23:02 -0700 (PDT) Subject: Re: bug#23515: 25.0.93; ruby-mode: regex ending with : fails to terminate To: John Ledbetter , 23515-done@debbugs.gnu.org References: From: Dmitry Gutov Message-ID: <520a55df-af79-aeaf-f456-47a842f85803@yandex.ru> Date: Thu, 12 May 2016 03:23:00 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 23515-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.5 (/) Version: 25.1 Hi John, Thanks for the report, should be fixed now in emacs-25. On 05/11/2016 04:16 PM, John Ledbetter wrote: > # start snippet > x = /http:/ > def test > x > end > # end snippet ------------=_1463012642-18389-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 11 May 2016 18:23:38 +0000 Received: from localhost ([127.0.0.1]:47624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0YnI-0007MS-Rh for submit@debbugs.gnu.org; Wed, 11 May 2016 14:23:38 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34039) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0U03-000814-KZ for submit@debbugs.gnu.org; Wed, 11 May 2016 09:16:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0Tzu-0005xr-4N for submit@debbugs.gnu.org; Wed, 11 May 2016 09:16:22 -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,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48994) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0Tzu-0005xY-2P for submit@debbugs.gnu.org; Wed, 11 May 2016 09:16:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53204) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0Tzq-00085X-45 for bug-gnu-emacs@gnu.org; Wed, 11 May 2016 09:16:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0Tzh-0005wP-Ti for bug-gnu-emacs@gnu.org; Wed, 11 May 2016 09:16:11 -0400 Received: from mail-qk0-x233.google.com ([2607:f8b0:400d:c09::233]:36179) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0Tzh-0005wC-N7 for bug-gnu-emacs@gnu.org; Wed, 11 May 2016 09:16:05 -0400 Received: by mail-qk0-x233.google.com with SMTP id x7so24499391qkd.3 for ; Wed, 11 May 2016 06:16:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=callrail-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:message-id:subject:mime-version :content-transfer-encoding:content-disposition; bh=fAhAfqlsUc1Iu03zfmJRCe2FBjkeM0NLXLpS4zWQzkY=; b=BCxGK7iG+c1T9ld+9E4+wAwksu4ALx26EjdoLHtgczcdqQLgYpg6CoN7TDr+GUsJ28 UbadTAZEz8hcIjkeKyYwaJI8K1VIJDzxXsK9qA8aNZab91uzvboOVBcf3k+nUH0cNNNE TztJu806WyNmlYC+/QAJFtfslrBcqw8TcvmMflCsZ0L+NPpBCFeXn7ulSNh8DQwtqHZ2 J1zo/pUDMY1wLzuhIWlEdeizP9hvcIN3m+OiRUORZLsgokNM0JIOYTUq8Un6yxb4hkNO q3GbHdfrao7OZxHZw5JhaEwYNFJ5kz+naMYkZYxGH+p1FzQXx6aqBLOCa5FpFHRZ0nuq 0aCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:message-id:subject:mime-version :content-transfer-encoding:content-disposition; bh=fAhAfqlsUc1Iu03zfmJRCe2FBjkeM0NLXLpS4zWQzkY=; b=gjt/P6YLiXBpYCv9DM4QAf0xucCdzFJmcK+YW/NvBZe8Hk4/nJvqLHgZSr5L7E3hUt LizGhUQdIpA4RWjg4Y/ZktXX9pcrpvprtLcs7HMpFiBQUaR+BjKL7d2CqBJ3DRSNvRx4 JnH58ji6ufOrXavi03prcgUvLw7XCnhsfWEvBiH2uSuv2v1+l9d3ulBWJi2MTaXMUa+8 RiEqEHNNKN6o2CHZrg8oymkdGbkf7uct3kUzcG7q2GpNEWLdY/dmqzEaBQbpw+tW+oBQ 7fejPvrIv5qQa/VZTDdg3/Ve9ssUmMAMs2LTvfUzXQWXYtXs0kgnoRMSyadqXDWuwXgD ZczA== X-Gm-Message-State: AOPr4FVeo8UhPL2xiUrOHP6kfam8LlgT3EhjHr+c4/yXe9tSqSUNAVO0Waq3P72RMwPTXQ== X-Received: by 10.55.74.9 with SMTP id x9mr3349154qka.81.1462972564732; Wed, 11 May 2016 06:16:04 -0700 (PDT) Received: from nix.local ([38.104.182.134]) by smtp.gmail.com with ESMTPSA id p143sm3400078qke.38.2016.05.11.06.16.03 for (version=TLSv1/SSLv3 cipher=OTHER); Wed, 11 May 2016 06:16:03 -0700 (PDT) Date: Wed, 11 May 2016 09:16:04 -0400 From: John Ledbetter To: bug-gnu-emacs@gnu.org Message-ID: Subject: 25.0.93; ruby-mode: regex ending with : fails to terminate X-Mailer: Airmail (351) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 11 May 2016 14:23:35 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.0 (-----) =C2=A0 Description: in ruby-mode, ending a regex with a colon is not parsed as a complete regular expression, which causes the rest of the buffer to be font-locked as part of the regular expression. To reproduce: add the following to a ruby-mode buffer: =23 start snippet x =3D /http:/ def test x end =23 end snippet Note that all lines following the regular expression are font-locked as part of the regex and do not indent correctly. In GNU Emacs 25.0.93.1 (x86=5F64-apple-darwin15.4.0, NS appkit-1404.46 Ve= rsion 10.11.4 (Build 15E65)) of 2016-04-25 built on nix.local Windowing system distributor 'Apple', version 10.3.1404 Configured using: 'configure --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=3D/usr/local/share/emacs/site-lisp --infodir=3D/usr/local/Cellar/emacs/25.0.93/share/info/emacs --prefix=3D/usr/local/Cellar/emacs/25.0.93 --with-xml2 --without-dbus --with-gnutls --with-rsvg --with-ns --disable-ns-self-contained' Configured features: JPEG RSVG NOTI=46Y ACL GNUTLS LIBXML2 ZLIB TOOLKIT=5FSCROLL=5FBARS NS Important settings: value of =24LANG: en=5FUS.UT=46-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: =46or information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Load-path shadows: None found. =46eatures: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win ucs-normalize term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded 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 kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 195852 8262) (symbols 48 19471 0) (miscs 40 45 220) (strings 32 14905 5648) (string-bytes 1 431667) (vectors 16 32813) (vector-slots 8 647456 4536) (floats 8 158 22) (intervals 56 217 0) (buffers 976 12)) ------------=_1463012642-18389-1-- From unknown Sun Jun 22 11:40:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23515: closed (Re: bug#23515: 25.0.93; ruby-mode: regex ending with : fails to terminate) Resent-From: John Ledbetter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 May 2016 13:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23515 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23515@debbugs.gnu.org Received: via spool by 23515-submit@debbugs.gnu.org id=B23515.146306030313924 (code B ref 23515); Thu, 12 May 2016 13:39:01 +0000 Received: (at 23515) by debbugs.gnu.org; 12 May 2016 13:38:23 +0000 Received: from localhost ([127.0.0.1]:48136 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0qon-0003cS-Qg for submit@debbugs.gnu.org; Thu, 12 May 2016 09:38:23 -0400 Received: from mail-qk0-f177.google.com ([209.85.220.177]:34254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0qoi-0003cC-RH for 23515@debbugs.gnu.org; Thu, 12 May 2016 09:38:20 -0400 Received: by mail-qk0-f177.google.com with SMTP id r184so43066179qkc.1 for <23515@debbugs.gnu.org>; Thu, 12 May 2016 06:38:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=callrail-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :content-transfer-encoding:content-disposition; bh=DOQUI83NfQTHFCIyIB8jb/EmZmQivO6kGAK7ob1bC3I=; b=QkRbKh41/U+oZvfMWqJHpwbzVyPge846YC67OlGu7od1cznGF7Kz/zh1gnJ/MqYqvx K19V9fidw77Up+L4N9sifThkhfNcnHnFl+HbDM1U4Oyes5xZGs15O7aWjZ0fx8doTzZo HI3y4Sjen2IKA0rymsvTm0eRv3VyGiOiWGxYChQse2Unn3Vz2wNqkW1zkBRxyF/qccXO jUa3FUdOvgfQiPBUyxaTFRjYx5a5tXgz+RyyOHjfswtNywo6K22ttFAbrAN6rjZADDj5 fhux8PmMwajTf8PlT/P0HFklW4cIuMmVbHxat352pmS1w542d6xQaTvuKHC4J0fljaPV 4l9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:message-id:in-reply-to:references :subject:mime-version:content-transfer-encoding:content-disposition; bh=DOQUI83NfQTHFCIyIB8jb/EmZmQivO6kGAK7ob1bC3I=; b=ahkvWgWM59BDLF6k+TLiSyAck+WdjSYsYOwPjlz5KbWxygsQtBCzQPJts3OtJhgnu+ PHLf58GVhJtL2wVueVKUaMKHseiXf6QrPpi2qg7UYsxvM0mFT3IQUjad26/npo3ovjxu SV9Hfq+RS74cvsj1l34ixTrbBZ4OsiqMgcqkHhQBfgB2W23englm2DB4yhPHN4uhmnn8 sv61Gh2v0coUB8xWDgWzwYdC9aOcSxtnC0qjm2xV1Gzonmu7+yGaCWqdlnQl6q4Rnm0Z C1irguz8Oo8WsIiz0DckAlaNOlIcWfdx1RL71AlsgQUxBLc+ErL8ejAV6mMKeE04SAtn 7J9w== X-Gm-Message-State: AOPr4FXLAkl014geEbQjQqYauRBG8flvlMKvcDofvzABA6lnqsINb0A+y8mkSH7TX4g5wQ== X-Received: by 10.55.108.7 with SMTP id h7mr9978270qkc.136.1463060291025; Thu, 12 May 2016 06:38:11 -0700 (PDT) Received: from nix.local ([38.104.182.134]) by smtp.gmail.com with ESMTPSA id d12sm6052192qhd.13.2016.05.12.06.38.09 for <23515@debbugs.gnu.org> (version=TLSv1/SSLv3 cipher=OTHER); Thu, 12 May 2016 06:38:10 -0700 (PDT) Date: Thu, 12 May 2016 09:38:10 -0400 From: John Ledbetter Message-ID: In-Reply-To: References: <520a55df-af79-aeaf-f456-47a842f85803@yandex.ru> X-Mailer: Airmail (351) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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 (/) =C2=A0 Hi Dmitry, In what version is this fixed=3F I see the same behavior in a freshly built emacs: -- =20 John Ledbetter On May 11, 2016 at 8:24:04 PM, GNU bug Tracking System (help-debbugs=40gn= u.org(mailto:help-debbugs=40gnu.org)) wrote: > Your bug report > =20 > =2323515: 25.0.93; ruby-mode: regex ending with : fails to terminate > =20 > which was filed against the emacs package, has been closed. > =20 > The explanation is attached below, along with your original report. > If you require more details, please reply to 23515=40debbugs.gnu.org. > =20 > -- > 23515: http://debbugs.gnu.org/cgi/bugreport.cgi=3Fbug=3D23515 > GNU Bug Tracking System > Contact help-debbugs=40gnu.org with problems > Version: 25.1 > =20 > Hi John, > =20 > Thanks for the report, should be fixed now in emacs-25. > =20 > On 05/11/2016 04:16 PM, John Ledbetter wrote: > > =23 start snippet > > x =3D /http:/ > > def test > > x > > end > > =23 end snippet > =20 > =20 > =20 > =20 > Description: in ruby-mode, ending a regex with a colon is not parsed as= > a complete regular expression, which causes the rest of the buffer to b= e > font-locked as part of the regular expression. > =20 > To reproduce: > =20 > add the following to a ruby-mode buffer: > =20 > =23 start snippet > x =3D /http:/ > def test > x > end > =23 end snippet > =20 > Note that all lines following the regular expression are font-locked as= > part of the regex and do not indent correctly. > =20 > =20 > In GNU Emacs 25.0.93.1 (x86=5F64-apple-darwin15.4.0, NS appkit-1404.46 = Version 10.11.4 (Build 15E65)) > of 2016-04-25 built on nix.local > Windowing system distributor 'Apple', version 10.3.1404 > Configured using: > 'configure --disable-dependency-tracking --disable-silent-rules > --enable-locallisppath=3D/usr/local/share/emacs/site-lisp > --infodir=3D/usr/local/Cellar/emacs/25.0.93/share/info/emacs > --prefix=3D/usr/local/Cellar/emacs/25.0.93 --with-xml2 --without-dbus > --with-gnutls --with-rsvg --with-ns --disable-ns-self-contained' > =20 > Configured features: > JPEG RSVG NOTI=46Y ACL GNUTLS LIBXML2 ZLIB TOOLKIT=5FSCROLL=5FBARS NS > =20 > Important settings: > value of =24LANG: en=5FUS.UT=46-8 > locale-coding-system: utf-8-unix > =20 > Major mode: Lisp Interaction > =20 > Minor modes in effect: > tooltip-mode: t > global-eldoc-mode: t > electric-indent-mode: t > mouse-wheel-mode: t > tool-bar-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > blink-cursor-mode: t > auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > line-number-mode: t > transient-mark-mode: t > =20 > Recent messages: > =46or information about GNU Emacs and the GNU system, type C-h C-a. > Making completion list... > =20 > Load-path shadows: > None found. > =20 > =46eatures: > (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml > mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies > mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail > rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu > cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util > tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type > mwheel ns-win ucs-normalize term/common-win tool-bar dnd fontset image > regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode > prog-mode register page menu-bar rfn-eshadow timer select scroll-bar > mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cha= m > georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao > korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech > european ethiopic indian cyrillic chinese charscript case-table epa-hoo= k > jka-cmpr-hook help simple abbrev minibuffer cl-preloaded 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 kqueue cocoa ns multi-tty > make-network-process emacs) > =20 > Memory information: > ((conses 16 195852 8262) > (symbols 48 19471 0) > (miscs 40 45 220) > (strings 32 14905 5648) > (string-bytes 1 431667) > (vectors 16 32813) > (vector-slots 8 647456 4536) > (floats 8 158 22) > (intervals 56 217 0) > (buffers 976 12)) > =20 > =20 From unknown Sun Jun 22 11:40:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23515: closed (Re: bug#23515: 25.0.93; ruby-mode: regex ending with : fails to terminate) Resent-From: John Ledbetter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 May 2016 13:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23515 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23515@debbugs.gnu.org Received: via spool by 23515-submit@debbugs.gnu.org id=B23515.146306036014023 (code B ref 23515); Thu, 12 May 2016 13:40:02 +0000 Received: (at 23515) by debbugs.gnu.org; 12 May 2016 13:39:20 +0000 Received: from localhost ([127.0.0.1]:48140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0qpj-0003e5-JC for submit@debbugs.gnu.org; Thu, 12 May 2016 09:39:19 -0400 Received: from mail-qk0-f172.google.com ([209.85.220.172]:35965) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0qpi-0003du-CZ for 23515@debbugs.gnu.org; Thu, 12 May 2016 09:39:19 -0400 Received: by mail-qk0-f172.google.com with SMTP id x7so42941556qkd.3 for <23515@debbugs.gnu.org>; Thu, 12 May 2016 06:39:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=callrail-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :content-transfer-encoding:content-disposition; bh=d5SllbXLogaSBNRWGwM6+ckoI5/mQgDN8zyBIylux/I=; b=q7ceUmIi/fVjKNxO1N9VxLSyb+cP63V3CTEP915zaZNgv1zIgd+20YkMAK/Cx7RUNE nVxLJF4YB7kb1nB0K1zn6P4lvgEzr1DjZxYWN1vj3lmYhWlZQGyTOOCL6M5dsQxBq/ES BHzTbEAewCgOTv+h0soa3ZX8LbMwOar268T2mvKOlvHKZaKugupIW09JNDxCFVLwUqZx F4zVvNsBrJhU7TM1TYG55T+ZMfrSdaqXy+O62wvY967LQW2RhIkrxCf2TVuowBay36mE W36u99AVN3/6lKbFlO9elMW56tZ4evG+6DDyqbo4pP7ASFGqC1f5SOyhiX3BpS4N1aNN fwzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:message-id:in-reply-to:references :subject:mime-version:content-transfer-encoding:content-disposition; bh=d5SllbXLogaSBNRWGwM6+ckoI5/mQgDN8zyBIylux/I=; b=XMzgQvJqHNrTLeAO3yJZKUyjHQeHTb7oD6PgaQXGGvrXofbRbxceMfeoqe+m++vtZM toC8hmXRv6nwO4qhbXYqPo20QpZYNPZvCk3V3k7OqzPJVC2zHW65QkzDxH3ELAYkaa1H uilL6ryqd/mDceqQ+5iK3rF/IDH82YrZZg8N5Ad/7XcnacZVwZ1ZjmoCtw9aFiOe1rHr DK59tbuYSURMpsOHPd7NDOKxllfaTc6KDM8KWMpVUj0qvrb49u94uCb+Icb9AQHMcx0f GFIqJoY1Dgj2PMQ72hI0t+LwbU3NC6stqTvFvqXZuxkmDXoatWmL6szL3JwD+63dV+OB wqWQ== X-Gm-Message-State: AOPr4FUGXzsJDt3aSj0DdqgfNe4vCkbbMkF3va09VIfMo2dP11zJe1kkXI4MQn6fxUnpvw== X-Received: by 10.55.209.134 with SMTP id o6mr9974501qkl.153.1463060352838; Thu, 12 May 2016 06:39:12 -0700 (PDT) Received: from nix.local ([38.104.182.134]) by smtp.gmail.com with ESMTPSA id v74sm6064336qkl.36.2016.05.12.06.39.11 for <23515@debbugs.gnu.org> (version=TLSv1/SSLv3 cipher=OTHER); Thu, 12 May 2016 06:39:11 -0700 (PDT) Date: Thu, 12 May 2016 09:39:12 -0400 From: John Ledbetter Message-ID: In-Reply-To: References: <520a55df-af79-aeaf-f456-47a842f85803@yandex.ru> X-Mailer: Airmail (351) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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 (/) =C2=A0 Hi Dmitry, =20 In what version is this fixed=3F =20 I see the same behavior in a freshly built emacs: =20 GNU Emacs 25.1.50.1 (x86=5F64-apple-darwin15.4.0, NS appkit-1404.46 Versi= on 10.11.4 (Build 15E65)) of 2016-05-12 =20 (Sorry for duplicate mail) =20 Thanks=21 -John =20 On May 12, 2016 at 9:38:10 AM, John Ledbetter (john=40callrail.com(mailto= :john=40callrail.com)) wrote: > =20 > Hi Dmitry, > =20 > In what version is this fixed=3F > =20 > I see the same behavior in a freshly built emacs: > =20 > =20 > -- > John Ledbetter > =20 > =20 > =20 > On May 11, 2016 at 8:24:04 PM, GNU bug Tracking System (help-debbugs=40= gnu.org(mailto:help-debbugs=40gnu.org)) wrote: > =20 > > Your bug report > > > > =2323515: 25.0.93; ruby-mode: regex ending with : fails to terminate > > > > which was filed against the emacs package, has been closed. > > > > The explanation is attached below, along with your original report. > > If you require more details, please reply to 23515=40debbugs.gnu.org.= > > > > -- > > 23515: http://debbugs.gnu.org/cgi/bugreport.cgi=3Fbug=3D23515 > > GNU Bug Tracking System > > Contact help-debbugs=40gnu.org with problems > > Version: 25.1 > > > > Hi John, > > > > Thanks for the report, should be fixed now in emacs-25. > > > > On 05/11/2016 04:16 PM, John Ledbetter wrote: > > > =23 start snippet > > > x =3D /http:/ > > > def test > > > x > > > end > > > =23 end snippet > > > > > > > > > > Description: in ruby-mode, ending a regex with a colon is not parsed = as > > a complete regular expression, which causes the rest of the buffer to= be > > font-locked as part of the regular expression. > > > > To reproduce: > > > > add the following to a ruby-mode buffer: > > > > =23 start snippet > > x =3D /http:/ > > def test > > x > > end > > =23 end snippet > > > > Note that all lines following the regular expression are font-locked = as > > part of the regex and do not indent correctly. > > > > > > In GNU Emacs 25.0.93.1 (x86=5F64-apple-darwin15.4.0, NS appkit-1404.4= 6 Version 10.11.4 (Build 15E65)) > > of 2016-04-25 built on nix.local > > Windowing system distributor 'Apple', version 10.3.1404 > > Configured using: > > 'configure --disable-dependency-tracking --disable-silent-rules > > --enable-locallisppath=3D/usr/local/share/emacs/site-lisp > > --infodir=3D/usr/local/Cellar/emacs/25.0.93/share/info/emacs > > --prefix=3D/usr/local/Cellar/emacs/25.0.93 --with-xml2 --without-dbus= > > --with-gnutls --with-rsvg --with-ns --disable-ns-self-contained' > > > > Configured features: > > JPEG RSVG NOTI=46Y ACL GNUTLS LIBXML2 ZLIB TOOLKIT=5FSCROLL=5FBARS NS= > > > > Important settings: > > value of =24LANG: en=5FUS.UT=46-8 > > locale-coding-system: utf-8-unix > > > > Major mode: Lisp Interaction > > > > Minor modes in effect: > > tooltip-mode: t > > global-eldoc-mode: t > > electric-indent-mode: t > > mouse-wheel-mode: t > > tool-bar-mode: t > > menu-bar-mode: t > > file-name-shadow-mode: t > > global-font-lock-mode: t > > font-lock-mode: t > > blink-cursor-mode: t > > auto-composition-mode: t > > auto-encryption-mode: t > > auto-compression-mode: t > > line-number-mode: t > > transient-mark-mode: t > > > > Recent messages: > > =46or information about GNU Emacs and the GNU system, type C-h C-a. > > Making completion list... > > > > Load-path shadows: > > None found. > > > > =46eatures: > > (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml > > mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies > > mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail= > > rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu > > cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util > > tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type > > mwheel ns-win ucs-normalize term/common-win tool-bar dnd fontset imag= e > > regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode > > prog-mode register page menu-bar rfn-eshadow timer select scroll-bar > > mouse jit-lock font-lock syntax facemenu font-core frame cl-generic c= ham > > georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao > > korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech > > european ethiopic indian cyrillic chinese charscript case-table epa-h= ook > > jka-cmpr-hook help simple abbrev minibuffer cl-preloaded 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 kqueue cocoa ns multi-tty > > make-network-process emacs) > > > > Memory information: > > ((conses 16 195852 8262) > > (symbols 48 19471 0) > > (miscs 40 45 220) > > (strings 32 14905 5648) > > (string-bytes 1 431667) > > (vectors 16 32813) > > (vector-slots 8 647456 4536) > > (floats 8 158 22) > > (intervals 56 217 0) > > (buffers 976 12)) > > > > > =20