From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#21634: text-scale-adjust suggestion Date: Fri, 01 Jul 2022 11:17:23 +0200 Message-ID: <878rpdyyxo.fsf@gnus.org> References: <22035.47283.76000.848103@gargle.gargle.HOWL> <83d1wsxcuz.fsf@gnu.org> <87zgstyl9e.fsf_-_@gnus.org> <871r65ab7q.fsf@mail.linkov.net> <87czpou8z7.fsf@gnus.org> <86letewfpa.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15488"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Eli Barzilay , Eli Zaretskii , 21634@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 01 11:18:28 2022 Return-path: Envelope-to: geb-bug-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 1o7CnE-0003oB-At for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 01 Jul 2022 11:18:28 +0200 Original-Received: from localhost ([::1]:39134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7CnD-0000IR-9A for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 01 Jul 2022 05:18:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55062) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7Cmo-0000Gf-ID for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2022 05:18:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42371) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o7Cmo-0000Cr-8b for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2022 05:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o7Cmn-0002kU-VH for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2022 05:18:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Jul 2022 09:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21634 X-GNU-PR-Package: emacs Original-Received: via spool by 21634-submit@debbugs.gnu.org id=B21634.165666706210539 (code B ref 21634); Fri, 01 Jul 2022 09:18:01 +0000 Original-Received: (at 21634) by debbugs.gnu.org; 1 Jul 2022 09:17:42 +0000 Original-Received: from localhost ([127.0.0.1]:36268 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7CmU-0002jv-A1 for submit@debbugs.gnu.org; Fri, 01 Jul 2022 05:17:42 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:52708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7CmO-0002jb-PU for 21634@debbugs.gnu.org; Fri, 01 Jul 2022 05:17:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=NKkq+9XAFnviqTmgbYGF3RuZiZDqHpLW/Xad5k/grPE=; b=bUYYZFztIHxLEGhUMSBG2ehued 5Db8XIzLMw+cEboc7Ph/0giyY97Jo+kTfFj55571jnMGV4pY/cOFEr9b1cu/BM1euHa1FhxaeroRn oHxGCO8jfOd4q1FQ0f6Kn+zGjf2jPfbuvjTfTEyDj9KqH6jRMPzb0VvVRcjHwVfccFkM=; Original-Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o7CmE-0005Ob-HE; Fri, 01 Jul 2022 11:17:29 +0200 In-Reply-To: <86letewfpa.fsf@mail.linkov.net> (Juri Linkov's message of "Thu, 30 Jun 2022 19:12:13 +0300") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEWdmmnfzYSWVTS0 cUHao1VxSitWNiQmHBf///+3HDEGAAAAAWJLR0QIht6VegAAAAd0SU1FB+YHAQg7MvwjBkoAAAGk SURBVDjLhdTNjoIwEADgotG9QuIDbEbBq7G+gJEH2NQduG5MWq6bTSivv/NT8CfuOiFQ+jEzpRKN +Tey6ZxnGQ8KuaNxnpvc8EXGChkfZgRJy/4tPwOKtbX2ZOu6oKg5TsYs3Ci1QrFiSRkABIf6WEwp E3CKuzhzBS1FKftuGIbojqvUY5kABol4OaaMCnWen/fYxfCZoMWS5yuep+Qmho3CFjEl9MYBYhNc Ao8OS6SEr5IBAx6ugA3BBwo0/izw1tMNtrfgBJbxEaQWvbkAL/Z74XhITTYCw5gRDdzCXICbD/2Y cRZo/QjDJYET2PKywh2A9GBoQie1UFfleHdnJS0rBEn5EfAJQIElBgU4WIZOIdCWB88t0J0EKi/z kU++aTxlMMwB9PlBwIcGca0ZUIm0khK40giS4gViFLAJqtjFnnvTuqg9LSoB0I70NEkHL5i/PmnO Qm+eOkiLCUDWj7yfjltcAfS3YOBKtwDj/PoR1OTDt3Y3fu0aJZbOPoVSC9n9I+i0wHwP97GW87uZ W3gWO/Mqcv1TKLLiCfDFFC9r/BW/lgPrYFdX73cAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDct MDFUMDg6NTk6NTArMDA6MDBZO+8pAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA3LTAxVDA4OjU5 OjUwKzAwOjAwKGZXlQAAAABJRU5ErkJggg== X-Now-Playing: Blaine L. Reininger's _Byzantium_: "Raise Your Hands" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:235770 Archived-At: Juri Linkov writes: > We don't need post-command-hook here - this leaves us with just > set-transient-map. As was already suggested, we need either > to add a new optional arg TIMEOUT to set-transient-map, > or allow a number of seconds in the existing arg KEEP-PRED. > > Then another question is how the users could customize the timeout. > One variable to customize timeout for all commands that use > set-transient-map? Or separate variables for every command: > one for indent-rigidly, one for text-scale-adjust? I think one variable for the timeout would be sufficient, and a value of (say) `timeout' for KEEP-PRED could instruct set-transient-map to use that timeout, perhaps? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no