From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#2929: 23.0.92; Broken auto-filling in message-mode Date: Wed, 08 Apr 2009 12:06:51 +0200 Message-ID: <87zlera284.fsf@thinkpad.tsdh.de> Reply-To: Tassilo Horn , 2929@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1239186259 8974 80.91.229.12 (8 Apr 2009 10:24:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Apr 2009 10:24:19 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 08 12:25:38 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LrUyH-0003K1-7s for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Apr 2009 12:25:29 +0200 Original-Received: from localhost ([127.0.0.1]:46051 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrUws-0007Iu-Jt for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Apr 2009 06:24:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LrUwm-0007Hm-Tb for bug-gnu-emacs@gnu.org; Wed, 08 Apr 2009 06:23:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LrUwi-0007GK-Ni for bug-gnu-emacs@gnu.org; Wed, 08 Apr 2009 06:23:56 -0400 Original-Received: from [199.232.76.173] (port=57799 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrUwi-0007GH-Ia for bug-gnu-emacs@gnu.org; Wed, 08 Apr 2009 06:23:52 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:45550) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LrUwi-00088o-0y for bug-gnu-emacs@gnu.org; Wed, 08 Apr 2009 06:23:52 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n38ANmiE032129; Wed, 8 Apr 2009 03:23:49 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n38AF4XJ029562; Wed, 8 Apr 2009 03:15:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Tassilo Horn Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 08 Apr 2009 10:15:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 2929 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123918523127907 (code B ref -1); Wed, 08 Apr 2009 10:15:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 8 Apr 2009 10:07:11 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n38A76BC027887 for ; Wed, 8 Apr 2009 03:07:07 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:47769 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LrUgT-00012S-9k for emacs-pretest-bug@gnu.org; Wed, 08 Apr 2009 06:07:05 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LrUgO-0005Fe-I1 for emacs-pretest-bug@gnu.org; Wed, 08 Apr 2009 06:07:04 -0400 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:3909) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LrUgM-0005E8-FC for emacs-pretest-bug@gnu.org; Wed, 08 Apr 2009 06:06:58 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 38783789B59F for ; Wed, 8 Apr 2009 12:06:56 +0200 (CEST) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22131-06-2 for ; Wed, 8 Apr 2009 12:06:52 +0200 (CEST) X-CHKRCPT: Envelopesender vrfy thorn@fastmail.fm Original-Received: from thinkpad.tsdh.de (dhcp171.uni-koblenz.de [141.26.71.171]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 18A7F789AA04 for ; Wed, 8 Apr 2009 12:06:51 +0200 (CEST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-Virus-Scanned: amavisd-new at uni-koblenz.de X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 08 Apr 2009 06:23:56 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:27002 gmane.emacs.pretest.bugs:24248 Archived-At: Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing lis= t. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: I use this message-mode setup: --8<---------------cut here---------------start------------->8--- (defun th-message-mode-init () (setq fill-column 72) (turn-on-auto-fill)) (add-hook 'message-mode-hook 'th-message-mode-init) --8<---------------cut here---------------end--------------->8--- When I follow up to a message and write some text longer than fill-column it is wrapped, but comment chars are inserted. Here's an example: --8<---------------cut here---------------start------------->8--- --text follows this line-- Tim Landscheidt writes: > Wenn aber Gnus ein www.gnus.org "erkennt", dann wird die > Benutzererwartung (hoffentlich :-)) mit dem =FCbereinstimmen, > was Gnus darin gesehen hat; nur muss Gnus das dann halt noch > browse-*url* mitteilen. foo bar baz bece bec,g imtcp.cm muitmui mit.pm mtim.p kmtekm kmcteik */ > ketm=20 --=20 Chuck Norris once ate a whole cake before his friends could tell him there = was a stripper in it.=20 --8<---------------cut here---------------end--------------->8--- The line starting with "foo bar baz" was entered by me and after inserting a space after "ketm" the comment chars where inserted. (`comment-start' is ">" and `comment-end' is "*/" in message-mode.) I was able to reproduce that with emacs -Q by invoking M-x mail, switching to message-mode, enabling auto-fill-mode, setting comment-end to "*/", inserting the text above, and starting to write. It seems to me that comment-end set to "*/" seems to trigger this behavior. When I do the emacs -Q procedure it's set to "" by default, and then the bug doesn't occur. So I guess message-mode should set it to "" in order to avoid such strange effects. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/share/emacs/23.0.92/etc/DEBUG for instructions. In GNU Emacs 23.0.92.1 (x86_64-pc-linux-gnu, GTK+ Version 2.14.7) of 2009-04-06 on thinkpad Windowing system distributor `The X.Org Foundation', version 11.0.10503000 configured using `configure '--prefix=3D/usr' '--host=3Dx86_64-pc-linux-gn= u' '--mandir=3D/usr/share/man' '--infodir=3D/usr/share/info' '--datadir=3D/= usr/share' '--sysconfdir=3D/etc' '--localstatedir=3D/var/lib' '--libdir=3D/= usr/lib64' '--program-suffix=3D-emacs-23' '--infodir=3D/usr/share/info/emac= s-23' '--with-sound' '--with-x' '--with-toolkit-scroll-bars' '--with-gif' '= --with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--with-= freetype' '--with-xft' '--with-libotf' '--with-m17n-flt' '--with-x-toolkit= =3Dgtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--wi= th-gpm' '--with-dbus' '--build=3Dx86_64-pc-linux-gnu' 'build_alias=3Dx86_64= -pc-linux-gnu' 'host_alias=3Dx86_64-pc-linux-gnu' 'CFLAGS=3D-g -ggdb -O1 -p= ipe' 'LDFLAGS=3D'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Group Minor modes in effect: diff-auto-refine-mode: t gnus-topic-mode: t gnus-undo-mode: t shell-dirtrack-mode: t rcirc-track-minor-mode: t recentf-mode: t window-number-meta-mode: t window-number-mode: t savehist-mode: t exec-abbrev-cmd-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-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 input: f u n M-2 C-h f=20 M-2 M-1 M-2 =20 =20 C-h=20 f M-2 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 C-x k=20 C-x k C-h v c o m m e n t =20 s t a C-h v c o m m =20 e n e n =20 =20 C-c C-c c l s =20 c c c c v v s s=20 C-g C-g # # B y q l s M-x r e b Recent messages: 20090408T114418.071> Deleting article 743 in gmx 20090408T114418.140> Registry: article <20090408105557.A890C23063A@mx9.kjm2= .de> going from nnml+Popmail:gmx to nil 20090408T114418.141> Registry: article <8815992.30750761239180429897@ecmess= enger> going from nnml+Popmail:gmx to nil 20090408T114418.302> Exiting summary buffer and applying spam rules 20090408T114418.412> No more unread newsgroups (No changes need to be saved) 20090408T114419.998> Saving /home/horn/.newsrc.eld... Saving file /home/horn/.newsrc.eld... Wrote /home/horn/.newsrc.eld 20090408T114420.055> Saving /home/horn/.newsrc.eld...done --=20 Chuck Norris once shat blood - the blood of 11,940 natives he had killed an= d eaten.=20