From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 15 03:47:47 2014 Received: (at submit) by debbugs.gnu.org; 15 Apr 2014 07:47:47 +0000 Received: from localhost ([127.0.0.1]:48551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WZy5p-0003Cr-Jm for submit@debbugs.gnu.org; Tue, 15 Apr 2014 03:47:47 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44608) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WZy5l-0003CW-Ez for submit@debbugs.gnu.org; Tue, 15 Apr 2014 03:47:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WZy5a-0002Zg-39 for submit@debbugs.gnu.org; Tue, 15 Apr 2014 03:47:36 -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,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49510) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WZy5a-0002Zb-0K for submit@debbugs.gnu.org; Tue, 15 Apr 2014 03:47:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46305) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WZy5T-0000Yw-U0 for bug-gnu-emacs@gnu.org; Tue, 15 Apr 2014 03:47:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WZy5N-0002XN-Qa for bug-gnu-emacs@gnu.org; Tue, 15 Apr 2014 03:47:23 -0400 Received: from mail-pd0-x236.google.com ([2607:f8b0:400e:c02::236]:49020) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WZy5N-0002Wm-Bc for bug-gnu-emacs@gnu.org; Tue, 15 Apr 2014 03:47:17 -0400 Received: by mail-pd0-f182.google.com with SMTP id y10so9161013pdj.27 for ; Tue, 15 Apr 2014 00:47:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=hJ6ZOM46+tKY9OFxqLG6iPTY4EzuZJOINfMWBX7GXEY=; b=km1UQ1TiflWyuZeUHSX6QZy/vZqk8HoOZehDiOse825bhmTXGx/Nt/KUA4qW/DrvbW +q0oWeB/xJyM8oz62bBqtmzaMpl1A2Bk6OzUEG4iAj7kPHu2EbqLzgtb3Ah5xF6/VlkI 5wly+zDgDyqyfgEGcps8wsW3hGnqD8YIbpMyuBTWJFZbeRV492rfSj4jYPKl+opmeQhb tcbwklzcb5ObP39srQ5nBWfrC8flotDkl2Nhh8e0dxo56JuyJ0/DSrPs8xmt7dRVqP9E XMtVAAbpgM9sXhWVTI10N5sNAWXVIxRhE/vUbPsr1BNX71jaIjMA35lxON1ILhYtnjyy MjFA== X-Received: by 10.67.14.69 with SMTP id fe5mr323881pad.120.1397548036025; Tue, 15 Apr 2014 00:47:16 -0700 (PDT) Received: from mini.funtoo ([220.191.186.26]) by mx.google.com with ESMTPSA id hy3sm38454265pbc.31.2014.04.15.00.47.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Apr 2014 00:47:15 -0700 (PDT) From: Jingtao Xu To: bug-gnu-emacs@gnu.org Subject: 24.3.50; 100% cpu usage of emacs when copy some lines to org buffer Date: Tue, 15 Apr 2014 15:46:13 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -4.0 (----) I wrote one elisp function to collect the code changes of a svn diff file: ============================================================================================= (defun my-svn-codes-changes (&optional proj) (interactive) (if (null proj) (setf proj (my-select-project))) (with-current-buffer (find-file-noselect (my-path proj (concat (my-p-id proj) ".diff"))) (fundamental-mode) (goto-char (point-min)) (let (result-list cur-file cur-file-changes) (while (search-forward "Index: " nil t) (setf cur-file (buffer-substring-no-properties (point) (line-end-position))) (next-line 3) ;;(loop repeat 3 do (next-line)) (let ((start-pos (line-beginning-position)) (end-pos (point-max))) (when (search-forward "Index: " nil t) (previous-line) (setf end-pos (line-end-position))) (setf cur-file-changes (buffer-substring-no-properties start-pos end-pos)) (push (cons cur-file cur-file-changes) result-list) (goto-char end-pos))) (reverse result-list)))) ============================================================================================= It works fine in emacs 24.3.1,but in emacs 24.3.50,it will enter into an infinite loop and never return. I debugged emacs source code and find the infinite loop seems to happen in c function handle_stop,of file xdisp.c. emacs nerver return from this function,and in handle_stop,when it call function handle_invisible_prop,it will return HANDLED_RECOMPUTE_PROPS. In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.7) of 2014-04-15 on mini.funtoo Windowing system distributor `The X.Org Foundation', version 11.0.11403000 Important settings: value of $LC_COLLATE: POSIX value of $LC_CTYPE: zh_CN.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=fcitx locale-coding-system: utf-8 Major mode: Lisp Interaction Minor modes in effect: show-paren-mode: t global-eclim-mode: t savehist-mode: t recentf-mode: t ido-everywhere: t tabbar-mode: t global-auto-revert-mode: t Info-breadcrumbs-in-mode-line-mode: t global-company-mode: t company-mode: t global-auto-complete-mode: t auto-complete-mode: t yas/global-mode: t yas/minor-mode: t anything-dired-mode: Enable anything completion in Dired functions. Bindings affected are C, R, S, H. This is deprecated for Emacs24+ users, use `ac-mode' instead. auto-image-file-mode: t winner-mode: t display-time-mode: t evil-mode: t evil-local-mode: t pretty-lambda-mode: t shell-dirtrack-mode: t eldoc-mode: t which-function-mode: t tooltip-mode: t electric-indent-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-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 abbrev-mode: t Recent input: 1 0 0 % SPC c p u SPC u s a g e SPC o f SPC e m a c s SPC w h e n SPC c o p y SPC s o m e SPC l i n e s SPC t o SPC o r g SPC b u f f e r T h s SPC C-g a i s SPC C-g s C-g C-c C-k y C-x C-c C-g s 1 Recent messages: Checking 70 files in /home/projects/emacs/lisp/erc... Checking 48 files in /home/projects/emacs/lisp/emulation... Checking 153 files in /home/projects/emacs/lisp/emacs-lisp... Checking 57 files in /home/projects/emacs/lisp/calendar... Checking 87 files in /home/projects/emacs/lisp/calc... Checking 95 files in /home/projects/emacs/lisp/obsolete... Checking for load-path shadows...done Quit [3 times] Message modified; kill anyway? (y or n) y (No files need saving) [2 times] Quit Load-path shadows: /data/jingtao/.emacs.d/el-get/wanderlust/utils/rfc2368 hides /data/jingtao/.emacs.d/el-get/wanderlust/site-lisp/wl/rfc2368 /data/jingtao/.emacs.d/el-get/wanderlust/utils/wl-addrbook hides /data/jingtao/.emacs.d/el-get/wanderlust/site-lisp/wl/wl-addrbook /data/jingtao/.emacs.d/el-get/wanderlust/utils/im-wl hides /data/jingtao/.emacs.d/el-get/wanderlust/site-lisp/wl/im-wl /data/jingtao/.emacs.d/el-get/wanderlust/utils/wl-complete hides /data/jingtao/.emacs.d/el-get/wanderlust/site-lisp/wl/wl-complete /data/jingtao/.emacs.d/el-get/wanderlust/utils/ssl hides /data/jingtao/.emacs.d/el-get/wanderlust/site-lisp/wl/ssl /data/jingtao/.emacs.d/el-get/wanderlust/utils/wl-mailto hides /data/jingtao/.emacs.d/el-get/wanderlust/site-lisp/wl/wl-mailto /home/jingtao/Dropbox/emacs/site-lisp/org-jira/org-jira hides /home/jingtao/Dropbox/emacs/site-lisp/org-mode/contrib/lisp/org-jira /home/jingtao/Dropbox/emacs/site-lisp/auto-complete/auto-complete hides /data/jingtao/.emacs.d/elpa/auto-complete-20131128.233/auto-complete /home/jingtao/Dropbox/emacs/site-lisp/auto-complete/auto-complete-config hides /data/jingtao/.emacs.d/elpa/auto-complete-20131128.233/auto-complete-config /home/jingtao/Dropbox/emacs/site-lisp/magit/magit-wip hides /data/jingtao/.emacs.d/elpa/magit-20140218.701/magit-wip /home/jingtao/Dropbox/emacs/site-lisp/magit/magit hides /data/jingtao/.emacs.d/elpa/magit-20140218.701/magit /home/jingtao/Dropbox/emacs/site-lisp/magit/magit-blame hides /data/jingtao/.emacs.d/elpa/magit-20140218.701/magit-blame /home/jingtao/Dropbox/emacs/site-lisp/magit/magit-key-mode hides /data/jingtao/.emacs.d/elpa/magit-20140218.701/magit-key-mode /home/jingtao/Dropbox/emacs/site-lisp/git-modes/git-rebase-mode hides /data/jingtao/.emacs.d/elpa/git-rebase-mode-20140125.1553/git-rebase-mode /home/jingtao/Dropbox/emacs/site-lisp/git-modes/git-commit-mode hides /data/jingtao/.emacs.d/elpa/git-commit-mode-20140125.1553/git-commit-mode /home/jingtao/Dropbox/emacs/site-lisp/auto-complete/popup hides /data/jingtao/.emacs.d/elpa/popup-20140207.1702/popup /home/jingtao/Dropbox/emacs/site-lisp/gnuplot-mode.0.6.0/gnuplot-gui hides /usr/share/emacs/site-lisp/gnuplot/gnuplot-gui /home/jingtao/Dropbox/emacs/site-lisp/gnuplot-mode.0.6.0/gnuplot hides /usr/share/emacs/site-lisp/gnuplot/gnuplot /home/jingtao/Dropbox/emacs/site-lisp/git-emacs/git-blame hides /usr/share/emacs/site-lisp/git/git-blame /home/jingtao/Dropbox/emacs/site-lisp/html-helper-mode/tempo hides /home/jingtao/Dropbox/emacs/site-lisp/tempo /home/jingtao/Dropbox/emacs/site-lisp/org-mode/contrib/lisp/htmlize hides /home/jingtao/Dropbox/emacs/site-lisp/htmlize /usr/share/emacs/site-lisp/clisp-indent hides /home/jingtao/Dropbox/emacs/site-lisp/clisp-indent /data/jingtao/.emacs.d/elpa/paredit-20140128.1248/paredit hides /home/jingtao/Dropbox/emacs/site-lisp/paredit /home/jingtao/Dropbox/emacs/site-lisp/jquery-doc.el/jquery-doc hides /home/jingtao/Dropbox/emacs/site-lisp/jquery-doc /home/jingtao/Dropbox/emacs/site-lisp/confluence-el/xml-rpc hides /home/jingtao/Dropbox/emacs/site-lisp/xml-rpc /data/jingtao/.emacs.d/elpa/quack-0.42/quack hides /home/jingtao/Dropbox/emacs/site-lisp/quack /usr/share/emacs/site-lisp/git/git hides /home/jingtao/Dropbox/emacs/site-lisp/git /usr/share/emacs/site-lisp/emacs-w3m/mew-w3m hides /home/jingtao/Dropbox/emacs/site-lisp/mew-w3m /home/jingtao/Dropbox/emacs/site-lisp/clisp-color hides /home/projects/dummy/site-lisp/clisp-color /home/jingtao/Dropbox/emacs/site-lisp/dired-tar hides /home/projects/dummy/site-lisp/dired-tar /home/jingtao/Dropbox/emacs/site-lisp/iterator hides /home/projects/dummy/site-lisp/iterator /home/jingtao/Dropbox/emacs/site-lisp/traverselisp hides /home/projects/dummy/site-lisp/traverselisp /usr/share/emacs/site-lisp/clisp-indent hides /home/projects/dummy/site-lisp/clisp-indent /home/jingtao/Dropbox/emacs/site-lisp/dired-details hides /home/projects/dummy/site-lisp/dired-details /home/jingtao/Dropbox/emacs/site-lisp/idomenu hides /home/projects/dummy/site-lisp/idomenu /home/jingtao/Dropbox/emacs/site-lisp/mcomplete-history hides /home/projects/dummy/site-lisp/mcomplete-history /home/jingtao/Dropbox/emacs/site-lisp/cl-indent-patches hides /home/projects/dummy/site-lisp/cl-indent-patches /home/projects/dummy/site-lisp/custom hides /home/projects/emacs/lisp/custom /home/jingtao/Dropbox/emacs/site-lisp/html-helper-mode/tempo hides /home/projects/emacs/lisp/tempo /home/jingtao/Dropbox/emacs/site-lisp/xml hides /home/projects/emacs/lisp/xml /data/jingtao/.emacs.d/el-get/flim/site-lisp/flim/hex-util hides /home/projects/emacs/lisp/hex-util /home/jingtao/Dropbox/emacs/site-lisp/bs hides /home/projects/emacs/lisp/bs /home/jingtao/Dropbox/emacs/site-lisp/cedet/common/ezimage hides /home/projects/emacs/lisp/ezimage /data/jingtao/.emacs.d/el-get/flim/site-lisp/flim/md4 hides /home/projects/emacs/lisp/md4 /home/jingtao/Dropbox/emacs/site-lisp/image-dired hides /home/projects/emacs/lisp/image-dired /home/jingtao/Dropbox/emacs/site-lisp/iimage hides /home/projects/emacs/lisp/iimage /home/jingtao/Dropbox/emacs/site-lisp/inf-lisp hides /home/projects/emacs/lisp/progmodes/inf-lisp /home/jingtao/Dropbox/emacs/site-lisp/bat-mode hides /home/projects/emacs/lisp/progmodes/bat-mode /home/jingtao/Dropbox/emacs/site-lisp/newsticker-1.99/newst-ticker hides /home/projects/emacs/lisp/net/newst-ticker /home/jingtao/Dropbox/emacs/site-lisp/org-jira/soap-client hides /home/projects/emacs/lisp/net/soap-client /data/jingtao/.emacs.d/el-get/flim/site-lisp/flim/hmac-md5 hides /home/projects/emacs/lisp/net/hmac-md5 /data/jingtao/.emacs.d/el-get/flim/site-lisp/flim/sasl-ntlm hides /home/projects/emacs/lisp/net/sasl-ntlm /home/jingtao/Dropbox/emacs/site-lisp/org-jira/soap-inspect hides /home/projects/emacs/lisp/net/soap-inspect /data/jingtao/.emacs.d/el-get/flim/site-lisp/flim/ntlm hides /home/projects/emacs/lisp/net/ntlm /data/jingtao/.emacs.d/el-get/flim/site-lisp/flim/sasl hides /home/projects/emacs/lisp/net/sasl /home/jingtao/Dropbox/emacs/site-lisp/newsticker-1.99/newst-plainview hides /home/projects/emacs/lisp/net/newst-plainview /data/jingtao/.emacs.d/el-get/flim/site-lisp/flim/sasl-digest hides /home/projects/emacs/lisp/net/sasl-digest /home/jingtao/Dropbox/emacs/site-lisp/newsticker-1.99/newst-treeview hides /home/projects/emacs/lisp/net/newst-treeview /home/jingtao/Dropbox/emacs/site-lisp/newsticker-1.99/newsticker hides /home/projects/emacs/lisp/net/newsticker /home/jingtao/Dropbox/emacs/site-lisp/newsticker-1.99/newst-backend hides /home/projects/emacs/lisp/net/newst-backend /home/jingtao/Dropbox/emacs/site-lisp/newsticker-1.99/newst-reader hides /home/projects/emacs/lisp/net/newst-reader /data/jingtao/.emacs.d/el-get/flim/site-lisp/flim/sasl-cram hides /home/projects/emacs/lisp/net/sasl-cram /data/jingtao/.emacs.d/el-get/flim/site-lisp/flim/hmac-def hides /home/projects/emacs/lisp/net/hmac-def /data/jingtao/.emacs.d/el-get/wanderlust/utils/rfc2368 hides /home/projects/emacs/lisp/mail/rfc2368 /data/jingtao/.emacs.d/el-get/semi/site-lisp/semi/smime hides /home/projects/emacs/lisp/gnus/smime /data/jingtao/.emacs.d/el-get/wanderlust/site-lisp/wl/utf7 hides /home/projects/emacs/lisp/gnus/utf7 /home/jingtao/Dropbox/emacs/site-lisp/emms/lisp/tq hides /home/projects/emacs/lisp/emacs-lisp/tq /home/jingtao/Dropbox/emacs/site-lisp/package-x hides /home/projects/emacs/lisp/emacs-lisp/package-x /data/jingtao/.emacs.d/el-get/semi/site-lisp/semi/pgg-def hides /home/projects/emacs/lisp/obsolete/pgg-def /data/jingtao/.emacs.d/el-get/semi/site-lisp/semi/pgg-gpg hides /home/projects/emacs/lisp/obsolete/pgg-gpg /data/jingtao/.emacs.d/el-get/semi/site-lisp/semi/pgg-parse hides /home/projects/emacs/lisp/obsolete/pgg-parse /data/jingtao/.emacs.d/el-get/semi/site-lisp/semi/pgg-pgp hides /home/projects/emacs/lisp/obsolete/pgg-pgp /data/jingtao/.emacs.d/el-get/semi/site-lisp/semi/pgg hides /home/projects/emacs/lisp/obsolete/pgg /data/jingtao/.emacs.d/el-get/semi/site-lisp/semi/pgg-pgp5 hides /home/projects/emacs/lisp/obsolete/pgg-pgp5 Features: (shadow mail-extr emacsbug message idna rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils eim eim-extra tramp-cache paren virsh ab-indent-table my-g2 kindlegen cus-start cus-load baidu-pcs my-theme help-at-pt eclimd company-emacs-eclim eclim-completion eclim eclim-problems eclim-maven eclim-ant eclim-java eclim-project my-java my-kbd my-erc .loaddefs el-get el-get-autoloads el-get-list-packages el-get-notify help-mode el-get-dependencies el-get-build el-get-status el-get-recipes el-get-byte-compile el-get-methods el-get-fossil el-get-svn el-get-pacman el-get-github-zip el-get-github-tar el-get-http-zip el-get-http-tar el-get-hg el-get-git-svn el-get-fink el-get-emacswiki el-get-http el-get-emacsmirror el-get-github el-get-git el-get-elpa el-get-darcs el-get-cvs el-get-bzr el-get-brew el-get-builtin el-get-apt-get el-get-custom el-get-core autoload lisp-mnt savehist-20+ keychain-environment recentf mcomplete-history mcomplete ido-better-flex ido avoid tabbar desktop frameset saveplace rect-mark ibuf-macs ibuf-ext ibuffer dired-extension dired-tar tramp-sh my-sys grep-a-lot autorevert filenotify info+ newsticker-notify company-files company-oddmuse company-keywords company-dabbrev-code company-dabbrev company-etags company-gtags company-capf company-cmake company-ropemacs company-xcode company-clang company-semantic company-eclim company-template company-css company-nxml company ac-slime auto-complete-config auto-complete popup yasnippet xdvi-search ipa header2 lib-requires loadhist my-doc skeleton my-abbrev anything-config w3m-bookmark bookmark rx grep dired-x dired-aux ffap anaphora org-drill org-learn org-id hi-lock bbdb-autoloads bbdb jabber-autoloads org-redmine json epa-file epa epg epg-config org-protocol org-crypt ox-latex ox-icalendar ox-html ox-ascii ox-publish ox org-element appt diary-lib diary-loaddefs org-table ob-sqlite ob-asymptote org-w3m org-clock org-checklist org org-macro org-footnote org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs org-loaddefs find-func remember iimage image-file my-gtd cal-china-x cal-china lunar solar cal-dst holidays hol-loaddefs cal-menu calendar cal-loaddefs my-calendar my-maxima my-w3m winner my-program my-english emms-player-vlc emms-player-mplayer emms-setup emms-playlist-limit emms-volume emms-volume-amixer emms-i18n emms-history emms-score emms-stream-info emms-metaplaylist-mode emms-bookmarks emms-lastfm-client emms-lastfm-scrobbler w3m doc-view jka-compr image-mode timezone w3m-hist w3m-fb bookmark-w3m w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util xml emms-cue emms-mode-line-icon emms-browser sort emms-playlist-sort emms-last-played emms-player-xine emms-player-mpd tq emms-playing-time emms-lyrics emms-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars mailcap emms-player-simple hl-line emms-streams emms-tag-editor emms-info-metaflac emms-mark emms-mode-line emms-cache emms-info-ogginfo emms-info-mp3info emms-info later-do emms-playlist-mode emms-source-playlist emms-source-file locate dired emms emms-compat my-emms time my-emacs-spec trace evil evil-integration evil-maps evil-commands evil-types evil-search evil-ex evil-macros evil-repeat evil-states evil-core evil-common windmove rect evil-digraphs evil-vars my-evil cl-indent-patches clisp-indent cl-indent clisp-color parenface pretty-lambdada imenu+ slime-banner slime-tramp tramp tramp-compat auth-source eieio eieio-core gnus-util mm-util mail-prsvr password-cache tramp-loaddefs trampver shell pcomplete format-spec slime-fancy slime-trace-dialog slime-fontifying-fu slime-package-fu slime-references slime-compiler-notes-tree slime-presentations bridge slime-fancy-trace slime-fancy-inspector slime-xref-browser tree-widget wid-edit slime-media anything-slime slime-fuzzy slime-c-p-c slime-autodoc eldoc slime-editing-commands slime-repl elp slime-parse anything-complete anything-obsolete anything-match-plugin anything advice slime-scratch slime byte-opt bytecomp byte-compile cconv derived edmacro kmacro gud compile apropos etags arc-mode archive-mode noutline outline pp comint ansi-color ring hyperspec thingatpt browse-url slime-autoloads my-lisp color-theme-sanityinc-solarized-autoloads elnode-autoloads db-autoloads creole-autoloads el-x-autoloads elpakit-autoloads anaphora-autoloads httpd-autoloads info easymenu quack-autoloads package which-func imenu site-gentoo w3m-load muse-autoloads server my-autoload assoc help-fns easy-mmode parse-time cl-macs cl cl-loaddefs cl-lib my-utils gv my-main my-env time-date china-util 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 750367 50412) (symbols 48 61076 19) (miscs 40 145 312) (strings 32 133650 16576) (string-bytes 1 4156385) (vectors 16 41594) (vector-slots 8 940400 10499) (floats 8 2153 95) (intervals 56 576 0) (buffers 960 20) (heap 1024 47248 2541)) -- ___________________________________ With Best Regards. jingtao. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 15 05:30:25 2014 Received: (at 17267) by debbugs.gnu.org; 15 Apr 2014 09:30:25 +0000 Received: from localhost ([127.0.0.1]:48638 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WZzhA-0006Xe-6y for submit@debbugs.gnu.org; Tue, 15 Apr 2014 05:30:24 -0400 Received: from mtaout25.012.net.il ([80.179.55.181]:59906) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WZzh7-0006MY-Cn for 17267@debbugs.gnu.org; Tue, 15 Apr 2014 05:30:22 -0400 Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0N4200M00EP2MX00@mtaout25.012.net.il> for 17267@debbugs.gnu.org; Tue, 15 Apr 2014 12:28:27 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N4200HMTFNFRD90@mtaout25.012.net.il>; Tue, 15 Apr 2014 12:28:27 +0300 (IDT) Date: Tue, 15 Apr 2014 12:30:21 +0300 From: Eli Zaretskii Subject: Re: bug#17267: 24.3.50; 100% cpu usage of emacs when copy some lines to org buffer In-reply-to: X-012-Sender: halo1@inter.net.il To: Jingtao Xu Message-id: <83vbubj5xu.fsf@gnu.org> References: X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17267 Cc: 17267@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii 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: 1.0 (+) > From: Jingtao Xu > Date: Tue, 15 Apr 2014 15:46:13 +0800 > > > I wrote one elisp function to collect the code changes of a svn diff file: > ============================================================================================= > (defun my-svn-codes-changes (&optional proj) > (interactive) > (if (null proj) > (setf proj (my-select-project))) > (with-current-buffer (find-file-noselect (my-path proj (concat (my-p-id proj) ".diff"))) > (fundamental-mode) > (goto-char (point-min)) > (let (result-list cur-file cur-file-changes) > (while (search-forward "Index: " nil t) > (setf cur-file (buffer-substring-no-properties (point) (line-end-position))) > (next-line 3) > ;;(loop repeat 3 do (next-line)) > (let ((start-pos (line-beginning-position)) > (end-pos (point-max))) > (when (search-forward "Index: " nil t) > (previous-line) > (setf end-pos (line-end-position))) > (setf cur-file-changes (buffer-substring-no-properties start-pos end-pos)) > (push (cons cur-file cur-file-changes) result-list) > (goto-char end-pos))) > (reverse result-list)))) > ============================================================================================= > It works fine in emacs 24.3.1,but in emacs 24.3.50,it will enter into an infinite loop and never return. > > I debugged emacs source code and find the infinite loop seems to happen in c function handle_stop,of file xdisp.c. > emacs nerver return from this function,and in handle_stop,when it call function handle_invisible_prop,it will > return HANDLED_RECOMPUTE_PROPS. Sorry, I don't see any obvious relation between the above function and the part of xdisp.c where you see the infloop. Is it possible for you to construct a reproducible recipe for this bug, starting with "emacs -Q", including any external files necessary for reproducing the bug? If so, please post the recipe and the files here. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 16 02:18:28 2014 Received: (at 17267) by debbugs.gnu.org; 16 Apr 2014 06:18:28 +0000 Received: from localhost ([127.0.0.1]:49354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WaJAx-0005jL-AV for submit@debbugs.gnu.org; Wed, 16 Apr 2014 02:18:27 -0400 Received: from mail-qa0-f51.google.com ([209.85.216.51]:53997) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WaJAt-0005j4-TJ for 17267@debbugs.gnu.org; Wed, 16 Apr 2014 02:18:24 -0400 Received: by mail-qa0-f51.google.com with SMTP id j7so10190636qaq.38 for <17267@debbugs.gnu.org>; Tue, 15 Apr 2014 23:18:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=hxcJR5eWrYufhNxTBDRojGkrdjhWmIli09yDnQGxMCc=; b=DzlCBEmdwT/AIEacLalHR00sd9nnEp5hI/4tCbwsK2pLrZTh5h6t+EK+14h+TB8Oxi 0LTQJDjPCT4Z19ydLnbDGJye8/wTVwWxxddlxZlLIrsmhFhXpdjwmLgeFT62qS/nwUIc PeYhyfblRqcYdytxJdjdDACwNnYkG13ihy6Q8wlphrGLn99fbfXWIwmJ6FID6lv5JFlZ lHPZ0Qe5ryAyjLA1OIB0vznzkpguQxe9Ab3Ycf5354DNzADWRcxnw329tIbeQSHSNpVi s68+h4g90xWsa1j9iXxn//jfjt1t5LQyU5f6vu8YUCWFpjzz5dBgpQKBKwxvU8njrBLl AhOQ== MIME-Version: 1.0 X-Received: by 10.224.29.206 with SMTP id r14mr286455qac.91.1397629098341; Tue, 15 Apr 2014 23:18:18 -0700 (PDT) Received: by 10.140.92.147 with HTTP; Tue, 15 Apr 2014 23:18:18 -0700 (PDT) In-Reply-To: <83vbubj5xu.fsf@gnu.org> References: <83vbubj5xu.fsf@gnu.org> Date: Wed, 16 Apr 2014 14:18:18 +0800 Message-ID: Subject: Re: bug#17267: 24.3.50; 100% cpu usage of emacs when copy some lines to org buffer From: Jingtao Xu To: Eli Zaretskii Content-Type: multipart/mixed; boundary=047d7bf0cc52ef48e804f722e1ba X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17267 Cc: 17267@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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 (/) --047d7bf0cc52ef48e804f722e1ba Content-Type: text/plain; charset=UTF-8 I create test files /tmp/test.el and /tmp/test.diff,see them in attach. Then I start emacs with -q and create a empty file /tmp/test.org,and press M-x then invoke function "my-changes",it fails with error "line-move: Args out of range: 160, 160". But If I invoke this function in buffer test.el,it runs fine. Of course it's not a bug of 100% cpu usage,but It also works fine in my old emacs whether I invoke this command in buffer test.org or not. Hope this help you indicate the issue position. Thanks. With Best Regards. jingtao. ------------------------------------------------------------------------------------------------------------------------- On Tue, Apr 15, 2014 at 5:30 PM, Eli Zaretskii wrote: >> From: Jingtao Xu >> Date: Tue, 15 Apr 2014 15:46:13 +0800 >> >> >> I wrote one elisp function to collect the code changes of a svn diff file: >> ============================================================================================= >> (defun my-svn-codes-changes (&optional proj) >> (interactive) >> (if (null proj) >> (setf proj (my-select-project))) >> (with-current-buffer (find-file-noselect (my-path proj (concat (my-p-id proj) ".diff"))) >> (fundamental-mode) >> (goto-char (point-min)) >> (let (result-list cur-file cur-file-changes) >> (while (search-forward "Index: " nil t) >> (setf cur-file (buffer-substring-no-properties (point) (line-end-position))) >> (next-line 3) >> ;;(loop repeat 3 do (next-line)) >> (let ((start-pos (line-beginning-position)) >> (end-pos (point-max))) >> (when (search-forward "Index: " nil t) >> (previous-line) >> (setf end-pos (line-end-position))) >> (setf cur-file-changes (buffer-substring-no-properties start-pos end-pos)) >> (push (cons cur-file cur-file-changes) result-list) >> (goto-char end-pos))) >> (reverse result-list)))) >> ============================================================================================= >> It works fine in emacs 24.3.1,but in emacs 24.3.50,it will enter into an infinite loop and never return. >> >> I debugged emacs source code and find the infinite loop seems to happen in c function handle_stop,of file xdisp.c. >> emacs nerver return from this function,and in handle_stop,when it call function handle_invisible_prop,it will >> return HANDLED_RECOMPUTE_PROPS. > > Sorry, I don't see any obvious relation between the above function and > the part of xdisp.c where you see the infloop. Is it possible for you > to construct a reproducible recipe for this bug, starting with "emacs -Q", > including any external files necessary for reproducing the bug? If so, > please post the recipe and the files here. > > Thanks. --047d7bf0cc52ef48e804f722e1ba Content-Type: text/plain; charset=US-ASCII; name="test.diff" Content-Disposition: attachment; filename="test.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hu2800rb1 SW5kZXg6IGFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWEKPT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpD YW5ub3QgZGlzcGxheTogZmlsZSBtYXJrZWQgYXMgYSBiaW5hcnkgdHlwZS4Kc3ZuOm1pbWUtdHlw ZSA9IGFwcGxpY2F0aW9uL29jdGV0LXN0cmVhbQpJbmRleDogYmJiYmJiYmJiYmJiYmJiYmJiYmJi YmJiYmJiYmJiYmJiYgo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJi YmJiYmJiCSguLi4vY2NjY2NjY2NjY2NjY2NjY2NjYykJKHJldmlzaW9uIDExMTExMSkKKysrIGJi YmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmIJKC4uLi9kZGRkZGRkZGRkZGRkZGRkZGRk KQkocmV2aXNpb24gMjIyMjIyKQpAQCAtMjg3LDYgKzI4Nyw5IEBACit4Y29weSAlQUFBQUFBJVxi YmJiYmJiLmh0bWwgJURJUiVcIC9SDQogDQogQGVjaG8gLS0tIGZmZmZmZmZmZmYNCkluZGV4OiBj Y2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjYwo9PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09Ci0tLSBjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2Nj Y2NjY2NjYwkoLi4uL2NjY2NjY2NjY2NjY2NjY2NjY2MpCShyZXZpc2lvbiAxMTExMTEpCisrKyBj Y2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjYwkoLi4u L2RkZGRkZGRkZGRkZGRkZGRkZGQpCShyZXZpc2lvbiAyMjIyMjIpCkBAIC0xLDMgKzAsMCBAQAot QGVjaG8gb2ZmIA0KLQ0KLXJlZ3N2cjMyIC9zIC9jIGVlZWVlZWVlZS5vY3gNCg== --047d7bf0cc52ef48e804f722e1ba Content-Type: text/x-emacs-lisp; charset=US-ASCII; name="test.el" Content-Disposition: attachment; filename="test.el" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hu27zoqf0 Ozs7IC0qLSBlbmNvZGluZzp1dGYtOCAtKi0gIC0tLQooZGVmdW4gbXktY2hhbmdlcyAoKQogIChp bnRlcmFjdGl2ZSkKICAod2l0aC1jdXJyZW50LWJ1ZmZlciAoZmluZC1maWxlLW5vc2VsZWN0ICIv dG1wL3Rlc3QuZGlmZiIpCiAgICAoZnVuZGFtZW50YWwtbW9kZSkKICAgIChnb3RvLWNoYXIgKHBv aW50LW1pbikpCiAgICAobGV0IChyZXN1bHQtbGlzdCBjdXItZmlsZSBjdXItZmlsZS1jaGFuZ2Vz KQogICAgICAod2hpbGUgKHNlYXJjaC1mb3J3YXJkICJJbmRleDogIiBuaWwgdCkKICAgICAgICAo bWVzc2FnZSAicmFuZ2U6JWQsJWQiIChwb2ludCkgKGxpbmUtZW5kLXBvc2l0aW9uKSkKICAgICAg ICAoc2V0ZiBjdXItZmlsZSAoYnVmZmVyLXN1YnN0cmluZy1uby1wcm9wZXJ0aWVzIChwb2ludCkg KGxpbmUtZW5kLXBvc2l0aW9uKSkpCiAgICAgICAgKG5leHQtbGluZSAzKQogICAgICAgICcobG9v cCByZXBlYXQgMyBkbwogICAgICAgICAgKG1lc3NhZ2UgIm1vdmUgbGluZSIpCiAgICAgICAgICAo bmV4dC1saW5lKSkKICAgICAgICAobGV0ICgoc3RhcnQtcG9zIChsaW5lLWJlZ2lubmluZy1wb3Np dGlvbikpCiAgICAgICAgICAgICAgKGVuZC1wb3MgKHBvaW50LW1heCkpKQogICAgICAgICAgKHdo ZW4gKHNlYXJjaC1mb3J3YXJkICJJbmRleDogIiBuaWwgdCkKICAgICAgICAgICAgKHByZXZpb3Vz LWxpbmUpCiAgICAgICAgICAgIChzZXRmIGVuZC1wb3MgKGxpbmUtZW5kLXBvc2l0aW9uKSkpCiAg ICAgICAgICAoc2V0ZiBjdXItZmlsZS1jaGFuZ2VzIChidWZmZXItc3Vic3RyaW5nLW5vLXByb3Bl cnRpZXMgc3RhcnQtcG9zIGVuZC1wb3MpKQogICAgICAgICAgKHB1c2ggKGNvbnMgY3VyLWZpbGUg Y3VyLWZpbGUtY2hhbmdlcykgcmVzdWx0LWxpc3QpCiAgICAgICAgICAoZ290by1jaGFyIGVuZC1w b3MpKSkKICAgICAgKG1lc3NhZ2UgInJlc3VsdCBpcyAlcyIgKHJldmVyc2UgcmVzdWx0LWxpc3Qp KSkpKQo= --047d7bf0cc52ef48e804f722e1ba-- From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 17 05:33:07 2014 Received: (at 17267) by debbugs.gnu.org; 17 Apr 2014 09:33:07 +0000 Received: from localhost ([127.0.0.1]:50332 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Waigs-00051K-Go for submit@debbugs.gnu.org; Thu, 17 Apr 2014 05:33:06 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:44874) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Waigo-00050k-Kq for 17267@debbugs.gnu.org; Thu, 17 Apr 2014 05:33:03 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N4600J0055AVN00@a-mtaout20.012.net.il> for 17267@debbugs.gnu.org; Thu, 17 Apr 2014 12:32:56 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N4600JHP56WFT90@a-mtaout20.012.net.il>; Thu, 17 Apr 2014 12:32:56 +0300 (IDT) Date: Thu, 17 Apr 2014 12:33:09 +0300 From: Eli Zaretskii Subject: Re: bug#17267: 24.3.50; 100% cpu usage of emacs when copy some lines to org buffer In-reply-to: X-012-Sender: halo1@inter.net.il To: Jingtao Xu Message-id: <83tx9si9m2.fsf@gnu.org> References: <83vbubj5xu.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17267 Cc: 17267@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii 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: 1.0 (+) > Date: Wed, 16 Apr 2014 14:18:18 +0800 > From: Jingtao Xu > Cc: 17267@debbugs.gnu.org > > I create test files /tmp/test.el and /tmp/test.diff,see them in attach. > > Then I start emacs with -q and create a empty file /tmp/test.org,and > press M-x then invoke function "my-changes",it fails with error > "line-move: Args out of range: 160, 160". > But If I invoke this function in buffer test.el,it runs fine. > > Of course it's not a bug of 100% cpu usage,but It also works fine in > my old emacs whether I invoke this command in buffer test.org or not. > > Hope this help you indicate the issue position. Thanks. Could you please try the patch I posted on the URL below? http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17281#20 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 18 02:38:11 2014 Received: (at 17267) by debbugs.gnu.org; 18 Apr 2014 06:38:11 +0000 Received: from localhost ([127.0.0.1]:51500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wb2R8-0001Uc-Dh for submit@debbugs.gnu.org; Fri, 18 Apr 2014 02:38:10 -0400 Received: from mail-pb0-f54.google.com ([209.85.160.54]:58905) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wb2R3-0001U3-Bx for 17267@debbugs.gnu.org; Fri, 18 Apr 2014 02:38:06 -0400 Received: by mail-pb0-f54.google.com with SMTP id ma3so1187522pbc.13 for <17267@debbugs.gnu.org>; Thu, 17 Apr 2014 23:37:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:message-id:from:to:cc:subject:in-reply-to:references :user-agent:mime-version:content-type; bh=7iW1Nqlz6fXfoCYqMzegt2siK1Xx6tzNXMu94EGGbMo=; b=DaiiF1sNit8OVq1Xn27JCZat5+RLyl0Ju/cz5mdTQKzgv4159q3dQCjNMxXoXefz5p cIBmSKt3MkSFLtD1a8xeJqAsIKI2CLUdDS+61npFvmi/vwL5/cjEI/Wl1LCEM2SK8p2A 6DIEbxuUkvBzOpHcqDYFgWa1Ia9xAASTJbM9wkGUcErNQkqke3eFtsgefil3+D7PWB7I TUI7tPqShFP5mRAJiOXMOLIjHi39yPMHUBdcdXOErgJFSa5aLO/xx1A/u/eRq+Pg28Tr iePIxFOumMnDVOAtkRSmGZQc0RNyuRf3tHRd6jd2fU93LGQ4d2ZBSAXKcM+geWcmdTu1 g/PQ== X-Received: by 10.69.17.230 with SMTP id gh6mr20362573pbd.0.1397803079067; Thu, 17 Apr 2014 23:37:59 -0700 (PDT) Received: from mini.funtoo.gmail.com ([220.191.186.26]) by mx.google.com with ESMTPSA id om6sm57703860pbc.43.2014.04.17.23.37.56 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Apr 2014 23:37:57 -0700 (PDT) Date: Fri, 18 Apr 2014 14:37:47 +0800 Message-ID: From: Jingtao Xu To: Eli Zaretskii Subject: Re: bug#17267: 24.3.50; 100% cpu usage of emacs when copy some lines to org buffer In-Reply-To: <83tx9si9m2.fsf@gnu.org> References: <83vbubj5xu.fsf@gnu.org> <83tx9si9m2.fsf@gnu.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/24.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17267 Cc: 17267@debbugs.gnu.org, Jingtao Xu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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 (/) The issue disappeared,then I can continue to use the latest emacs. Thanks very much! With Best Regards, jingtao. At Thu, 17 Apr 2014 12:33:09 +0300, Eli Zaretskii wrote: > > > Date: Wed, 16 Apr 2014 14:18:18 +0800 > > From: Jingtao Xu > > Cc: 17267@debbugs.gnu.org > > > > I create test files /tmp/test.el and /tmp/test.diff,see them in attach. > > > > Then I start emacs with -q and create a empty file /tmp/test.org,and > > press M-x then invoke function "my-changes",it fails with error > > "line-move: Args out of range: 160, 160". > > But If I invoke this function in buffer test.el,it runs fine. > > > > Of course it's not a bug of 100% cpu usage,but It also works fine in > > my old emacs whether I invoke this command in buffer test.org or not. > > > > Hope this help you indicate the issue position. > > Thanks. Could you please try the patch I posted on the URL below? > > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17281#20 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 18 02:45:32 2014 Received: (at 17267-done) by debbugs.gnu.org; 18 Apr 2014 06:45:32 +0000 Received: from localhost ([127.0.0.1]:51504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wb2YF-0001hb-0A for submit@debbugs.gnu.org; Fri, 18 Apr 2014 02:45:31 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:60618) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wb2YB-0001hH-ES for 17267-done@debbugs.gnu.org; Fri, 18 Apr 2014 02:45:28 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0N4700E00RPIQI00@a-mtaout22.012.net.il> for 17267-done@debbugs.gnu.org; Fri, 18 Apr 2014 09:45:20 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N4700EF6S3KAV80@a-mtaout22.012.net.il>; Fri, 18 Apr 2014 09:45:20 +0300 (IDT) Date: Fri, 18 Apr 2014 09:45:35 +0300 From: Eli Zaretskii Subject: Re: bug#17267: 24.3.50; 100% cpu usage of emacs when copy some lines to org buffer In-reply-to: X-012-Sender: halo1@inter.net.il To: Jingtao Xu Message-id: <83vbu7gmpc.fsf@gnu.org> References: <83vbubj5xu.fsf@gnu.org> <83tx9si9m2.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17267-done Cc: 17267-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii 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: 1.0 (+) > Date: Fri, 18 Apr 2014 14:37:47 +0800 > From: Jingtao Xu > Cc: Jingtao Xu , > 17267@debbugs.gnu.org > > > The issue disappeared,then I can continue to use the latest emacs. > > Thanks very much! Thanks, closing. From unknown Sun Jun 22 00:21:08 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 16 May 2014 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator