unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Patrick Mahan <plmahan@gmail.com>
To: Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: Opening a file in the current directory
Date: Sat, 22 Oct 2022 15:05:49 -0700	[thread overview]
Message-ID: <CAFDHx1JOLoke=vGxjn=3+A1DCpHZOqeopOnWJRmK1N=3xav2ZA@mail.gmail.com> (raw)

All,

I just recently purchased one of the newer Macbook Pro (M1) 14-inch. So I
downloaded a new version of emacs from https://emacsformacosx.com.  It
seems fine with my current set of customizations, however, there is one
oddity.

It will not open a file from the terminal.  If I give it the command "open
-a /Applications/Emacs.app <filename>", it does not open the file since it
is looking in my home director (~/) not in my current directory.

I did a search on both google and EmacsWiki but could not find a solution
or even a problem description.  What would be the configuration button for
opening in the current directory?  I am currently working around it by
entering the full path name on the command line, but that is rather
annoying.  I can fix this in the little zsh function I wrote to get the
file as its full path but I wanted to see if there is something
configurable in emacs.

I am using emacs 28.2 -
GNU Emacs 28.2 (build 1, aarch64-apple-darwin21.1.0, NS appkit-2113.00
Version 12.0.1 (Build 21A559)) of 2022-09-12
Copyright (C) 2022 Free Software Foundation, Inc.

Thanks,

Patrick


                 reply	other threads:[~2022-10-22 22:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='CAFDHx1JOLoke=vGxjn=3+A1DCpHZOqeopOnWJRmK1N=3xav2ZA@mail.gmail.com' \
    --to=plmahan@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).