From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eduardo Ochs Newsgroups: gmane.emacs.devel Subject: Re: Add moc to Non-GNU ELPA Date: Tue, 17 Dec 2024 09:00:18 -0300 Message-ID: References: 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="29650"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rms@gnu.org, emacs-devel@gnu.org To: Psionic K Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 17 13:01:45 2024 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 1tNWGm-0007XY-CI for ged-emacs-devel@m.gmane-mx.org; Tue, 17 Dec 2024 13:01:44 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNWFn-0006JT-0J; Tue, 17 Dec 2024 07:00:43 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tNWFh-0006Iz-Vp for emacs-devel@gnu.org; Tue, 17 Dec 2024 07:00:40 -0500 Original-Received: from mail-yb1-xb32.google.com ([2607:f8b0:4864:20::b32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tNWFd-00042O-6I; Tue, 17 Dec 2024 07:00:36 -0500 Original-Received: by mail-yb1-xb32.google.com with SMTP id 3f1490d57ef6-e387ad7abdaso3973547276.0; Tue, 17 Dec 2024 04:00:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734436832; x=1735041632; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ZxO5YRa/JSaXS6ufhoV0P3hCnDpiApvFdj3y0lagHT8=; b=GWSGtiWKqQ8zqOeaef2q2EvSdlgtxhUfOmb0wpQRDDbYv4U7h9LLJ8QcNKevnW6iOt 005sykuz+zH0qjZzbv0gC6V7pzdo+fnE1oXEubs7fIOImtcIMJZ5RdQmlKX7mK1fGHv9 ZCFWxgSYWFFLZ2yj226qWd1Xw2hWnVDff+K+gPmi5wvHZ4n3YIqRb53W+CqodXhWcB3N nNw2YW4PvoKATaFypIZT9oak85Km6gBDO1QcnraQ9PhlQ1h0tIBT3RkU9MvCeA9Zq1r9 2mxqwLHiSt/mS1LrOVYyqUpF2BfeZfgNyukBwWITtIPaElmG9n34yKWQ+EZy4imIbVa7 UE+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734436832; x=1735041632; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZxO5YRa/JSaXS6ufhoV0P3hCnDpiApvFdj3y0lagHT8=; b=vvkwSv5pF+d00pZDGkepu+bvDzteliUN5WdXiGmaqs0NKpjctNlAguIhuvtxU7lSPW 6vAKlfWOkFdU3M7n1BhfBuxkInzpbfm6lZ2c9vtNY5pNpMTijGLGSoUMcQSj8ptVTMHb iLljpWrVZmuFkbM6M+Ot4xDBW60tDYC3/mYUo9+7T5rSoHMIXLM8otvaStg8hm3VDDqW /uJsadCdy6X5Vsck0zSDh7GVHSuq4SfgV+ZseFw+Z03DgkB3qUoP9O6KhcbrTXlesLyX U7sComEKn+G9zzreMToJeX/JXF+7ZF8KWLZTWgIqhFSyhENlnIlMgeL5Sg1JbKuXXZg+ RTxw== X-Forwarded-Encrypted: i=1; AJvYcCXMEONQKVWomJPj42zdvxbRxLNAPnH8A87DC6V4iHjtmWiDePRPYvPA5NawsqBsC/Qypw/1QfhsmRiWhg==@gnu.org X-Gm-Message-State: AOJu0Yxa3UiQdPUhnGzPK2V4RDyEI0lL33oCvO0GBF0rsC8RDdcnedZI HSJ2S3ZzOu0pG43j55Rw89xNet28nFFRmEfRMTcxcTr5dV05pPE7WCpVwYGF68QJe5M6Xo//TzB XrbXo/dggL7VUoC5UrCGUhaEP+o0= X-Gm-Gg: ASbGncs7o82mR4N2nLeT2+NaBusiaisHtPIMUt9Zbb2YzL9s1T8qf7y37O7P6pJLzLV ZhC2+fseJH4BQ+9ecv6feTgzgoTdlMWESBsRzWWM= X-Google-Smtp-Source: AGHT+IHxxEdUb6PnzliL7NpsWetUH0igHcb3Ma+pmb94ZNUIIlcSjcECn+blic0BWTPgVz8Q3W+pqn8W+isVUs5VkOs= X-Received: by 2002:a05:6902:11c3:b0:e38:8a7d:d291 with SMTP id 3f1490d57ef6-e434884b7a6mr12735320276.10.1734436830059; Tue, 17 Dec 2024 04:00:30 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::b32; envelope-from=eduardoochs@gmail.com; helo=mail-yb1-xb32.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 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:326586 Archived-At: On Tue, 17 Dec 2024 at 02:03, Psionic K wrote: > > > Can you please explain what Delide does? > > Present anything Emacs can do with programmable, extensible, configurable slides & presentation steps made from org mode headings > > Longer introductions are available in the documentation: > https://raw.githubusercontent.com/positron-solutions/dslide/refs/heads/unstable/doc/README.org > https://raw.githubusercontent.com/positron-solutions/dslide/refs/heads/unstable/doc/manual.org > > The latest (upcoming) changes are available via the news file: > https://raw.githubusercontent.com/positron-solutions/dslide/refs/heads/unstable/NEWS.org > > You can install it from Non-GNU ELPA. The package symbol is dslide. Hi Psionic, I was trying to find your code for playing back macros with pauses between certain keys and I found this, https://github.com/positron-solutions/dslide/issues/18 that gave me the impression that this is a planned feature, not implemented yet... I am trying to do something similar, but I am looking for a minimal solution that fits in a few lines of code. What I currently have is this: http://anggtwu.net/eev-current/eev-blinks.el.html#eek2 Here is its code: (defun eek2 (str &optional norecord) "Execute STR as a keyboard macro. See `edmacro-mode' for the exact format.\n This is a variant of `eek' that pushes events into `unread-command-events'. An example: (eek2 \"C-x 4 C-h\")" (interactive "sKeys: ") (setq unread-command-events (nconc unread-command-events (ee-eek2 str)))) (defun ee-eek2 (str &optional norecord) "An internal function used by `eek2'." (cl-loop for ev in (listify-key-sequence (read-kbd-macro str)) collect (cons (or norecord t) ev))) If we run (eek2 "RET Hello") it plays back RET, `H', `e', `l', `l', `o', and if we run this (ee-eek2 "RET Hello") is shows the events that eek2 would push into `unread-command-events', that are: '((t . 13) (t . ?H) (t . ?e) (t . ?l) (t . ?l) (t . ?o)) How would you implement pauses? Any pointers would help me very much! Thanks in advance, Eduardo Ochs http://anggtwu.net/emacsconf2024.html