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: Feature Request: Help: Display Relevant Bits First? Date: Sat, 2 Apr 2022 10:13:53 -0700 Message-ID: <25160.33873.989817.895858@retriever.mtv.corp.google.com> References: <25158.3468.429616.238692@google.com> <87czhzlhbz.fsf@gnus.org> 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="10899"; mail-complaints-to="usenet@ciao.gmane.io" Cc: raman@google.com, emacs-devel@gnu.org To: larsi@gnus.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Apr 02 19:15:14 2022 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 1nahLG-0002bM-6E for ged-emacs-devel@m.gmane-mx.org; Sat, 02 Apr 2022 19:15:14 +0200 Original-Received: from localhost ([::1]:37004 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nahLE-0008HM-QI for ged-emacs-devel@m.gmane-mx.org; Sat, 02 Apr 2022 13:15:12 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nahK7-0007ZI-0O for emacs-devel@gnu.org; Sat, 02 Apr 2022 13:14:03 -0400 Original-Received: from [2607:f8b0:4864:20::102b] (port=46832 helo=mail-pj1-x102b.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nahK5-0003Jd-H2 for emacs-devel@gnu.org; Sat, 02 Apr 2022 13:14:02 -0400 Original-Received: by mail-pj1-x102b.google.com with SMTP id bx24-20020a17090af49800b001c6872a9e4eso5215637pjb.5 for ; Sat, 02 Apr 2022 10:14:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=from:mime-version:content-transfer-encoding:message-id:date:to:cc :subject:in-reply-to:references; bh=a8IQWhU1bTyyhv71799a77SXrPOtaZ7MaZY21VmUi6U=; b=NzcqyBWxfgWd+OTRIrKGuikyvdkqS2iVmDP4urfOYIJcXjymODBc+oZLcRYNIrb5PF z4tWLI1PF99plGyIKhCcSLuDAJqvSb+ZqrtAQD8udJKGnRlAY8CmF1FJt1UdqWrByOVW UIfFcTnvYYisWThwYjoisBt3xPOzSIxUB0BLst1R9tAHoJS2XtYrv0aCPX+1eOPBsmxQ QHTqoEnG7klMt95EcMTFO7kwvsDAzg69D5fVkXRTaziHZcjSSQNm4Y/Iv/8yzbI0eu1d CqrxiE5lLbc7uvFyBFJkpNaluR2nj5u9lLfQUU0Oq6fB40RyqDyK2Q9q3HNjuCRjn+oZ cDQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:content-transfer-encoding :message-id:date:to:cc:subject:in-reply-to:references; bh=a8IQWhU1bTyyhv71799a77SXrPOtaZ7MaZY21VmUi6U=; b=XrlW0+tRKje0SUGtk5A9bdzQpH12aVn1L0a0UPXO5Yee1JY7Rex9o929BbciaaHAix 4blcuFZ6rWyvSZK1HQjHwY0z00wnJXIR/CL0jFYgXvz/31NcG69WooWq0mfszcWlREze qEALqwCunimOfAsoipN2tQfZm2Jjk3A9HUHDsxa6+Blio2XzIbyIXS3eUqWbe4niK/ri VqxfvhVde1xvZ//xwlC3c1Tn5WwaVg3I53joAmYv+5nm+7fM2elaeUZzFv4ATlufwQZb 5GS0QxvEelb1YApWlOO8+nd0/eNXIA7CfoaK70Do7AgT1jz+QXd4T61AfbM5GWNTrQ+Y IKsQ== X-Gm-Message-State: AOAM531m9mH725WVd+0MuweneSfUoK1gREZX4Ik18r6All3hGjXR71yt +1dUlcYwtfU95oruJnfSKUP/8womDs0/Cw== X-Google-Smtp-Source: ABdhPJwixRLCFrSXUrD/IJ2dI4kAIy2aSVRg6x5bvhWhlpTLiJ+Pz2H/OW3Y1fnDQ/X5c4PQRTMwhQ== X-Received: by 2002:a17:90a:fac:b0:1ca:5eb8:f3b2 with SMTP id 41-20020a17090a0fac00b001ca5eb8f3b2mr3547160pjz.37.1648919639403; Sat, 02 Apr 2022 10:13:59 -0700 (PDT) Original-Received: from retriever.mtv.corp.google.com ([2620:0:1000:1510:c937:ce19:139f:1762]) by smtp.gmail.com with ESMTPSA id b16-20020a056a00115000b004f6ff260c9esm6767314pfm.207.2022.04.02.10.13.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Apr 2022 10:13:58 -0700 (PDT) In-Reply-To: <87czhzlhbz.fsf@gnus.org> X-Mailer: VM 8.1.1 under 29.0.50 (x86_64-pc-linux-gnu) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::102b (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::102b; envelope-from=raman@google.com; helo=mail-pj1-x102b.google.com X-Spam_score_int: -161 X-Spam_score: -16.2 X-Spam_bar: ---------------- X-Spam_report: (-16.2 / 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.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, 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=no 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" Xref: news.gmane.io gmane.emacs.devel:287719 Archived-At: Awesome, Thanks! And speaking of the boiler-plate, I have always found the sense in which -1 vs 1 is used in all the minor-mode toggle functions, where nil actually turns it on --that usage is too late to change. But could we perhaps alleviate the pain by adding two special values 'on and 'off so that (font-lock-mode 'on) turns it on and (font-lock-mode 'offf) turns it off=3F Lars Ingebrigtsen writes: > "T.V Raman" writes: >=20 > > At present, if you do describe-function on any command that toggle= s a > > mode, you get a lot of common boiler-plate, with the salient bits > > about that particular function at the end -- could we reverse this= =3F >=20 > I agree completely, especially as the boilerplate has expanded over = the > years. I've now moved it to the end of the doc strings in Emacs 29.= >=20 > --=20 > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no --=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 🦮