From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Mauro Aranda Newsgroups: gmane.emacs.bugs Subject: bug#139: describe-key vs. widget red tape Date: Fri, 11 Oct 2019 11:38:13 -0300 Message-ID: References: <87mynwgrxb.fsf@jidanni.org> <877e5ql42d.fsf@gnus.org> <8336gedyus.fsf@gnu.org> <874l0ugrl4.fsf@gnus.org> <83sgoechsf.fsf@gnu.org> <87v9t9bzng.fsf@gnus.org> <874l0s8x8s.fsf@gnus.org> <878spyemgo.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0000000000007647c80594a37885" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="251764"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 139@debbugs.gnu.org, Lars Ingebrigtsen , jidanni@jidanni.org To: "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 11 16:39:12 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iIw4V-0013Kk-G2 for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Oct 2019 16:39:11 +0200 Original-Received: from localhost ([::1]:51514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIw4U-0002Eg-BL for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Oct 2019 10:39:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48046) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIw4O-0002EX-0N for bug-gnu-emacs@gnu.org; Fri, 11 Oct 2019 10:39:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iIw4M-00028F-9N for bug-gnu-emacs@gnu.org; Fri, 11 Oct 2019 10:39:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51304) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iIw4M-000287-3y for bug-gnu-emacs@gnu.org; Fri, 11 Oct 2019 10:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iIw4M-0004Of-0F for bug-gnu-emacs@gnu.org; Fri, 11 Oct 2019 10:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mauro Aranda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Oct 2019 14:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 139 X-GNU-PR-Package: emacs Original-Received: via spool by 139-submit@debbugs.gnu.org id=B139.157080471516840 (code B ref 139); Fri, 11 Oct 2019 14:39:01 +0000 Original-Received: (at 139) by debbugs.gnu.org; 11 Oct 2019 14:38:35 +0000 Original-Received: from localhost ([127.0.0.1]:60125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIw3v-0004NY-6Q for submit@debbugs.gnu.org; Fri, 11 Oct 2019 10:38:35 -0400 Original-Received: from mail-lj1-f174.google.com ([209.85.208.174]:46208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIw3r-0004N8-Am for 139@debbugs.gnu.org; Fri, 11 Oct 2019 10:38:33 -0400 Original-Received: by mail-lj1-f174.google.com with SMTP id d1so10019481ljl.13 for <139@debbugs.gnu.org>; Fri, 11 Oct 2019 07:38:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QHeR404LNSrIwy6mibC+RsfFAjD/8t6dhs3fq8yuzYo=; b=hyDuQHVOM44DV8cvUHY5Az0yZb4VubSvwNbA1eSt1nQzYCMJupaDEML52D8sxmDz+J y2R3fYP9ASjbyEQXcq8KuGX44M9VgzjHsjUIJfrFvrF3lmVCJNu9InR4PKAlhS+f1LWP J3T6IpUejGImOQ/XrDjLhMOit1/tW6JioVgq6mDo2rMGOrsVLxvbvZvOuR4ZUFxQDTkX EUBs+OZm1DGnoWf8V+afRuxGrbGrOZaj+bYNf40xV6IOdGRNCFdmGgYS9wgCUK1Pf1RL /EIhmNJa7kFIm71grhUrdMS+F5vA4kVyzJW4rNx1v1lYim4Xa9mtJ6R/tB4RQ9eVQBAW ltrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QHeR404LNSrIwy6mibC+RsfFAjD/8t6dhs3fq8yuzYo=; b=Nk29HI7poHmxS1n4wDJqA1wlh/eHiLfj8QrHp+9CPaRjN4r5eSabINADNSQ9HX/Tuw JMQKwSXaNc01uI1+79bbI4woMOqKzgJhzLqgue/jPbCTG/iU1rogSKesC54WPYJ30JJ9 TWf+030voN7iZ8C8Yr/GW/EApWXgR98Wvh0fziXQfB5QAFlAvxYSrYBVfp8qbr8IADti H8YqI2292i5UJA4G/MxK127hCVUeI/uPT3JloMiEwmRFvebIazeA+Sv8H5U1uVJZJumf 3fWC1NWwcSWsfOnfo1dmqSCoYEA7br8ceGvsdfNaFDtlGPftqP3BSg71wcvZDJE6nHlo cvXQ== X-Gm-Message-State: APjAAAVmZTnx+eDe4LR+pS2huUWw6FDdjZSu18zAzhUQIaEQY/AUFwoc HFpw2cQG32YqyM4ArH1TLR2YA/nbOx2LgA/vM9k= X-Google-Smtp-Source: APXvYqxMmIt8ucHvoWSiQJAOME+ZoXGyBq0FVqFTFmjVbS9KEQtB9tZlHyDTTlLRP409+m3Hk5q2LxaYNodjrccWPEQ= X-Received: by 2002:a2e:9890:: with SMTP id b16mr9713738ljj.4.1570804705142; Fri, 11 Oct 2019 07:38:25 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:168988 Archived-At: --0000000000007647c80594a37885 Content-Type: multipart/alternative; boundary="0000000000007647c50594a37883" --0000000000007647c50594a37883 Content-Type: text/plain; charset="UTF-8" I finally found some time to keep working on this. I reworked the patch with the useful suggestion from Basil. I think I addressed all the points raised, and that the patch looks much better now. I went with `describe-widget' for the name of the command, but have no preference over the name, so if someone suggests something better, I'm OK with it. If the approach of putting the variable in a preloaded library, like Lars suggested, is better, feel free to either adapt the code or tell me and I'll do it. WDYT? Best regards, Mauro --0000000000007647c50594a37883 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I finally found some time to keep working on this.

