From: William Lederer <wgl@ciexinc.com>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: 18846-done@debbugs.gnu.org
Subject: bug#18846: 24.4; isatty fix in revision 114730 breaks in shell scripts
Date: Fri, 31 Oct 2014 10:36:10 -0500 [thread overview]
Message-ID: <8E98D65F-0601-4942-B416-2A1E23EA9E29@ciexinc.com> (raw)
In-Reply-To: <5614382F-96A1-4B8C-B3B5-728371987E68@swipnet.se>
[-- Attachment #1: Type: text/plain, Size: 1090 bytes --]
Thanks much!
wglb
> On Oct 31, 2014, at 10:20 AM, Jan Djärv <jan.h.d@swipnet.se> wrote:
>
> Hi.
>
>> 26 okt 2014 kl. 23:33 skrev William Lederer <wgl@ciexinc.com>:
>>
>>
>> Maintainers:
>>
>> In emacs 24.4 built for mac os x, if I invoke emacs from a command
>> line, it properly remembers the current directory. However, if I launch
>> it from a shell script called from the command line, it forgets the
>> current directory and goes to the home directory. This happens even if
>> the --chdir option is used on the command line.
>>
>> If the command
>>
>> /Applications/Emacs.app/Contents/MacOS/Emacs &
>>
>> is launched from an interactive shell, all is well. If it is launched
>> from an executable script ~/bin/ea
>>
>> #!/bin/bash
>> /Applications/Emacs.app/Contents/MacOS/Emacs --chdir `pwd` --title "`basename $PWD` hosted `hostname`" &
>>
>> emacs ends up in the home directory.
>
> I checked in a fix in the 24-branch such as --chdir will work in this case.
> But the rest of 114730 stands, it fixes another bug.
>
> Jan D.
[-- Attachment #2: Type: text/html, Size: 6055 bytes --]
prev parent reply other threads:[~2014-10-31 15:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-26 22:33 bug#18846: 24.4; isatty fix in revision 114730 breaks in shell scripts William Lederer
2014-10-31 15:20 ` Jan Djärv
2014-10-31 15:36 ` William Lederer [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8E98D65F-0601-4942-B416-2A1E23EA9E29@ciexinc.com \
--to=wgl@ciexinc.com \
--cc=18846-done@debbugs.gnu.org \
--cc=jan.h.d@swipnet.se \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.