unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Shlomi Vaknin <shlomivaknin@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs opens a file on startup - I cant figure out why??
Date: Wed, 7 Sep 2016 13:09:05 -0700	[thread overview]
Message-ID: <CANyzh=jf+TTj8SGmxgKq40GsoqbpiV_5Ltuvu-QAw9TfU7qH6g@mail.gmail.com> (raw)
In-Reply-To: <CANyzh=gEe6c+gW4_j0cEfnVuCToFEU0qhHGqu9GK+CFXnTj31Q@mail.gmail.com>

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
>


  parent reply	other threads:[~2016-09-07 20:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2016-09-07 20:15   ` Alex Recker

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='CANyzh=jf+TTj8SGmxgKq40GsoqbpiV_5Ltuvu-QAw9TfU7qH6g@mail.gmail.com' \
    --to=shlomivaknin@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).