all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'rpd'" <richard@dickinson350.freeserve.co.uk>, <Help-gnu-emacs@gnu.org>
Subject: RE: html browser preview help
Date: Sun, 6 Sep 2009 07:17:05 -0700	[thread overview]
Message-ID: <3292E84CC9BF45A2A973884BC07A4E2A@us.oracle.com> (raw)
In-Reply-To: <25315933.post@talk.nabble.com>

> Thanks for your reply.
> (I am trying to preview a local .html file in my Internet 
> Explorer browser)
> I do not understand this > 'M-: < command you give?
> When I try this (& combinations of) in the minibuffer I get 'no-match'
> 
> Is that really the command? (I did an internet search for it 
> & couldn't find it).Anyway I have not been able to try this yet as
> I cannot enter the command:
> `M-: (w32-shell-execute nil "c:/my/file.htm")'
> 
> Can you please explain/clarify this for me? 

The key sequence `M-:' is bound to command `eval-expression'. You use it by
pressing and holding the Meta key (probably ALT on your keyboard) and while
holding it hitting the `:' key. Alternatively, you can hit the `ESC' (Escape)
and then hit the `:' key (don't hold `ESC' down like ALT).

All that command does is prompt you for a Lisp expression (sexp) to evaluate. In
this case, you would type (w32-shell-execute nil
"c:/whatever/hmtl/file/you/want.htm") at the prompt, then hit RET (Enter key).

Another way to evaluate such a Lisp sexp is to type it into buffer *scratch*,
then hit RET after it.

Another way to evaluate it is to type it into an Emacs-Lisp buffer (open a new
file called something.el, using `C-x C-f something.el'), then put the cursor
just after the closing parenthesis, and hit `C-x C-e' (Control-x followed by
Control-e).

But it sounds like you already solved your problem. HTH anyway.





  parent reply	other threads:[~2009-09-06 14:17 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-03 10:47 html browser preview help rpd
2009-09-03 13:48 ` ken
2009-09-03 20:42   ` rpd
2009-09-03 21:14     ` ken
2009-09-03 22:32       ` rpd
2009-09-04 23:10         ` rpd
2009-09-05 17:11           ` Tyler Smith
2009-09-05 21:27             ` rpd
2009-09-05 21:44               ` Drew Adams
2009-09-06  0:13                 ` rpd
2009-09-06  1:19                   ` Tyler Smith
2009-09-06  9:15                     ` rpd
2009-09-06  1:39                   ` Drew Adams
2009-09-06  9:22                     ` rpd
2009-09-06 11:49                       ` html browser preview help-SORTED (at last!) rpd
2009-09-06 14:17                       ` Drew Adams [this message]
     [not found]                     ` <mailman.6097.1252228975.2239.help-gnu-emacs@gnu.org>
2009-09-06  9:50                       ` html browser preview help Xah Lee
2009-09-06  9:56                       ` Xah Lee

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

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

  git send-email \
    --in-reply-to=3292E84CC9BF45A2A973884BC07A4E2A@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=Help-gnu-emacs@gnu.org \
    --cc=richard@dickinson350.freeserve.co.uk \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.