unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Buchs <kevin.buchs@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Magit misbehavior on MacOS - newbie here
Date: Tue, 10 Jul 2018 12:24:01 -0500	[thread overview]
Message-ID: <CAKT9s6A3yc+Q+dC5929Mk94PinDQVq+8kjD0qiidzXBABsXpxQ@mail.gmail.com> (raw)

I just started using magit a few days ago and it is working fine on Linux
(emacs v26). However on my Mac (emacs v25.3.1, magit 2.13.0) it is
misbehaving when I try to perform a commit. It seems to be taking a script
and instead opening buffers with the words found in the script, as well as
trying to create files by the same name. The literal buffer/file names
include:

$sleep'
wait
USR2;
1"
exit
$sleep;
"kill
trap
USR1;
0"
sleep=$!;
&
604800
sleep
$0";
OPEN
$$
"WITH-EDITOR:
'echo

These seem to be coming from
~/lib/emacs/elpa/with-editor-2.7.3/with-editor.el, which includes this
defcustom:

(defcustom with-editor-sleeping-editor "\
sh -c '\
echo \"WITH-EDITOR: $$ OPEN $0\"; \
sleep 604800 & sleep=$!; \
trap \"kill $sleep; exit 0\" USR1; \
trap \"kill $sleep; exit 1\" USR2; \
wait $sleep'"

and ~/lib/emacs is the first element of my load-path.

Anyone have ideas on this problem?

Kevin Buchs


                 reply	other threads:[~2018-07-10 17:24 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=CAKT9s6A3yc+Q+dC5929Mk94PinDQVq+8kjD0qiidzXBABsXpxQ@mail.gmail.com \
    --to=kevin.buchs@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).