From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 4LMPIOvHoGcPnAAAqHPOHw:P1 (envelope-from ) for ; Mon, 03 Feb 2025 13:43:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 4LMPIOvHoGcPnAAAqHPOHw (envelope-from ) for ; Mon, 03 Feb 2025 14:43:07 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=iki.fi header.s=lahtoruutu header.b=nz6bJWqv; 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"; dmarc=none; arc=pass ("iki.fi:s=lahtoruutu:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1738590187; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=V+dFUQr9P5zlAG0eZm8naHe8Ktp7u+21AJpOVLJb0/w=; b=lYJxtcPJ7lJOKIqSI6z4hDBODTq64lbc+NBnXvBssgUil14O3fRk+0bR3ykdRMPiewiBzg sIhg8yZD/I91OabjGQKf0aw02iboNS8pJYoG8J/S+B3grYrJBGPxwTHeQQTUeD7TwP2YHc 4bER8Kc17yUHVMWnAqXWPeFeEyUxjiAzwseyifvWoUiAY4ydlAjJrRnFaXGvExWwStZLaG fahN666zG8VwzqMzYSoK2yMq2JcQNK8789B5enkrFCHU6n5fjVqRB0Q29mLH0IbrkUmgVi wA1Ubz8B1FdhMD/8T2KEjS29skxG4ctUI4If7ZvAzU+MfAhpzaXqAgBa1LGXag== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=iki.fi header.s=lahtoruutu header.b=nz6bJWqv; 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"; dmarc=none; arc=pass ("iki.fi:s=lahtoruutu:i=1") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1738590187; a=rsa-sha256; cv=pass; b=hfr/QSmDEYLUV4qcISv2yOp9v/aJh3OPOJZZRk80m67qpOd9ZSoDNi38Uek3yNR85j9gNq HtfXwRo6xeWMnL7b0ztOJp4UuWH9rWSgWgXl83DhMODszfcwGmO8qBwwM8YkUWWAewi1xb n5E4P//hdc6ZMpelhmv0cmI/dh3M5ztTSXBQa2rGkqMvkRvE3dd07f2rc6hvNLysoJCUaA wK2xYwzVhOA6LlGKKDbN9eVJeVQkx6GagE9SYVxNIS446JX16NjYCXUtL8MU4uH+fQry8A 0TSe+S0lYV0YMxzOrHS9VSS7rD3ksVg2IUAuRYLl5W0zZQ9ClnYanyZx+IWvgg== 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 B1D614639 for ; Mon, 03 Feb 2025 14:43:06 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tewhx-0001jr-2c; Mon, 03 Feb 2025 08:41:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tefiK-0003P2-2w for emacs-orgmode@gnu.org; Sun, 02 Feb 2025 14:33:04 -0500 Received: from lahtoruutu.iki.fi ([2a0b:5c81:1c1::37]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tefiI-0008MP-5F for emacs-orgmode@gnu.org; Sun, 02 Feb 2025 14:33:03 -0500 Received: from vala (62-78-153-107.bb.dnainternet.fi [62.78.153.107]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jautero) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id 4YmKXc21fSz49QC2 for ; Sun, 2 Feb 2025 21:32:47 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1738524768; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=V+dFUQr9P5zlAG0eZm8naHe8Ktp7u+21AJpOVLJb0/w=; b=nz6bJWqviGl7XM+v/XyMbDpNplUZagejvjD/j/nJYXYbMfAh5sSM3PaKohdJOkIJEcCZ4p jHbJ0sfuRpzsk2RYq5TSp5vnmYj5sSJzp3ZuBU7qI21VwsTu8LEhYbTnn8fd5vAkHhXwXu JUFWw62F0sYrVrrt9sSM2ut8yZwequHCn2dk7KgheZYhGAV5HielJ2GnzM/Dix1Dhxx3p2 YlfW6VJhgX+NiDhm/miBD3w80Yu9fb3XqNEYxF36W9gP4DEprIOeTI9jImWErGFoTuDMPn kcmEba5JnvKk7omFFbGsDe3B4BFzQ+MUxnAHSJcnqs2olKlOfpqE10BARwDfiQ== ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1738524768; a=rsa-sha256; cv=none; b=miOQANi8EzqOXetwWzj0qYT05rxVlw9VhNVtLge8DDngQiTS0kMN7+mMFgDfyl+65P916R HP8F/l4kHhUAt0MQHGonu8f+6oan5+5hcxqtlbgNCneSk0SxYqOn225iq5PVQiWXELe3vJ dAZZVVtsPbOlBGlT5UL3KpHXpo7HXKMhzeor2TtizicA1gs6jGzlBT0PgDwcyPLMEY31fB 3MiUM297pLKYEbNjeDXGIh0a/kqo0Aq8X2EmH5wcANXJZwaecIz8zvr0cDoxM2rw4DumR3 dB+38xGcT0GD46PEJhlkesLUIqU1Bqxak76vpBtICpwhbMG258sJr0OuSPArrw== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=jautero smtp.mailfrom=jautero@iki.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1738524768; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=V+dFUQr9P5zlAG0eZm8naHe8Ktp7u+21AJpOVLJb0/w=; b=XYhbr7RF5igqBSregAOV+43JiLcPByNG2NvuAE/p7DL59OHu+dxVqs8rnwY1ketpegePnr yYPz38Ujztv3VwacY/Tr1K4RGBPKvLGEXZFD84SmhhTOixGv45LPKQZ1PzfLeSuLb2d9om 5PmCCC3xvlJn7Xl0H8BJwu98vwz5f1kLvdoKp2Hh5BDhDIjzSOmk1Nc7BiymBRa+LEg71S 5KEIH3EcqowieqLdXEOSnf8iTqsjY2tiE3U3ExJlHkc82i+jVHjRC3HFZ2shZFOfxQ9u6D r+lEKPMZiI4sCOlXQfMRmOucE7t6BDR5v77bD7LenUtR07tc6hRW105qnBKxFg== From: Juha Autero To: emacs-orgmode@gnu.org Subject: [BUG] Links in code block can't be opened [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)] Date: Sun, 02 Feb 2025 21:32:47 +0200 Message-ID: <87a5b46t28.fsf@iki.fi> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a0b:5c81:1c1::37; envelope-from=jautero@iki.fi; helo=lahtoruutu.iki.fi X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 03 Feb 2025 08:41:46 -0500 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -5.68 X-Spam-Score: -5.68 X-Migadu-Queue-Id: B1D614639 X-TUID: 2GBfoT6XEVHl URLs in code blocks is shown as links, but they cannot be opened. Instead result of code block is opened. For example with code block like this: #+begin_src shell # This is an example of URL https://orgmode.org/ # echo "test" #+end_src URL is marked as a link, but attempts to open it will execute code and show the results in separarte buffer. This happens when using mouse or keyboard commands. It seems that it is undefined how org-open-at-point behaves when there are nested things at point. I think footnote definitions, src-blocks and headlines may contain links, citations, timestamps and tags. At least those are combinations that make sense. Only case of headline containing links is defined in documentation because headlines open list of links in headline. I haven't tested other combinations than src-block containing a link. Also, docstring of org-open-at-point talks about src-blocks and talks about "src-block of inline src-block". I think it should be "or". Emacs : GNU Emacs 29.4 (build 1, x86_64-solus-linux-gnu, GTK+ Version 3.24.42, cairo version 1.18.0) of 2024-06-22 Package: Org mode version 9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)