From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Visiting a set of files listed in a file Date: Sat, 09 Apr 2022 13:40:07 +0300 Message-ID: <83r1668rqw.fsf@gnu.org> References: <912809244.1719139.1649496689299@mail1.libero.it> <83sfqm8tlx.fsf@gnu.org> <1363320088.1756370.1649499336798@mail1.libero.it> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27177"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Apr 09 12:40:41 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nd8WH-0006tl-4c for ged-emacs-devel@m.gmane-mx.org; Sat, 09 Apr 2022 12:40:41 +0200 Original-Received: from localhost ([::1]:49632 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nd8WF-0003Or-Ga for ged-emacs-devel@m.gmane-mx.org; Sat, 09 Apr 2022 06:40:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36008) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nd8VX-0002ib-LU for emacs-devel@gnu.org; Sat, 09 Apr 2022 06:39:55 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47976) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nd8VW-0007hN-Op; Sat, 09 Apr 2022 06:39:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=uFByBjiIeuUCi/tWtoN4JyDomnhgsfuDQRD/Kmj+GMc=; b=eFvxBzbzUWLU 6KuMukhkatinziPsVfisark5UA4aBGTZe3tLdV8JKNjcCvRTY6OZcwkPzP9Mox4/AL7i4lEhNiSU1 5lKJwwyIf03z3+MQYt2rTuqwHejwtkfIg3OPyMJEhY5xA9Z7w+r5x0OnA907vJIgsVK33zZ5bmq31 jzc5SFSUnowCDhJbmX0rvu/djuPL643VXHzuCbrKH/Egh3G2GZVygCTiM6apKp+KmcFcGLEBkeDKO DB49N5YK/88ve2/hVTr9vQimJ3yFXIO/m0zarMAItibsf8vNsJI/IQq1zPFKMT9vY2lq0l8oht1wG Co9ckNjFYv7qi7qYeXiQXg==; Original-Received: from [87.69.77.57] (port=3139 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nd8VW-0004hp-00; Sat, 09 Apr 2022 06:39:54 -0400 In-Reply-To: <1363320088.1756370.1649499336798@mail1.libero.it> (message from Angelo Graziosi on Sat, 9 Apr 2022 12:15:36 +0200 (CEST)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:288016 Archived-At: > Date: Sat, 9 Apr 2022 12:15:36 +0200 (CEST) > From: Angelo Graziosi > Cc: emacs-devel@gnu.org > > > > How can I visit all those files without doing that manually which could be tedious if the file to be visited are 40-50? > > > > > > It would be useful doing that both from command line and inside Emacs... > > > > Something like > > > > emacs `cat FILE` > > > > I guess. > > Oh, yes but it works on unix-like systems. And on Windows? I assume to run some command from DOS prompt.. Which command? On Windows, you write a batch file that converts the file's contents into a list of file names, then invokes Emacs with that list of file names. > If I run the above from MSYS2 shell there is a mismatch with the HOME directory and consequently where Emacs reads the init file and where it saves the desktop file.. What do you mean by "mismatch with HOME directory"?