From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QgfxAp3NTWILggEAgWs5BA (envelope-from ) for ; Wed, 06 Apr 2022 19:27:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mKPLOZzNTWJRcQEAauVa8A (envelope-from ) for ; Wed, 06 Apr 2022 19:27:56 +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 65946165CC for ; Wed, 6 Apr 2022 19:27:56 +0200 (CEST) Received: from localhost ([::1]:50244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nc9Rj-0007m8-Hv for larch@yhetil.org; Wed, 06 Apr 2022 13:27:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55592) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nc9Qa-0007Kl-1b for emacs-orgmode@gnu.org; Wed, 06 Apr 2022 13:26:44 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:41566) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nc9QY-0008Rj-CT for emacs-orgmode@gnu.org; Wed, 06 Apr 2022 13:26:43 -0400 Received: by mail-wr1-x431.google.com with SMTP id k23so4267441wrd.8 for ; Wed, 06 Apr 2022 10:26:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=dOjej1NDK/h7y9uIWNo7FUl5hu09WSZtKjOcWUuSml4=; b=p1qcko9PqFJ+3WpfiX/Af78wmlebw86EBK7i5PY1+zjNWGfq9Y3p6VGEHYHmvr5QhD 5inc6cGuGkIsd8SxJi1XBMXS+hbPi3v9xJFmWU8qoyaQ4gQAHpfvMYmmv6z9MqgWNqal dw5Ti7BlArQRrV6kj4sSNijS9O3Mfxwppc0aJ4Uy9hO+BKQY9H1Xyb9oHhdTPG830kc/ aq9eTKPqraquWsFBsFabxx5HcSTHMqeUeSZg+xJBOZvb+jDdJcwVLGPdpNkQoMrJm0Xr XirJHLnXIDrgXILXTT7TrkgC/Pi9H2QNHZp1WwqPYeKxqJI/YjmyWWgsX3jx/Kp3cYxZ hikg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=dOjej1NDK/h7y9uIWNo7FUl5hu09WSZtKjOcWUuSml4=; b=xG2jcfaTXVetSosRAgUD31/4UzrHzn4hcX88NO1AIroHO6fZSFQlGBD1r/ELgW7wCv 6QMecu7Fy+XhIVH8fDXDPsXf9GmEDC4PlX3DdBXL3Bb+Mi8sic243XtdgU25f4WoEqfF xG1xD07I8i5Z/jCZWZoPWHXslSxtT6E8A6plki0pttfYhWy9hWo/2wQeoQiWa3UuqweD xbK6LEGNBLBA/w8tVrqnlGhYA6lFIBgmubDuZWdHqFP/d2JWn9Dl6FZ8uwd24+etUC3M iU5oVZomjVncuiMLVGZItEqmmJKVVqImvkCz5ElJHnVm6lAU39kuy9bllAoIi/QhwpPl 3xUg== X-Gm-Message-State: AOAM531MuMOYEo67r8ULChYE2cbdSc6iok///ZRMnMvIJRv/nF6MF1KU G1zNXLcqESbAXzO5c23bmYLZcYcrVIY= X-Google-Smtp-Source: ABdhPJzpOBwLGcVFuoU0xzWig80B4Wkz14pjkyaPv5S4nXMd4373vFG0N8c5FKs/Ef6oNBRPrrTsfg== X-Received: by 2002:a05:6000:110e:b0:206:1cfa:b27c with SMTP id z14-20020a056000110e00b002061cfab27cmr7412852wrw.274.1649266000238; Wed, 06 Apr 2022 10:26:40 -0700 (PDT) Received: from pluto.localnet (alagny-552-1-17-142.w83-200.abo.wanadoo.fr. [83.200.104.142]) by smtp.gmail.com with ESMTPSA id z5-20020a05600c0a0500b0037bb8df81a2sm6375813wmp.13.2022.04.06.10.26.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 10:26:39 -0700 (PDT) From: chris To: emacs-orgmode@gnu.org Subject: `M-x org-open-at-point` on `[[file:/path/file.hs][name]]` says: "Running less /home/path/file.hs" Date: Wed, 06 Apr 2022 19:26:38 +0200 Message-ID: <3664117.kQq0lBPeGt@pluto> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="nextPart3428921.iIbC2pHGDl" Content-Transfer-Encoding: 7Bit Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=inkbottle007@gmail.com; helo=mail-wr1-x431.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, HTML_MESSAGE=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=1649266076; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=dOjej1NDK/h7y9uIWNo7FUl5hu09WSZtKjOcWUuSml4=; b=WYZg03eShmCmZEXlyAY8wObvOpNyr69O0ce0qQeIQ0/PeKx2a/x2XB+I/rGBW42MfMJUEK BgTkaM3HVRjBW7EOHyncmf+pRsfVUWCULHQfIrFU4e3y6cC1FUPEjuuI8GgAFOyH2S/VJN oA4V27vRXlWGlBzPtLDy8FcG2IZGyzYP91R07oRRwK3sm1Vc6/Pa8BmQpuht1Ei6PnPCNI Dm3HCZ4UQwcgQdWbp3lhTH1LTMwET7KKj9t/gZa6NSYt0gzeTjZa/zm3Pg5Q+eNbd3wqgU Z33wKxImf4uS5vidgAofS3sPWP7PGwbWMw3/vAgvv6s3rZ68NnQWl0BAe4iz/Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649266076; a=rsa-sha256; cv=none; b=eNgqdeaSq1sVeT9E+gJY/ozEQk4UwmMvvP0dEqORJ0zTB1WNNMEVQKTwDur3OpH8q0uffZ fomZMqpKvXnpgXdw8Cmf8WPSrQzKidzBaBEP6Mki//tM3l/iyrCOiEG75l6oMVu4jcgAvM n1P9eMLl1dxNp0BTmKUmf8TW+ey5dDitXmzJ4kKyTIBygFf/czkDabRuAd097bogVfcA5o AZEbXqnBqJ7GpVDE31atczlkrb8NJBQ8+LY+TcJhcHqs/+yp7q47CXAaT1Xs+ShPRZ9k5k OzIJVQftokRTY314La0/OmeHeHV3e7J/51aN2MFAnQMy0+MOks5tZcrx1DTEAg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=p1qcko9P; 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: -3.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=p1qcko9P; 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: 65946165CC X-Spam-Score: -3.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: oFljXvceAsri This is a multi-part message in MIME format. --nextPart3428921.iIbC2pHGDl Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" [was: Issue with internal directory links] >=20 > Hi Jonathan, >=20 > Jonathan Fox writes: >=20 >> Here's a link I'm using: >> >> [[./templates][Templates]] >=20 I have similar issue with `[[file:/path/file.hs][name]]` `M-x org-open-at-point` says: "Running less /home/path/file.hs" In terminal: `mimetype /home/path/file.hs` =3D> `text/x-haskell` ``` org-file-apps is a variable defined in =E2=80=98org.el=E2=80=99. Its value is ((auto-mode . emacs) (directory . emacs) ("\\.mm\\'" . default) ("\\.x?html?\\'" . default) ("\\.pdf\\'" . default)) ``` I guess I can configure it alright, but I have no idea why it is invoking `= less` in the first=20 place. I also have no idea where the output of `less` should be found. `org-version` =3D> 9.5.2 `emacs-version` =3D> 29.0.50 Thanks, Chris > You can try adding (directory . emacs) to `org-file-apps' in your > configuration like this: >=20 > (setq org-file-apps > '((auto-mode . emacs) > (directory . emacs) > ("\\.mm\\'" . default) > ("\\.x?html?\\'" . default) > ("\\.pdf\\'" . default))) >=20 > A bug related to mailcap handling has been fixed in Emacs 27, > perhaps this is what caused the change in your setup. I added > (directory . emacs) in `org-file-apps' by default in the master > branch. >=20 > Thanks for reporting this, >=20 > --=20 > Bastien --nextPart3428921.iIbC2pHGDl Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="UTF-8"

