* bug#22877: 24.5; Flyspell enters endless loop on region with intangible property set
@ 2016-03-02 0:24 Vyacheslav Levit
2016-03-02 15:50 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: Vyacheslav Levit @ 2016-03-02 0:24 UTC (permalink / raw
To: 22877
Steps to reproduce:
1) emacs -Q
2) Insert
(put-text-property (line-beginning-position) (line-end-position) 'intangible t)
(flyspell-buffer)
3) M-x eval-buffer
Emacs will hang with cursor on the first lisp line until you press C-g.
It happens only on small regions (regions shorter than
`flyspell-large-region').
The bug originally was discovered in `mu4e-compose-mode' which has
`intangible' set on `mail-header-separator'.
Similar bug report in 2006:
https://lists.gnu.org/archive/html/emacs-devel/2006-10/msg00328.html
In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.6)
of 2015-09-10 on foutrelis
Windowing system distributor `The X.Org Foundation', version 11.0.11801000
Configured using:
`configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
--localstatedir=/var --with-x-toolkit=gtk3 --with-xft
'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
--param=ssp-buffer-size=4' CPPFLAGS=-D_FORTIFY_SOURCE=2
LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro'
Important settings:
value of $LC_MONETARY: ru_UA.UTF-8
value of $LC_NUMERIC: ru_UA.UTF-8
value of $LC_TIME: ru_UA.UTF-8
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect:
lispy-mode: t
whitespace-mode: t
diff-auto-refine-mode: t
magit-auto-revert-mode: t
global-git-commit-mode: t
async-bytecomp-package-mode: t
shell-dirtrack-mode: t
winner-mode: t
smartparens-global-mode: t
smartparens-mode: t
global-auto-complete-mode: t
auto-complete-mode: t
ido-everywhere: t
global-ergomap-mode: t
ergomap-mode: t
beacon-mode: t
recentf-mode: t
delete-selection-mode: t
cua-mode: t
show-paren-mode: t
savehist-mode: t
tooltip-mode: t
mouse-wheel-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
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent messages:
Warning: adict-mode defined my twice
Warning: adict-mode defined ste twice
Loading quail/cyrillic...done
Loading /home/vlevit/.emacs.d/.find-project.el (source)...done
Loading /home/vlevit/.emacs.d/.mc-lists.el (source)...done
Key Chord mode on
Source file `/home/vlevit/.emacs.d/setup-lisp/setup-shell.el' newer than byte-compiled file
Loading /home/vlevit/.emacs.d/setup-lisp/setup-custom.el (source)...done
ad-handle-definition: `find-function-search-for-symbol' got redefined
For information about GNU Emacs and the GNU system, type C-h C-a.
Load-path shadows:
/home/vlevit/.emacs.d/elpa/key-seq-20150624.1710/key-seq hides /home/vlevit/.emacs.d/site-lisp/key-seq/key-seq
/home/vlevit/.emacs.d/elpa/jedi-20151214.705/jedi hides /home/vlevit/.emacs.d/site-lisp/jedi/jedi
/home/vlevit/.emacs.d/elpa/jedi-20151214.705/jedi-pkg hides /home/vlevit/.emacs.d/site-lisp/jedi/jedi-pkg
/home/vlevit/.emacs.d/elpa/smex-20141210.1422/smex hides /home/vlevit/.emacs.d/site-lisp/smex
/home/vlevit/.emacs.d/elpa/flymake-cursor-20130822.1032/flymake-cursor hides /home/vlevit/.emacs.d/site-lisp/flymake-cursor
/home/vlevit/.emacs.d/elpa/iflipb-20130331.2008/iflipb hides /home/vlevit/.emacs.d/site-lisp/iflipb
/home/vlevit/.emacs.d/elpa/anything-20130605.1746/anything hides /home/vlevit/.emacs.d/site-lisp/anything
/home/vlevit/.emacs.d/elpa/auto-complete-20150225.715/auto-complete hides /home/vlevit/.emacs.d/site-lisp/auto-complete
/home/vlevit/.emacs.d/elpa/highlight-symbol-20140923.729/highlight-symbol hides /home/vlevit/.emacs.d/site-lisp/highlight-symbol
/home/vlevit/.emacs.d/elpa/idomenu-20141123.1320/idomenu hides /home/vlevit/.emacs.d/site-lisp/idomenu
/home/vlevit/.emacs.d/elpa/bash-completion-20130831.1514/bash-completion hides /home/vlevit/.emacs.d/site-lisp/bash-completion
/home/vlevit/.emacs.d/elpa/mu4e-maildirs-extension-20150403.903/mu4e-maildirs-extension hides /home/vlevit/.emacs.d/site-lisp/mu4e-maildirs-extension
/home/vlevit/.emacs.d/elpa/iedit-20150915.2022/iedit hides /home/vlevit/.emacs.d/site-lisp/iedit
/home/vlevit/.emacs.d/elpa/anything-20130605.1746/anything-match-plugin hides /home/vlevit/.emacs.d/site-lisp/anything-match-plugin
/home/vlevit/.emacs.d/elpa/fill-column-indicator-20140509.1101/fill-column-indicator hides /home/vlevit/.emacs.d/site-lisp/fill-column-indicator
/home/vlevit/.emacs.d/elpa/popup-20150315.612/popup hides /home/vlevit/.emacs.d/site-lisp/popup
/home/vlevit/.emacs.d/elpa/bm-20141212.1535/bm hides /home/vlevit/.emacs.d/site-lisp/bm
/home/vlevit/.emacs.d/elpa/auto-complete-20150225.715/auto-complete-config hides /home/vlevit/.emacs.d/site-lisp/auto-complete-config
/home/vlevit/.emacs.d/elpa/color-theme-20080305.834/color-theme hides /home/vlevit/.emacs.d/site-lisp/color-theme
/home/vlevit/.emacs.d/elpa/dired+-20150307.440/dired+ hides /home/vlevit/.emacs.d/site-lisp/dired+
/home/vlevit/.emacs.d/elpa/anything-20130605.1746/anything-config hides /home/vlevit/.emacs.d/site-lisp/anything-config
/home/vlevit/.emacs.d/site-lisp/iimage hides /usr/share/emacs/24.5/lisp/iimage
Features:
(shadow mule-util emacsbug flycheck rx flymake compile lispy swiper ivy
ffap iedit iedit-lib lispy-inline subr-x avy semantic/bovine/el
semantic/format semantic/tag-ls semantic/find semantic/ctxt
semantic/db-el eieio-opt find-func semantic/bovine semantic/db
eieio-base semantic/util-modes semantic/util semantic semantic/tag
semantic/lex semantic/fw mode-local cedet etags eldoc ediff-merg
ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff
edebug lispy-tags whitespace setup-twitter twittering-mode xml
setup-vlblog vlblog setup-git magit-blame magit-stash magit-bisect
magit-remote magit-commit magit-sequence magit magit-apply magit-wip
magit-log magit-diff smerge-mode diff-mode magit-core magit-autorevert
autorevert filenotify magit-process magit-popup magit-mode magit-git crm
magit-section magit-utils git-commit log-edit pcvs-util add-log
with-editor async-bytecomp async tramp-sh tramp tramp-compat
tramp-loaddefs trampver setup-antiword setup-tex setup-wiki mediawiki
url-cache mm-url gnus gnus-ems nnheader url-http tls url url-proxy
url-privacy url-expand url-methods url-history mailcap url-auth
url-cookie url-domsuf url-util url-parse url-gw url-vars setup-markdown
markdown-mode noutline outline setup-org-mode org-install setup-coffee
setup-js js2-refactor js2r-paredit js2r-conveniences js2r-conditionals
js2r-wrapping js2r-functions js2r-vars js2r-iife js2r-formatting
js2r-helpers js2-mode-expansions js-mode-expansions js2-mode
cc-mode-expansions cc-mode cc-fonts cc-guess cc-menus cc-styles cc-align
cc-cmds cc-engine cc-vars cc-defs setup-css hexrgb setup-html
setup-c-mode setup-elisp setup-python vlf vlf-base vlf-tune
setup-sudo-edit setup-diff setup-man setup-multiple-async-shell-commands
setup-shell shell pcomplete setup-mu4e-feeds
setup-mu4e-maildir-extension mu4e-maildirs-extension setup-mu4e
mu4e-defuns mu4e-contrib mu4e mu4e-speedbar speedbar sb-image ezimage
dframe mu4e-main mu4e-context mu4e-view cal-menu calendar cal-loaddefs
epa derived epg browse-url comint ansi-color mu4e-headers mu4e-compose
mu4e-draft mu4e-actions rfc2368 smtpmail auth-source eieio byte-opt
bytecomp byte-compile cconv eieio-core gnus-util password-cache sendmail
mu4e-mark mu4e-message html2text mu4e-proc mu4e-utils doc-view jka-compr
image-mode mu4e-lists mu4e-vars message idna format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader
mu4e-meta setup-sunrise-commander sunrise-x-tabs sunrise-x-loop
sunrise-commander term ehelp sort hl-line find-dired disp-table enriched
dired-x setup-visual-regexp visual-regexp setup-ido imenu
setup-highlight-symbol highlight-symbol ido-other-window
setup-winner-mode winner ring setup-buffer-stack iflipb setup-occur-mode
setup-multiple-cursors setup-yasnippet cl-extra yasnippet
setup-smartparens smartparens-config smartparens easy-mmode dash
setup-dired setup-auto-complete auto-complete-config auto-complete
edmacro kmacro cl-macs popup setup-flycheck setup-whitespace
fill-column-indicator setup-saveplace saveplace setup-executable
setup-clipboard setup-bm bm setup-smex smex ido setup-marks marker-visit
pos-tip setup-vline vline setup-visual-line setup-color-theme
tango-plus-theme setup-chord-keys iy-go-to-char key-chord key-seq
setup-conservative-ergomap find-file-in-repository multiple-cursors
mc-hide-unmatched-lines-mode mc-separate-operations
rectangular-region-mode mc-mark-pop mc-mark-more mc-cycle-cursors
mc-edit-lines multiple-cursors-core rect cl gv expand-region
text-mode-expansions er-basic-expansions thingatpt expand-region-core
expand-region-custom dired setup-save-some-buffers setup-find-project
find-project setup-uniquify-buffers setup-transpose-symbols
setup-mark-whole-line setup-end-line-newline setup-duplicate-line
setup-c-x-x setup-tabs setup-insert-date setup-lang quail help-mode
setup-spell auto-dictionary flyspell ispell setup-grep
setup-hippie-expand setup-auto-zip my-password s ucs-normalize
setup-auto-compile setup-face setup-defuns setup-whereami setup-scroll
beacon seq setup-package tex-site color-theme-autoloads
fill-column-indicator-autoloads fringe-helper-autoloads
go-mode-autoloads iflipb-autoloads epc-autoloads ctable-autoloads
mwe-log-commands-autoloads advice help-fns pkg-info-autoloads
scratch-autoloads vline-autoloads weblogger-autoloads windsize-autoloads
info xml-rpc-autoloads package epg-config setup-private setup-globals
recentf tree-widget wid-edit cl-loaddefs cl-lib easymenu delsel cua-base
paren savehist server time-date tooltip 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 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 dbusbind
gfilenotify dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty emacs)
Memory information:
((conses 16 605707 26189)
(symbols 48 56492 0)
(miscs 40 81 217)
(strings 32 140084 13056)
(string-bytes 1 4343513)
(vectors 16 76110)
(vector-slots 8 1074349 15088)
(floats 8 364 117)
(intervals 56 598 0)
(buffers 960 11)
(heap 1024 45064 2317))
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#22877: 24.5; Flyspell enters endless loop on region with intangible property set
2016-03-02 0:24 bug#22877: 24.5; Flyspell enters endless loop on region with intangible property set Vyacheslav Levit
@ 2016-03-02 15:50 ` Eli Zaretskii
0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2016-03-02 15:50 UTC (permalink / raw
To: Vyacheslav Levit; +Cc: 22877-done
> From: Vyacheslav Levit <dev@vlevit.org>
> Date: Wed, 02 Mar 2016 02:24:24 +0200
>
> Steps to reproduce:
>
> 1) emacs -Q
> 2) Insert
> (put-text-property (line-beginning-position) (line-end-position) 'intangible t)
> (flyspell-buffer)
> 3) M-x eval-buffer
>
> Emacs will hang with cursor on the first lisp line until you press C-g.
> It happens only on small regions (regions shorter than
> `flyspell-large-region').
I can reproduce this in Emacs 24.5, but not in the current pretest of
Emacs 25.1. So I guess this problem was already solved.
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-02 15:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-02 0:24 bug#22877: 24.5; Flyspell enters endless loop on region with intangible property set Vyacheslav Levit
2016-03-02 15:50 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.