From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: globbing file links Date: Tue, 26 Jun 2018 18:50:52 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXzbk-0002tp-OY for emacs-orgmode@gnu.org; Tue, 26 Jun 2018 21:50:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXzbj-00055d-U3 for emacs-orgmode@gnu.org; Tue, 26 Jun 2018 21:50:56 -0400 Received: from mail-lf0-x231.google.com ([2a00:1450:4010:c07::231]:37753) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fXzbj-000540-M7 for emacs-orgmode@gnu.org; Tue, 26 Jun 2018 21:50:55 -0400 Received: by mail-lf0-x231.google.com with SMTP id g21-v6so281780lfb.4 for ; Tue, 26 Jun 2018 18:50:55 -0700 (PDT) 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 i frequently have broken file: links. this might reduce their occurrence. i'd like to be able to do this: file:.../**/myfile which would use bash's globbing mechanism or an elisp equivalent. also perhaps this: file:.../**/*myfile* if one file results, i would like it to open as normal. if more than one file results, i would like all of them to open in a dired-virtual buffer. i think dired-virtual is in core. the first case would prevent broken links by allowing myfile to be moved as long as it is under .... the second case would allow you to select a bunch of files that have a common substring. it would also prevent broken links by allowing myfile to be renamed slightly [such as compressed or uncompressed]. i think broken links are likely a common problem for org users. maybe this can help prevent it. does this sound like a good idea as an optional feature? if no, then what would be a good implementation of a glob: link?