From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: menu command Date: Mon, 27 Aug 2018 13:21:50 +0200 Message-ID: <20180827112150.GA16347@tuxteam.de> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1535368834 24935 195.159.176.226 (27 Aug 2018 11:20:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 27 Aug 2018 11:20:34 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 27 13:20:30 2018 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 1fuFZO-0006Pq-7D for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Aug 2018 13:20:30 +0200 Original-Received: from localhost ([::1]:52546 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fuFbU-00032m-Gl for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Aug 2018 07:22:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fuFam-00031N-SG for help-gnu-emacs@gnu.org; Mon, 27 Aug 2018 07:21:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fuFaj-0007wT-MS for help-gnu-emacs@gnu.org; Mon, 27 Aug 2018 07:21:56 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:48141) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fuFaj-0007ly-BR for help-gnu-emacs@gnu.org; Mon, 27 Aug 2018 07:21:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date; bh=aFp7W20B5xjpsBNfacjS9OX6NI08L3szW1sROCAK//Y=; b=gqRbAmiP6j0/F0pQsINUj4XwGTYTWHZdLh/VKL7FRw83EAmokoiT8jC/4f+RreGdPsQ+hzHqiLqYThTCous4ywo1X/PVKvWleJauBBgdLgZm2CpFITVvsvkhpt9ao1bxPoSVPITVuksKeBOD9jjgxfpdZfboWE8KoLHKJSvJXFryTIckkSbQ1oEek32I5ZQhMTT9QoqegHgNBuEoHzdcC56RmIO6WGxlRF+Otinj85ajeQWMsAKqF/tRiQJSpBbu251sF/EbJdgL2+DHrvSwycfQS/UKS6TwMmZN/Rb/PNCrwqRZijAOyi3kQmrgTQ80ccML7m+JhqoW1/DxJg+cbQ==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1fuFag-0004L1-2V for help-gnu-emacs@gnu.org; Mon, 27 Aug 2018 13:21:50 +0200 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 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:117767 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, Aug 27, 2018 at 11:45:30AM +0200, Lajos Bodnar wrote: > Hi, > I'd like to know what is the "visit new file" command in the menubar. > This command can open a filedialog ... > I tried to find it but ... I'm not sure I understand your question, but let me try :-) "Visit new file" is there to open an existent file or to create a new file. It is the usual way to open files in Emacs, also bound to the key sequence C-x C-f. This is what I always use (I don't use menus very often in Emacs). "Open file" (just one down in the menu) will only let you open existing files, i.e. you can't create a new one. Perhaps it is there to prevent mistakes (e.g. by mis-typing a name) when you expect that the file already exists. Perhaps a way to find out such things in Emacs is C-h C-k ("describe key"). You first type C-h C-k (i.e. -h then -k), and then you click on the menu entry you are trying to understand. Then you get a description of the function behind that menu entry (this works also for keyboard shortcuts). Cheers - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAluD3s4ACgkQBcgs9XrR2kZgDACaAlkhmXfr5Yfjbie6kveDPUb7 QGYAn388CvGbLcptfchQUfHn1t3j4k+9 =aAFO -----END PGP SIGNATURE-----