emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: York Zhao <gtdplatform@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: `org-store-link' to skip link storing functions without touching `org-context-in-file-links'
Date: Sat, 20 May 2017 12:02:37 -0400	[thread overview]
Message-ID: <CAD3zm2326vdPc3E1JuY1-Mj0zfxJoOZzAkc-FgkLKTguKEdheA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 851 bytes --]

Hi org-mode developers,

Recently I found it very useful to being able to store links linking to
source code in git repository. I used org-git-link.el for this purpose and
it works well.

However, the biggest problem I'm having now is that once I loaded
org-git-link.el, I'm forced to always store links linking to git repository
which is not always I want because I also need to be able to store links
linking to the files in the working directory instead of in the git
repository.

I'm aware of the 'C-u C-u' prefix of `org-store-link', however, by the
current design, using 'C-u C-u' negates `org-context-in-file-links', i.e.,
the link would be stored without embedding the text to search for.

Is it possible to make `org-store-link' able to skip the link storing
functions without touching `org-context-in-file-links'?


Thanks in advance,

York

[-- Attachment #2: Type: text/html, Size: 956 bytes --]

             reply	other threads:[~2017-05-20 16:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-20 16:02 York Zhao [this message]
2017-05-20 22:55 ` `org-store-link' to skip link storing functions without touching `org-context-in-file-links' Kyle Meyer
2017-05-21  3:09   ` York Zhao
2017-05-21  5:47     ` [PATCH] org-store-link: Don't roll C-u behavior into C-u C-u behavior Kyle Meyer
2017-05-21  6:59       ` Nicolas Goaziou
2017-05-21 18:57         ` Kyle Meyer

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=CAD3zm2326vdPc3E1JuY1-Mj0zfxJoOZzAkc-FgkLKTguKEdheA@mail.gmail.com \
    --to=gtdplatform@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).