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

2012-05-13 Thread Paul Sexton
Sean O'Halpin sean.ohalpin at 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

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 targets. :group 'orgl) (make-face 'orgl-target-face) (defvar

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 psexton...@gmail.com wrote: Sean O'Halpin sean.ohalpin at 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 Sean O'Halpin
On Wed, May 9, 2012 at 10:07 PM, Paul Sexton psexton...@gmail.com 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

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

2012-05-10 Thread Paul Sexton
Sean O'Halpin sean.ohalpin at 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)))

[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