Re: [O] org links and outshine

2014-11-08 Thread Alan Schmitt
On 2014-11-07 11:16, Thorsten Jolitz tjol...@gmail.com writes:

 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). 

I'm not overloaded by time either, but if I find some to look into it
I'll report of the list.

Thanks,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7


signature.asc
Description: PGP signature


Re: [O] org links and outshine

2014-11-07 Thread Thorsten Jolitz
Alan Schmitt alan.schm...@polytechnique.org writes:

Hi Alan,

 On 2014-11-03 09:06, Thorsten Jolitz tjol...@gmail.com writes:

 Grant Rettke g...@wisdomandwonder.com writes:

 On Sat, Nov 1, 2014 at 5:58 AM, Thorsten Jolitz tjol...@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




[O] org links and outshine (Was: How do you interact with org src blocks for your gmane.emacs.orgmode correspondence?)

2014-11-06 Thread Alan Schmitt
On 2014-11-03 09:06, Thorsten Jolitz tjol...@gmail.com writes:

 Grant Rettke g...@wisdomandwonder.com writes:

 On Sat, Nov 1, 2014 at 5:58 AM, Thorsten Jolitz tjol...@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?

Thanks,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7


signature.asc
Description: PGP signature