unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Paul Chany <csanyipal@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to setup w3m-el as a default browser on GNU system?
Date: Fri, 18 Jun 2010 12:27:36 +0200	[thread overview]
Message-ID: <87iq5gprdz.fsf@debian-laptop.localdomain> (raw)
In-Reply-To: 87eig43eyk.fsf@gmail.com

Hi Štěpán,

Štěpán Němec <stepnem@gmail.com> writes:

> Paul Chany <csanyipal@gmail.com> writes:
>> Any advices?
>
> Well, the `org-file-apps' documentation is probably not the most
> readable, but it's all there nonetheless:
>
> Possible values for the command are:
>
> [...]
>
>  sexp          A Lisp form which will be evaluated.  The file path
>                will be available in the Lisp variable `file'.
>                
>
> I.e., something like ("\\.x?html?\\'" . (browse-url file)) will do
> what you want.

Thanks! Now I have:
 '(org-file-apps 
   (quote (
	   (auto-mode . emacs) 
	   ("\\.x?html?\\'" . (browse-url file))
	   ("\\.pdf\\'" . default)
	  )
   )
  )

and it works!

However I'm interested in that that where can one find Manual for Emacs
Lisp so her/he can study the Lisp forms?

-- 
Regards,
Paul Chany
You can freely correct my English.
http://csanyi-pal.info




  reply	other threads:[~2010-06-18 10:27 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-17 13:56 How to setup w3m-el as a default browser on GNU system? Paul Chany
2010-06-17 14:07 ` Thierry Volpiatto
2010-06-17 16:42   ` Paul Chany
     [not found]   ` <mailman.1.1276792958.21170.help-gnu-emacs@gnu.org>
2010-06-17 22:12     ` Tim X
2010-06-17 17:07 ` Pedro Insua
2010-06-17 20:56   ` Paul Chany
2010-06-17 21:28     ` Pedro Insua
2010-06-17 21:34       ` Paul Chany
2010-06-17 22:18         ` Pedro Insua
2010-06-17 22:35           ` Paul Chany
2010-06-18  8:46             ` Štěpán Němec
2010-06-18 10:27               ` Paul Chany [this message]
2010-06-18 12:08                 ` Drew Adams
2010-06-18 15:34                   ` How to get Elisp info documentation on Debian Squeeze? Paul Chany
2010-06-18 15:40                     ` Drew Adams
2010-06-18 15:40                     ` Richard Riley
2010-06-18 16:23                       ` Paul Chany
     [not found]                     ` <mailman.3.1276875632.15308.help-gnu-emacs@gnu.org>
2010-06-18 23:49                       ` Tim X
2010-06-18  8:52             ` How to setup w3m-el as a default browser on GNU system? Pedro Insua
2010-06-18 10:37               ` Paul Chany
     [not found]   ` <mailman.7.1276808235.21170.help-gnu-emacs@gnu.org>
2010-06-17 22:15     ` Tim X

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87iq5gprdz.fsf@debian-laptop.localdomain \
    --to=csanyipal@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).