From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: GianUberto.Lauri@eng.it (Gian Uberto Lauri) Newsgroups: gmane.emacs.help Subject: RE: opening file in unix emacs Date: Tue, 8 Nov 2005 18:41:11 +0100 Message-ID: <17264.58167.937016.763313@paperoga.gianoziaorientale.it> References: <7785BF1FE7B8C142A802CA73435BCB0A0385A86E@US-BOS-MX002.na.pxl.int> Reply-To: saint@eng.it NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1131472236 32310 80.91.229.2 (8 Nov 2005 17:50:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 8 Nov 2005 17:50:36 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, saint@eng.it Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 08 18:50:27 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EZXUS-0003tJ-Q4 for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Nov 2005 18:42:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EZXUR-0001QU-Tu for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Nov 2005 12:42:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EZXT9-0000yX-3P for help-gnu-emacs@gnu.org; Tue, 08 Nov 2005 12:41:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EZXT8-0000y5-7U for help-gnu-emacs@gnu.org; Tue, 08 Nov 2005 12:41:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EZXT7-0000xz-PD for help-gnu-emacs@gnu.org; Tue, 08 Nov 2005 12:41:13 -0500 Original-Received: from [62.101.90.2] (helo=mail.eng.it) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EZXT7-0008E4-Sg for help-gnu-emacs@gnu.org; Tue, 08 Nov 2005 12:41:14 -0500 Original-Received: from mail.eng.it (localhost [127.0.0.1]) by deliver.antivirus (Postfix) with SMTP id C471A18006; Tue, 8 Nov 2005 18:41:12 +0100 (CET) Original-Received: from paperoga.gianoziaorientale.it (unknown [192.168.22.125]) by mail.eng.it (Postfix) with ESMTP id 5322E1802C; Tue, 8 Nov 2005 18:41:12 +0100 (CET) Original-To: "Leip, Eric" In-Reply-To: <7785BF1FE7B8C142A802CA73435BCB0A0385A86E@US-BOS-MX002.na.pxl.int> X-Mailer: VM 7.19 under Emacs 22.0.50.7 X-attribution: CC X-Zippy: I am having FUN... I wonder if it's NET FUN or GROSS FUN? X-PMX-Version: 5.0.3.165339 X-PerlMx-Spam: Gauge=%%XGAUGE%%%%IGAUGE%%, Probability=%%PROB%%, Report='%%HITS%%' 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:30914 Archived-At: >>>>> "LE" == 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=/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=/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). -- /\ ___ /___/\__|_|\_|__|___Gian Uberto Lauri_____________________ //--\ | | \| | Integralista GNUslamico \/ e allevatore di bug da competizione