trogdoro / xiki

A shell console with GUI features
http://xiki.org
Other
3.76k stars 208 forks source link

one line installer bug (emacsclient -t) #143

Closed masukomi closed 9 years ago

masukomi commented 9 years ago
➜ cd ~; curl -LO https://github.com/trogdoro/xiki/archive/master.tar.gz ; tar xzf master.tar.gz; cd xiki-master/bin; ./clearxsh; ./xsh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   121    0   121    0     0    119      0 --:--:--  0:00:01 --:--:--   119
  0     0    0  559k    0     0   234k      0 --:--:--  0:00:02 --:--:--  937k
emacsclient: invalid option -- t
Try `emacsclient --help' for more information

I'm not an emacs user but apparently i installed some version of it at some point. I'd say which version but emacs -version just returns with no output. emacsclient -V on the other hand returns "emacsclient 22.1" so maybe that's useful.

I'm assuming the installer is just assuming the user has a recent enough version of emacs client if they have it installed.

trogdoro commented 9 years ago

I did a push yesterday that likely fixed this. Please try again!

--Craig

On Fri, Apr 10, 2015 at 6:00 PM, masukomi notifications@github.com wrote:

➜ cd ~; curl -LO https://github.com/trogdoro/xiki/archive/master.tar.gz ; tar xzf master.tar.gz; cd xiki-master/bin; ./clearxsh; ./xsh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 121 0 121 0 0 119 0 --:--:-- 0:00:01 --:--:-- 119 0 0 0 559k 0 0 234k 0 --:--:-- 0:00:02 --:--:-- 937k emacsclient: invalid option -- t Try `emacsclient --help' for more information

I'm not an emacs user but apparently i installed some version of it at some point. I'd say which version but emacs -version just returns with no output. emacsclient -V on the other hand returns "emacsclient 22.1" so maybe that's useful.

I'm assuming the installer is just assuming the user has a recent enough version of emacs client if they have it installed.

— Reply to this email directly or view it on GitHub https://github.com/trogdoro/xiki/issues/143.

trogdoro commented 9 years ago

Anyone still getting this? If I don't hear anything I'll close the issue.

masukomi commented 9 years ago

sorry. yeah, just tried. I copy pasted the instruction from xiki.org and had the same result.

➜ cd ~; curl -LO https://github.com/trogdoro/xiki/archive/master.tar.gz ; tar xzf master.tar.gz; cd xiki-master/bin; ./clearxsh; ./xsh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   121    0   121    0     0    243      0 --:--:-- --:--:-- --:--:--   243
  0     0    0  559k    0     0   448k      0 --:--:--  0:00:01 --:--:-- 1851k
emacsclient: invalid option -- t
Try `emacsclient --help' for more information
trogdoro commented 9 years ago

Do you have time to screenshare today or tomorrow, so we can try and track this down?

trogdoro commented 9 years ago

Let me know when is a good time. Or if anyone else having this issue can pair with me to help me track it down, that would be helpful!

masukomi commented 9 years ago

sorry about the delay. I'm free after 2PM EST Wed and Thur if that works for you. Hit me up on twitter @masukomi and we can work out a time.

masukomi commented 9 years ago

I am happy to report it was user error :smile:

I had installed the Emacs.app and in order to have an emacs command I could use on my shell i had a little bash script named emacs that did this:

#!/bin/sh
nohup /Applications/Emacs.app/Contents/MacOS/Emacs "$@" > /dev/null 2>&1 &

After getting rid of that it worked fine. As an aside i opened the Emacs.app afterwards and it claims to be Version 24.3 (9.0) which doesn't seem that old, but what do I know. I'm a vim user. ;)