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: set-transient-map and a question Date: Tue, 11 Jul 2023 10:16:56 -0700 Message-ID: <25773.36488.952378.912919@retriever.mtv.corp.google.com> References: <25772.44146.376434.337848@google.com> <877cr698o9.fsf@gmail.com> <25773.25225.248343.196243@retriever.mtv.corp.google.com> <87351u8m8e.fsf@gmail.com> 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="3648"; mail-complaints-to="usenet@ciao.gmane.io" Cc: raman@google.com, emacs-devel@gnu.org To: rpluim@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jul 11 19:18:00 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 1qJGzv-0000nA-Mi for ged-emacs-devel@m.gmane-mx.org; Tue, 11 Jul 2023 19:17:59 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qJGz5-00023Q-9c; Tue, 11 Jul 2023 13:17:07 -0400 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 1qJGz4-000235-36 for emacs-devel@gnu.org; Tue, 11 Jul 2023 13:17:06 -0400 Original-Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qJGz2-0004pE-JD for emacs-devel@gnu.org; Tue, 11 Jul 2023 13:17:05 -0400 Original-Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-55adfa61199so4371067a12.2 for ; Tue, 11 Jul 2023 10:17:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1689095822; x=1691687822; h=references:in-reply-to:subject:cc:to:date:message-id :content-transfer-encoding:mime-version:from:from:to:cc:subject:date :message-id:reply-to; bh=jvlpuLHBqsjY/XaUgJGAyv4vd+yDuTCknziuSoihJmk=; b=xedg9SCmx5dDuVHA+D4ewu+N2K50i+sjF40/DPJsIkxARdPmbvzGn4va/NL3Sdw3sR D3/HEezH71LuR/28e0leg0JNHA10VdWy/jNweIcs2mo9T5b2U/AEZh1wrI724PLE8Ynp jo8VeRyCjgwVkdfPZydDcZtthDAcqeoPsz90N6lxIeR4ECOfY4UE682yfrkkP4ZebbCB FYcnHvFmRP8WwdMcCn6ZlqgjYGav344FkSDMOEKqp1Gd6CPB6HuqXfdCswMbFvuh1xbW RhLh57Pwdnb2ofqER+7J+/Is22NWa2HLDXrqUtcz1BHJgNptRK5Vx5es+a2AJ0ooPB0d Dz0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689095822; x=1691687822; h=references:in-reply-to:subject:cc:to:date:message-id :content-transfer-encoding:mime-version:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=jvlpuLHBqsjY/XaUgJGAyv4vd+yDuTCknziuSoihJmk=; b=CWPfsV9n6NP+wJxq7wSRBo9xg/o2r6GTiF0yGzhJMCJ7dgbsTwmQVnVg57PU1jpA9Z yt/6apBkOY9uA35VRSS2tUVr+YYWb72TXrXHd8uMOaL8sHvgPnPuteFIztASYvyalGZb ZfYDqp+j6TkrQRgh3hBzYVuVVEmMV6XKMMsSpWzy81LRYp7CZ25+XnIpJTWU/kLt+J+r iuI4GL/SIN6K7Dd6ECo0HVz9qU0toa5VhtbA1mMMAVNAeq59llZBq3iNoao7MXlSN3R7 0jCo59LK4iQtu2giJQJmPJlJyeEkAb9XD+5OOJM+QKFilXNGCAdHdQ7chp4KLXlVMM4b kFcA== X-Gm-Message-State: ABy/qLYFLXHQBM+CCTRrSVBGWVx8aF775mwtW0GyIJG397b4kVkCUoYf r9Vs22ybtwtpPCXWsWptol2ca3LeLfyue94kIYDW+Q== X-Google-Smtp-Source: APBJJlEyqp/Ngfl5gF+I5LW06JoK2bHFTYLjTv/UjunBCqYEse+E3v5XhRXuTtIq37LlybDuRxm4LQ== X-Received: by 2002:a17:903:2349:b0:1b5:5fd2:4d6e with SMTP id c9-20020a170903234900b001b55fd24d6emr20639974plh.58.1689095822320; Tue, 11 Jul 2023 10:17:02 -0700 (PDT) Original-Received: from retriever.mtv.corp.google.com ([2620:0:1000:1612:348c:801b:da3b:f50f]) by smtp.gmail.com with ESMTPSA id 13-20020a170902c24d00b001b8896cd57bsm2160239plg.269.2023.07.11.10.17.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jul 2023 10:17:01 -0700 (PDT) In-Reply-To: <87351u8m8e.fsf@gmail.com> X-Mailer: VM 8.1.1 under 30.0.50 (x86_64-pc-linux-gnu) Received-SPF: pass client-ip=2607:f8b0:4864:20::52c; envelope-from=raman@google.com; helo=mail-pg1-x52c.google.com X-Spam_score_int: -176 X-Spam_score: -17.7 X-Spam_bar: ----------------- X-Spam_report: (-17.7 / 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, NICE_REPLY_A=-0.089, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 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:307754 Archived-At: Interesting. I played with it a bit more, and setting keep-pressed to t in my code got the other part that was failing for me, the on-exit arg being passed as a function. It works now, ie I have it playing a sound on exit and that now works; earlier it was playing even when the transient hadn't exitted. Robert Pluim writes: > >>>>> On Tue, 11 Jul 2023 07:09:13 -0700, "T.V Raman" said: >=20 > T> interesting; so what is the point of keep-pressed as an argum= ent to > T> set-transient-map=3F >=20 > As far as I can tell it=CA=BCs used for things related to mouse-drag= ging > and modal commands like `indent-rigidly', where keys not in the > transient map exit the mode. >=20 > Robert > --=20 --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =E2=99=89 Id: kg:/m/0285kf1 =F0=9F=A6=AE -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 🦮