From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IE6eOWW2kGINcQEAbAwnHQ (envelope-from ) for ; Fri, 27 May 2022 13:30:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WCGdOWW2kGJ9IAAA9RJhRA (envelope-from ) for ; Fri, 27 May 2022 13:30:45 +0200 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 755F2101B0 for ; Fri, 27 May 2022 13:30:45 +0200 (CEST) Received: from localhost ([::1]:57206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nuYB2-0007Bb-Lv for larch@yhetil.org; Fri, 27 May 2022 07:30:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuXxK-0003yP-M7 for emacs-orgmode@gnu.org; Fri, 27 May 2022 07:16:36 -0400 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]:36562) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nuXxJ-0007my-7W for emacs-orgmode@gnu.org; Fri, 27 May 2022 07:16:34 -0400 Received: by mail-ed1-x52c.google.com with SMTP id fd25so5005515edb.3 for ; Fri, 27 May 2022 04:16:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version; bh=YHSXRgPj59inQvgjxz3fkCPXBCeVLpfA3AikcIFshDE=; b=f77jT8bxjVHblLcxkwY9XEa+qAV5JYP+Lrh5hHX4SxB1Nk+7/YuoFIp+VlVGKGH5/A WWlfFMsXfwy3eh3WVHfwy2GQ8KMBd3kCEQWPxCYIUJqkEUvGYPk8wgY8V2v0JCmoCpkt OJl881BKbHzBcLilXkarZyafwZLpQ8AtteRo5lVMl4fmkdwODNNZWzOKgA6k9mPzAuq/ dgCZyfZLS8ZL4PAwycvI2Ui/aR/d5w1P34OdhgNsiU1JlFv0rdfH2qTFdbpY/RXZYdZ1 8TDlABxBRL/Q3kY9Oo4gd2LpPB1gp7zK3pX7rocp3K9pjqCgNOOxDtKIZ6QYcM/CkYJ2 Pcow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version; bh=YHSXRgPj59inQvgjxz3fkCPXBCeVLpfA3AikcIFshDE=; b=vbyUP0mhpCdW197AjfccPufPo6jUVp7Y5G/CIuE4sKGsp+b1PAOF9i/usBMltREPU3 kPVav/7Y7If9l/wYHWd+46BpFysrQlIWaU0+sTb8c2F3dGGg1VmQl0pjScFj5CItjWvd T/QqG2RGk3cq0QO5bW9Imst5dSmX9Yg4Xdbp22kGSihZ3zhcAL+qPFebJOYEP1OYohTs 9cFS9/fpY6joT3IPqlGzwo8lDHTany7DsBz6LQINNpdjB0Gzw/vqCdQ0CYor79iucdhG 5uT2t3GihucapZ39X055JxhlYmD8IC0/SsIkVYmjEhg4ZyIEq6hkw6XyIHmxJbPX42vo kkkA== X-Gm-Message-State: AOAM533mF2esjteC1ZQiMOh4mNGcN4YIc/rcfJpgZGdZI7pbvunAphMn QhWqvl6SdLuWkrPRsrrwEF3lETOJtThqu/82 X-Google-Smtp-Source: ABdhPJxPfoUM7qbxMoN/nv0UKfyQ3tzt8+QIJzDWuTX5KqP9L0WvnyR2NB2IrrnZ/wN0YqaJUSjk5Q== X-Received: by 2002:a50:fa8e:0:b0:42a:b1f4:91c7 with SMTP id w14-20020a50fa8e000000b0042ab1f491c7mr43643993edr.140.1653650190917; Fri, 27 May 2022 04:16:30 -0700 (PDT) Received: from commodoroII (2-235-154-9.ip228.fastwebnet.it. [2.235.154.9]) by smtp.gmail.com with ESMTPSA id m11-20020a056402510b00b0042b6a84b230sm1987862edd.90.2022.05.27.04.16.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 May 2022 04:16:30 -0700 (PDT) From: Alessandro Bertulli To: theophilusx@gmail.com, bdarcus@gmail.com, manikulin@gmail.com Cc: emacs-orgmode@gnu.org Subject: Re: Opening org-cite links with different application Date: Fri, 27 May 2022 13:15:41 +0200 Message-ID: <87y1ynkyzm.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::52c; envelope-from=alessandro.bertulli96@gmail.com; helo=mail-ed1-x52c.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653651045; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=YHSXRgPj59inQvgjxz3fkCPXBCeVLpfA3AikcIFshDE=; b=t4/+FVjhPtF6uluExO7o+Un8u5k+qTZBSTxv32D2Qincb5Kf71iU6L/mL681gCW6JSp5WX /x4ktIi6eLN6k6FrnvAHfprJbM33xTEjTr6ygDdVSN7VBBWCkLhLcwd4kecSayvUWwVEo9 PLEOTorwXwYnjQiPanR3cpMO9nzUneZVlxkt8frb3lkxT75zrfsFjdFdggGItWnhGdwLoG HKZZvE52zkwqncqOhUpTjXRg6JEeoLkL/PeVygpwn1mWo0nN+bSDQYkFfCTIQP0dAjnGvH 3fn7FwRHcmI3DubO8dYWDxJ8ktgsAVRT8EiD/ht3AnfNVPNl8xA+W/kY0iOK+w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653651045; a=rsa-sha256; cv=none; b=r5Cw7jbxXf3hObifPxRRTcuYsAIrrNL4c0wg2goM0ADW+CTWXaH3jCWMph9yS827yrcyf2 LPRHZPomn5AjuCcw4wtXOFl6qeNn8WR+FgxQnSxqAnyG6IY8cqF8siYnmaeeXVAnbwcC2l S0jdQ5o8drZ31fyf4c7SNyZnsx4sCplr8qUF4q3Y3CX+NcFkzbPwwl2YP2DBLw9A1UvAeK VLvqZFUjcUsb/moKKmUc4beSKHmMifJ4I7VvKGKJzjkpW3e1Sg3XDQ3OpUOpttbHBcNfBM XBZiAKzwIUEsj4umXoTM8kHQOR7n/Azhl8oQqdQOciNZKYeN6rPWzEPpPaAIdA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=f77jT8bx; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.65 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=f77jT8bx; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 755F2101B0 X-Spam-Score: -7.65 X-Migadu-Scanner: scn0.migadu.com X-TUID: KtDzBVgme0ky Thanks to all for your answers! Max wrote: > I mean > (call-process "xdg-open" nil 0 nil url) > with "sioyek" instead of "xdg-open" if you do not like to set the > application as the default handler for PDF files. It will allow to avoid > additional settings for shell buffers. Of course, you will loose ability > to check command output for errors, it is shoot and forget method > suitable for most of viewers however. Thanks for the suggestion, it works quite well. I can't inspect the output, but for a PDF viewer that's actually the pretty standard behaviour, so for me it works fine right now. To Bruce and Tim: thanks, right now this solution works, but if I figure out a more clever way to do it (based on your suggestions) I'll give a shout. Alessando