From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Shlomi Vaknin Newsgroups: gmane.emacs.help Subject: Re: Emacs opens a file on startup - I cant figure out why?? Date: Wed, 7 Sep 2016 13:09:05 -0700 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1473279026 26926 195.159.176.226 (7 Sep 2016 20:10:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 7 Sep 2016 20:10:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 07 22:10:23 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhjAh-0005d4-OO for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Sep 2016 22:10:11 +0200 Original-Received: from localhost ([::1]:42837 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhjAf-0001UV-JT for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Sep 2016 16:10:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhjAB-0001UI-Vf for help-gnu-emacs@gnu.org; Wed, 07 Sep 2016 16:09:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhjA9-0004Qb-SY for help-gnu-emacs@gnu.org; Wed, 07 Sep 2016 16:09:38 -0400 Original-Received: from mail-vk0-x233.google.com ([2607:f8b0:400c:c05::233]:36233) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhjA9-0004QJ-Me for help-gnu-emacs@gnu.org; Wed, 07 Sep 2016 16:09:37 -0400 Original-Received: by mail-vk0-x233.google.com with SMTP id w64so22925553vkh.3 for ; Wed, 07 Sep 2016 13:09:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=BENCz/Zls0k9846qDOIlOZsTfswiS4Jyn+pz1zrpKss=; b=LE6nn2AoCAAyw1Txw4Pabw5YvahI1qdj3Smxxpj38R3qRjxR8DK4NfiqE38NJbd/ZN 0HzHVLePO/Drd9XKLDQ1huN4BglGkJf6XCsM8GccBSPZyJzxbHFLOZywSmbdgdVX7JTt jDLtakbmMwwKEghQPRkXt6340mQVPcr7dhjKFgs4QlSNfjG6Nf4QvuvobpmZapmDF/xI Y2cFJB9B7sgXRUbNW1F7PfCzNb2LeTRv5CFMLHyvEtj1UJEVxKSBuDalW30OkXSctf5I bDR67AsvZ8K/iEypqbnrH11HiVXi4wMIXDxZmB20iyf26jBmSqrQwuT/igHxmEpsRKoy KpjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=BENCz/Zls0k9846qDOIlOZsTfswiS4Jyn+pz1zrpKss=; b=ZNOoN/IweQtNV8fH/68HGGkfsy0ADh0bYZehElw9oM6ry7Usko7CsF/Q/MV70sO4zw 1g6gcPzJSRKFeDNW8PfGaw2iahf7JO/l4y7QP46vMRPSKHctC12Q05ZfggfAQhU6O8Eb 68Gmbjjol46QoRPfX1tjkeb/MPTCxnAW2R+zfIfSoVbNTc72t8a6B6h6o8I8XtNfp5d0 o7+0bY5/EZyubgRfXBkzRJg23evozo1kR0MX7korGbE00IGej4pRYtIyDr9zg6nYf6BO +V2KGLjxFto6xn4t7JGJ7Gj/Qx6PLE07Ds9QJHVytiBwFvbNhW3KEUnNoGunAfdN+7y1 bSYg== X-Gm-Message-State: AE9vXwOEkvQcyfNga7RkfW64ZIy+UxGQjNNVKLHWlOm3Pd+ZwiXH3gX7MCJ8aj51FQuZOmH45OrHd4k1WIuv4g== X-Received: by 10.31.41.20 with SMTP id p20mr7425526vkp.6.1473278975975; Wed, 07 Sep 2016 13:09:35 -0700 (PDT) Original-Received: by 10.31.9.131 with HTTP; Wed, 7 Sep 2016 13:09:05 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400c:c05::233 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111304 Archived-At: 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 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 >