From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: me@rpatterson.net Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#2034: 23.0.60; c-subword-mode incompatible with xml-mode Date: Sat, 24 Jan 2009 18:10:37 -0800 Message-ID: <87skn8xhia.fsf@transitory.lefae.org> Reply-To: me@rpatterson.net, 2034@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1232850225 14427 80.91.229.12 (25 Jan 2009 02:23:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Jan 2009 02:23:45 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 25 03:24:58 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 1LQugD-00068b-O7 for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jan 2009 03:24:58 +0100 Original-Received: from localhost ([127.0.0.1]:59338 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQuev-0000dl-UP for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Jan 2009 21:23:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQuer-0000bx-3d for bug-gnu-emacs@gnu.org; Sat, 24 Jan 2009 21:23:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQuep-0000bM-Bm for bug-gnu-emacs@gnu.org; Sat, 24 Jan 2009 21:23:31 -0500 Original-Received: from [199.232.76.173] (port=36587 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQuep-0000bJ-3i for bug-gnu-emacs@gnu.org; Sat, 24 Jan 2009 21:23:31 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:52824) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LQueo-0005Iu-LC for bug-gnu-emacs@gnu.org; Sat, 24 Jan 2009 21:23:30 -0500 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 n0P2NS2L024928; Sat, 24 Jan 2009 18:23:29 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0P2K3Ux023803; Sat, 24 Jan 2009 18:20:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: me@rpatterson.net Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 25 Jan 2009 02:20:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 2034 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123284945222530 (code B ref -1); Sun, 25 Jan 2009 02:20:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 25 Jan 2009 02:10:52 +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 n0P2Ah0p022523 for ; Sat, 24 Jan 2009 18:10:44 -0800 Original-Received: from mail.gnu.org ([199.232.76.166]:53198 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LQuQu-0003G3-7E for emacs-pretest-bug@gnu.org; Sat, 24 Jan 2009 21:09:08 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LQuSP-0004c9-Gx for emacs-pretest-bug@gnu.org; Sat, 24 Jan 2009 21:10:42 -0500 Original-Received: from rpatterson.net ([69.12.174.198]:48670 helo=lefae.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LQuSO-0004bt-V0 for emacs-pretest-bug@gnu.org; Sat, 24 Jan 2009 21:10:41 -0500 Original-Received: from transitory.lefae.org ([::ffff:192.168.0.110]) (AUTH: PLAIN xen, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by lefae.org with esmtp; Sat, 24 Jan 2009 18:10:38 -0800 id 00CE4066.497BCA1E.000034C7 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 24 Jan 2009 21:23:31 -0500 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:24482 gmane.emacs.pretest.bugs:23754 Archived-At: Running "M-x c-subword-mode" in a buffer using xml-mode will raise the following error: c-update-modeline: Wrong type argument: stringp, (sgml-xml-mode "XML" "SGML") Here is the output from the debugger: Debugger entered--Lisp error: (wrong-type-argument stringp (sgml-xml-mode "XML" "SGML")) string-match("\\(^[^/]*\\)/" (sgml-xml-mode "XML" "SGML")) c-update-modeline() c-subword-mode() Apparently, the c-update-modeline counts on mode-name being a string when in an xml-mode buffer mode-name is a list. In GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.14.4) of 2008-12-05 on iridium, modified by Debian (emacs-snapshot package, version 1:20081205-1) Windowing system distributor `The X.Org Foundation', version 11.0.10502000 configured using `configure '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS='' 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: Debugger Minor modes in effect: shell-dirtrack-mode: t show-paren-mode: t server-mode: t diff-auto-refine-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 column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-y C-x C-s C-x b C-y C-x C-s C-SPC C-w C-y C-x C-s C-x b C-y C-x C-s C-x b m m m m m m m m m m m C-x o C-x b C-SPC M-w C-SPC M-w C-SPC M-w C-x o M-< Q C-y M-y C-y M-y C-g C-g Q C-y Q SPC C-x C-s C-x b M-x t o g g d e b r e r r Q C-h f s g m l - x m l m o C-g C-g C-g S-SPC C-g C-SPC M-f M-f C-c p g C-g C-x b m e s s M-v C-x b C-s s t r i n g p C-g C-g C-g C-x o M-x r e p o r b Recent messages: uncompressing cc-cmds.el.gz...done Note: file is write protected nnimap: Updating info for devel...done nnimap: Updating info for devel...done nnimap: Updating info for devel...done Quit [2 times] nnimap: Updating info for buy.lists...done nnimap: Updating info for buy.lists...done nnimap: Updating info for buy.lists...done Making completion list... [2 times]