From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stefan-W. Hahn" Newsgroups: gmane.emacs.bugs Subject: bug#17281: 24.4.50; emacs hangs in next-line Date: Thu, 17 Apr 2014 08:10:37 +0200 Organization: -no organization- Message-ID: <20140417061037.GB23131@pille.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1397715149 21709 80.91.229.3 (17 Apr 2014 06:12:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Apr 2014 06:12:29 +0000 (UTC) To: 17281@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 17 08:12:18 2014 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 1WafYX-0001lt-D3 for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Apr 2014 08:12:17 +0200 Original-Received: from localhost ([::1]:57966 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WafYW-0005TU-Sw for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Apr 2014 02:12:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47610) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WafYO-0005I1-OV for bug-gnu-emacs@gnu.org; Thu, 17 Apr 2014 02:12:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WafYJ-0001FD-0n for bug-gnu-emacs@gnu.org; Thu, 17 Apr 2014 02:12:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42001) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WafYI-0001F9-T9 for bug-gnu-emacs@gnu.org; Thu, 17 Apr 2014 02:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WafYI-0007rA-HD for bug-gnu-emacs@gnu.org; Thu, 17 Apr 2014 02:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Stefan-W. Hahn" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Apr 2014 06:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17281 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.139771506830119 (code B ref -1); Thu, 17 Apr 2014 06:12:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Apr 2014 06:11:08 +0000 Original-Received: from localhost ([127.0.0.1]:50158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WafXP-0007pi-3F for submit@debbugs.gnu.org; Thu, 17 Apr 2014 02:11:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45619) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WafXM-0007pB-Fo for submit@debbugs.gnu.org; Thu, 17 Apr 2014 02:11:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WafXB-0000dO-GA for submit@debbugs.gnu.org; Thu, 17 Apr 2014 02:10:58 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:34379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WafXB-0000dK-Cv for submit@debbugs.gnu.org; Thu, 17 Apr 2014 02:10:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47315) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WafX6-0004jh-7D for bug-gnu-emacs@gnu.org; Thu, 17 Apr 2014 02:10:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WafX0-0000cO-WB for bug-gnu-emacs@gnu.org; Thu, 17 Apr 2014 02:10:48 -0400 Original-Received: from moutng.kundenserver.de ([212.227.17.10]:50199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WafX0-0000c9-Lm for bug-gnu-emacs@gnu.org; Thu, 17 Apr 2014 02:10:42 -0400 Original-Received: from pille.home (port-92-201-122-80.dynamic.qsc.de [92.201.122.80]) by mrelayeu.kundenserver.de (node=mreue103) with ESMTP (Nemesis) id 0MV2eD-1WSaVB0zQz-00YTyX; Thu, 17 Apr 2014 08:10:40 +0200 Original-Received: from pille.home (localhost [127.0.0.1]) by pille.home (8.14.4/8.14.4/Debian-4) with ESMTP id s3H6AcCQ031784 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 17 Apr 2014 08:10:38 +0200 Original-Received: (from hs@localhost) by pille.home (8.14.4/8.14.4/Submit) id s3H6Abv8031783; Thu, 17 Apr 2014 08:10:37 +0200 X-Authentication-Warning: pille.home: hs set sender to stefan.hahn@s-hahn.de using -f Content-Disposition: inline X-Mailer: Mutt http://www.mutt.org/ X-Editor: GNU Emacs http://www.gnu.org/ X-Accept-Language: de en X-Location: Europe, Germany, Wolfenbuettel X-GPG-Public-Key: gpg --keyserver keys.gnupg.net --recv-keys E4FCD563 X-GPG-Fingerprint: 0xE4FCD563 / EF09 97BB 3731 7DC7 25BA 5C39 185C F986 E4FC D563 User-Agent: Mutt/1.5.21 (2010-09-15) X-Provags-ID: V02:K0:lBkgvObf3z5vKuzeakZmduyolPLGffrf2blD2F8ox6O g+aVDWhwYpo4iV+fRf4LXBCg/8Zfb3Fa5jzjYFQmqNFB6TbDpI wg6Dic5xVtTzATevxNz9BnQIvxJPd4xMtqcyvHCQJRfNKsRGom SklWV/f63YW8xBW9jab0hmLKMLKBoX9R+NMRJrEMNBq8CoVeDB 7iBO4nSF1gZP7duMz3GzbgyFBtoPZP6TW07hR0vrCrlI22VfuO iBcJfQU4BVv4xbdPESzXeVNzSpptvCpV1NL4HiBJxLMNVOb3qp 6To1d/2dgWcXb3DekIvuP5tMdzLT9TFCy1Gzl+4sjlQbMSieYo 35MWiKvkkMqfsCwNZKI8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] 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:88067 Archived-At: In GNU Emacs 24.4.50.2 (i686-pc-linux-gnu, GTK+ Version 2.24.10) of 2014-03-31 on pille commit 79bbb1454f3e44bf69096f03c26bb42f4930e591 If loading a mail from mutt with emacsclient and emacs is in an org-mode file, emacs hangs. I use ; $Id: post.el,v 1.10 2008/02/24 23:49:23 rreid Exp $ ;; post.el --- Use (X?)Emacs(client) as an external editor for mail and new= s. to colorize my mutt mails. Stripping this down it seems, that (next-line) is the problem. I have made following simple mode: #+BEGIN_SRC: elisp "next-line.el" (defun test () (interactive) (goto-char (point-min)) (save-match-data (re-search-forward "^$" nil t)) (next-line 1)) (require 'derived) (define-derived-mode test-mode text-mode "Test" "" (test)) #+END_SRC #+BEGIN_SRC: "mutt-test" -*- mode: test; -*- =46rom: my-address@xxx.org To:=20 Cc:=20 Bcc:=20 Subject:=20 Reply-To:=20 Organization: -no organization- X-GPG-Fingerprint: 0xE4FCD563 / EF09 97BB 3731 7DC7 25BA 5C39 185C F986 E4FC D56 --=20 my-address #+END_SRC If I now do the following, emacs hangs: - start "emacs -Q" - load next-line.el - eval-buffer - load test-neuter.org (big org-mode file) - load mutt-test If I remove the line " D56" in mutt-test, than emacs does not hang. Here is my configuration output from report-emacs-bugs: Windowing system distributor `The X.Org Foundation', version 11.0.11204000 System Description: Debian GNU/Linux 7.4 (wheezy) Configured using: `configure --prefix=3D/opt/emacs24' Configured features: XPM JPEG TIFF GIF PNG SOUND GSETTINGS NOTIFY GNUTLS FREETYPE XFT ZLIB Important settings: value of $LC_COLLATE: de_DE.UTF-8 value of $LC_CTYPE: de_DE.UTF-8 value of $LC_MESSAGES: en_GB.UTF8 value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-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 input: M-x b u g s =20 e m a c s - =20 =20 r e p o r r t - =20 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 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 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 gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 8 75924 4097) (symbols 24 17699 0) (miscs 20 37 148) (strings 16 10600 3890) (string-bytes 1 288533) (vectors 8 9808) (vector-slots 4 382981 1800) (floats 8 64 65) (intervals 28 226 30) (buffers 512 13) (heap 1024 14126 551)) With kind regards Stefan --=20 Stefan-W. Hahn It is easy to make things. It is hard to make things simple.