From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: Command line open does not use find-file anymore? Date: Tue, 19 Sep 2017 13:38:40 +0200 Message-ID: <87d16mhq9r.fsf@web.de> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1505821161 3179 195.159.176.226 (19 Sep 2017 11:39:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 19 Sep 2017 11:39:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: "Everton J. Carpes" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 19 13:39:18 2017 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 1duGs0-0000JT-Bk for geh-help-gnu-emacs@m.gmane.org; Tue, 19 Sep 2017 13:39:16 +0200 Original-Received: from localhost ([::1]:41738 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1duGs1-00077R-HT for geh-help-gnu-emacs@m.gmane.org; Tue, 19 Sep 2017 07:39:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55250) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1duGrZ-00077I-Cd for help-gnu-emacs@gnu.org; Tue, 19 Sep 2017 07:38:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1duGrV-0005mb-Kt for help-gnu-emacs@gnu.org; Tue, 19 Sep 2017 07:38:49 -0400 Original-Received: from mout.web.de ([212.227.17.12]:64741) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1duGrU-0005lf-PU for help-gnu-emacs@gnu.org; Tue, 19 Sep 2017 07:38:45 -0400 Original-Received: from drachen.dragon ([193.80.82.214]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0LoYjO-1dSO6N0IQ6-00gWNr; Tue, 19 Sep 2017 13:38:41 +0200 In-Reply-To: (Everton J. Carpes's message of "Mon, 18 Sep 2017 06:00:16 -0300") X-Provags-ID: V03:K0:oYIRkwMPxhnp1h1IBMrv0Q0oP3FDOIVI2gAUc36ykf9KBDkARJS 04pH4cDA3nnG71CHsQ8WJHF+O6n2lUugVLLxlnGzUWUj4cnIqWyXYy32Xnd4jHyjRJCCJ2X tuy5n9ybKSOJf3ccoDSYbIdmyJXH9/s9nri5i+QRrA9kuk2c9QJsgFkQ+mnGMCCrn1LLfLG MNgbrBZAgRuHp71EdbyvA== X-UI-Out-Filterresults: notjunk:1;V01:K0:3hZ5huOXdsc=:EqhzITfTYtd50LD4yU1GvC UfuME7zbllB5CPuC32/b6wWRFR7vBaIMdcEfpYGFrRuN/tOVimKoRiGBgj18cLL1rD53o68ee z6OH6LD8XTq0Rw2jTG63PTchrpfcYppiW0JmpfSWHabgdU+QtiAy1J7MUaXsbOHQeXOlIgNs6 eNuU7BqSNmCvMtW4B+S3VQgowpgHfyTdn5kNeEfamcxG5UIGonN8rgsTz/shNSU9+54y8yFW9 RelWQpwouv67kEgqYDB9mV8hCAwKQfNCsRfEW4rpv/ARyn3hlmgcO23AcTnlwqzQWkcqpOWw4 dHuOoNneIcODm8QCFGruJU41AfVwZ1pyRCKUusM1u0LYxJSt8mcfxg3rSm7OAQAlXeiglBalX DRxS+5afubFZ0GacYxxB9MYT0LlVVmWktaf7+kreCLzaQnlvVPHWfa4U6VS48+CjKmA4exKnM V/xGniwe/J9QKEFFM7kxOjB+4sMW0fqlVboZatAR6mWy9+WkT+Nn1Bmle3jQtHZwljp6yJT2k n0RGUIOXjutbs99CcUUt85V7v20Pcl09KgDzYMTKn6Y/qK5Pt8C2D+ygbXL3VavWJsWmLEpTG Zr06HZSPaJdF6Ew4tsRlvDmEDnFguZD3spAoQTKTkevG4B7VwFSjbggUhGNkImj001PHtKFLq o6GtfMYTrtmRm9L+13EVNvpkeawCoY29Xj5UDlQiEL0zTTzeyxLlG3P8KUJODdPVeEQahG/8v IIMverEQC3ESzumAHUFN91K7C4KDtqCW6CLO14nRvBSuGxEV5ci21cNNwfRoxyO+8XwCGIcH X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.12 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:114310 Archived-At: "Everton J. Carpes" writes: > 1. Emacs 25 doesn't use find-file anymore when opening from command line? > 2. Which function is called now? > 4. How can I learn more about what emacs does when opened? Seems you are right - the code switched to `find-file-noselect' a while ago (`find-file' is just a thin wrapper around `find-file-noselect' that directly selects the file's buffer). You can find that argument handling code in startup.el, `command-line-1' in particular. Michael.