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 13:53:03 -0700 Message-ID: <25773.49455.850738.292504@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> <25773.36488.952378.912919@retriever.mtv.corp.google.com> <87y1jm737e.fsf@gmail.com> <25773.38672.76123.587295@retriever.mtv.corp.google.com> <25773.39682.195565.925976@orion.rgrjr.com> <87ttua6vk7.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="36817"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rogers@rgrjr.com, 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 22:54:12 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 1qJKN9-0009Oq-Jq for ged-emacs-devel@m.gmane-mx.org; Tue, 11 Jul 2023 22:54:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qJKMJ-000284-Vl; Tue, 11 Jul 2023 16:53:20 -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 1qJKMI-00026Q-FT for emacs-devel@gnu.org; Tue, 11 Jul 2023 16:53:18 -0400 Original-Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qJKMG-0003Mz-Vs for emacs-devel@gnu.org; Tue, 11 Jul 2023 16:53:18 -0400 Original-Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1b89114266dso46404445ad.0 for ; Tue, 11 Jul 2023 13:53:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1689108794; x=1691700794; 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=zzae0pq/fh7jnJfMtK54mFa/VuyDQiGApzySyHSkJWc=; b=6CIjl2Z8fMwaYdesJiRtkYjdEAW8DibvoEo9sTVZHCxhihI40OoOA9l1BG2qOpBvS1 4xhqzmfH1ZXdY12bgAnrD9Ll4CBqlVRSeZ9a2p7W2DgLxDIsRj/zYSY7u0n87g7Yi/im l7W5qGiylgmV0KsdZSgUBRZtRDBk5h4loGOXJR+X//995fS9BcffLEyCnkhNR4P65dmE pE9YRI7XE2t38VPeFTgFXphkK7zFdIxRFhbWIprFM0hcmjRivgDt8wccMe+22puoELyR QEulb7V9X9FKFJ4Kq4+kxNaxXWzToMblDNg31llzIQGjagRrukflfJ1btvIfT3JyIaI7 tbCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689108794; x=1691700794; 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=zzae0pq/fh7jnJfMtK54mFa/VuyDQiGApzySyHSkJWc=; b=UT7sbuyNGUFFOS0WyPOQiNDOKyBmAfVQkMdulMM052SxO7L1TaScRo3knhoCFHxr9x o4j5dQUrtIIz7X8X41sjUxoLJbcH9CbVaF5aOzuXo0g+FXfb9rTgx90JdyWtjeAUbvBw E1TFL1ScAEHB2cmb+v/f/2hEiGYA34+st+ZbyLOKYeCeCnN2XUc/dFDXaSlv2ZdL8EP2 FKxfQRc/5Wzrbf+vF8P+GKd5hkVfZkdFmbur8HyzJgVeyb3yiExA6PwUL+L/J3gm5NAQ OJGngY+dE5dydVcirT5Wh9f2yO6waxkULcgtCA3qZs4QaM+V3CeGcaA5xJ+8xFovWw9Y 8Ucw== X-Gm-Message-State: ABy/qLZZdqLlSmOmw/7O/xuG7GPlSTn5MF90jjEibRs+9XBquPFYGKfA kOiuGsGCJBHeT1Qn7Nd/tgBrOZHckcIAGc9OS/5Lnw== X-Google-Smtp-Source: APBJJlHxQBAQ7t2EGdWHDQm+SXWXv7xwzhREp2addw+0nb49WOohQFdVL+2TPctYnpoQigw6c+xg+g== X-Received: by 2002:a17:902:d501:b0:1b8:5bd0:fe12 with SMTP id b1-20020a170902d50100b001b85bd0fe12mr21712305plg.16.1689108793673; Tue, 11 Jul 2023 13:53:13 -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 w2-20020a170902904200b001b8013ed362sm2358922plz.96.2023.07.11.13.53.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jul 2023 13:53:08 -0700 (PDT) In-Reply-To: <87ttua6vk7.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::629; envelope-from=raman@google.com; helo=mail-pl1-x629.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:307763 Archived-At: this is perfect, Thanks Robert! Robert Pluim writes: > >>>>> On Tue, 11 Jul 2023 11:10:10 -0700, Bob Rogers said: >=20 > Bob> From: "T.V Raman" > Bob> Date: Tue, 11 Jul 2023 10:53:20 -0700 >=20 > Bob> Thanks; I have it doing what I want now -- but perhaps i= t might be > Bob> worth logging a bug for the docs=3F I live purely in ema= cs -- but can > Bob> report the bug using email, but it might be clearer if f= iled directly > Bob> in the bug-tracker=3F (not sure) >=20 > Bob> Filing a bug via email is 100% equivalent; that's the way I= always do > Bob> it. >=20 > I don=CA=BCt think a bug is needed here. How does this sound: >=20 > diff --git a/lisp/subr.el b/lisp/subr.el > index fac5fd58092..6ac040fe5d3 100644 > --- a/lisp/subr.el > +++ b/lisp/subr.el > @@ -6343,7 +6343,8 @@ set-transient-map > if it returns non-nil, then MAP stays active. > =20 > Optional arg ON-EXIT, if non-nil, specifies a function that is > -called, with no arguments, after MAP is deactivated. > +called, with no arguments, after MAP is deactivated (this happens > +only if KEEP-PRED or TIMEOUT are non-nil). > =20 > Optional arg MESSAGE, if non-nil, requests display of an informativ= e > message after activating the transient map. If MESSAGE is a string= , >=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 🦮