From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Alberto_Sim=C3=B5es?= Newsgroups: gmane.emacs.help Subject: Emacs opening to files when asked to open one Date: Thu, 16 Apr 2009 18:08:47 +0100 Message-ID: <2b670b7e0904161008y447d6feeq9c9ab8d907a5fec5@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1239901842 7317 80.91.229.12 (16 Apr 2009 17:10:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Apr 2009 17:10:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 16 19:12:02 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 1LuV6s-00075Q-9x for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Apr 2009 19:10:46 +0200 Original-Received: from localhost ([127.0.0.1]:60507 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LuV5T-0008C0-J6 for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Apr 2009 13:09:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LuV55-0008Br-Rq for help-gnu-emacs@gnu.org; Thu, 16 Apr 2009 13:08:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LuV50-0008BE-EN for help-gnu-emacs@gnu.org; Thu, 16 Apr 2009 13:08:54 -0400 Original-Received: from [199.232.76.173] (port=48014 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LuV50-0008B4-4U for help-gnu-emacs@gnu.org; Thu, 16 Apr 2009 13:08:50 -0400 Original-Received: from mail-ew0-f160.google.com ([209.85.219.160]:63763) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LuV4z-0007dR-KM for help-gnu-emacs@gnu.org; Thu, 16 Apr 2009 13:08:49 -0400 Original-Received: by ewy4 with SMTP id 4so495273ewy.42 for ; Thu, 16 Apr 2009 10:08:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=dT3wi7oIcZ+k3RhrQZ6Tn1EhOunnSn6txy9ANg0nWK8=; b=umNyAz1GSxhIhehQtNseHAKNWEDnBWhpbeNNFi5u6QOhwkOzIKNYZARiC6HWgcUR/6 YDhbf++i2ZRhmcKkS3GaomFNzGqglVXbVpA4CfsLvYHkLfRqWTWHia3udIfWnnE0pe0Z 7eyvARUn6hrftZcLBDWXp2Hhn0ZiqGfFSZJOA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=SbSQZMR500z1P9+Uc2QxQnaWYUDmPoWHsTHjArMfHEQ33TEbt58W2fJMquk7j//xmN E37aoXgTZzIG3tkMkcFGdKHo+X2zpFi0Do4pdxG5QCkukksHePi/3hJ8Hytwdk3h9q5g q5+TlLVKx6pf2tyywsMV/OC1n8k95jXyMgAFQ= Original-Received: by 10.210.57.12 with SMTP id f12mr1729185eba.4.1239901727999; Thu, 16 Apr 2009 10:08:47 -0700 (PDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:63779 Archived-At: Hello Under MacOS (NS) I added an alias to open files directly on the shell: [ambs@rachmaninoff VisitasDI]$ alias emacs alias emacs=3D'/Applications/Emacs.app/Contents/MacOS/Emacs' This way I can use: $emacs foo & and it works. But, if I do $ emacs public_html/index.html & (in fact, any file that is not in current dir) emacs will open it, but also an empt index.html, not sure where. Any hint on how to solve? Would this be a bug (weird , but possible), or is there any better way to alias an emacs command? Thank you Alberto --=20 Alberto Sim=C3=B5es