[was: Issue with internal directory links]


>

>= ; Hi Jonathan,

>= ;

>= ; Jonathan Fox <jonathanfox223@gmail.com> writes:

>= ;

>= ;> Here's a link I'm using:

>= ;>

>= ;> [[./templates][Templates]]

>= ;


I have similar issue with `[[file:/path/file.hs][name]]`

`M-= x org-open-at-point` says:

&qu= ot;Running less /home/path/file.hs"

In = terminal:

`mimetype /home/path= /file.hs` =3D> `text/x-haskell`


```

org= =2Dfile-apps is a variable defined in =E2=80=98org.el=E2=80=99.

Its= value is

((a= uto-mode . emacs)

&nb= sp;(directory . emacs)

&nb= sp;("\\.mm\\'" . default)

&nb= sp;("\\.x?html?\\'" . default)

&nb= sp;("\\.pdf\\'" . default))

```=


I guess I can configure it alright, but I have no idea why it is invokin= g `less` in the first place. I also have no idea where the output of `less`= should be found.


`org-version` =3D> 9.5.2

`em= acs-version` =3D> 29.0.50


Thanks,

Chr= is



> You can try adding (directory . emacs) to `org-file-apps' in = your

>= ; configuration like this:

>= ;

>= ; (setq org-file-apps

>= ;       '((auto-mode . emacs)

>= ;           (directory . emacs= )

>= ;     ("\\.mm\\'" . default)

>= ;     ("\\.x?html?\\'" . default)

>= ;     ("\\.pdf\\'" . default)))

>= ;

>= ; A bug related to mailcap handling has been fixed in Emacs 27,

>= ; perhaps this is what caused the change in your setup.  I added

>= ; (directory . emacs) in `org-file-apps' by default in the master

>= ; branch.

>= ;

>= ; Thanks for reporting this,

>= ;

>= ; --

>= ;  Bastien


--nextPart3428921.iIbC2pHGDl--