emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Turn on "Hyperlinks > Literal Links "
@ 2008-08-22 15:32 Parker, Matthew
  2008-08-23 18:12 ` Eddward DeVilla
  2008-09-03  9:37 ` Carsten Dominik
  0 siblings, 2 replies; 6+ messages in thread
From: Parker, Matthew @ 2008-08-22 15:32 UTC (permalink / raw)
  To: Emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 326 bytes --]

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

 


[-- Attachment #1.2: Type: text/html, Size: 3253 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Turn on "Hyperlinks > Literal Links "
  2008-08-22 15:32 Turn on "Hyperlinks > Literal Links " Parker, Matthew
@ 2008-08-23 18:12 ` Eddward DeVilla
  2008-08-25 16:08   ` Parker, Matthew
  2008-09-03  9:37 ` Carsten Dominik
  1 sibling, 1 reply; 6+ messages in thread
From: Eddward DeVilla @ 2008-08-23 18:12 UTC (permalink / raw)
  To: Parker, Matthew; +Cc: Emacs-orgmode

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 <MParker@seic.com> 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.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Turn on "Hyperlinks > Literal Links "
  2008-08-23 18:12 ` Eddward DeVilla
@ 2008-08-25 16:08   ` Parker, Matthew
  2008-08-25 17:01     ` Eddward DeVilla
  0 siblings, 1 reply; 6+ messages in thread
From: Parker, Matthew @ 2008-08-25 16:08 UTC (permalink / raw)
  To: Eddward DeVilla; +Cc: Emacs-orgmode

Thanks I'll give that a try!

-----Original Message-----
From: Eddward DeVilla [mailto:eddward@gmail.com] 
Sent: Saturday, August 23, 2008 2:12 PM
To: Parker, Matthew
Cc: Emacs-orgmode@gnu.org
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 <MParker@seic.com>
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.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Turn on "Hyperlinks > Literal Links "
  2008-08-25 16:08   ` Parker, Matthew
@ 2008-08-25 17:01     ` Eddward DeVilla
  2008-08-25 17:15       ` Parker, Matthew
  0 siblings, 1 reply; 6+ messages in thread
From: Eddward DeVilla @ 2008-08-25 17:01 UTC (permalink / raw)
  To: Parker, Matthew; +Cc: Emacs-orgmode

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 <MParker@seic.com> wrote:
> Thanks I'll give that a try!
>
> -----Original Message-----
> From: Eddward DeVilla [mailto:eddward@gmail.com]
> Sent: Saturday, August 23, 2008 2:12 PM
> To: Parker, Matthew
> Cc: Emacs-orgmode@gnu.org
> 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 <MParker@seic.com>
> 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.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>>
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Turn on "Hyperlinks > Literal Links "
  2008-08-25 17:01     ` Eddward DeVilla
@ 2008-08-25 17:15       ` Parker, Matthew
  0 siblings, 0 replies; 6+ messages in thread
From: Parker, Matthew @ 2008-08-25 17:15 UTC (permalink / raw)
  To: Eddward DeVilla; +Cc: Emacs-orgmode


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:eddward@gmail.com] 
Sent: Monday, August 25, 2008 1:02 PM
To: Parker, Matthew
Cc: Emacs-orgmode@gnu.org
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 <MParker@seic.com>
wrote:
> Thanks I'll give that a try!
>
> -----Original Message-----
> From: Eddward DeVilla [mailto:eddward@gmail.com]
> Sent: Saturday, August 23, 2008 2:12 PM
> To: Parker, Matthew
> Cc: Emacs-orgmode@gnu.org
> 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 <MParker@seic.com>
> 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.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>>
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Turn on "Hyperlinks > Literal Links "
  2008-08-22 15:32 Turn on "Hyperlinks > Literal Links " Parker, Matthew
  2008-08-23 18:12 ` Eddward DeVilla
@ 2008-09-03  9:37 ` Carsten Dominik
  1 sibling, 0 replies; 6+ messages in thread
From: Carsten Dominik @ 2008-09-03  9:37 UTC (permalink / raw)
  To: Parker, Matthew; +Cc: Emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 424 bytes --]


On Aug 22, 2008, at 5:32 PM, Parker, Matthew 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)
> )


You can also use

(setq org-descriptive-links nil)

- Carsten


[-- Attachment #1.2: Type: text/html, Size: 3596 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-09-03  9:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-22 15:32 Turn on "Hyperlinks > Literal Links " Parker, Matthew
2008-08-23 18:12 ` Eddward DeVilla
2008-08-25 16:08   ` Parker, Matthew
2008-08-25 17:01     ` Eddward DeVilla
2008-08-25 17:15       ` Parker, Matthew
2008-09-03  9:37 ` Carsten Dominik

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