* Re: Emacs opens a file on startup - I cant figure out why??
2016-09-07 17:36 Emacs opens a file on startup - I cant figure out why?? Shlomi Vaknin
@ 2016-09-07 18:25 ` Óscar Fuentes
2016-09-07 18:45 ` Eli Zaretskii
2016-09-07 20:09 ` Shlomi Vaknin
2 siblings, 0 replies; 5+ messages in thread
From: Óscar Fuentes @ 2016-09-07 18:25 UTC (permalink / raw)
To: help-gnu-emacs
Shlomi Vaknin <shlomivaknin@gmail.com> writes:
> I love to live in my emacs, and recently the strangest thing has happened
> to me.. While messing around with emacs, compiling it, messing with its
> configuration etc, I opened some file, and now that file buffer simply wont
> go away.. :P
>
> I have completly removed .emacs.d directory, completly reinstalled emacs, I
> am starting emacs like this:
>
> emacs -q --no-init-file --no-desktop
>
> But still, the moment emacs is open, it opens this buffer! I tried to
> find/grep everywhere I could think of for that file name, but nothing comes
> up.... Nothing useful in *Messages* either.. Where could this come from?
>
> Any ideas???
Maybe you dumped Emacs with that file loaded. See C-h f dump-emacs.
Although IIRC you can't dump an already dumped Emacs.
Try rebuilding Emacs to see if the new executable does the same. Or, if
you have another Emacs binary around, try running it.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Emacs opens a file on startup - I cant figure out why??
2016-09-07 17:36 Emacs opens a file on startup - I cant figure out why?? Shlomi Vaknin
2016-09-07 18:25 ` Óscar Fuentes
2016-09-07 18:45 ` Eli Zaretskii
@ 2016-09-07 20:09 ` Shlomi Vaknin
2016-09-07 20:15 ` Alex Recker
2 siblings, 1 reply; 5+ messages in thread
From: Shlomi Vaknin @ 2016-09-07 20:09 UTC (permalink / raw)
To: help-gnu-emacs
Thanks Eli and Oscar, your replies helped me.
So I was recompiling, getting new binaries, checking my alias (which I do
use since unfortunately I am on OSX). And nothing seemed to help...
Until I realized that I tried some new "fancy" plugin in zsh, namely
"zsh-navigation-tools", and for some reason (or, somehow!) they bound $1 to
constantly be that file name, and my alias was "Emacs $@", so it was
opening that file...
I really dont get why or how that plugin did that, or what silly thing am I
missing.. For now I am removed that plugin, and life is back to normal..
Thanks for helping me out,
Shlomi
On Wed, Sep 7, 2016 at 10:36 AM, Shlomi Vaknin <shlomivaknin@gmail.com>
wrote:
> Hello all,
>
> I love to live in my emacs, and recently the strangest thing has happened
> to me.. While messing around with emacs, compiling it, messing with its
> configuration etc, I opened some file, and now that file buffer simply wont
> go away.. :P
>
> I have completly removed .emacs.d directory, completly reinstalled emacs,
> I am starting emacs like this:
>
> emacs -q --no-init-file --no-desktop
>
> But still, the moment emacs is open, it opens this buffer! I tried to
> find/grep everywhere I could think of for that file name, but nothing comes
> up.... Nothing useful in *Messages* either.. Where could this come from?
>
> Any ideas???
>
> Thanks,
> Shlomi
>
^ permalink raw reply [flat|nested] 5+ messages in thread