Re: [O] Patch: option to not hide brackets in org links

2012-05-13 Thread Samuel Wales
NP in 22. These changes fix warnings: (defface orgl-target-face '((t (:foreground "cyan" :background "royalblue4" :weight normal))) ;; '((t (:weight bold :box (:line-width 1 :color "red" "The face used to emphasise org-mode <>." :group 'orgl) (make-face 'orgl-target-face) (defvar orgl-tar

Re: [O] Patch: option to not hide brackets in org links

2012-05-13 Thread Paul Sexton
Sean O'Halpin gmail.com> writes: > Thanks! I just noticed that the main function, orgl-enable, sets the buffer's modification status to true when it runs. This is because altering text properties is considered a modification of the buffer. Fixed by wrapping the offending line in a 'with-silent-m

Re: [O] Patch: option to not hide brackets in org links

2012-05-12 Thread Sean O'Halpin
On Thu, May 10, 2012 at 9:56 AM, Paul Sexton wrote: > Sean O'Halpin gmail.com> writes: >> Is that publicly available anywhere? > > Here you go. To use, add orgl-enable to the relevant mode-hook, eg: > (add-hook 'python-mode-hook 'orgl-enable) > [snip code] Thanks!

Re: [O] Patch: option to not hide brackets in org links

2012-05-10 Thread Paul Sexton
Sean O'Halpin gmail.com> writes: > Is that publicly available anywhere? Here you go. To use, add orgl-enable to the relevant mode-hook, eg: (add-hook 'python-mode-hook 'orgl-enable) (defface orgl-target-face '((t (:foreground "cyan" :background "royalblue4" :weight normal))) ;; '((t

Re: [O] Patch: option to not hide brackets in org links

2012-05-10 Thread Sean O'Halpin
On Wed, May 9, 2012 at 10:07 PM, Paul Sexton wrote: > I have a > minor mode that makes org-style links fully active and fontifed in other major > modes. Is that publicly available anywhere? Regards, Sean

[O] Patch: option to not hide brackets in org links

2012-05-09 Thread Paul Sexton
I would like to be able to control whether the '[[' ...']]' brackets around links are made invisible during fontification. The motivation is that I have a minor mode that makes org-style links fully active and fontifed in other major modes. But I can imagine some others might want to use it, as beh