From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Parker, Matthew" Subject: RE: Turn on "Hyperlinks > Literal Links " Date: Mon, 25 Aug 2008 13:15:17 -0400 Message-ID: <9E067A1AECCB154485D4CF7E4BEF4D8E096279FE@post07.corp.seic.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KXff7-0005I5-PN for emacs-orgmode@gnu.org; Mon, 25 Aug 2008 13:15:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KXff3-0005Fu-VI for Emacs-orgmode@gnu.org; Mon, 25 Aug 2008 13:15:29 -0400 Received: from [199.232.76.173] (port=54532 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXff3-0005Fe-PZ for Emacs-orgmode@gnu.org; Mon, 25 Aug 2008 13:15:25 -0400 Received: from exprod5og104.obsmtp.com ([64.18.0.178]:48110) by monty-python.gnu.org with smtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KXff2-0005Ng-Sy for Emacs-orgmode@gnu.org; Mon, 25 Aug 2008 13:15:25 -0400 Content-class: urn:content-classes:message In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eddward DeVilla Cc: Emacs-orgmode@gnu.org This works. :) Thanks. >From .emacs ; Enable literal links=20 (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]=20 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 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 > 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 >> >> >