From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IGW1OHEH7V7mDwAA0tVLHw (envelope-from ) for ; Fri, 19 Jun 2020 18:44:01 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id w9uINHEH7V4uXgAAB5/wlQ (envelope-from ) for ; Fri, 19 Jun 2020 18:44:01 +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 6EFC19403D6 for ; Fri, 19 Jun 2020 18:44:01 +0000 (UTC) Received: from localhost ([::1]:49390 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmLzc-0001O5-8k for larch@yhetil.org; Fri, 19 Jun 2020 14:44:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmLz3-0001Nl-SQ for emacs-orgmode@gnu.org; Fri, 19 Jun 2020 14:43:25 -0400 Received: from mail-qv1-xf29.google.com ([2607:f8b0:4864:20::f29]:33283) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jmLz2-0003tE-El for emacs-orgmode@gnu.org; Fri, 19 Jun 2020 14:43:25 -0400 Received: by mail-qv1-xf29.google.com with SMTP id d12so4958715qvn.0 for ; Fri, 19 Jun 2020 11:43:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:user-agent:from:to:subject:message-id:date:mime-version; bh=WNp9Y1hBS7umVBliTTsNZdmBi6wRdrdFQ1CshEzRGfU=; b=qlbJCPsVjzGr0GQZtXDH95GbbX36bQka+5KLRAkDUZe/Wl2a3Rf/1AFLzfyfgYKGP7 Bvv9d/mqb2hzepTJc/7BfosGR4vQEfKtrM12QT3L3jqx5zU3K8szBuA922HjUud6KZks XaPUwVaHAKuRGa5nD0WZOKg3S5PjS03ZzQrBTC/2J50kjvDWZ1ILwaX1EMOMVRZ1sJ77 oXo/r3TpfIPty+pp767yWJcqZ/RWByf4q+9HL9lGANZF6BGVlQRbCjTpxMJUONe4X4ov e23oYQZY/7/W4RSSSzXbMeq86IGbb4tTLDwyvEdJTGKb55H9hJIijvvcwGqULdwkcMjU rhjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:user-agent:from:to:subject:message-id :date:mime-version; bh=WNp9Y1hBS7umVBliTTsNZdmBi6wRdrdFQ1CshEzRGfU=; b=FZ/P+ZK7ouaIY8mO/EKilLrfYJHi+yF15EeBO8s36BoWvdxwcesvTK9wHCGq6S/38O X5BjIqAtbZBBxQevWOEcVn77GMiSYXKEqG1shKM5Ejqe/OT6Qi3m83DOr9csWcmVqGPI Vq5v69v8NjBvenD0TYgenEonSHSy87LFzLTliPb/zfXOBW6x9cIP2yfDSaCzREKx9Yug dnVX4ZRrDeWvdOxeqjnfaDB9lFpsKYZlf0p/JV7E1Mj0eslTPmbO1MaNjtNv2gL+BTuT c4huRXtBSak/51J0Usf6vSWltoJG1FE8rS/izri8JUyOVsaUL6LUm80HXUXh6+oeiDYH wk0A== X-Gm-Message-State: AOAM5305qqKGFA/OsZvrbVgUx6bUxqa0DJEW6wVkppo1ML78dpRSwH7/ KKj5TCp/Ag2crIg864BrBwhm8a6wAQQ= X-Google-Smtp-Source: ABdhPJwdSMZrNBSlvkKoCgGY8uK55xrvdY+pMf097erh42G/dCMCZSXQZeT8tnicqk9QhiEvG2OH6A== X-Received: by 2002:a0c:e254:: with SMTP id x20mr9844678qvl.153.1592592199048; Fri, 19 Jun 2020 11:43:19 -0700 (PDT) Received: from gusbrs-laptop ([177.98.248.249]) by smtp.gmail.com with ESMTPSA id 123sm6897571qkj.56.2020.06.19.11.43.17 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 19 Jun 2020 11:43:18 -0700 (PDT) User-agent: mu4e 1.4.10; emacs 27.0.91 From: Gustavo Barros To: emacs-orgmode@gnu.org Subject: [FR] Add check for attachments in org-lint Message-ID: <878sgi522l.fsf@gmail.com> Date: Fri, 19 Jun 2020 15:43:15 -0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=2607:f8b0:4864:20::f29; envelope-from=gusbrs.2016@gmail.com; helo=mail-qv1-xf29.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=qlbJCPsV; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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-Spam-Score: 1.59 X-TUID: gkGpxzTGiZWq Hi All, Org 'attachment:' links are essentially file links to local files and, while 'org-lint' checks 'file:' links for the existence of the corresponding files with `org-lint-link-to-local-file', as far as I can tell, the same check is not done for 'attachment:' links. So, I'd like to kindly suggest that either "attachment" be included as a case in `org-lint-link-to-local-file' or that an equivalent check for attachments be included in `org-lint'. I'd be much thankful. Best, Gustavo.