From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: html browser preview help Date: Sun, 6 Sep 2009 07:17:05 -0700 Message-ID: <3292E84CC9BF45A2A973884BC07A4E2A@us.oracle.com> References: <25273542.post@talk.nabble.com> <4A9FC945.8070703@mousecar.com><25283740.post@talk.nabble.com> <4AA031B3.1060908@mousecar.com><25285280.post@talk.nabble.com> <25303306.post@talk.nabble.com><4AA29BDC.3060304@eku.edu> <25312500.post@talk.nabble.com><60980647A112445C948583D156804EA2@us.oracle.com><25313460.post@talk.nabble.com> <25315933.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1252246963 14287 80.91.229.12 (6 Sep 2009 14:22:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Sep 2009 14:22:43 +0000 (UTC) To: "'rpd'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 06 16:22:36 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MkIdY-00034m-1r for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Sep 2009 16:22:36 +0200 Original-Received: from localhost ([127.0.0.1]:60376 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MkIdX-0003SP-7b for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Sep 2009 10:22:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MkId3-0003Re-OO for help-gnu-emacs@gnu.org; Sun, 06 Sep 2009 10:22:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MkIcx-0003MO-Ps for Help-gnu-emacs@gnu.org; Sun, 06 Sep 2009 10:22:05 -0400 Original-Received: from [199.232.76.173] (port=34946 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MkIcx-0003M7-HG for Help-gnu-emacs@gnu.org; Sun, 06 Sep 2009 10:21:59 -0400 Original-Received: from acsinet12.oracle.com ([141.146.126.234]:33177) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MkIcx-0003fF-2f for Help-gnu-emacs@gnu.org; Sun, 06 Sep 2009 10:21:59 -0400 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by acsinet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n86EGD3g002349 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 6 Sep 2009 14:16:15 GMT Original-Received: from abhmt001.oracle.com (abhmt001.oracle.com [141.146.116.10]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n86EGq4U011723; Sun, 6 Sep 2009 14:16:53 GMT Original-Received: from dradamslap1 (/24.5.190.74) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 06 Sep 2009 07:16:51 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <25315933.post@talk.nabble.com> Thread-Index: Acou06qutSbeOLXySbac1j8hWxS8fwAJ+o7g X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: abhmt001.oracle.com [141.146.116.10] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090203.4AA3C454.0102:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67905 Archived-At: > 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.