From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: history of argv (was: Re: How to do a massive unfill paragraph operation over several hundred files?) Date: Sat, 29 Sep 2018 14:04:36 +0200 Organization: Aioe.org NNTP Server Message-ID: <86sh1s33xn.fsf_-_@zoho.com> References: <8636ts4jz3.fsf@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1538222607 6969 195.159.176.226 (29 Sep 2018 12:03:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 29 Sep 2018 12:03:27 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 29 14:03:23 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 1g6Dxy-0001gi-Ah for geh-help-gnu-emacs@m.gmane.org; Sat, 29 Sep 2018 14:03:22 +0200 Original-Received: from localhost ([::1]:50749 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g6E04-0001ox-WE for geh-help-gnu-emacs@m.gmane.org; Sat, 29 Sep 2018 08:05:33 -0400 X-Received: by 2002:a1c:4b04:: with SMTP id y4-v6mr882697wma.7.1538222676804; Sat, 29 Sep 2018 05:04:36 -0700 (PDT) Original-Path: usenet.stanford.edu!143-v6no2450344wmm.0!news-out.google.com!z184-v6ni8997wmz.0!nntp.google.com!proxad.net!feeder1-2.proxad.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: onLrbz09yV+MU3RaxdbMkg.user.gioia.aioe.org Original-X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.3 Mail-Copies-To: never Cancel-Lock: sha1:s1ShuVFxjxlcNXq0Dvd6e9kam/I= Original-Xref: usenet.stanford.edu gnu.emacs.help:223938 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:118064 Archived-At: > (dolist (f argv) > (find-file f) > (insert "Sail Ho!") ; do your thing here > (save-buffer) ) BTW I always thought, without thinking about it, that "argv" is a convention in and from the C programming language! But Lisp is older than C (1958 to 1972; Elisp in particular tho a 1985 youngster) so perhaps it is the other way around? Or argv may trace its origin to yet some other language or piece of technology! What do you say? PS. Here, technically it is an alias for `command-line-args-left' which is a variable in startup.el. Ain't it cool stuff? -- underground experts united http://user.it.uu.se/~embe8573