From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eddward DeVilla" Subject: Re: Turn on "Hyperlinks > Literal Links " Date: Mon, 25 Aug 2008 12:01:40 -0500 Message-ID: References: <9E067A1AECCB154485D4CF7E4BEF4D8E096279BC@post07.corp.seic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KXfRn-0006HM-Pq for emacs-orgmode@gnu.org; Mon, 25 Aug 2008 13:01:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KXfRm-0006GB-QG for Emacs-orgmode@gnu.org; Mon, 25 Aug 2008 13:01:43 -0400 Received: from [199.232.76.173] (port=34086 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXfRm-0006Fx-K2 for Emacs-orgmode@gnu.org; Mon, 25 Aug 2008 13:01:42 -0400 Received: from mail-gx0-f12.google.com ([209.85.217.12]:62932) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KXfRm-0001vZ-Ht for Emacs-orgmode@gnu.org; Mon, 25 Aug 2008 13:01:42 -0400 Received: by gxk5 with SMTP id 5so2213704gxk.18 for ; Mon, 25 Aug 2008 10:01:40 -0700 (PDT) In-Reply-To: <9E067A1AECCB154485D4CF7E4BEF4D8E096279BC@post07.corp.seic.com> Content-Disposition: inline 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: "Parker, Matthew" Cc: Emacs-orgmode@gnu.org 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 >> >> >