emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org links and outshine
Date: Fri, 07 Nov 2014 11:16:21 +0100	[thread overview]
Message-ID: <87bnoj2u4q.fsf@gmail.com> (raw)
In-Reply-To: m2lhnochpf.fsf_-_@polytechnique.org

Alan Schmitt <alan.schmitt@polytechnique.org> writes:

Hi Alan,

> On 2014-11-03 09:06, Thorsten Jolitz <tjolitz@gmail.com> writes:
>
>> Grant Rettke <gcr@wisdomandwonder.com> writes:
>>
>>> On Sat, Nov 1, 2014 at 5:58 AM, Thorsten Jolitz <tjolitz@gmail.com>
>>> wrote:
>>>> And there is a new library
>>>>
>>>> [[http://goo.gl/pYYzS6][outorg-export]]
>>>
>>> I just used http://goo.gl/pYYzS6 and it worked fine; that looks like
>>> an org mode link.
>>
>> It is an Org-mode link inserted with C-c C-l while writing the post in
>> the *outorg-edit-buffer*, in case this was a question.
>
> I'll seize this opportunity to ask about this: I have my emacs init file
> in outshine syntax, and inside it there are several links (to info
> pages, to gnus messages, and so on). They look great and can be acted
> upon in org mode, but not so great in lisp mode. Could it be possible
> for outshine to nicely display these links?

nice display of links is done with overlays in Org-mode, see e.

#+BEGIN_SRC emacs-lisp
(defun org-toggle-link-display ()
  "Toggle the literal or descriptive display of links."
  (interactive)
  (if org-descriptive-links
      (progn (org-remove-from-invisibility-spec '(org-link))
	     (org-restart-font-lock)
	     (setq org-descriptive-links nil))
    (progn (add-to-invisibility-spec '(org-link))
	   (org-restart-font-lock)
	   (setq org-descriptive-links t))))
#+END_SRC

and it might be easy to port this to outshine, unfortunately I have _no_
time right now, maybe you could have a look yourself (patches very
welcome). 

Another requested feature is making the :ARCHIVE: tag work in outshine,
something I definitely would like to have too, maybe thats related to
'invisibility-spec' too (hide archived subtrees when doing visibility
cycling), but unfortuntely right now I cannot investigate.

--
cheers,
Thorsten

  reply	other threads:[~2014-11-07 10:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-31 22:51 How do you interact with org src blocks for your gmane.emacs.orgmode correspondence? Brady Trainor
2014-11-01  2:24 ` Brady Trainor
2014-11-01 10:58 ` Thorsten Jolitz
2014-11-03  1:26   ` Grant Rettke
2014-11-03  8:06     ` Thorsten Jolitz
2014-11-06 18:22       ` org links and outshine (Was: How do you interact with org src blocks for your gmane.emacs.orgmode correspondence?) Alan Schmitt
2014-11-07 10:16         ` Thorsten Jolitz [this message]
2014-11-08 18:15           ` org links and outshine Alan Schmitt
2014-11-01 13:01 ` How do you interact with org src blocks for your gmane.emacs.orgmode correspondence? Alexander Baier

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=87bnoj2u4q.fsf@gmail.com \
    --to=tjolitz@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).