emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: emacs-orgmode@gnu.org
Subject: globbing file links
Date: Tue, 26 Jun 2018 18:50:52 -0700	[thread overview]
Message-ID: <CAJcAo8uOeR1FiKbpYP=i7=mU_F50NAT4WPO9jNFd7cs0KEsUzw@mail.gmail.com> (raw)

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?

             reply	other threads:[~2018-06-27  1:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-27  1:50 Samuel Wales [this message]
2018-07-01 14:19 ` globbing file links John Kitchin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJcAo8uOeR1FiKbpYP=i7=mU_F50NAT4WPO9jNFd7cs0KEsUzw@mail.gmail.com' \
    --to=samologist@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).