From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Allan Gottlieb Newsgroups: gmane.emacs.bugs Subject: bug#4366: 23.1; Can't turn off visual-line-mode via html-mode-hook Date: Mon, 07 Sep 2009 11:14:45 -0400 Message-ID: Reply-To: Allan Gottlieb , 4366@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1252337243 1712 80.91.229.12 (7 Sep 2009 15:27:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Sep 2009 15:27:23 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 07 17:27:16 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 1Mkg7f-0001fi-Ee for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Sep 2009 17:27:15 +0200 Original-Received: from localhost ([127.0.0.1]:38819 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mkg7e-0007rj-Ng for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Sep 2009 11:27:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mkg7Z-0007q7-Av for bug-gnu-emacs@gnu.org; Mon, 07 Sep 2009 11:27:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mkg7U-0007li-8d for bug-gnu-emacs@gnu.org; Mon, 07 Sep 2009 11:27:08 -0400 Original-Received: from [199.232.76.173] (port=52650 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mkg7U-0007l8-01 for bug-gnu-emacs@gnu.org; Mon, 07 Sep 2009 11:27:04 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:37509) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mkg7S-0003k5-Ub for bug-gnu-emacs@gnu.org; Mon, 07 Sep 2009 11:27:03 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n87FQwr4007880; Mon, 7 Sep 2009 08:26:58 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n87FK4I9006463; Mon, 7 Sep 2009 08:20:04 -0700 Resent-Date: Mon, 7 Sep 2009 08:20:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Allan Gottlieb Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 07 Sep 2009 15:20:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4366 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12523365015375 (code B ref -1); Mon, 07 Sep 2009 15:20:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 7 Sep 2009 15:15:01 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n87FExIL005337 for ; Mon, 7 Sep 2009 08:15:00 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mkfvm-0006B2-E5 for bug-gnu-emacs@gnu.org; Mon, 07 Sep 2009 11:14:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mkfvh-00063H-QX for bug-gnu-emacs@gnu.org; Mon, 07 Sep 2009 11:14:57 -0400 Original-Received: from [199.232.76.173] (port=48010 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mkfvg-00062g-Ia for bug-gnu-emacs@gnu.org; Mon, 07 Sep 2009 11:14:52 -0400 Original-Received: from smtp.cs.nyu.edu ([128.122.80.33]:45743) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mkfvg-0000hN-5S for bug-gnu-emacs@gnu.org; Mon, 07 Sep 2009 11:14:52 -0400 Original-Received: from ajglap.localdomain (ool-4578da1c.dyn.optonline.net [69.120.218.28]) (authenticated bits=0) by smtp.cs.nyu.edu (8.14.3/8.13.8) with ESMTP id n87FEoYG014932 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 7 Sep 2009 11:14:50 -0400 (EDT) Original-Received: by ajglap.localdomain (Postfix, from userid 1502) id 579D319D922; Mon, 7 Sep 2009 11:14:45 -0400 (EDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 07 Sep 2009 11:27:08 -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:30842 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 bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Have /tmp/fun.el contain (defun visual-off-fill-on () "For html, turn OFF visual-line-mode and turn-ON auto fill" (visual-line-mode 0) (auto-fill-mode 1)) Start emacs -Q (load-file "/tmp/fun.el") (global-visual-line-mode) (add-hook 'html-mode-hook 'visual-off-fill-on) (find-file "/tmp/x.html") ; non-existent file mode line shows fill as expected, but also shows wrap, the bug. However, if one does instead Start emacs -Q (load-file "/tmp/fun.el") (global-visual-line-mode) (find-file "/tmp/x.html") ; non-existent file (visual-off-fill-on) then all is well (mode line shows fill and not wrap). thanks for emacs, allan 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.1/etc/DEBUG for instructions. In GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.14.7) of 2009-08-17 on ajglap Windowing system distributor `The X.Org Foundation', version 11.0.10503000 configured using `configure '--prefix=/usr' '--build=i686-pc-linux-gnu' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--with-sound' '--with-x' '--with-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--without-rsvg' '--with-tiff' '--with-xpm' '--with-xft' '--without-libotf' '--without-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-O2 -march=prescott -pipe' 'LDFLAGS=-Wl,-O1'' 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: nil value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Summary Minor modes in effect: gnus-mailing-list-mode: t iswitchb-mode: t delete-selection-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 global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: . I SPC p l a n SPC o n SPC s u b f i l l i n g SPC a SPC b u g SPC r e p o r t SPC u n l e s s SPC s o m e o n e SPC e x p l a i n s SPC . a l l a n C-c C-c M-x r e p o r t - e m a c s - u b u g c a n t ' t SPC t u r n SPC v i s u a l - l i n e - m o d e SPC o f f SPC v i a SPC h t m l - m o d e - h o o k C-x b C-x o C-x o C-x b i n f o u u C-s h t m l C-g q M-x r e p o r t - e m a c s - b u g C-g C-x b C-s b u C-g M-x r e p o r t - e m a c s - b u g Recent messages: Auto-saving...done Sending... Sending via mail... Wrote /home/gottlieb/Mail/MAIL/320979 Sending...done byte-code: Command attempted to use minibuffer while in minibuffer bunzip2ing elisp-4.info.bz2...done bunzip2ing elisp-10.info.bz2...done Mark saved where search started Quit Quit