From unknown Mon Aug 18 11:08:27 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#7941 <7941@debbugs.gnu.org> To: bug#7941 <7941@debbugs.gnu.org> Subject: Status: 24.0.50; Compilation mode broken, next-error not working Reply-To: bug#7941 <7941@debbugs.gnu.org> Date: Mon, 18 Aug 2025 18:08:27 +0000 retitle 7941 24.0.50; Compilation mode broken, next-error not working reassign 7941 emacs submitter 7941 Jan Dj=C3=A4rv severity 7941 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 30 08:48:42 2011 Received: (at submit) by debbugs.gnu.org; 30 Jan 2011 13:48:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PjXdx-0004hg-Pl for submit@debbugs.gnu.org; Sun, 30 Jan 2011 08:48:42 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PjXdv-0004hU-6y for submit@debbugs.gnu.org; Sun, 30 Jan 2011 08:48:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PjXlw-0000vq-4G for submit@debbugs.gnu.org; Sun, 30 Jan 2011 08:56:57 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RFC_ABUSE_POST autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:45967) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PjXlv-0000vm-UZ for submit@debbugs.gnu.org; Sun, 30 Jan 2011 08:56:56 -0500 Received: from [140.186.70.92] (port=41184 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PjXlu-0001os-Rw for bug-gnu-emacs@gnu.org; Sun, 30 Jan 2011 08:56:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PjXlt-0000vY-NY for bug-gnu-emacs@gnu.org; Sun, 30 Jan 2011 08:56:54 -0500 Received: from smtprelay-b11.telenor.se ([62.127.194.20]:36126) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PjXlt-0000ul-E4 for bug-gnu-emacs@gnu.org; Sun, 30 Jan 2011 08:56:53 -0500 Received: from ipb4.telenor.se (ipb4.telenor.se [195.54.127.167]) by smtprelay-b11.telenor.se (Postfix) with ESMTP id 72683D0CA for ; Sun, 30 Jan 2011 14:56:49 +0100 (CET) X-SENDER-IP: [85.225.45.100] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArouAL/8RE1V4S1kPGdsb2JhbACkeQwBAQEBNS+6D4VOBI9m X-IronPort-AV: E=Sophos;i="4.60,401,1291590000"; d="scan'208";a="1710359185" Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb4.telenor.se with ESMTP; 30 Jan 2011 14:56:48 +0100 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 22E177FA05A for ; Sun, 30 Jan 2011 14:56:48 +0100 (CET) Message-ID: <4D456E1F.1060204@swipnet.se> Date: Sun, 30 Jan 2011 14:56:47 +0100 From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.14) Gecko/20110123 Thunderbird/3.1.8 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: 24.0.50; Compilation mode broken, next-error not working Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 62.127.194.20 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit 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: -4.3 (----) This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your report will be posted to the bug-gnu-emacs@gnu.org mailing list and the gnu.emacs.bug news group, and at http://debbugs.gnu.org. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': (setq compilation-scroll-output t) M-x compile (somewhere where you get warnings or errors). M-x next-error compilation-next-error-function: Wrong type argument: arrayp, nil M-x compile run-hooks: Wrong type argument: number-or-marker-p, nil A second compile doesn't work until I kill the *compilation* buffer. next-error never works. Can the "compilation--flush-parse: 1 16056" messages be turned off? Jan D. 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'. For information about debugging Emacs, please read the file /Users/jhd/src/emacs/current/nextstep/Emacs.app/Contents/Resources/etc/DEBUG. In GNU Emacs 24.0.50.11 (x86_64-apple-darwin10.6.0, NS apple-appkit-1038.35) of 2011-01-30 on zeplin Windowing system distributor `Apple', version 10.3.1038 configured using `configure '--verbose' '--enable-asserts' '--with-ns' '--without-x' 'CFLAGS=-g'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C 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: sv_SE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: tooltip-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: C-y C-a ( s e t q SPC C-w C-_ C-e C-j x c o m p i l e x n e x t - e r r o r x C-x b x r e p o r t - e m Recent messages: compilation--flush-parse: 16012 16012 compilation--flush-parse: 16023 16023 compilation--flush-parse: 16024 16024 compilation--flush-parse: 16032 16032 compilation--flush-parse: 16036 16036 compilation--flush-parse: 16011 16056 Compilation finished compilation-next-error-function: Wrong type argument: arrayp, nil (No files need saving) compilation--flush-parse: 1 16056 run-hooks: Wrong type argument: number-or-marker-p, nil Load-path shadows: None found. Features: (shadow sort gnus-util time-date mail-extr message rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug compile comint regexp-opt ring tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image fringe lisp-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 loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 01 11:27:06 2011 Received: (at 7941-done) by debbugs.gnu.org; 1 Feb 2011 16:27:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PkJ4L-0001ZB-Pb for submit@debbugs.gnu.org; Tue, 01 Feb 2011 11:27:06 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PkJ4K-0001Yh-79 for 7941-done@debbugs.gnu.org; Tue, 01 Feb 2011 11:27:04 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAE7ER01Ld/8K/2dsb2JhbAClBnS8WYVTBIUTjWiBfA X-IronPort-AV: E=Sophos;i="4.60,411,1291611600"; d="scan'208";a="90130702" Received: from 75-119-255-10.dsl.teksavvy.com (HELO ceviche.home) ([75.119.255.10]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 01 Feb 2011 11:35:26 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 5A2F8660DC; Tue, 1 Feb 2011 11:35:26 -0500 (EST) From: Stefan Monnier To: Jan =?iso-8859-1?Q?Dj=E4rv?= Subject: Re: bug#7941: 24.0.50; Compilation mode broken, next-error not working Message-ID: References: <4D456E1F.1060204@swipnet.se> Date: Tue, 01 Feb 2011 11:35:26 -0500 In-Reply-To: <4D456E1F.1060204@swipnet.se> ("Jan =?iso-8859-1?Q?Dj=E4rv=22?= =?iso-8859-1?Q?'s?= message of "Sun, 30 Jan 2011 14:56:47 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 7941-done Cc: 7941-done@debbugs.gnu.org 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: -2.0 (--) > (setq compilation-scroll-output t) > M-x compile (somewhere where you get warnings or errors). > M-x next-error > compilation-next-error-function: Wrong type argument: arrayp, nil Thanks, I just installed the patch below which should fix it. > M-x compile > run-hooks: Wrong type argument: number-or-marker-p, nil I believe I've fixed this one yesterday or so. > Can the "compilation--flush-parse: 1 16056" messages be turned off? No, of course not, they're crucial for the user. Stefan "just kidding" === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2011-02-01 10:12:25 +0000 +++ lisp/ChangeLog 2011-02-01 16:31:01 +0000 @@ -1,3 +1,8 @@ +2011-02-01 Stefan Monnier + + * progmodes/compile.el (compilation-next-error): Check there's + a message before using it (bug#7941). + 2011-02-01 Jay Belanger * calc/calc-mtx.el (math-lud-pivot-check): New function. @@ -6,8 +11,8 @@ 2011-01-31 Alan Mackenzie - * progmodes/cc-cmds.el (c-forward-over-illiterals): Continue - parsing if we encounter a naked # (Bug#7595). + * progmodes/cc-cmds.el (c-forward-over-illiterals): + Continue parsing if we encounter a naked # (Bug#7595). (c-beginning-of-statement): Avoid loop in locating the beginning of a macro. @@ -34,8 +39,8 @@ 2011-01-31 Kenichi Handa - * international/quail.el (quail-keyboard-layout-alist): Remove - superfluous SPC for "pc105-uk" (bug#7927). + * international/quail.el (quail-keyboard-layout-alist): + Remove superfluous SPC for "pc105-uk" (bug#7927). 2011-01-31 Glenn Morris === modified file 'lisp/progmodes/compile.el' --- lisp/progmodes/compile.el 2011-01-31 17:11:11 +0000 +++ lisp/progmodes/compile.el 2011-02-01 16:28:10 +0000 @@ -2140,7 +2140,7 @@ (or pt (setq pt (point))) (let* ((msg (get-text-property pt 'compilation-message)) ;; `loc', `msg', and `last' are used by the compilation-loop macro. - (loc (compilation--message->loc msg)) + (loc (and msg (compilation--message->loc msg))) last) (if (zerop n) (unless (or msg ; find message near here @@ -2154,8 +2154,7 @@ (line-end-position))) (or (setq msg (get-text-property pt 'compilation-message)) (setq pt (point))))) - (setq last (compilation--loc->file-struct - (compilation--message->loc msg))) + (setq last (compilation--loc->file-struct loc)) (if (>= n 0) (compilation-loop > compilation-next-single-property-change 1- (if (get-buffer-process (current-buffer)) From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 02 14:14:19 2011 Received: (at 7941) by debbugs.gnu.org; 2 Feb 2011 19:14:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pki9j-0005Vb-3H for submit@debbugs.gnu.org; Wed, 02 Feb 2011 14:14:19 -0500 Received: from smtprelay-h32.telenor.se ([213.150.131.5]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pki9h-0005VP-Cm for 7941@debbugs.gnu.org; Wed, 02 Feb 2011 14:14:18 -0500 Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-h32.telenor.se (Postfix) with ESMTP id DF629E9FF9 for <7941@debbugs.gnu.org>; Wed, 2 Feb 2011 20:22:42 +0100 (CET) X-SENDER-IP: [85.225.45.100] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmQ4AHk9SU1V4S1kPGdsb2JhbACIYJw7DAEBAQE1L7wIhVMEjws X-IronPort-AV: E=Sophos;i="4.60,415,1291590000"; d="scan'208";a="169718750" Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb2.telenor.se with ESMTP; 02 Feb 2011 20:22:42 +0100 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id D05777FA05A; Wed, 2 Feb 2011 20:22:41 +0100 (CET) Message-ID: <4D49AF00.1050007@swipnet.se> Date: Wed, 02 Feb 2011 20:22:40 +0100 From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.14) Gecko/20110123 Thunderbird/3.1.8 MIME-Version: 1.0 To: Stefan Monnier Subject: Re: bug#7941: 24.0.50; Compilation mode broken, next-error not working References: <4D456E1F.1060204@swipnet.se> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 7941 Cc: 7941@debbugs.gnu.org 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: -2.3 (--) Stefan Monnier skrev 2011-02-01 17.35: >> (setq compilation-scroll-output t) >> M-x compile (somewhere where you get warnings or errors). >> M-x next-error >> compilation-next-error-function: Wrong type argument: arrayp, nil > > Thanks, I just installed the patch below which should fix it. Confirmed, thanks. Jan D. From unknown Mon Aug 18 11:08:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 03 Mar 2011 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator