From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Fox Subject: Issue with internal directory links Date: Fri, 3 Jan 2020 05:40:46 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000ecce0e059b39f125" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:58046) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inKO5-0007jq-TD for emacs-orgmode@gnu.org; Fri, 03 Jan 2020 05:41:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inKO3-0007aU-F3 for emacs-orgmode@gnu.org; Fri, 03 Jan 2020 05:41:01 -0500 Received: from mail-io1-xd34.google.com ([2607:f8b0:4864:20::d34]:36812) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1inKO3-0007Vn-7e for emacs-orgmode@gnu.org; Fri, 03 Jan 2020 05:40:59 -0500 Received: by mail-io1-xd34.google.com with SMTP id r13so30898100ioa.3 for ; Fri, 03 Jan 2020 02:40:58 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --000000000000ecce0e059b39f125 Content-Type: text/plain; charset="UTF-8" Issue: When calling `org-open-at-point' with the cursor on an internal link to a directory, the directory is not opened in a new dired buffer and the following message is printed in the minibuffer: "Running less path/to/directory...done" -------------------------------------------------------------------------------- Expected behavior: A dired buffer is opened using the directory in the link. -------------------------------------------------------------------------------- The following org bug report was generated when replicating the expected behavior: Emacs : GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2019-02-08 Package: Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @ /usr/local/share/emacs/26.1/lisp/org/) current state: ============== (setq org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-after-todo-state-change-hook '(org-clock-out-if-current) org-metadown-hook '(org-babel-pop-to-session-maybe) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-mode-hook '(#[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-block-all append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-archive-hook '(org-attach-archive-delete-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-agenda-before-write-hook '(org-agenda-add-entry-text) org-metaup-hook '(org-babel-load-in-session-maybe) org-bibtex-headline-format-function #[257 "\300 \236A\207" [:title] 3 "\n\n(fn ENTRY)"] org-babel-pre-tangle-hook '(save-buffer) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-occur-hook '(org-first-headline-recenter) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-confirm-shell-link-function 'yes-or-no-p org-link-parameters '(("id" :follow org-id-open) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link) ("info" :follow org-info-open :export org-info-export :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("file+sys") ("file+emacs") ("doi" :follow org--open-doi-link) ("elisp" :follow org--open-elisp-link) ("file" :complete org-file-complete-link) ("ftp" :follow (lambda (path) (browse-url (concat "ftp:" path)))) ("help" :follow org--open-help-link) ("http" :follow (lambda (path) (browse-url (concat "http:" path)))) ("https" :follow (lambda (path) (browse-url (concat "https:" path)))) ("mailto" :follow (lambda (path) (browse-url (concat "mailto:" path)))) ("news" :follow (lambda (path) (browse-url (concat "news:" path)))) ("shell" :follow org--open-shell-link)) ) -------------------------------------------------------------------------------- The following org bug report was generated when replicating the issue: Emacs : GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2019-12-14 Package: Org mode version 9.3 (release_9.3 @ /home/XXXX/emacs/lisp/org/) current state: ============== (setq org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-link-shell-confirm-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-mode-hook '(#[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-all append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-archive-hook '(org-attach-archive-delete-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-agenda-before-write-hook '(org-agenda-add-entry-text) org-metaup-hook '(org-babel-load-in-session-maybe) org-bibtex-headline-format-function #[257 "\300 \236A\207" [:title] 3 "\n\n(fn ENTRY)"] org-babel-pre-tangle-hook '(save-buffer) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-occur-hook '(org-first-headline-recenter) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-confirm-shell-link-function 'yes-or-no-p org-link-parameters '(("attachment" :follow org-attach-open-link :export org-attach-export-link :complete org-attach-complete-link) ("id" :follow org-id-open) ("eww" :follow eww :store org-eww-store-link) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link :export org-irc-export) ("info" :follow org-info-open :export org-info-export :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("file+sys") ("file+emacs") ("shell" :follow org-link--open-shell) ("news" :follow #[257 "\301\300\302 Q!\207" ["news" browse-url ":"] 5 "\n\n(fn URL)"]) ("mailto" :follow #[257 "\301\300\302 Q!\207" ["mailto" browse-url ":"] 5 "\n\n(fn URL)"]) ("https" :follow #[257 "\301\300\302 Q!\207" ["https" browse-url ":"] 5 "\n\n(fn URL)"]) ("http" :follow #[257 "\301\300\302 Q!\207" ["http" browse-url ":"] 5 "\n\n(fn URL)"]) ("ftp" :follow #[257 "\301\300\302 Q!\207" ["ftp" browse-url ":"] 5 "\n\n(fn URL)"]) ("help" :follow org-link--open-help) ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp) ("doi" :follow org-link--open-doi)) org-link-elisp-confirm-function 'yes-or-no-p ) --000000000000ecce0e059b39f125 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Issue:

When calling `org-open-at-point' with th= e cursor on an internal link
to a directory, the directory is not opened= in a new dired buffer and
the following message is printed in the minib= uffer:

"Running less path/to/directory...done"

----= ---------------------------------------------------------------------------= -

Expected behavior:

A dired buffer is opened using the direc= tory in the link.

--------------------------------------------------= ------------------------------

The following org bug report was gene= rated when replicating the expected behavior:

Emacs =C2=A0: GNU Emac= s 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
=C2=A0of 2019= -02-08
Package: Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @ /usr/= local/share/emacs/26.1/lisp/org/)

current state:
=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D
(setq
=C2=A0org-src-mode-hook '(org-s= rc-babel-configure-edit-buffer org-src-mode-configure-edit-buffer)
=C2= =A0org-after-todo-state-change-hook '(org-clock-out-if-current)
=C2= =A0org-metadown-hook '(org-babel-pop-to-session-maybe)
=C2=A0org-clo= ck-out-hook '(org-clock-remove-empty-clock-drawer)
=C2=A0org-mode-ho= ok '(#[0 "\300\301\302\303\304$\207" [add-hook change-major-m= ode-hook org-show-block-all append local] 5]
#[0 "\300\301\302\3= 03\304$\207" [add-hook change-major-mode-hook org-babel-show-result-al= l append local] 5]
org-babel-result-hide-spec org-babel-hide-all-hash= es)
=C2=A0org-archive-hook '(org-attach-archive-delete-maybe)
=C2= =A0org-confirm-elisp-link-function 'yes-or-no-p
=C2=A0org-agenda-bef= ore-write-hook '(org-agenda-add-entry-text)
=C2=A0org-metaup-hook &#= 39;(org-babel-load-in-session-maybe)
=C2=A0org-bibtex-headline-format-fu= nction #[257 "\300 \236A\207" [:title] 3 "\n\n(fn ENTRY)&quo= t;]
=C2=A0org-babel-pre-tangle-hook '(save-buffer)
=C2=A0org-tab-= first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-ex= pand)
=C2=A0org-occur-hook '(org-first-headline-recenter)
=C2=A0o= rg-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers= org-cycle-show-empty-lines
=C2=A0org-optimize-window-after-visibilit= y-change)
=C2=A0org-speed-command-hook '(org-speed-command-activate = org-babel-speed-command-activate)
=C2=A0org-confirm-shell-link-function = 'yes-or-no-p
=C2=A0org-link-parameters '(("id" :follow= org-id-open) ("rmail" :follow org-rmail-open :store org-rmail-st= ore-link)
=C2=A0 =C2=A0 =C2=A0 ("mhe" :follow org-mhe-open = :store org-mhe-store-link) ("irc" :follow org-irc-visit :store or= g-irc-store-link)
=C2=A0 =C2=A0 =C2=A0 ("info" :follow org-= info-open :export org-info-export :store org-info-store-link)
=C2=A0 = =C2=A0 =C2=A0 ("gnus" :follow org-gnus-open :store org-gnus-store= -link)
=C2=A0 =C2=A0 =C2=A0 ("docview" :follow org-docview-= open :export org-docview-export :store org-docview-store-link)
=C2=A0= =C2=A0 =C2=A0 ("bibtex" :follow org-bibtex-open :store org-bibte= x-store-link)
=C2=A0 =C2=A0 =C2=A0 ("bbdb" :follow org-bbdb= -open :export org-bbdb-export :complete org-bbdb-complete-link :store
= org-bbdb-store-link)
=C2=A0 =C2=A0 =C2=A0 ("w3m" :store or= g-w3m-store-link) ("file+sys") ("file+emacs") ("do= i" :follow org--open-doi-link)
=C2=A0 =C2=A0 =C2=A0 ("elisp= " :follow org--open-elisp-link) ("file" :complete org-file-c= omplete-link)
=C2=A0 =C2=A0 =C2=A0 ("ftp" :follow (lambda (= path) (browse-url (concat "ftp:" path)))) ("help" :foll= ow org--open-help-link)
=C2=A0 =C2=A0 =C2=A0 ("http" :follo= w (lambda (path) (browse-url (concat "http:" path))))
=C2= =A0 =C2=A0 =C2=A0 ("https" :follow (lambda (path) (browse-url (co= ncat "https:" path))))
=C2=A0 =C2=A0 =C2=A0 ("mailto&q= uot; :follow (lambda (path) (browse-url (concat "mailto:" path)))= )
=C2=A0 =C2=A0 =C2=A0 ("news" :follow (lambda (path) (brow= se-url (concat "news:" path)))) ("shell" :follow org--o= pen-shell-link))
=C2=A0)

----------------------------------------= ----------------------------------------

The following org bug repor= t was generated when replicating the issue:

Emacs =C2=A0: GNU Emacs = 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
=C2=A0of 20= 19-12-14
Package: Org mode version 9.3 (release_9.3 @ /home/XXXX/emacs/l= isp/org/)

current state:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
(setq
=C2=A0org-src-mode-hook '(org-src-babel-configure-edit-= buffer org-src-mode-configure-edit-buffer)
=C2=A0org-link-shell-confirm-= function 'yes-or-no-p
=C2=A0org-metadown-hook '(org-babel-pop-to= -session-maybe)
=C2=A0org-clock-out-hook '(org-clock-remove-empty-cl= ock-drawer)
=C2=A0org-mode-hook '(#[0 "\300\301\302\303\304$\20= 7" [add-hook change-major-mode-hook org-show-all append local] 5]
= #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hoo= k org-babel-show-result-all append local] 5]
org-babel-result-hide-sp= ec org-babel-hide-all-hashes)
=C2=A0org-archive-hook '(org-attach-ar= chive-delete-maybe)
=C2=A0org-confirm-elisp-link-function 'yes-or-no= -p
=C2=A0org-agenda-before-write-hook '(org-agenda-add-entry-text)=C2=A0org-metaup-hook '(org-babel-load-in-session-maybe)
=C2=A0org= -bibtex-headline-format-function #[257 "\300 \236A\207" [:title] = 3 "\n\n(fn ENTRY)"]
=C2=A0org-babel-pre-tangle-hook '(save= -buffer)
=C2=A0org-tab-first-hook '(org-babel-hide-result-toggle-may= be org-babel-header-arg-expand)
=C2=A0org-occur-hook '(org-first-hea= dline-recenter)
=C2=A0org-cycle-hook '(org-cycle-hide-archived-subtr= ees org-cycle-show-empty-lines org-optimize-window-after-visibility-change)=
=C2=A0org-speed-command-hook '(org-speed-command-activate org-babel= -speed-command-activate)
=C2=A0org-confirm-shell-link-function 'yes-= or-no-p
=C2=A0org-link-parameters '(("attachment" :follow = org-attach-open-link :export org-attach-export-link :complete org-attach-co= mplete-link)
=C2=A0 =C2=A0 =C2=A0 ("id" :follow org-id-open= ) ("eww" :follow eww :store org-eww-store-link)
=C2=A0 =C2= =A0 =C2=A0 ("rmail" :follow org-rmail-open :store org-rmail-store= -link)
=C2=A0 =C2=A0 =C2=A0 ("mhe" :follow org-mhe-open :st= ore org-mhe-store-link)
=C2=A0 =C2=A0 =C2=A0 ("irc" :follow= org-irc-visit :store org-irc-store-link :export org-irc-export)
=C2= =A0 =C2=A0 =C2=A0 ("info" :follow org-info-open :export org-info-= export :store org-info-store-link)
=C2=A0 =C2=A0 =C2=A0 ("gnus&q= uot; :follow org-gnus-open :store org-gnus-store-link)
=C2=A0 =C2=A0 = =C2=A0 ("docview" :follow org-docview-open :export org-docview-ex= port :store org-docview-store-link)
=C2=A0 =C2=A0 =C2=A0 ("bibte= x" :follow org-bibtex-open :store org-bibtex-store-link)
=C2=A0 = =C2=A0 =C2=A0 ("bbdb" :follow org-bbdb-open :export org-bbdb-expo= rt :complete org-bbdb-complete-link :store
org-bbdb-store-link)
= =C2=A0 =C2=A0 =C2=A0 ("w3m" :store org-w3m-store-link) ("fi= le+sys") ("file+emacs") ("shell" :follow org-link-= -open-shell)
=C2=A0 =C2=A0 =C2=A0 ("news" :follow #[257 &qu= ot;\301\300\302 Q!\207" ["news" browse-url ":"] 5 = "\n\n(fn URL)"])
=C2=A0 =C2=A0 =C2=A0 ("mailto" := follow #[257 "\301\300\302 Q!\207" ["mailto" browse-url= ":"] 5 "\n\n(fn URL)"])
=C2=A0 =C2=A0 =C2=A0 (&q= uot;https" :follow #[257 "\301\300\302 Q!\207" ["https&= quot; browse-url ":"] 5 "\n\n(fn URL)"])
=C2=A0 = =C2=A0 =C2=A0 ("http" :follow #[257 "\301\300\302 Q!\207&quo= t; ["http" browse-url ":"] 5 "\n\n(fn URL)"])=
=C2=A0 =C2=A0 =C2=A0 ("ftp" :follow #[257 "\301\300\3= 02 Q!\207" ["ftp" browse-url ":"] 5 "\n\n(fn = URL)"])
=C2=A0 =C2=A0 =C2=A0 ("help" :follow org-link-= -open-help) ("file" :complete org-link-complete-file)
=C2= =A0 =C2=A0 =C2=A0 ("elisp" :follow org-link--open-elisp) ("d= oi" :follow org-link--open-doi))
=C2=A0org-link-elisp-confirm-funct= ion 'yes-or-no-p
=C2=A0)
--000000000000ecce0e059b39f125--