GNU bug report logs -
#23515
25.0.93; ruby-mode: regex ending with : fails to terminate
Previous Next
Reported by: John Ledbetter <john <at> callrail.com>
Date: Wed, 11 May 2016 18:24:02 UTC
Severity: minor
Found in version 25.0.93
Fixed in version 25.1
Done: Dmitry Gutov <dgutov <at> yandex.ru>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23515 in the body.
You can then email your comments to 23515 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#23515
; Package
emacs
.
(Wed, 11 May 2016 18:24:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
John Ledbetter <john <at> callrail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 11 May 2016 18:24:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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:
# start snippet
x = /http:/
def test
x
end
# 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_64-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=/usr/local/share/emacs/site-lisp
--infodir=/usr/local/Cellar/emacs/25.0.93/share/info/emacs
--prefix=/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 NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS
Important settings:
value of $LANG: en_US.UTF-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:
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...
Load-path shadows:
None found.
Features:
(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))
Reply sent
to
Dmitry Gutov <dgutov <at> yandex.ru>
:
You have taken responsibility.
(Thu, 12 May 2016 00:24:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
John Ledbetter <john <at> callrail.com>
:
bug acknowledged by developer.
(Thu, 12 May 2016 00:24:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 23515-done <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#23515
; Package
emacs
.
(Thu, 12 May 2016 13:39:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 23515 <at> debbugs.gnu.org (full text, mbox):
Hi Dmitry,
In what version is this fixed?
I see the same behavior in a freshly built emacs:
--
John Ledbetter
On May 11, 2016 at 8:24:04 PM, GNU bug Tracking System (help-debbugs <at> gnu.org(mailto:help-debbugs <at> gnu.org)) wrote:
> 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 <at> debbugs.gnu.org.
>
> --
> 23515: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23515
> GNU Bug Tracking System
> Contact help-debbugs <at> gnu.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:
> > # start snippet
> > x = /http:/
> > def test
> > x
> > end
> > # 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:
>
> # start snippet
> x = /http:/
> def test
> x
> end
> # 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_64-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=/usr/local/share/emacs/site-lisp
> --infodir=/usr/local/Cellar/emacs/25.0.93/share/info/emacs
> --prefix=/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 NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS
>
> Important settings:
> value of $LANG: en_US.UTF-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:
> For information about GNU Emacs and the GNU system, type C-h C-a.
> Making completion list...
>
> Load-path shadows:
> None found.
>
> Features:
> (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))
>
>
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#23515
; Package
emacs
.
(Thu, 12 May 2016 13:40:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 23515 <at> debbugs.gnu.org (full text, mbox):
Hi Dmitry,
In what version is this fixed?
I see the same behavior in a freshly built emacs:
GNU Emacs 25.1.50.1 (x86_64-apple-darwin15.4.0, NS appkit-1404.46 Version 10.11.4 (Build 15E65)) of 2016-05-12
(Sorry for duplicate mail)
Thanks!
-John
On May 12, 2016 at 9:38:10 AM, John Ledbetter (john <at> callrail.com(mailto:john <at> callrail.com)) wrote:
>
> Hi Dmitry,
>
> In what version is this fixed?
>
> I see the same behavior in a freshly built emacs:
>
>
> --
> John Ledbetter
>
>
>
> On May 11, 2016 at 8:24:04 PM, GNU bug Tracking System (help-debbugs <at> gnu.org(mailto:help-debbugs <at> gnu.org)) wrote:
>
> > 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 <at> debbugs.gnu.org.
> >
> > --
> > 23515: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23515
> > GNU Bug Tracking System
> > Contact help-debbugs <at> gnu.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:
> > > # start snippet
> > > x = /http:/
> > > def test
> > > x
> > > end
> > > # 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:
> >
> > # start snippet
> > x = /http:/
> > def test
> > x
> > end
> > # 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_64-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=/usr/local/share/emacs/site-lisp
> > --infodir=/usr/local/Cellar/emacs/25.0.93/share/info/emacs
> > --prefix=/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 NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS
> >
> > Important settings:
> > value of $LANG: en_US.UTF-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:
> > For information about GNU Emacs and the GNU system, type C-h C-a.
> > Making completion list...
> >
> > Load-path shadows:
> > None found.
> >
> > Features:
> > (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))
> >
> >
>
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 10 Jun 2016 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 9 years and 13 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.