From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Proposal for an improved `help-for-help' Date: Sun, 25 Apr 2021 05:00:22 -0500 Message-ID: References: <838s7hxqkr.fsf@gnu.org> <7ee648e840490fd32be8@heytings.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14593"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Apr 25 12:01:41 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 1laba7-0003jb-RN for ged-emacs-devel@m.gmane-mx.org; Sun, 25 Apr 2021 12:01:39 +0200 Original-Received: from localhost ([::1]:45124 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1laba6-0002WD-RJ for ged-emacs-devel@m.gmane-mx.org; Sun, 25 Apr 2021 06:01:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49276) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1labYw-0001zk-GI for emacs-devel@gnu.org; Sun, 25 Apr 2021 06:00:26 -0400 Original-Received: from mail-pl1-f182.google.com ([209.85.214.182]:36824) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1labYu-0005rx-Py for emacs-devel@gnu.org; Sun, 25 Apr 2021 06:00:26 -0400 Original-Received: by mail-pl1-f182.google.com with SMTP id g16so10534129plq.3 for ; Sun, 25 Apr 2021 03:00:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=hMEj1oOdcEI9KxXEWKVL1y5zxLZhzIjyv1hYZkmUQeY=; b=jV27ScFo9eahD75DpI5eENrzPQRut01zMDDFUkb+DYYMnrl+IrqOtL1H4VNlbZ7dJR c27KhGMypjxsaDwi4TfLRW2lfbR1DjjxBdiDPCOxk9Vwqae6eiGfT9i49JYJ/1C1xo7Q FDDvLw4BYukuJwA5S81Tgw+yOM7IgiR6J4VROZMMOQJm9BEW32UDIuMygvhpRa8YLGrs 5r/Iybl+eiTZJzw1alVn7HkVYpbpJasGwBX0k1/qFJMNrBYlcmIUGHDR6SBB+EoNVQky mVNcQaphCoqso8PR7n+fW/Z3MG09l1rLGpKN9/4Fkwz+/zR+AG8rUOQIBJQzNjvbJSlj 2IlA== X-Gm-Message-State: AOAM533MQfjLusOPZz266KlWqDXIsfs5KO+w2jV3032fiVXEMOsHmNKw oswirNJuOekZiNXAjTDERWoJZpDOrUsoknobdTJoaH5o X-Google-Smtp-Source: ABdhPJxRKCnbsiaguVZEXIerqRuTw/K7DeEHTLopHcuLI7iuIM56dgXgnsR/A7+HUPoxEn0cgoYTeOX2qvBh/Dxz3s0= X-Received: by 2002:a17:902:e788:b029:eb:2c5b:bce8 with SMTP id cp8-20020a170902e788b02900eb2c5bbce8mr12868418plb.41.1619344823264; Sun, 25 Apr 2021 03:00:23 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 25 Apr 2021 05:00:22 -0500 In-Reply-To: <7ee648e840490fd32be8@heytings.org> Received-SPF: pass client-ip=209.85.214.182; envelope-from=stefankangas@gmail.com; helo=mail-pl1-f182.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:268363 Archived-At: Gregory Heytings writes: > A small possible improvement, which I hadn't seen earlier: "Show last 300 > input keystrokes" could be improved I think, it's a configurable option. > So I would either remove the constant "300" (if the precise size of the > lossage is not important enough to be indicated there), or by using the > return value of (lossage-size). Yup, this is new in Emacs 28 and it seems that `help-for-help' was not updated. I've changed it to use `lossage-size', mostly because I just couldn't think of a better wording. > Another small possible improvement: add a "\n" at the end of the list, so > that the cursor does not jump to the end of the line when you reach the > last item. Done. Thanks for the suggestions!