From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: Feature Request == Impl Howto question Date: Sat, 04 Mar 2023 10:22:56 -0800 Message-ID: References: <837cvxaqaw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=gb18030 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34566"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Mar 04 19:23:44 2023 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 1pYWXn-0008n1-VS for ged-emacs-devel@m.gmane-mx.org; Sat, 04 Mar 2023 19:23:43 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYWXB-0002Mt-Ee; Sat, 04 Mar 2023 13:23:05 -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 1pYWX9-0001ue-7z for emacs-devel@gnu.org; Sat, 04 Mar 2023 13:23:03 -0500 Original-Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pYWX7-00047S-8y for emacs-devel@gnu.org; Sat, 04 Mar 2023 13:23:02 -0500 Original-Received: by mail-pf1-x429.google.com with SMTP id bd34so3444419pfb.3 for ; Sat, 04 Mar 2023 10:23:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1677954179; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rg70uvgwbSlIJo9bVPlW23Jli8hYAHQc8Vedgi8n0ec=; b=BJsmvtVVsr+uZv1j+8ACFPHMX2XiftabHyeKq45rKclqPMie+GsEozuZMGgysMHgUD 2sb8RnZXkkJP5h7p4Q3HgTkXIKfx3mNNJCEw6r7wvB//Wfk20GjeONLnUa8IrD+R90BO 34Esm2FOuUL6Xiyuifhbs7FU5a3127fhz0O7VKRvSTNz9MRu7e6aNiNqKj6o/VfUuqvB pnXQPSFaEcXazGuw1dztp7eP1m5xGKjXQ3u1GEfmrEVbjZkyJTLnCajff8ETrJWFoByj iAtYIvDHEHasXe33zFSosgXn/48F2JQzFpQVdlI344YesMmuIwAQ0Pz7oDcD2c5+X2fZ 7haA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677954179; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=rg70uvgwbSlIJo9bVPlW23Jli8hYAHQc8Vedgi8n0ec=; b=J+GgiCJDesgB5zUkV4DSaxUON0ecs7kBJifgAIYpRhfZVi8MtOEzlSULLWHvWh0xjd ZUvh6a+bcIEboBvOTsRVW3BpOAtIoD6FIJjEvadWHcFsUeGuRuu42RxY6NyM3lriTmAf BuBYNo18UDoj1kKeH1w0zEW1nv4CtaKzSMK4RHP4G1U1r84T9Qx+UpaP1HYfecbIvlbp uaPhkjuwjBJhZNRsGkK8W9gaGV/8TIYj9ypc7UcOlWis3ZzPFTrABOPrPmbBdaGVhhaK EdkRrSRGivZ3J1QqrKNr0bTOp93YuR5ovWEeDcfj+ZjsjcubvzOGeJTflbSmz6KLrUh4 uUgA== X-Gm-Message-State: AO0yUKWbUp8LsDkHY5XTpYphGG6MTlg5iAQF8MDvmME3txBiqWab/Gao q7pba4iIw0tg7CC/a4O4qZ9i2BV3TWQOFUj3dJxbSat8 X-Google-Smtp-Source: AK7set9k+O37IY93oOFy7RylmBUgS2cyQ6IWV/T+0xiBGKXMFGWQmue6qQhL/LUlSvikE7f6uzr7mQ== X-Received: by 2002:aa7:8f24:0:b0:5db:4373:c3c0 with SMTP id y4-20020aa78f24000000b005db4373c3c0mr6031392pfr.26.1677954179078; Sat, 04 Mar 2023 10:22:59 -0800 (PST) Original-Received: from raman9 (c-67-169-143-192.hsd1.ca.comcast.net. [67.169.143.192]) by smtp.gmail.com with ESMTPSA id k8-20020a635608000000b005033e653a17sm3538665pgb.85.2023.03.04.10.22.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Mar 2023 10:22:58 -0800 (PST) In-Reply-To: <837cvxaqaw.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 04 Mar 2023 10:12:07 +0200") Received-SPF: pass client-ip=2607:f8b0:4864:20::429; envelope-from=raman@google.com; helo=mail-pf1-x429.google.com X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=unavailable 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:303946 Archived-At: Eli Zaretskii writes: Thanks for the echo-keystrokes pointer, was exactly (and all) that I needed. See https://emacspeak.blogspot.com/2023/03/training-wheels-for-better-ergonomic= s.html>> Date: Fri, 03 Mar 2023 20:41:19 -0800 >> From: "T.V Raman" >>=20 >> In recent versions of Emacs, if you press a prefix key and wait, >> there is a message in the echo area that shows the prefix key that was >> pressed. > > Actually, this feature is very old, probably as old as Emacs itself. > >> Feature request: would it be possible to define an event handler from >> elisp for this; if so I could use it to play a short sound > > You mean, to call a hook when we display that? Should be easy, I > think; patches welcome. > >> and preferably with a configurable timeout before that elisp-handler >> is invoked. Is this possible? > > The timeout is already configurable, see the variable echo-keystrokes. --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =817=A94 Id: kg:/m/0285kf1 =950=DC8