From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Leip, Eric" Newsgroups: gmane.emacs.help Subject: RE: opening file in unix emacs Date: Wed, 9 Nov 2005 08:51:05 -0500 Message-ID: <7785BF1FE7B8C142A802CA73435BCB0A0385A87C@US-BOS-MX002.na.pxl.int> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1131549148 27539 80.91.229.2 (9 Nov 2005 15:12:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 Nov 2005 15:12:28 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 09 16:12:21 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EZrbO-0006SA-7B for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Nov 2005 16:11:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EZrbM-0007y2-TA for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Nov 2005 10:11:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EZqMS-0002eu-9H for help-gnu-emacs@gnu.org; Wed, 09 Nov 2005 08:51:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EZqMO-0002dy-N5 for help-gnu-emacs@gnu.org; Wed, 09 Nov 2005 08:51:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EZqML-0002dl-WE for help-gnu-emacs@gnu.org; Wed, 09 Nov 2005 08:51:31 -0500 Original-Received: from [12.104.10.187] (helo=mimir.parexel.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EZqMM-0003DW-49 for help-gnu-emacs@gnu.org; Wed, 09 Nov 2005 08:51:30 -0500 Original-Received: from ([172.24.212.121]) by mimir.parexel.com with ESMTP id KP-BPZVY.18122706; Wed, 09 Nov 2005 08:51:05 -0500 Original-Received: from US-BOS-MX002.na.pxl.int ([172.24.212.114]) by US-BOS-MX007.na.pxl.int with Microsoft SMTPSVC(6.0.3790.211); Wed, 9 Nov 2005 08:51:05 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: opening file in unix emacs Thread-Index: AcXki64scO6KVLd3QdCTzIHueQ2adQAAKkRwACoLmbA= Original-To: X-OriginalArrivalTime: 09 Nov 2005 13:51:05.0333 (UTC) FILETIME=[A1127A50:01C5E534] 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:30934 Archived-At: adding the $@ worked perfectly, thank you Eric Leip=20 Senior Biostatistician=20 PAREXEL International=20 200 West Street=20 Waltham, MA 02451=20 781.434.4276=20 -----Original Message----- From: Leip, Eric=20 Sent: Tuesday, November 08, 2005 12:47 PM To: 'saint@eng.it' Cc: help-gnu-emacs@gnu.org Subject: RE: opening file in unix emacs thanks, I will check it out. Eric Leip=20 Senior Biostatistician=20 PAREXEL International=20 200 West Street=20 Waltham, MA 02451=20 781.434.4276=20 -----Original Message----- From: Gian Uberto Lauri [mailto:GianUberto.Lauri@eng.it] Sent: Tuesday, November 08, 2005 12:41 PM To: Leip, Eric Cc: saint@eng.it; help-gnu-emacs@gnu.org Subject: RE: opening file in unix emacs >>>>> "LE" =3D=3D Leip, Eric writes: LE> Thanks for the reply. When I typed "type emacs" I got: LE> /usr/local/bin/emacs LE> and that emacs file is: LE> SHLIB_PATH=3D/usr/local/lib/pa1.1:/usr/local/lib/pa1.1/X11 = /usr/local/bin/emacs-run LE> and I can't look at emacs-run. emacs-run is the binary file. You invoke a shell script that sets the envirnoment variabie SHLIB_PATH so that Emacs can load some shared libraries. The solution could be use this shell script SHLIB_PATH=3D/usr/local/lib/pa1.1:/usr/local/lib/pa1.1/X11 \ /usr/local/bin/emacs-run $@ (I split the line at \ for readability sake) a "trick" commonly used under Mac OS X to launch the Emacs.app from the command line. You can put this script in your bin (provided that you put your bin before /usr/local/bin) or ask your sysadmin to patch the script. I think that most users at your site just launch emacs and then keep it running all the session long, you can still use emacsclient to use the running emacs as an "editing server" (requires loading the server lib). --=20 /\ ___ /___/\__|_|\_|__|___Gian Uberto Lauri_____________________ //--\ | | \| | Integralista GNUslamico =20 \/ e allevatore di bug da competizione