From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sKYsO51UaGCrQgEAgWs5BA (envelope-from ) for ; Sat, 03 Apr 2021 13:42:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id CK4ANZ1UaGBnEgAA1q6Kng (envelope-from ) for ; Sat, 03 Apr 2021 11:42:21 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1DA2E19D4E for ; Sat, 3 Apr 2021 13:42:20 +0200 (CEST) Received: from localhost ([::1]:49962 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lSefT-0005xi-26 for larch@yhetil.org; Sat, 03 Apr 2021 07:42:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSeel-0005wY-UL for emacs-orgmode@gnu.org; Sat, 03 Apr 2021 07:41:36 -0400 Received: from mail-oln040092255077.outbound.protection.outlook.com ([40.92.255.77]:31040 helo=APC01-HK2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSeei-0002ms-TJ for emacs-orgmode@gnu.org; Sat, 03 Apr 2021 07:41:35 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mfWbWq1hWwxj+nqqDqhRmIW8oE7tpoxhibCE6pSXKo7vDRtBgezZTuewrMi0FdWCxgqk3mIhN3wFOoLvlZdOtlVmvZzqsY6Faq7egWsRj22zFnkbKjsIamYsxINJ0bB00MIyjtTbtqeLag4tdNwpktTtLus2I//cL9P3BSDfwkzfjtSO8zPQa61R0WAP0mD1G6Ox/dCfDIlKHqC8xyIl+3CInqpmEUhn05AlugXGVB5aLaeBnC9Gon8vtpG2ttuRKcHY7iuUmzK2bWN6uPEXWHHt3ZLgEkpuKmgVc++9RvWmMtgQfk7/O1j9nKA8zvroPK/E+ma3J9yaj2Y11hkykQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=buEbLj7QuaH+p+fBnjh07SFWgyyu779xcOwnF+ll6j8=; b=HwkhEGzo/ebKJcCXQHt4/4djlln+UVE7I+LFHGDriGjgzJOER4ESQPe6cOgF3445+r2q+PwnvStkI2rZP8oMw2Mbgv3ljqRNu/SJyxMMjX25ZmQVRtgHS3DgUYRbmgxq+xA8LYd1f9fRwKlvk+vJsHSiNX0O36SL2mkzG0hMBQ4yUUxRDUmqWv0ANoNAq6lNPo4DB82EHKXQ1mNQT/gMwFMnypBjPXbkvcTRk+1NVXhOj7rsiAZbQF5oBh75g9Lmco1GRGwH3rjdtDM+lZ3cGDDZzeV4gbSc/Z02Pgy1KGNiJuAFGEcLhywtLneTPYc2HXoIYEMfGrEbTEdA+53WVg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=buEbLj7QuaH+p+fBnjh07SFWgyyu779xcOwnF+ll6j8=; b=FaUBDvzA1S/4whLQsYPzLmDKTQ+6djiccdIlZhzBwjuuhxFJYh2IRRqprhhkA8hEJWallGPfwHyVe06atTN0K1RE5n7fjbLpXEm72VMScMnlo88Rg6kcm1Bet1WT6EhGZ4uCcfsWo3hD3yX8Vm5RFXs8/nzOQd7rOnPIGob/4xC70T1DpxQPD3GWjLhnn+bUCjAYPMKG4KOGy0VlYkojeLnyK5xqbbO4MvXCygrK0wJzVoUSZzczsSc5gNSaL/o7Pv1egFr33ZxeKtpon0AkMIC79lWdgK1yte7Yc7WGuugl17WyJbvA2JdaFRVdpINzeURL6PLirnOusYmZ1r/o8Q== Received: from TY2PR0101MB3693.apcprd01.prod.exchangelabs.com (2603:1096:404:800f::16) by TY2PR0101MB2255.apcprd01.prod.exchangelabs.com (2603:1096:404:61::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.26; Sat, 3 Apr 2021 11:41:23 +0000 Received: from TY2PR0101MB3693.apcprd01.prod.exchangelabs.com ([fe80::4980:4d7f:474b:de2c]) by TY2PR0101MB3693.apcprd01.prod.exchangelabs.com ([fe80::4980:4d7f:474b:de2c%3]) with mapi id 15.20.3999.032; Sat, 3 Apr 2021 11:41:23 +0000 Subject: Re: Bug: Error while exporting o TexInfo. Html export works fine. [9.4.4 (release_9.4.4 @ /usr/local/share/emacs/28.0.50/lisp/org/)] To: emacs-orgmode@gnu.org References: <874kgospen.fsf@nicolasgoaziou.fr> <87v993pvlw.fsf@nicolasgoaziou.fr> From: Ramesh Nedunchezian Message-ID: Date: Sat, 3 Apr 2021 17:11:14 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 In-Reply-To: <87v993pvlw.fsf@nicolasgoaziou.fr> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TMN: [nt1O6GWXCFiwKD0MwiEoA/uENWoylxDt0x5ChNwFAYA=] X-ClientProxiedBy: MAXPR0101CA0010.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:c::20) To TY2PR0101MB3693.apcprd01.prod.exchangelabs.com (2603:1096:404:800f::16) X-Microsoft-Original-Message-ID: <344c67fd-f69f-34ac-5353-29445317b308@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.43.244] (117.230.168.115) by MAXPR0101CA0010.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:c::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.26 via Frontend Transport; Sat, 3 Apr 2021 11:41:22 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 559b9e6b-10dc-46f4-e68c-08d8f6956829 X-MS-TrafficTypeDiagnostic: TY2PR0101MB2255: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OBNf/dS5RTtovA7SKjkNa89k61Qa2xCn6EW7HWVjJbKY0c+UvjtiwS+ZA8GfhJWDm6tPvUFTWyFJ8TOs3GdK4637YQt6fWw5hMnB8hBwUKI/CateRaYorUxpHF138yG7Ple51g8kbN3+oTF+DVfzjPN8ShOb3Iz63KlAnulp6AvAycOwsNrmo9WuvCdYO+pkc3B5po1rTZYUeNPO5KCnNfaIGUbpZmlBtO/hhuaSKhZ5E1gOSYYDk6+jgzZT64uZwY+XCrSUSDziM1yMllllpud9KXU4AZ5kYTxpWIDhG9lpdJxv80Es3DP/HWbugSTrHz7kZ2FIXtOLpiwImhg0v79RIXh2vN4XPQs9zgugmKulCcneG7GrTjkIHF9TUfn0mOeoUh3fsIdEHE1QLk4H+zxnrgC1QoNuOZq9gC5c8o0Tjn+PO89ZbOmyN1PBBDuk X-MS-Exchange-AntiSpam-MessageData: Bju6jY3RkYPvlpsfMWAGibvZCIuYfKXPmuY+NKQ+9oPVGEBen+3s29n8rzAEz/mWESf11AX9j66NcSV1YAOsb+QkuuI+OLhAi/7RB3Bhk0iI1pfl1SOcqYAB3CBBn3r6FU7otKijy9JDGdnYbjnh+w== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 559b9e6b-10dc-46f4-e68c-08d8f6956829 X-MS-Exchange-CrossTenant-AuthSource: TY2PR0101MB3693.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Apr 2021 11:41:23.5980 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY2PR0101MB2255 Received-SPF: pass client-ip=40.92.255.77; envelope-from=rameshnedunchezian@outlook.com; helo=APC01-HK2-obe.outbound.protection.outlook.com X-Spam_score_int: 2 X-Spam_score: 0.2 X-Spam_bar: / X-Spam_report: (0.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617450140; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=buEbLj7QuaH+p+fBnjh07SFWgyyu779xcOwnF+ll6j8=; b=Hx9QG/RIl4SyiY5Xlg3C8oxW6x+IFrESiiaedTsfa8ZOy8avHBOI4GNKpHSsk1Wipob6cD QsZdvZS+z3JY94Wlb3I90FRkNN1gnjgG7Ag63wSL6YGrWsTnXD6gva548eg1O2JnFTWQK0 vz9PpQ42M2bf0N6sbO0a/GS3DikeRi7O/u1BoiZUv372rL0yAZPGuPjMPswMpFL1rJ9XPe 2UAfFrFIWBAdMjfrJpXFa+YbeFa9N/+jzraEU34nKrDbugcMsf/wnVerQYFIR31WL9CH1E vaf2frbXJ98BFpI2r+Rhq7Uz/XUTn+LvVBDl5MvbvD5qkvnbZAxf0DBw7CYp8A== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1617450140; a=rsa-sha256; cv=pass; b=IBBFq06f23pdal6V8OaB6+O5nedCN+g9gp5cwjopafvdVah6yHkHgElGuFKhMXFCb7y+t1 dk0ds12QZi2kSKqCbVecrz8gPgNnQ/UgwZ0z4VESxAiVW+9HzfASrrwp0XFLUzvMaFZzjl eRd2s4EQxNq7N7Ccx5AIcAwJMszY5hz1bFlcKykOK6Y8I6Soe9rGr5Rx6x9+Kp0JLizsxa 4MWdD4XR6j15k8b4Wa24Ej9UFb5vMg2yQjZ3Rx48wUWrSoFTxGRk6sZxVtzWFLlaV/ZiHx 5jtsnMzgzQkx72Ksi0SO3FXZK6mQWKiVcrGtLFu8twqRXVfxrX4i862rb1jxcw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=FaUBDvzA; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -4.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=FaUBDvzA; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=outlook.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 1DA2E19D4E X-Spam-Score: -4.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: CJc0Z10SsPMB On 03/04/21 2:56 pm, Nicolas Goaziou wrote: > Hello, > > Ramesh Nedunchezian writes: > >> I was expecting that the linter report will be in >> `compilation-minor-mode`. > > Well, it isn't, obviously. > >> With things as it is now, is there a way I can quickly move between >> next or previous errors, when I am in _either_ of the source buffer or >> the linter report? > > You move back to the linter report and proceed from there. I cannot > think of any other way. Some one has integrated flycheck with `org-lint'. I am copying their code verbatim here https://github.com/flycheck/flycheck/issues/1757#issuecomment-759546940. Full credit goes to https://github.com/czikus. The author of the snippet is massaging (org-lint)'s output--note that this is a elisp list--in to something that one wold expect from a compiler i.e., a set of error messages in stdout. Flycheck is invoking emacs on command line. This suggests that making (org-lint) throwout errors on stdout would be of immediate use to flycheck-like apps. That said, it would be useful to add file name (optionally) to the tabulated list output. (What if one wants to run `org-lint' on all files that they want to publish?) (defconst flycheck-org-lint-form (flycheck-prepare-emacs-lisp-form (require 'org) (require 'org-attach) (let ((source (car command-line-args-left)) (process-default-directory default-directory)) (with-temp-buffer (insert-file-contents source 'visit) (setq buffer-file-name source) (setq default-directory process-default-directory) (delay-mode-hooks (org-mode)) (setq delayed-mode-hooks nil) (dolist (err (org-lint)) (let ((inf (cl-second err))) (princ (elt inf 0)) (princ ": ") (princ (elt inf 2)) (terpri))))))) (defconst flycheck-org-lint-variables '(org-directory org-id-locations org-id-locations-file org-attach-id-dir org-attach-use-inheritance org-attach-id-to-path-function-list) "Variables inherited by the org-lint subprocess.") (defun flycheck-org-lint-variables-form () (require 'org-attach) ; Needed to make variables available `(progn ,@(seq-map (lambda (opt) `(setq-default ,opt ',(symbol-value opt))) (seq-filter #'boundp flycheck-org-lint-variables)))) (flycheck-define-checker org-lint "Org buffer checker using `org-lint'." :command ("emacs" (eval flycheck-emacs-args) "--eval" (eval (concat "(add-to-list 'load-path \"" (file-name-directory (locate-library "org")) "\")")) "--eval" (eval (flycheck-sexp-to-string (flycheck-org-lint-variables-form))) "--eval" (eval flycheck-org-lint-form) "--" source) :error-patterns ((error line-start line ": " (message) line-end)) :modes (org-mode))