From: "Stefan-W. Hahn" <stefan.hahn@s-hahn.de>
To: 17281@debbugs.gnu.org
Subject: bug#17281: 24.4.50; emacs hangs in next-line
Date: Thu, 17 Apr 2014 08:10:37 +0200 [thread overview]
Message-ID: <20140417061037.GB23131@pille.home> (raw)
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 news.
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; -*-
From: my-address@xxx.org
To:
Cc:
Bcc:
Subject:
Reply-To:
Organization: -no organization-
X-GPG-Fingerprint: 0xE4FCD563 / EF09 97BB 3731 7DC7 25BA 5C39 185C F986 E4FC
D56
--
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=/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:
<help-echo> <help-echo> M-x b u g s <tab> <backspace>
<backspace> <backspace> <backspace> e m a c s - <tab>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> r e p o r r t - <backspace> <backspace>
<backspace> t - <tab> <return>
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
--
Stefan-W. Hahn It is easy to make things.
It is hard to make things simple.
next reply other threads:[~2014-04-17 6:10 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-17 6:10 Stefan-W. Hahn [this message]
2014-04-17 7:13 ` bug#17281: 24.4.50; emacs hangs in next-line Eli Zaretskii
2014-04-17 7:25 ` Stefan-W. Hahn
2014-04-17 8:00 ` Eli Zaretskii
2014-04-17 8:29 ` Stefan-W. Hahn
2014-04-17 9:03 ` Eli Zaretskii
2014-04-17 10:16 ` Eli Zaretskii
2014-04-17 11:00 ` Stefan-W. Hahn
2014-04-17 11:25 ` Eli Zaretskii
2014-04-17 12:39 ` Stefan Monnier
2014-04-17 12:37 ` Stefan Monnier
2014-04-17 12:47 ` Eli Zaretskii
2014-04-17 13:16 ` Stefan Monnier
2014-04-17 12:56 ` Stefan-W. Hahn
2014-04-17 13:13 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140417061037.GB23131@pille.home \
--to=stefan.hahn@s-hahn.de \
--cc=17281@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).