emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: pinard@iro.umontreal.ca (François Pinard)
To: emacs-orgmode@gnu.org
Subject: COMMENT in links
Date: Fri, 24 Feb 2012 19:01:38 -0500	[thread overview]
Message-ID: <87boonaihp.fsf@iro.umontreal.ca> (raw)

Hi, Org people.

When I save a "* COMMENT Header" with `C-c l' and re-insert it elsewhere
through `C-c C-l', the "COMMENT" bit is part of the link contents and
display.

I may want to quickly refer to such a header from another Org file even
if I do not publish it nor its contents.

Then, at some later time, I may decide to publish it, which is done
through `C-c ;' on the header line to remove the COMMENT word.  Then,
I have to adjust existing links, which is a bit annoying.

For such cases at least, it would be convenient if COMMENT was ignored
when the link is being saved, and also when searching for the link while
following it, the same way as it already works for TODO-like keywords.

If you consider this suggestion seems reasonable, publishing or not
publishing a header and its contents may be quickly effected by a mere
`C-c ;' without any need of further revising links.  Moreover, at least
in my opinion, links look neater without the COMMENT word on them.

François

             reply	other threads:[~2012-02-25  0:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-25  0:01 François Pinard [this message]
2012-02-25  0:51 ` COMMENT in links Samuel Wales

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=87boonaihp.fsf@iro.umontreal.ca \
    --to=pinard@iro.umontreal.ca \
    --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).