= I reworked the patch with the useful suggestion from Basil.=C2=A0 I think I=
addressed all the points raised, and that the patch looks much betternow.=C2=A0 I went with `describe-widget' for the name of the command,= but
have no preference over the name, so if someone suggests something<= br>better, I'm OK with it.

If the approach of putting the variab= le in a preloaded library, like
Lars suggested, is better, feel fre= e to either adapt the code
or tell me and I'll do it.

WDYT?

Best regards,
Mauro

--0000000000007647c50594a37883-- --0000000000007647c80594a37885 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-New-command-describe-widget-Bug-139.patch" Content-Disposition: attachment; filename="0001-New-command-describe-widget-Bug-139.patch" Content-Transfer-Encoding: base64 Content-ID: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B8IDQ1ICsrKysrKysrKysrKysrKysrKysrKysrKysr KysrKysrKysrKysrKysrKysrCiBsaXNwL2hlbHAtZm5zLmVsIHwgNDQgKysrKysrKysrKysrKysr KysrKysrKysrKysrKysrKysrKysrKysrKysrKwogbGlzcC93aWQtZWRpdC5lbCB8IDU3ICsrKysr KysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrCiAzIGZp bGVzIGNoYW5nZWQsIDE0NiBpbnNlcnRpb25zKCspCgpkaWZmIC0tZ2l0IGEvbGlzcC9idXR0b24u ZWwgYi9saXNwL2J1dHRvbi5lbAppbmRleCAwNGU3N2NhLi5iYzIxMmU1IDEwMDY0NAotLS0gYS9s aXNwL2J1dHRvbi5lbAorKysgYi9saXNwL2J1dHRvbi5lbApAQCAtNTM4LDYgKzUzOCw1MSBAQCBi YWNrd2FyZC1idXR0b24KICAgKGludGVyYWN0aXZlICJwXG5kXG5kIikKICAgKGZvcndhcmQtYnV0 dG9uICgtIG4pIHdyYXAgZGlzcGxheS1tZXNzYWdlIG5vLWVycm9yKSkKIAorKGRlZnVuIGJ1dHRv bi0tZGVzY3JpYmUgKHByb3BlcnRpZXMpCisgICJEZXNjcmliZSBhIGJ1dHRvbidzIFBST1BFUlRJ RVMgKGFuIGFsaXN0KSBpbiBhICpIZWxwKiBidWZmZXIuCitUaGlzIGlzIGEgaGVscGVyIGZ1bmN0 aW9uIGZvciBgYnV0dG9uLWRlc2NyaWJlJywgaW4gb3JkZXIgdG8gYmUgcG9zc2libGUgdG8KK3Vz ZSBgaGVscC1zZXR1cC14cmVmJy4KKworRWFjaCBlbGVtZW50IG9mIFBST1BFUlRJRVMgc2hvdWxk IGJlIG9mIHRoZSBmb3JtIChQUk9QRVJUWSAuIFZBTFVFKS4iCisgIChoZWxwLXNldHVwLXhyZWYg KGxpc3QgIydidXR0b24tLWRlc2NyaWJlIHByb3BlcnRpZXMpCisgICAgICAgICAgICAgICAgICAg KGNhbGxlZC1pbnRlcmFjdGl2ZWx5LXAgJ2ludGVyYWN0aXZlKSkKKyAgKHdpdGgtaGVscC13aW5k b3cgKGhlbHAtYnVmZmVyKQorICAgICh3aXRoLWN1cnJlbnQtYnVmZmVyIChoZWxwLWJ1ZmZlcikK KyAgICAgIChpbnNlcnQgKGZvcm1hdC1tZXNzYWdlICJUaGlzIGJ1dHRvbidzIHR5cGUgaXMgYCVz Jy4iCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoYWxpc3QtZ2V0ICd0eXBlIHByb3Bl cnRpZXMpKSkKKyAgICAgIChkb2xpc3QgKHByb3AgJyhhY3Rpb24gbW91c2UtYWN0aW9uKSkKKyAg ICAgICAgKGxldCAoKG5hbWUgKHN5bWJvbC1uYW1lIHByb3ApKQorICAgICAgICAgICAgICAodmFs IChhbGlzdC1nZXQgcHJvcCBwcm9wZXJ0aWVzKSkpCisgICAgICAgICAgKHdoZW4gKGZ1bmN0aW9u cCB2YWwpCisgICAgICAgICAgICAoaW5zZXJ0ICJcblxuIgorICAgICAgICAgICAgICAgICAgICAo cHJvcGVydGl6ZSAoY2FwaXRhbGl6ZSBuYW1lKSAnZmFjZSAnYm9sZCkKKyAgICAgICAgICAgICAg ICAgICAgIlxuVGhlICIgbmFtZSAiIG9mIHRoaXMgYnV0dG9uIGlzIikKKyAgICAgICAgICAgIChp ZiAoc3ltYm9scCB2YWwpCisgICAgICAgICAgICAgICAgKHByb2duCisgICAgICAgICAgICAgICAg ICAoaW5zZXJ0IChmb3JtYXQtbWVzc2FnZSAiIGAlcycsXG53aGljaCBpcyAiIHZhbCkpCisgICAg ICAgICAgICAgICAgICAoZGVzY3JpYmUtZnVuY3Rpb24tMSB2YWwpKQorICAgICAgICAgICAgICAo aW5zZXJ0ICJcbiIpCisgICAgICAgICAgICAgIChwcmluYyB2YWwpKSkpKSkpKQorCisoZGVmdW4g YnV0dG9uLWRlc2NyaWJlICgmb3B0aW9uYWwgYnV0dG9uLW9yLXBvcykKKyAgIkRpc3BsYXkgYSBi dWZmZXIgd2l0aCBpbmZvcm1hdGlvbiBhYm91dCB0aGUgYnV0dG9uIGF0IHBvaW50LgorCitXaGVu IGNhbGxlZCBmcm9tIExpc3AsIHBhc3MgQlVUVE9OLU9SLVBPUyBhcyB0aGUgYnV0dG9uIHRvIGRl c2NyaWJlLCBvciBhCitidWZmZXIgcG9zaXRpb24gd2hlcmUgYSBidXR0b24gaXMgcHJlc2VudC4g IElmIEJVVFRPTi1PUi1QT1MgaXMgbmlsLCB0aGUKK2J1dHRvbiBhdCBwb2ludCBpcyB0aGUgYnV0 dG9uIHRvIGRlc2NyaWJlLiIKKyAgKGludGVyYWN0aXZlICJkIikKKyAgKGxldCogKChidXR0b24g KGNvbmQgKChpbnRlZ2VyLW9yLW1hcmtlci1wIGJ1dHRvbi1vci1wb3MpCisgICAgICAgICAgICAg ICAgICAgICAgICAoYnV0dG9uLWF0IGJ1dHRvbi1vci1wb3MpKQorICAgICAgICAgICAgICAgICAg ICAgICAoKG51bGwgYnV0dG9uLW9yLXBvcykgKGJ1dHRvbi1hdCAocG9pbnQpKSkKKyAgICAgICAg ICAgICAgICAgICAgICAgKChvdmVybGF5cCBidXR0b24tb3ItcG9zKSBidXR0b24tb3ItcG9zKSkp CisgICAgICAgICAocHJvcHMgKGFuZCBidXR0b24KKyAgICAgICAgICAgICAgICAgICAgIChtYXBj YXIgKGxhbWJkYSAocHJvcCkKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoY29ucyBw cm9wIChidXR0b24tZ2V0IGJ1dHRvbiBwcm9wKSkpCisgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICcodHlwZSBhY3Rpb24gbW91c2UtYWN0aW9uKSkpKSkKKyAgICAod2hlbiBwcm9wcworICAg ICAgKGJ1dHRvbi0tZGVzY3JpYmUgcHJvcHMpCisgICAgICB0KSkpCisKIChwcm92aWRlICdidXR0 b24pCiAKIDs7OyBidXR0b24uZWwgZW5kcyBoZXJlCmRpZmYgLS1naXQgYS9saX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Rlc2NyaWJl IHRoZQord2lkZ2V0IGF0IHBvaW50LgorCitXaGVuIGNhbGxlZCBmcm9tIExpc3AsIFBPUyBtYXkg YmUgYSBidWZmZXIgcG9zaXRpb24gb3IgYSBtb3VzZSBwb3NpdGlvbiBsaXN0LgorCitDYWxscyBl YWNoIGZ1bmN0aW9uIG9mIHRoZSBsaXN0IGBkZXNjcmliZS13aWRnZXQtZnVuY3Rpb25zJyBpbiB0 dXJuLCB1bnRpbAorb25lIG9mIHRoZW0gcmV0dXJucyBub24tbmlsLiIKKyAgKGludGVyYWN0aXZl CisgICAobGlzdAorICAgIChsZXQgKChrZXkKKyAgICAgICAgICAgKHJlYWQta2V5CisgICAgICAg ICAgICAiQ2xpY2sgb24gYSB3aWRnZXQsIG9yIGhpdCBSRVQgdG8gZGVzY3JpYmUgdGhlIHdpZGdl dCBhdCBwb2ludCIpKSkKKyAgICAgIChjb25kICgoZXEga2V5ID9cQy1tKSAocG9pbnQpKQorICAg ICAgICAgICAgKChhbmQgKG1vdXNlLWV2ZW50LXAga2V5KQorICAgICAgICAgICAgICAgICAgKGVx IChldmVudC1iYXNpYy10eXBlIGtleSkgJ21vdXNlLTEpCisgICAgICAgICAgICAgICAgICAoZXF1 YWwgKGV2ZW50LW1vZGlmaWVycyBrZXkpICcoY2xpY2spKSkKKyAgICAgICAgICAgICAoZXZlbnQt ZW5kIGtleSkpCisgICAgICAgICAgICAoKGVxIGtleSA/XEMtZykgKHNpZ25hbCAncXVpdCBuaWwp KQorICAgICAgICAgICAgKHQgKHVzZXItZXJyb3IgIllvdSBkaWRuJ3Qgc3BlY2lmeSBhIHdpZGdl dCIpKSkpKSkKKyAgKGxldCAoYnVmKQorICAgIDs7IEFsbG93IGRlc2NyaWJpbmcgYSB3aWRnZXQg aW4gYSBkaWZmZXJlbnQgd2luZG93LgorICAgICh3aGVuIChwb3NucCBwb3MpCisgICAgICAoc2V0 cSBidWYgKHdpbmRvdy1idWZmZXIgKHBvc24td2luZG93IHBvcykpC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ICAgICAgICAgICAgICAgICAgICAgKGNvbnMgJ21vdXNlLWRvd24tYWN0 aW9uCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAod2lkZ2V0LWdldCB3aWRnZXQgOm1v dXNlLWRvd24tYWN0aW9uKSkpKQorICAgICAgKHdpdGgtaGVscC13aW5kb3cgKGhlbHAtYnVmZmVy KQorICAgICAgICAod2l0aC1jdXJyZW50LWJ1ZmZlciAoaGVscC1idWZmZXIpCisgICAgICAgICAg KHdpZGdldC1pbnNlcnQgIlRoaXMgd2lkZ2V0J3MgdHlwZSBpcyAiKQorICAgICAgICAgICh3aWRn ZXQtY3JlYXRlICd3aWRnZXQtYnJvd3NlIDpmb3JtYXQgIiVbJXYlXVxuJWQiCisgICAgICAgICAg ICAgICAgICAgICAgICAgOmRvYyAoZ2V0IChjYXIgd2lkZ2V0KSAnd2lkZ2V0LWRvY3VtZW50YXRp b24pCisgICAgICAgICAgICAgICAgICAgICAgICAgOmhlbHAtZWNobyAiQnJvd3NlIHRoaXMgd2lk Z2V0J3MgcHJvcGVydGllcyIKKyAgICAgICAgICAgICAgICAgICAgICAgICB3aWRnZXQpCisgICAg ICAgICAgKGRvbGlzdCAoYWN0aW9uICcoYWN0aW9uIG1vdXNlLWRvd24tYWN0aW9uKSkKKyAgICAg ICAgICAgIChsZXQgKChuYW1lIChzeW1ib2wtbmFtZSBhY3Rpb24pKQorICAgICAgICAgICAgICAg ICAgKHZhbCAoYWxpc3QtZ2V0IGFjdGlvbiBwcm9wcykpKQorICAgICAgICAgICAgICAod2hlbiAo ZnVuY3Rpb25wIHZhbCkKKyAgICAgICAgICAgICAgICAod2lkZ2V0LWluc2VydCAiXG5cbiIgKHBy b3BlcnRpemUgKGNhcGl0YWxpemUgbmFtZSkgJ2ZhY2UgJ2JvbGQpCisgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIidcblRoZSAiIG5hbWUgIiBvZiB0aGlzIHdpZGdldCBpcyIpCisgICAg ICAgICAgICAgICAgKGlmIChzeW1ib2xwIHZhbCkKKyAgICAgICAgICAgICAgICAgICAgKHByb2du ICh3aWRnZXQtaW5zZXJ0ICIgIikKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICh3aWRnZXQt Y3JlYXRlICdmdW5jdGlvbi1saW5rIDp2YWx1ZSB2YWwKKyAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIDpidXR0b24tcHJlZml4ICIiIDpidXR0b24tc3VmZml4ICIiCisg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA6aGVscC1lY2hvICJEZXNj cmliZSB0aGlzIGZ1bmN0aW9uIikpCisgICAgICAgICAgICAgICAgICAod2lkZ2V0LWluc2VydCAi XG4iKQorICAgICAgICAgICAgICAgICAgKHByaW5jIHZhbCkpKSkpKSkKKyAgICAgICh3aWRnZXQt c2V0dXApCisgICAgICB0KSkpCisKKyhkZWZ1biB3aWRnZXQtLXJlc29sdmUtcGFyZW50LWFjdGlv biAod2lkZ2V0KQorICAiUmVzb2x2ZSB0aGUgcmVhbCBhY3Rpb24gb2YgV0lER0VUIHVwIGl0cyBp bmhlcml0YW5jZSBjaGFpbi4KK0ZvbGxvdyB0aGUgV0lER0VUJ3MgcGFyZW50cywgdW50aWwgaXRz IDphY3Rpb24gaXMgbm8gbG9uZ2VyCitgd2lkZ2V0LXBhcmVudC1hY3Rpb24nLCBhbmQgcmV0dXJu IGl0cyB2YWx1ZS4iCisgIChsZXQgKChhY3Rpb24gKHdpZGdldC1nZXQgd2lkZ2V0IDphY3Rpb24p KQorICAgICAgICAocGFyZW50ICh3aWRnZXQtZ2V0IHdpZGdldCA6cGFyZW50KSkpCisgICAgKHdo aWxlIChlcSBhY3Rpb24gJ3dpZGdldC1wYXJlbnQtYWN0aW9uKQorICAgICAgKHNldHEgcGFyZW50 ICh3aWRnZXQtZ2V0IHBhcmVudCA6cGFyZW50KQorICAgICAgICAgICAgYWN0aW9uICh3aWRnZXQt Z2V0IHBhcmVudCA6YWN0aW9uKSkpCisgICAgYWN0aW9uKSkKKwogOzs7IEltYWdlcy4KIAogKGRl ZmN1c3RvbSB3aWRnZXQtaW1hZ2UtZGlyZWN0b3J5IChmaWxlLW5hbWUtYXMtZGlyZWN0b3J5Ci0t IAoyLjcuNAoK --0000000000007647c80594a37885--