emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Orgmode] Turn on "Hyperlinks > Literal Links "


From: Parker, Matthew
Subject: RE: [Orgmode] Turn on "Hyperlinks > Literal Links "
Date: Mon, 25 Aug 2008 13:15:17 -0400

This works. :) Thanks.




>From .emacs

; Enable literal links 
(defun turn-on-literal-links ()
  "enable literal links."
  (interactive)
  (org-remove-from-invisibility-spec '(org-link))
  (org-restart-font-lock))

(add-hook 'org-mode-hook 'turn-on-literal-links)





-----Original Message-----
From: Eddward DeVilla [mailto:address@hidden 
Sent: Monday, August 25, 2008 1:02 PM
To: Parker, Matthew
Cc: address@hidden
Subject: Re: [Orgmode] Turn on "Hyperlinks > Literal Links "

Here is a snip from my .emacs.  Maybe you could does something similar
to run your code.

        (add-hook 'org-mode-hook 'turn-on-font-lock)  ; org-mode buffers
only
        (defun my-org-mode-setup ()
          "Run some setup for an org buffer"
          (interactive)
          (setq show-trailing-whitespace t))
        (add-hook 'org-mode-hook 'my-org-mode-setup)
        (require 'org-install)


Edd

On Mon, Aug 25, 2008 at 11:08 AM, Parker, Matthew <address@hidden>
wrote:
> Thanks I'll give that a try!
>
> -----Original Message-----
> From: Eddward DeVilla [mailto:address@hidden
> Sent: Saturday, August 23, 2008 2:12 PM
> To: Parker, Matthew
> Cc: address@hidden
> Subject: Re: [Orgmode] Turn on "Hyperlinks > Literal Links "
>
> You might be able to define a function that does that and call it from
> org-mode-hook.  I call some org specific code from the hook on my work
> systems.  I don't have access to them right now.  I can try to post an
> example Monday.
>
> Edd
>
> On Fri, Aug 22, 2008 at 10:32 AM, Parker, Matthew <address@hidden>
> wrote:
>> Is there a way to set "Hyperlinks > literal links" on by default?
>>
>>
>>
>> I found the elisp that works w/in an org buffer, but this fails if I
> put it
>> in .emacs.
>>
>>
>>
>> ; turn on literal links
>>
>> (progn
>>
>>   (org-remove-from-invisibility-spec '(org-link))
>>
>>   (org-restart-font-lock)
>>
>> )
>>
>>
>>
>>
>>
>> Thanks,
>> Matt
>>
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]