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: Moving kbd to subr.el Date: Fri, 15 Oct 2021 09:31:33 -0700 Message-ID: References: <20211004081724.6281.11798@vcs0.savannah.gnu.org> <878ryxakv9.fsf@gnus.org> <834k9km5no.fsf@gnu.org> <83k0iflsze.fsf@gnu.org> <874k9jzu7a.fsf@gnus.org> <874k9juy0r.fsf@gnus.org> <87mtnbtimj.fsf@gnus.org> <87wnme4m6f.fsf@gnus.org> <83zgraim4f.fsf@gnu.org> <83y26uilww.fsf@gnu.org> <87pms6wmh5.fsf@igel.home> <874k9i4ghl.fsf@gnus.org> <87ee8m2xl9.fsf@gnus.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="26103"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , Eli Zaretskii , Andreas Schwab , Stefan Monnier , Emacs developers To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 15 18:32:54 2021 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 1mbQ8b-0006Yc-Ov for ged-emacs-devel@m.gmane-mx.org; Fri, 15 Oct 2021 18:32:53 +0200 Original-Received: from localhost ([::1]:57162 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mbQ8Z-0003dg-Ns for ged-emacs-devel@m.gmane-mx.org; Fri, 15 Oct 2021 12:32:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mbQ7Z-0002aA-4S for emacs-devel@gnu.org; Fri, 15 Oct 2021 12:31:49 -0400 Original-Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]:45743) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mbQ7N-0004FA-NX for emacs-devel@gnu.org; Fri, 15 Oct 2021 12:31:48 -0400 Original-Received: by mail-pj1-x102a.google.com with SMTP id ls14-20020a17090b350e00b001a00e2251c8so7641275pjb.4 for ; Fri, 15 Oct 2021 09:31:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=dzrsa1Mrs/zxny3HNHjTkyw6bohgscaeQmfxi0ui4iM=; b=PB1pBPSuQd6D8zN84/gx9ZM2qeEf0JEGEo1BiCv3Cd3powqoNGi80fNERf43cfjJIW /+C8dpMbFNMJ9OB+Oks5Lky4DqG7YvYgo8no9KxUh7Nba7XU98/tZE6XbalKyopvm57G l++5p/4vwmid73mH48+xj8gWJlyQJVp28pMhHZd9hgi3yomn1lo8HSF6mDz79yoFReXQ y4u8wUTcxItV5iaVkzVxY6knRJyoIEnVmOe2IzyAxw5/NVG4+MexpMWM9onSD4Tj6cCT MgbOFMKU0v1PoOU69pHZ7mND4YumDUxeWmMlU2sZXmSWKTJ+o2voLFFNIXVN99gApxkh COyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=dzrsa1Mrs/zxny3HNHjTkyw6bohgscaeQmfxi0ui4iM=; b=l4tCs5l+pA7HHaX51MM4Sgk5hrMMW9e34XoqRNg/P/v62RlEydD5k7Q5DVRyY1WvGS vYHlHr3G2QVRXvVs+R9mWyHbZy1X2f2xDkQvGvrp5v27TrNEc824vfq8VHfWoldYZoDz 5AsHgcukDuoty8wxkHqAXtm+W5KiYmzRuKdF2q9jo0FkyWjNQltAFBZ5TV7RQ+irSs2u 3z68KHDeO5tcQDQ1U0Q91hIoaJJ+osXAvfyAizGawaYiBK26SsothYzHNssDDfiC1Ter HesHAPLWuFxe2av0eIevdOGHaRImkVaALtv2BukY3znMtFWm2g+K1W0yAHuhhhTKGtAt aPPQ== X-Gm-Message-State: AOAM5315+HEmGAlynT4OOUdkES19nySwD91DEKvBp/1VJ1hRVIHvxGum MeSgWWXxIG0aG5MfqslR7Ilbjr16rUFUZmzE X-Google-Smtp-Source: ABdhPJz/VScO9SozPWogF5TbsBCROqcKFSDTgrXD2A1t+fOt6NE9oOGsHcmS/MILQkavSjKWD6EG9Q== X-Received: by 2002:a17:90b:1c8e:: with SMTP id oo14mr28793350pjb.224.1634315494801; Fri, 15 Oct 2021 09:31:34 -0700 (PDT) Original-Received: from raman-glaptop (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id t1sm5353053pfe.51.2021.10.15.09.31.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Oct 2021 09:31:34 -0700 (PDT) In-Reply-To: (Stefan Kangas's message of "Fri, 15 Oct 2021 16:44:11 +0200") Received-SPF: pass client-ip=2607:f8b0:4864:20::102a; envelope-from=raman@google.com; helo=mail-pj1-x102a.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.23 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" Xref: news.gmane.io gmane.emacs.devel:277129 Archived-At: Stefan Kangas writes: Dogs are very honest when they are awake, which is why you should let sleeping dogs lie. > Lars Ingebrigtsen writes: > >> But at this time, I think we should retain the way `kbd' works right >> now, and not try to make it output "\M-s" strings again (which it >> presumably did at one time). It most likely stopped doing that a couple >> of decades ago, and nobody noticed -- which is nice, > > Yes, let sleeping dogs lie. > >> because it probably >> means that we (at some point in the future) can drop the string >> representation altogether (as a return value from `kbd'). > > Hmm, I'd like to hear what Stefan Monnier has to say about this. > > A good first step should in any case be to say in the 'kbd' docstring > that the string syntax is considered obsolete, and that callers should > prepare to handle a vector return value instead. Perhaps we could > document this already in emacs-28. > --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =817=A94 Id: kg:/m/0285kf1 =950=DC8