From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 01 13:08:24 2022 Received: (at submit) by debbugs.gnu.org; 1 Apr 2022 17:08:24 +0000 Received: from localhost ([127.0.0.1]:43300 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1naKl5-0006Au-BD for submit@debbugs.gnu.org; Fri, 01 Apr 2022 13:08:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:33538) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1naK65-00052s-Ik for submit@debbugs.gnu.org; Fri, 01 Apr 2022 12:26:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1naK65-0004GE-97 for bug-gnu-emacs@gnu.org; Fri, 01 Apr 2022 12:26:01 -0400 Received: from [2607:f8b0:4864:20::72a] (port=45610 helo=mail-qk1-x72a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1naK63-0002OS-EX for bug-gnu-emacs@gnu.org; Fri, 01 Apr 2022 12:26:01 -0400 Received: by mail-qk1-x72a.google.com with SMTP id h196so2488046qke.12 for ; Fri, 01 Apr 2022 09:25:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=naturalbridge-com.20210112.gappssmtp.com; s=20210112; h=message-id:date:mime-version:user-agent:to:subject:content-language :from:content-transfer-encoding; bh=4I6yGVaqV9Xz0uVr17JRQ+ntLuQw5FBcR/bXvgDK/O8=; b=S9yUP0b0yONOzUn74Hr586eieUQ4biORnOnUoihAhmImQXvGVOHOXH506wn41fgkzO HXTnjw+iTGn9yoRObZkfZN7Ikq5aHle0gklENVbyqhh4hcxjG3POERQmbWAzvKPJAPEl 0yQu+YMPTWXVInRr835xKfUdKxnpepkOTPTtavDZWjurK5JOBuM+P2MR/ThUbfuSD5Z9 ddI73mNneIp2uxWoPraiXyg9X/AfA3YsygO6YBaObfqK/ORkBwCUG1YVifQ5xXCQM1Gy w5oXZQtSTjIKXQiaXUGM4k00cp2Kj1OYzHALc7ssbGFTV73hQJuyXWm9RuVSdi+bx2gK z9Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:to :subject:content-language:from:content-transfer-encoding; bh=4I6yGVaqV9Xz0uVr17JRQ+ntLuQw5FBcR/bXvgDK/O8=; b=gbgUGmcXiePyszoyD+xAf3v17FBBho5j1toG7wGs/+y5d/x1LiYTHd+grZHvxz5EE8 gNY6xmutEFDMatx8W8nXBM2yFWBMQoYfHEAAEKXJNs+Bf2NuQ0RR1ffD9l4tA5JAcGfH T1D3H3Di6duUGOfICLIuzBdVBR6df6qXaVu6yER5maz54nTSSQ1VU8xs1A1CusmJLTV8 DAuqLDGbIzVWNgKk/iwDtWUkn9hlwQjygn1q88wtQkm6bAr9zbuhYQeDgyiav1a6qYWu G/Y28tpb5vFn6Hn6uhq1PnRWq8oADVts9yFcUtj2pUMZP5Gwe4IshLtR4r4/mcyhdSSA SsUQ== X-Gm-Message-State: AOAM532wrH9kEzoNWbWsakWGJRu58a+HuDKi8TutbtBqSH7xA2r99P9I pBzxFolbhuHCg0xR4qFsUgwcIY0mSpf8IQ== X-Google-Smtp-Source: ABdhPJwf3ljWgAmsotNVWgRuW8nsV2jX0fTQT+AmvOcx4qPLMnchJYSYXxK07XksvYJ5LXPlN2bYzg== X-Received: by 2002:a05:620a:15d4:b0:67d:3979:b2d4 with SMTP id o20-20020a05620a15d400b0067d3979b2d4mr7299584qkm.614.1648830357509; Fri, 01 Apr 2022 09:25:57 -0700 (PDT) Received: from [192.168.1.14] (pool-108-41-13-176.nycmny.fios.verizon.net. [108.41.13.176]) by smtp.gmail.com with ESMTPSA id z28-20020a05620a101c00b0067d940a74b2sm1448985qkj.39.2022.04.01.09.25.56 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 01 Apr 2022 09:25:56 -0700 (PDT) Message-ID: <1e008d6d-a6ec-fc12-5144-d10c3281e55a@naturalbridge.com> Date: Fri, 1 Apr 2022 12:25:55 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 To: bug-gnu-emacs@gnu.org Subject: 26.3; compilation mode tracking error messages Content-Language: en-US From: Kenneth Zadeck Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::72a (failed) Received-SPF: none client-ip=2607:f8b0:4864:20::72a; envelope-from=zadeck@naturalbridge.com; helo=mail-qk1-x72a.google.com X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 01 Apr 2022 13:08:23 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) There is a page on the web that purports to specify the format of error messages for gnu products. I would have assumed that gnuemacs would have fully implemented this set of standards. https://www.gnu.org/prep/standards/html_node/Errors.html The claim is that "When an error is spread over several files, you can use this format: file1:line1.column1-file2:line2.column2: message" gnuemacs does not seem to understand this in the next error function. It only sees the first file, line. The message ===== ../xmltools/XSD11/schemaDriver.xsd:10.1-../xmltools/XSD11/XMLSchema.xsd:86.1-../xmltools/XML/xml.xsd:4: Namespace 'http://www.w3.org/XML/1998/namespace' does not have access to items in namespace 'http://www.w3.org/2001/XMLSchema'. ===== does not seem to trigger anything for the second and third file. If this was a microsoft standard, i would understand and just suck it up, but this is a gnu standard!!!! In GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.14) of 2020-03-26, modified by Debian built on lcy01-amd64-020 Windowing system distributor 'The X.Org Foundation From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 02 11:57:52 2022 Received: (at 54671) by debbugs.gnu.org; 2 Apr 2022 15:57:52 +0000 Received: from localhost ([127.0.0.1]:46631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nag8O-0000kB-B8 for submit@debbugs.gnu.org; Sat, 02 Apr 2022 11:57:52 -0400 Received: from quimby.gnus.org ([95.216.78.240]:50856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nag8M-0000jw-Jj for 54671@debbugs.gnu.org; Sat, 02 Apr 2022 11:57:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=xwDeQOS9gWPzeGhEWXIwF0gQkpKKUYCIVWnFHzGpiKE=; b=h1+P0WaNznoDI4XZVnLBc1KO3n 9niohK2NZdTkykZy7qHDQdi9STQUQ056L0se3G5gIPRMolf8eZSxkm1jhzkhSLkQj3roTcFtF+rLh o12kg2FGUU+bsxhzapydxuh6F10f55B13qeVXu1772MSkgsY3x4Qx2qU7cEVRiFJDnYo=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nag8D-0007rQ-3R; Sat, 02 Apr 2022 17:57:43 +0200 From: Lars Ingebrigtsen To: Kenneth Zadeck Subject: Re: bug#54671: 26.3; compilation mode tracking error messages References: <1e008d6d-a6ec-fc12-5144-d10c3281e55a@naturalbridge.com> X-Now-Playing: Prince's _Sign 'O' The Times (1)_: "Forever In My Life" Date: Sat, 02 Apr 2022 17:57:39 +0200 In-Reply-To: <1e008d6d-a6ec-fc12-5144-d10c3281e55a@naturalbridge.com> (Kenneth Zadeck's message of "Fri, 1 Apr 2022 12:25:55 -0400") Message-ID: <87lewnh40c.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Kenneth Zadeck writes: > There is a page on the web that purports to specify the format of error > messages for gnu products. I would have assumed that gnuemacs > would have fully implemented this set of standards. > > http [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54671 Cc: 54671@debbugs.gnu.org, Mattias =?utf-8?Q?Engdeg=C3=A5rd?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Kenneth Zadeck writes: > There is a page on the web that purports to specify the format of error > messages for gnu products. I would have assumed that gnuemacs > would have fully implemented this set of standards. > > https://www.gnu.org/prep/standards/html_node/Errors.html > > The claim is that > > "When an error is spread over several files, you can use this format: > > file1:line1.column1-file2:line2.column2: message" > > gnuemacs does not seem to understand this in the next error function. > It only sees the first file, line. The message > > ===== > ../xmltools/XSD11/schemaDriver.xsd:10.1-../xmltools/XSD11/XMLSchema.xsd:86.1-../xmltools/XML/xml.xsd:4: Yes, I can't see any attempt to try to parse multi-file error lines in compilation-error-regexp-alist-alist (but the `gnu' rule there parses this as a single file named "../xmltools/XSD11/schemaDriver.xsd:10.1-../xmltools/XSD11/XMLSchema.xsd:86.1-../xmltools/XML/xml.xsd:" with an error on line 4, I think). I'm not sure many programs actually follow the convention stated on that URL, but it would be nice to support it, anyway. But I'm not even sure we really support having errors from several files on the same line in compilation-mode? I've added Mattias to the CCs because he was the last one to touch the `gnu' bits :-), perhaps he has some comments. (Or if anybody else has an idea, please chime in.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 02 14:08:52 2022 Received: (at 54671) by debbugs.gnu.org; 2 Apr 2022 18:08:52 +0000 Received: from localhost ([127.0.0.1]:46827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1naiBA-00047V-1q for submit@debbugs.gnu.org; Sat, 02 Apr 2022 14:08:52 -0400 Received: from mail-qv1-f52.google.com ([209.85.219.52]:39792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nagnb-0001tw-Lz for 54671@debbugs.gnu.org; Sat, 02 Apr 2022 12:40:28 -0400 Received: by mail-qv1-f52.google.com with SMTP id kd21so4311959qvb.6 for <54671@debbugs.gnu.org>; Sat, 02 Apr 2022 09:40:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=naturalbridge-com.20210112.gappssmtp.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=mTX7YcDpmfeU040xhvpvkUuqeks/UMO8Rcxpt7qifiM=; b=OXrEstR+b50dKsnr7YiXX7003vxvKQ3+1n8Vjco65plOPsnDMMsHCknSp/IY57lc1q NXHTQMtnvlRtVAb/s7pGB8Av09Vmz762WCpV0Ug120dNKbiQn3lzMHQxpjVm+0nVELk0 ESarBDZ/qTt5Ot1zhQA0HJApAoBIHW0gIK7kKOkptCiBu2GjRUe++/8+SHs3rrnvnIEg i/V0BVeQSSTNO0yRMWDXR2AxNXC6rhD8MoVigZNllIbDyo8XC+qCf6gAiKdG5Im3LjvO bd+DqC8MW9uBcADMKN4hlq/lNrUqBciFT6EaihX9J/+v+hUBq6vDeD8myt/CaCWIWzj0 Tz6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=mTX7YcDpmfeU040xhvpvkUuqeks/UMO8Rcxpt7qifiM=; b=k7xURBkuil6O9fWVID89qtklsyvJ3+nmPnpufAuQUqKaXqyichTlasANgpFh8KGfAw QlEmb6Va3xnJ5Z67gLakS1KJ0eI/sa+MmyUHbosYJXPa+4mTtn36Pp7iIts+mXMOsVj5 Y+BnKiSslPEoj+sCWSMSZoH0jkrG2pA3YbehwoFOQMIiTxNEhjd8BFZMVOwJ2IuP3rgt 8V2fr5jdct7iGHXWIxgVsq/JXzKavMenpf/lMx5FPLG8c6Qxs8ClZLTF0A8e+SjTgAn5 efHWCGjO1+y4TJpcHRCzqvuNXqlWMcal5ZcSmbNeJPXSF8PAkACijZOrPWb1mSE1tLXS GKvQ== X-Gm-Message-State: AOAM530JUvocE3E2qq4VxEGqWw7aaLU2CP1LdJsgGU5SPzOYhfmos7bm 2yb4bfmbqsGI05j33v/iE1o2yA== X-Google-Smtp-Source: ABdhPJye8mtOL51n8qERi8Wg8eQ5RN61+6LE7iPSqOiZRk8Az3PLgwH/VUm323tz4kJ07/ocZ7OBgw== X-Received: by 2002:a05:6214:b6d:b0:440:d18b:b7c3 with SMTP id ey13-20020a0562140b6d00b00440d18bb7c3mr12165066qvb.103.1648917622021; Sat, 02 Apr 2022 09:40:22 -0700 (PDT) Received: from [192.168.1.14] (pool-108-41-13-176.nycmny.fios.verizon.net. [108.41.13.176]) by smtp.gmail.com with ESMTPSA id v3-20020a05622a014300b002e1dcd4cfa9sm4482917qtw.64.2022.04.02.09.40.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 02 Apr 2022 09:40:21 -0700 (PDT) Message-ID: <051abb4d-db46-7892-cb6d-07bab35c70cd@naturalbridge.com> Date: Sat, 2 Apr 2022 12:40:20 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: bug#54671: 26.3; compilation mode tracking error messages Content-Language: en-US To: Lars Ingebrigtsen References: <1e008d6d-a6ec-fc12-5144-d10c3281e55a@naturalbridge.com> <87lewnh40c.fsf@gnus.org> From: Kenneth Zadeck In-Reply-To: <87lewnh40c.fsf@gnus.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54671 X-Mailman-Approved-At: Sat, 02 Apr 2022 14:08:50 -0400 Cc: 54671@debbugs.gnu.org, =?UTF-8?Q?Mattias_Engdeg=c3=a5rd?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I should admit to you that several years ago I was a gcc maintainer and in my time doing that, I never saw gcc generate anything like this.   But I am now writing a different tool and I had forgot the syntax of error messages and the internet came back with that page - and it does not work in emacs. What does work fine is to replace the "-" with a "\n" so that each file/lineNo is on a separate line.   Then emacs's next error will just move you from one context to the next until you find the right place. As I said in my original post, I am only submitting it, because according to GNU specific documentation, this should work. Thanks Kenny On 4/2/22 11:57, Lars Ingebrigtsen wrote: > Kenneth Zadeck writes: > >> There is a page on the web that purports to specify the format of error >> messages for gnu products. I would have assumed that gnuemacs >> would have fully implemented this set of standards. >> >> https://www.gnu.org/prep/standards/html_node/Errors.html >> >> The claim is that >> >> "When an error is spread over several files, you can use this format: >> >> file1:line1.column1-file2:line2.column2: message" >> >> gnuemacs does not seem to understand this in the next error function. >> It only sees the first file, line. The message >> >> ===== >> ../xmltools/XSD11/schemaDriver.xsd:10.1-../xmltools/XSD11/XMLSchema.xsd:86.1-../xmltools/XML/xml.xsd:4: > Yes, I can't see any attempt to try to parse multi-file error lines in > compilation-error-regexp-alist-alist (but the `gnu' rule there parses > this as a single file named > "../xmltools/XSD11/schemaDriver.xsd:10.1-../xmltools/XSD11/XMLSchema.xsd:86.1-../xmltools/XML/xml.xsd:" > with an error on line 4, I think). > > I'm not sure many programs actually follow the convention stated on that > URL, but it would be nice to support it, anyway. But I'm not even sure > we really support having errors from several files on the same line in > compilation-mode? I've added Mattias to the CCs because he was the last > one to touch the `gnu' bits :-), perhaps he has some comments. (Or if > anybody else has an idea, please chime in.) >