From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Simen =?UTF-8?Q?Heggest=C3=B8yl?= Newsgroups: gmane.emacs.bugs Subject: bug#19940: 25.0.50; Infinite loop in `studlify-word' with Subword mode Date: Tue, 24 Feb 2015 22:19:04 +0100 Message-ID: <1424812744.9280.0@smtp.gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=-kQXQsQbZUh61S6yCMg+5" X-Trace: ger.gmane.org 1424812827 13723 80.91.229.3 (24 Feb 2015 21:20:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Feb 2015 21:20:27 +0000 (UTC) To: 19940@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 24 22:20:15 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YQMto-000485-CR for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Feb 2015 22:20:12 +0100 Original-Received: from localhost ([::1]:51447 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQMtn-0000To-Nd for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Feb 2015 16:20:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQMti-0000MC-Mr for bug-gnu-emacs@gnu.org; Tue, 24 Feb 2015 16:20:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQMte-0003HR-KP for bug-gnu-emacs@gnu.org; Tue, 24 Feb 2015 16:20:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53461) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQMte-0003GF-FA for bug-gnu-emacs@gnu.org; Tue, 24 Feb 2015 16:20:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YQMtd-0008UR-Tq for bug-gnu-emacs@gnu.org; Tue, 24 Feb 2015 16:20:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Simen =?UTF-8?Q?Heggest=C3=B8yl?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Feb 2015 21:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19940 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.142481276532583 (code B ref -1); Tue, 24 Feb 2015 21:20:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Feb 2015 21:19:25 +0000 Original-Received: from localhost ([127.0.0.1]:57059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YQMt2-0008TS-LN for submit@debbugs.gnu.org; Tue, 24 Feb 2015 16:19:25 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39932) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YQMt0-0008TF-3s for submit@debbugs.gnu.org; Tue, 24 Feb 2015 16:19:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQMst-0002v6-Fq for submit@debbugs.gnu.org; Tue, 24 Feb 2015 16:19:16 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41604) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQMst-0002uw-CN for submit@debbugs.gnu.org; Tue, 24 Feb 2015 16:19:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41648) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQMss-0007tc-2B for bug-gnu-emacs@gnu.org; Tue, 24 Feb 2015 16:19:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQMsn-0002sU-S8 for bug-gnu-emacs@gnu.org; Tue, 24 Feb 2015 16:19:13 -0500 Original-Received: from mail-lb0-x22f.google.com ([2a00:1450:4010:c04::22f]:43913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQMsn-0002rj-Ex for bug-gnu-emacs@gnu.org; Tue, 24 Feb 2015 16:19:09 -0500 Original-Received: by lbiw7 with SMTP id w7so27813055lbi.10 for ; Tue, 24 Feb 2015 13:19:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:subject:to:message-id:mime-version:content-type; bh=nyhXrgeye2RtqiNETclPg0iusbCC/G5Q/stkjKmA2Lg=; b=RAjIYwmbgT8p9Ig04CtoSPQCsknL2ZaNQUybc7o9KKlJE5gsHaoQJqeEPEQJ9ZRMJY vBba3XpYSr+Yrniu6M6cVIBreEPfrQzu+c6kp57JgCqTexHqOdRmPhLqSTPiq0QbP1cG jWbQz1+kUY+/pq8b+WqJzvyCJ0pHzYASH5Ei9xqDqW58iPZspj4GwO86PKtkZ1ASEbUL /H/Fl/eAYhOuxiyBwnf5OjK/NUjkX6mvOqPyi6I+9aMFlFWs/dPO5QCs7wCOIx8i/IBA IdLRnSUqmL5JneRF6Sr1E2xpbuiGNdpRYvlgnquv2uNAtSSpdZrjBDF5rdTC0C2nyfvk L6Og== X-Received: by 10.152.20.131 with SMTP id n3mr15678789lae.120.1424812748207; Tue, 24 Feb 2015 13:19:08 -0800 (PST) Original-Received: from [192.168.1.114] (cm-84.215.48.98.getinternet.no. [84.215.48.98]) by mx.google.com with ESMTPSA id ks4sm5715866lac.23.2015.02.24.13.19.06 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Feb 2015 13:19:07 -0800 (PST) X-Mailer: geary/0.8.2 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:99780 Archived-At: --=-kQXQsQbZUh61S6yCMg+5 Content-Type: text/plain; charset=utf-8; format=flowed An infinite loop occurs when Subword mode is active and `studlify-word' is run on a word with more than one subword. The bug seems to have been introduced by changes made to subword.el in commit 6ddc44225e743e2b2a0d5c192f50aefd7a4a915b. Here is a recipe that triggers the bug, starting from emacs -Q: 1. Open a new buffer, and type in "subWord". 2. Activate Subword mode by `M-x subword-mode'. 3. Move point to the beginning of the line, and run `M-x studlify-word'. In GNU Emacs 25.0.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.5) of 2015-02-24 on x240 Repository revision: 450bebaec94611f0958e13e35faf494e17931f8e Windowing system distributor `The X.Org Foundation', version 11.0.11604000 System Description: Debian GNU/Linux 8.0 (jessie) Configured using: `configure --without-makeinfo' Configured features: XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS NOTIFY LIBXML2 FREETYPE XFT ZLIB 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 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message dired format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd 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 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 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 make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 74956 6410) (symbols 48 18012 0) (miscs 40 43 124) (strings 32 10961 5159) (string-bytes 1 296944) (vectors 16 9377) (vector-slots 8 386766 15535) (floats 8 70 63) (intervals 56 175 0) (buffers 976 11) (heap 1024 31954 1039)) --=-kQXQsQbZUh61S6yCMg+5 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable An infinite loop occurs when Subword mode is active and
`studlify-word'= is run on a word with more than one subword. The bug
seems to ha= ve been introduced by changes made to subword.el in commit
6ddc44= 225e743e2b2a0d5c192f50aefd7a4a915b.

Here is a reci= pe that triggers the bug, starting from emacs -Q:

=   1. Open a new buffer, and type in "subWord".
  2. Act= ivate Subword mode by `M-x subword-mode'.
  3. Move point to= the beginning of the line, and run `M-x
     stud= lify-word'.


In GNU Emacs 25.0.50.2 = (x86_64-unknown-linux-gnu, GTK+ Version 3.14.5)
 of 2015-02-= 24 on x240
Repository revision: 450bebaec94611f0958e13e35faf494e1= 7931f8e
Windowing system distributor `The X.Org Foundation', vers= ion 11.0.11604000
System Description: Debian GNU/Linux 8.0 (jessi= e)

Configured using:
 `configure --= without-makeinfo'

Configured features:
X= PM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS NOTIFY LIBXML2 FREETYPE XFT
=
ZLIB

Important settings:
  val= ue of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix<= /div>

Major mode: Lisp Interaction

<= div>Minor modes in effect:
  tooltip-mode: t
 = ; global-eldoc-mode: t
  electric-indent-mode: t
&= nbsp; mouse-wheel-mode: t
  tool-bar-mode: t
 = ; menu-bar-mode: t
  file-name-shadow-mode: t
&nbs= p; global-font-lock-mode: t
  font-lock-mode: t
&n= bsp; blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t=
  line-number-mode: t

Recent messa= ges:
For information about GNU Emacs and the GNU system, type C-h= C-a.

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr = emacsbug message dired format-spec
rfc822 mml easymenu mml-sec mm= -decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-uti= ls mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util help-fn= s mail-prsvr mail-utils time-date tooltip
eldoc electric uniquify= ediff-hook vc-hooks lisp-float-type mwheel x-win
x-dnd tool-bar = dnd fontset image regexp-opt fringe tabulated-list
newcomment eli= sp-mode lisp-mode prog-mode register page menu-bar
rfn-eshadow ti= mer select scroll-bar mouse jit-lock font-lock syntax
facemenu fo= nt-core frame cham georgian utf-8-lang misc-lang vietnamese
tibet= an thai tai-viet lao korean japanese hebrew greek romanian slovak
czech european ethiopic indian cyrillic chinese case-table epa-hook
<= div>jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice<= div>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 dbusbindgfilenotify dynamic-setting system-font-setting font-render-setting<= div>move-toolbar gtk x-toolkit x multi-tty emacs)

= Memory information:
((conses 16 74956 6410)
 (symb= ols 48 18012 0)
 (miscs 40 43 124)
 (strings = 32 10961 5159)
 (string-bytes 1 296944)
 (vec= tors 16 9377)
 (vector-slots 8 386766 15535)
 = ;(floats 8 70 63)
 (intervals 56 175 0)
 (buf= fers 976 11)
 (heap 1024 31954 1039))
= --=-kQXQsQbZUh61S6yCMg+5--