From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Samuel Wales Newsgroups: gmane.emacs.help,gmane.emacs.devel Subject: interactive spec with reasonable numbers for c-u Date: Wed, 7 Sep 2022 17:47:29 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34807"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org, emacs-devel@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 08 02:48:52 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 1oW5it-0008ta-Hd for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 08 Sep 2022 02:48:51 +0200 Original-Received: from localhost ([::1]:59144 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oW5ir-0008RR-UP for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 07 Sep 2022 20:48:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oW5hg-0008Qg-DZ; Wed, 07 Sep 2022 20:47:37 -0400 Original-Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]:37790) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oW5hd-0002iT-S3; Wed, 07 Sep 2022 20:47:36 -0400 Original-Received: by mail-lj1-x229.google.com with SMTP id x10so18010356ljq.4; Wed, 07 Sep 2022 17:47:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date; bh=dJ7i4a2TfHOk97WFjHYdfV9yXGJLMqvMFJRmNOqgeZI=; b=QWNvLbMwxJZJOojpgXZCYYTfA3lGz0bKIb6No8nqxCr/WaL2QTMVKEIOZPTXN4MHv6 sDmdCFdijpqHvvJR23ugcoMp2RjPXUYn2+wldjH3XqxuEdDQEORYHq71ZpM8xggLOuRM TXWb+KLLM+RbNIumcm/l2zmxfnJ8kjgeykvpH/FtfZk1CQem5Kb7xXpfU5bBGWZl9jS2 O1il5WGQMOQpVLkMzuinaj7A0xAFZeqB0O+m5sXXhIU/6IVcHLhJFPisjanISjtOf2Am kieregh2+svZbZfB9VFXnLVemoEuFmpETvZxsJP3R/A3xbkGPynZ5Z1zPqDTvR+hs5ea uJ0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date; bh=dJ7i4a2TfHOk97WFjHYdfV9yXGJLMqvMFJRmNOqgeZI=; b=bivJVTzcS246BZfEUgac0JRyVnZAYPCATIc6iHjJasPwPoc/X3FU1fLsSg5nlpXcgd 8IlM+6wregUaTHsrYJHxuVmFRWIeT0CHw7R2A+dVgEq2JqZPTiSSkjyfmV2QLAD8SAw4 BL9VsrExeaQ+mbbI6pTj56QcjevawuiaiRFSkUef3Rki7OUU8uqOJH6XOzXJHkH5ycdM q4Z8piszg/hRtVA4tWSqX1U5dm87sepAOowjSFiArRgk3bV3Qj51o//ie5zU8aGX/Bn8 7jfudI0nAO+Yem2+gBbW2kNo8o4oovo3nQl7LQz3PCh9CsdGQjn0VxQ1UVO4gI/Xb8eZ aCYw== X-Gm-Message-State: ACgBeo354QOFK2NJBFgeReDn3CSOn+1NHAlXKOU7IH2eBR7JNJ/X3NQ4 cjAUDkwOMekYNOq1t2RqZclAtruPyUfH2VE6Uce3J+/FYlZ8Eg== X-Google-Smtp-Source: AA6agR7cKxWAiRtY5HFp4CprIYKkcq3Zh3GUST403hyHfAFqXU3UtYARPmIVulev6ZDpJNCDdoJ0lq/5j+w42P3OiwA= X-Received: by 2002:a2e:b174:0:b0:26b:d94a:4b8c with SMTP id a20-20020a2eb174000000b0026bd94a4b8cmr135582ljm.361.1662598050712; Wed, 07 Sep 2022 17:47:30 -0700 (PDT) Original-Received: by 2002:a05:6520:709:b0:215:af4a:870d with HTTP; Wed, 7 Sep 2022 17:47:29 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::229; envelope-from=samologist@gmail.com; helo=mail-lj1-x229.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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:139315 gmane.emacs.devel:294889 Archived-At: not on these lists. some commands use c-u a few times, and the code does some stuff with interactive p or P that works with base 4 artithmetic and navigation commands. e.g. you will get number slike 1 for c-u, then 4 for c-u c-u. or you will get a list with base 4 artithmetic. then the programmer uses those to make a decision of what the command should do. iirc (64) i ssomething like c-u c-u c-u. our bodies are constructed and maintained by base 4 arithmentic. it is great stuff. but i think programmers migh want things like 1, 2, 3 for, respectively, c-u, c-u c-u. so, idk, if a number really is provided, then it an be in a list. but most of the time i am not talking about entering a number using m- or using c-u, but merely going c-u c-u c-u m-x .... so i was wondering if there exists an interactie spec that returns 0 1 2 3 for the number of c-u gien to the command.