From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: Placement of list within an interactive clause Date: Sun, 17 Jul 2022 03:53:11 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6319"; mail-complaints-to="usenet@ciao.gmane.io" Cc: carlmarcos@tutanota.com, Help Gnu Emacs To: Jean Louis Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 17 03:54:31 2022 Return-path: Envelope-to: geh-help-gnu-emacs@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 1oCtUM-0001RH-Hm for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 17 Jul 2022 03:54:30 +0200 Original-Received: from localhost ([::1]:42024 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oCtUL-0005GE-7I for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 16 Jul 2022 21:54:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57528) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCtTm-0005Fx-Q7 for help-gnu-emacs@gnu.org; Sat, 16 Jul 2022 21:53:54 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:47005) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCtTk-0001Nd-Nz for help-gnu-emacs@gnu.org; Sat, 16 Jul 2022 21:53:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1658022791; bh=VMT32is9mqqepkDC4t9GwXCxquNRKYklgeyCeg+F+7s=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=atPUTr2vvX6r6HDgJKym77GZWW5aUJFgFg0MRhlzIgDPj5lqXq39Bc2vkYNSHvGfF /GIqY7BIqdrVd4+FEJSYQNN/ZDUmCXlZdaJWX7Li9HvlqK7QYjtUYlqsVqgTZRvIFw KG9GQFiPNTuwEoboLV0exex41os9AUUS3ljWxyKk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [92.251.127.164] ([92.251.127.164]) by web-mail.gmx.net (3c-app-mailcom-bs14.server.lan [172.19.170.182]) (via HTTP); Sun, 17 Jul 2022 03:53:11 +0200 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:HynjTFddALXGRrtsDpsLPnl2qGRx1Vivv6MkN5nZa8ILPRHzRkgG10gp+4YZTCcB/loTq Bs3MyeyKXIRfKkBmLyZ41rp04le37Alms07fqVKeG1L2hkYuJRCSC5BIqV8L9cc5hKcc2Ja8mc7d Fr+KXXmAHQkDRPmPJSaO0PwhhvvzYKpEgawJHiAbYmJGYVE5kyTK+OTDEWALvLL++bPtlQxCLnmd oqurvZs7sMW5Xo+Ia2DZqAJXYxbTjgM3/W9WgCG4hGI/8Qo1v4e1KcsR6qfBz5KOpGQOgZ4m6U7r oQ= X-UI-Out-Filterresults: notjunk:1;V03:K0:sv5VBZhqmeE=:X1nz7VOocXvRFcWuh8zS6a 8Y5UDmJJS31/aRQJLxsXHUXRWf7RUTqK8sOnKK7dU7CgNzhg7RU97NOfs8uQWr6C3uvx9f0d7 JppVeiiaHRK2JkDTIS3iGOyk6nEJRGrH634Ucbu4T/BMQAnGKBk2QlaE2UvjRzlh+L08NqouO KjytB7L7OjxwfsnR2oBk0zX6BDKxAs+3sufNqqVGB62oGhMz6/QJ3MQHNkirmvfSAbyX8Datg WW/u6qhUSuc8awwLLDD0bkgheOBVA63oTCgNrRHbrjFIOTNAnVo0ySuwtmya1sUXw463wiaXN qRpgYVSyvawyja0mZPAmXTc6pm2hd1VJ1OrngBY5shU+kGRR6inbVr4hma2e3XyV4dk+y+VX8 F3pkeFUyhZ4OndlqedoiH4B6Kpg6UcbT6Bysl4bx0IOZ/YCSaxtQCmepY4dVA9Ls2ZFmFCguZ J8xsjNHk/9Ib9nvQtbEgE5EH30Bj0V6cKAm7oLGGBRD1JbrpPraENOJO8ZrQ3x1X+yIomDbzR WCecOV6NKZGK7vhQLlcgxXRJxwwvO4H9Fi4kLranvGKGzc2C6VLC3a6djIM7x1+SrQu3kzKBu HHPfw9/ECrQKn/FlIO9dfihru+e6p/R35sPbjhsWSlXdZrA2gn2QibQUVLSiJza9H0tur/QV5 l+80kYCkf3JDwdDjX+fxmB32OYrczMckdFkUXImed/qMW5znhn1kc/PKCvI07o+9gYQ4Hs12q lCtR0CHLNXMA2eEJdEsSgopmnHndx8+eeDKHLqlfiwvwyktvuEZGWr69NXlXj13P9Q/y98y6 Received-SPF: pass client-ip=212.227.15.15; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:138508 Archived-At: > Sent: Sunday, July 17, 2022 at 11:40 AM > From: "Jean Louis" > To: carlmarcos@tutanota=2Ecom > Cc: "Christopher Dimech" , "Help Gnu Emacs" > Subject: Re: Placement of list within an interactive clause > > * carlmarcos--- via Users list for the GNU Emacs text editor [2022-07-17 01:09]: > >=20 > > Jul 15, 2022, 21:31 by bugs@gnu=2Esupport: > >=20 > > > * carlmarcos@tutanota=2Ecom [2022-07-16 = 00:23]: > > > > > >> Yes, I realise that=2E=C2=A0 I see that (interactive) is misleading= =2E=C2=A0 > > >> Although "read-from-minibuffer" cannot be called from M-x, it still > > >> asks for input through the minibuffer=2E=C2=A0 Notwithstanding =C2= =A0 that > > >> normal programming language code does not customarily lead to user > > >> input during run-time, particularly when automation is pursued=2E > > >> > > > > > > Emacs Lisp is what it is=2E Text editor IS interactive as by the con= text > > > of English language=2E Declaration "(interactive)" is not misleading= as > > > it has pretty good description what it is=2E If you however, do not > > > understand any word in that description, let us know=2E > > > > > > > > It is misleading when you do not use it, but having the body run > > minibuffer commands in the body=2E=C2=A0 If you want to make a functio= n > > without ever interacting with the user (with either M-x or > > whatever), then calling any minibuffer functionality in the body is > > contrary to what you want to do=2E=C2=A0 That's all I am saying=2E >=20 > Emacs is very interactive=2E=20 >=20 > Do you maybe think that functions without (interactive) declaration > shall not ask user anything?=20 >=20 > When invoked only from Lisp there are many uses for such functions=2E=20 Sure, but if you want a fully non-interactive function, do not call=20 minibuffer functionality in the body of the function=2E =20 > Does it really need to be text input to be considered interactive? >=20 > Logging of activities may be displayed in a buffer, that is > interactive too=2E Input alone is not interaction=2E Changing Emacs styl= e > is also interaction and need not be invoked interactively=2E Defining interaction too broadly makes it useless, because it cannot=20 distinguish between anything=2E For emacs, interaction should always be associated with direct user input (never with automatic input or customisation within the program through elisp, unless you ask the user to directly input operational inputs)=2E For the broader context one can describe "intercommunication" with emacs= =2E Interactive in emacs in most times associated with user interaction via M-x or keybinding=2E =20 > What about this? I am just looking into some files and I find many of > functions do have strong interactivity, and they are on my side called > form Lisp=2E I need not call them from M-x or have them as a command > just because functions is interacting with user=2E I would also call them interactive functions, even though you do not call = them=20 with M-x=2E=20 =20 > (defun my-alarm () > (start-process "Alarm" "Alarm" "mpv" "/home/data1/protected/Media/Vide= os/Rooster Crowing Compilation Plus - Rooster crowing sounds Effect 2016=2E= mp4")) >=20 >=20 > --=20 > Jean >=20 > Take action in Free Software Foundation campaigns: > https://www=2Efsf=2Eorg/campaigns >=20 > In support of Richard M=2E Stallman > https://stallmansupport=2Eorg/ >=20 >