From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bug-gnu-emacs@gnu.org (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#2034: marked as done (23.0.60; c-subword-mode incompatible with xml-mode) Date: Sat, 23 Jan 2010 22:36:01 +0000 Message-ID: References: <8cbpgkqwkt.fsf@fencepost.gnu.org> <87skn8xhia.fsf@transitory.lefae.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1264286161-14457-0" X-Trace: ger.gmane.org 1264286426 19536 80.91.229.12 (23 Jan 2010 22:40:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Jan 2010 22:40:26 +0000 (UTC) Cc: emacs-bug-tracker@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 23 23:40:18 2010 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 1NYoeO-0008Ly-DE for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Jan 2010 23:40:16 +0100 Original-Received: from localhost ([127.0.0.1]:37784 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NYoeP-0008N6-GI for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Jan 2010 17:40:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NYoe3-0008Ct-1r for bug-gnu-emacs@gnu.org; Sat, 23 Jan 2010 17:39:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NYody-0008B2-6h for bug-gnu-emacs@gnu.org; Sat, 23 Jan 2010 17:39:54 -0500 Original-Received: from [199.232.76.173] (port=57918 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NYods-0008AV-30; Sat, 23 Jan 2010 17:39:44 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50064) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NYodo-0000Cx-W3; Sat, 23 Jan 2010 17:39:41 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NYoaH-0003lD-Lu; Sat, 23 Jan 2010 17:36:01 -0500 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: closed 2034 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: notabug wontfix X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:34663 Archived-At: This is a multi-part message in MIME format... ------------=_1264286161-14457-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sat, 23 Jan 2010 17:34:58 -0500 with message-id <8cbpgkqwkt.fsf@fencepost.gnu.org> and subject line Re: Bug#2034: c-subword-mode incompatible with xml-mode has caused the Emacs bug report #2034, regarding 23.0.60; c-subword-mode incompatible with xml-mode to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact bug-gnu-emacs@gnu.org immediately.) --=20 2034: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D2034 Emacs Bug Tracking System Contact bug-gnu-emacs@gnu.org with problems ------------=_1264286161-14457-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 25 Jan 2009 02:10:52 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 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 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 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 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 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 Date: Sat, 24 Jan 2009 18:10:37 -0800 Message-Id: <87skn8xhia.fsf@transitory.lefae.org> To: emacs-pretest-bug@gnu.org Subject: 23.0.60; c-subword-mode incompatible with xml-mode X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) From: me@rpatterson.net 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] ------------=_1264286161-14457-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2034-done) by debbugs.gnu.org; 23 Jan 2010 22:35:04 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NYoZL-0003kY-Ui for submit@debbugs.gnu.org; Sat, 23 Jan 2010 17:35:04 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NYoZK-0003kB-BA for 2034-done@debbugs.gnu.org; Sat, 23 Jan 2010 17:35:02 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NYoZG-00016u-BZ; Sat, 23 Jan 2010 17:34:58 -0500 To: 2034-done@debbugs.gnu.org Subject: Re: Bug#2034: c-subword-mode incompatible with xml-mode From: Glenn Morris X-Spook: warfare Sundevil anarchy SCUD missile Gazprom corporate X-Ran: 2?cS0w*!WCVVKA^$;|hX^khyNLLk|B:MhTzJ]C$fZW7~Ppf?i#!?c%~:~a4J$OZ;a)j@+6 X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sat, 23 Jan 2010 17:34:58 -0500 Message-ID: <8cbpgkqwkt.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 2034-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.0 (-----) In the current trunk, c-subword-mode has been generalized into `subword-mode'. This seems to work fine with xml-mode. ------------=_1264286161-14457-0--