From unknown Sat Aug 09 15:56:50 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#30560 <30560@debbugs.gnu.org> To: bug#30560 <30560@debbugs.gnu.org> Subject: Status: Better format for view-lossage Reply-To: bug#30560 <30560@debbugs.gnu.org> Date: Sat, 09 Aug 2025 22:56:50 +0000 retitle 30560 Better format for view-lossage reassign 30560 emacs submitter 30560 Juri Linkov severity 30560 wishlist tag 30560 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 20 16:36:29 2018 Received: (at submit) by debbugs.gnu.org; 20 Feb 2018 21:36:30 +0000 Received: from localhost ([127.0.0.1]:53330 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoFaP-0003A0-Kv for submit@debbugs.gnu.org; Tue, 20 Feb 2018 16:36:29 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoFaO-00039i-L4 for submit@debbugs.gnu.org; Tue, 20 Feb 2018 16:36:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoFaF-0000R2-Jj for submit@debbugs.gnu.org; Tue, 20 Feb 2018 16:36:23 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48632) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eoFaF-0000Qs-GC for submit@debbugs.gnu.org; Tue, 20 Feb 2018 16:36:19 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoFaE-0003TM-DY for bug-gnu-emacs@gnu.org; Tue, 20 Feb 2018 16:36:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoFaD-0000Po-LR for bug-gnu-emacs@gnu.org; Tue, 20 Feb 2018 16:36:18 -0500 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:48529 helo=homiemail-a15.g.dreamhost.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eoFaD-0000PL-CW for bug-gnu-emacs@gnu.org; Tue, 20 Feb 2018 16:36:17 -0500 Received: from homiemail-a15.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a15.g.dreamhost.com (Postfix) with ESMTP id 7BADD76C06E for ; Tue, 20 Feb 2018 13:36:16 -0800 (PST) Received: from localhost.linkov.net (m91-129-98-215.cust.tele2.ee [91.129.98.215]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by homiemail-a15.g.dreamhost.com (Postfix) with ESMTPSA id D643676C069 for ; Tue, 20 Feb 2018 13:36:15 -0800 (PST) From: Juri Linkov To: bug-gnu-emacs@gnu.org Subject: Better format for view-lossage Organization: LINKOV.NET Date: Tue, 20 Feb 2018 23:17:58 +0200 Message-ID: <871shfnywp.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable It would much more useful in the output buffer of =E2=80=98C-h l=E2=80=99= (view-lossage) to use the same format as is used by =E2=80=98edit-last-kbd-macro=E2=80=99= . Then it will possible to just copy the lines from the buffer generated by =E2=80=98view-lossage=E2=80=99, yank them to the buffer =E2=80=9C*Edit= Macro*=E2=80=9D created by =E2=80=98edit-last-kbd-macro=E2=80=99, and save the macro by =E2=80=98C-c= C-c=E2=80=99. This is useful for such cases when the user forgets to start macro record= ing, or wants to convert recent keystrokes to the macro without re-typing them= , or pick only some of recent keystrokes and compose a new macro in different order. This patch is for master: --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=view-lossage.patch diff --git a/lisp/help.el b/lisp/help.el index 4899bc4..9575f5b 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -465,8 +465,8 @@ view-lossage (princ (mapconcat (lambda (key) (cond ((and (consp key) (null (car key))) - (format "[%s]\n" (if (symbolp (cdr key)) (cdr key) - "anonymous-command"))) + (format ";; %s\n" (if (symbolp (cdr key)) (cdr key) + "anonymous-command"))) ((or (integerp key) (symbolp key) (listp key)) (single-key-description key)) (t @@ -475,11 +475,11 @@ view-lossage " ")) (with-current-buffer standard-output (goto-char (point-min)) - (while (not (eobp)) - (move-to-column 50) - (unless (eolp) - (fill-region (line-beginning-position) (line-end-position))) - (forward-line 1)) + (let ((comment-start ";; ") + (comment-column 24)) + (while (not (eobp)) + (comment-indent) + (forward-line 1))) ;; jidanni wants to see the last keystrokes immediately. (set-marker help-window-point-marker (point))))) --=-=-= Content-Type: text/plain PS: I'm not sure whether this feature should be documented somewhere. --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 22 17:00:26 2018 Received: (at 30560-done) by debbugs.gnu.org; 22 Feb 2018 22:00:26 +0000 Received: from localhost ([127.0.0.1]:56919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoyuf-00029F-Uv for submit@debbugs.gnu.org; Thu, 22 Feb 2018 17:00:26 -0500 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:60865 helo=homiemail-a15.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoyuc-000295-Mt for 30560-done@debbugs.gnu.org; Thu, 22 Feb 2018 17:00:23 -0500 Received: from homiemail-a15.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a15.g.dreamhost.com (Postfix) with ESMTP id C899F76C06B for <30560-done@debbugs.gnu.org>; Thu, 22 Feb 2018 14:00:21 -0800 (PST) Received: from localhost.linkov.net (m91-129-98-215.cust.tele2.ee [91.129.98.215]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by homiemail-a15.g.dreamhost.com (Postfix) with ESMTPSA id 332BB76C069 for <30560-done@debbugs.gnu.org>; Thu, 22 Feb 2018 14:00:20 -0800 (PST) From: Juri Linkov To: 30560-done@debbugs.gnu.org Subject: Re: bug#30560: Better format for view-lossage Organization: LINKOV.NET References: <871shfnywp.fsf@mail.linkov.net> Date: Thu, 22 Feb 2018 23:59:42 +0200 In-Reply-To: <871shfnywp.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 20 Feb 2018 23:17:58 +0200") Message-ID: <87inaobta6.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 30560-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) > This patch is for master: Pushed to master and closed. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 23 02:00:29 2018 Received: (at 30560) by debbugs.gnu.org; 23 Feb 2018 07:00:29 +0000 Received: from localhost ([127.0.0.1]:57058 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ep7LH-0006gm-Kt for submit@debbugs.gnu.org; Fri, 23 Feb 2018 02:00:27 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ep7LF-0006gZ-Vi for 30560@debbugs.gnu.org; Fri, 23 Feb 2018 02:00:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ep7K5-000346-48 for 30560@debbugs.gnu.org; Fri, 23 Feb 2018 02:00:20 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53957) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ep7K4-00033C-MB; Fri, 23 Feb 2018 01:59:12 -0500 Received: from [176.228.60.248] (port=3039 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ep7K3-0000sY-MG; Fri, 23 Feb 2018 01:59:12 -0500 Date: Fri, 23 Feb 2018 08:59:29 +0200 Message-Id: <837er45gz2.fsf@gnu.org> From: Eli Zaretskii To: Juri Linkov In-reply-to: <87inaobta6.fsf@mail.linkov.net> (message from Juri Linkov on Thu, 22 Feb 2018 23:59:42 +0200) Subject: Re: bug#30560: Better format for view-lossage References: <871shfnywp.fsf@mail.linkov.net> <87inaobta6.fsf@mail.linkov.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 30560 Cc: 30560@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Juri Linkov > Date: Thu, 22 Feb 2018 23:59:42 +0200 > > > This patch is for master: > > Pushed to master and closed. Thanks, but please in the future leave more than just 2 days for people to comment on the patches you propose. IMO, this change needs to be mentioned in NEWS. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 23 05:10:03 2018 Received: (at 30560) by debbugs.gnu.org; 23 Feb 2018 10:10:03 +0000 Received: from localhost ([127.0.0.1]:57081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1epAIl-0002rR-7d for submit@debbugs.gnu.org; Fri, 23 Feb 2018 05:10:03 -0500 Received: from mail-wm0-f43.google.com ([74.125.82.43]:35199) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1epAIi-0002qr-Le for 30560@debbugs.gnu.org; Fri, 23 Feb 2018 05:10:01 -0500 Received: by mail-wm0-f43.google.com with SMTP id x7so1284377wmc.0 for <30560@debbugs.gnu.org>; Fri, 23 Feb 2018 02:10:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:user-agent:mime-version; bh=wrZOojb6WwVrBEwmEDi0X9LaVByLBOhm3fHt9jyXX84=; b=Gq8DNIRydJm7rSMp3OJdGPdZ3GEpeEAe7FPn7kulhwdZXzVRPlLJccxN6UBJpwbwln sdnK/8nFXzU8M4xG4Re5jozMc0thzgI7gPuWflaaDCn2u9+2HihPyVLvHHjaghzHMF3r fS1W/1yfVyyvmY9ldLHN/icozSkt27PYGKqfls3/jT4ZPDuF2Z7m+CZHfARnGqNWwoBS m0DjporTN7xIvEh+p/Y7oPusoiJi4u4JH1iPFkDigzZkeHsTodf0AxMpkBLgXPq2FPZ9 jlAwJf/R08l50NSRG24Lm+x8TLP6mDLRo3dS0DZH6VIg2t4Td/4ghm4vFfvxZcKtVhXb 4JdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:user-agent :mime-version; bh=wrZOojb6WwVrBEwmEDi0X9LaVByLBOhm3fHt9jyXX84=; b=cVXeIWgqJ+n2OJ1TeS8G2XoCye7XALcCnIfRdfa9Di1ZTZIJJ03DcB05xbIAx5hJWt FEOgFaS8MM+6ycnFLE4ZNzUWO4+tY8cvLTlQ/g/Z553TKtDanUMRuPZ1temAhTm8X5DE Oh7v9HEtd4f7o1OjPeXDLK024zP+3hKVXSXCQA/xwKEtBj5hDPFRTfTRgpG4SrRiYe9t M+Y6lmd554cKtGTJhMvu7Wa14/F+C65+5YdK6Qp5CC0/sapDRm/TZgasNwM0+L1qGONH NK8hZvm7ENGpJIuL1N4iytevHxy+XjmS7bgcIxAR8V77bJqxK1p1vurUWhnVjptqTcDU hSQA== X-Gm-Message-State: APf1xPCkLt1V3m4v6P9uPv4RVmyf+nadiyHD4o8lRgFvy1Efu030yeE0 rUswBv0yzvUdaYgSzNOTLG4mX5LJ X-Google-Smtp-Source: AH8x226hyI/danpjX6aiPlqnZws+tLzO1YvusD/lmDWmz13zZ/LPVwq+c6VRGARdsNB9qFor6BsupA== X-Received: by 10.28.109.10 with SMTP id i10mr1306508wmc.107.1519380594137; Fri, 23 Feb 2018 02:09:54 -0800 (PST) Received: from rpluim-ubuntu ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id b136sm1240905wme.34.2018.02.23.02.09.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Feb 2018 02:09:53 -0800 (PST) From: Robert Pluim To: Eli Zaretskii Subject: Re: bug#30560: Better format for view-lossage References: <871shfnywp.fsf@mail.linkov.net> <87inaobta6.fsf@mail.linkov.net> <837er45gz2.fsf@gnu.org> X-Debbugs-No-Ack: yes Mail-Copies-To: never Gmane-Reply-To-List: yes Date: Fri, 23 Feb 2018 11:09:52 +0100 In-Reply-To: <837er45gz2.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 23 Feb 2018 08:59:29 +0200") Message-ID: <87606of24v.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 30560 Cc: 30560@debbugs.gnu.org, Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain Eli Zaretskii writes: >> From: Juri Linkov >> Date: Thu, 22 Feb 2018 23:59:42 +0200 >> >> > This patch is for master: >> >> Pushed to master and closed. > > Thanks, but please in the future leave more than just 2 days for > people to comment on the patches you propose. > > IMO, this change needs to be mentioned in NEWS. Might I suggest the following as well? Does this need mentioning in the info docs? --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Describe-view-lossage-changes-in-its-docstring.patch >From 45c4f1a42e1e47f79055545a3fcf5a7d117e1caf Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Fri, 23 Feb 2018 11:01:23 +0100 Subject: [PATCH] Describe `view-lossage' changes in its docstring * lisp/help.el (view-lossage): Mention that this now uses the same format as `edit-last-kbd-macro'. --- etc/NEWS | 11 ++++++----- lisp/help.el | 3 ++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index dacaf023bb..3fa2670d60 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -167,11 +167,12 @@ directories in the destination. ** Help -*** 'C-h l' (view-lossage) now displays last keystrokes and commands -in the same format as the edit buffer of edit-last-kbd-macro. -This makes possible to copy the lines from the buffer generated -by 'view-lossage', yank them to the buffer "*Edit Macro*" created by -'edit-last-kbd-macro', and save the macro by 'C-c C-c'. +*** 'C-h l' (view-lossage) buffer format has changed. +For convenience the lossage buffer now displays the last keystrokes +and commands in the same format as the edit buffer of +'edit-last-kbd-macro'. This makes it possible to copy the lines from +the buffer generated by 'view-lossage' to the "*Edit Macro*" buffer +created by 'edit-last-kbd-macro', and save the macro by 'C-c C-c'. ** Ibuffer diff --git a/lisp/help.el b/lisp/help.el index 9575f5b090..917c25e427 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -454,7 +454,8 @@ view-external-packages (info "(efaq)Packages that do not come with Emacs")) (defun view-lossage () - "Display last few input keystrokes and the commands run. + "Display last few input keystrokes and the commands run. For +convenience this uses the same format as `edit-last-kbd-macro'. To record all your input, use `open-dribble-file'." (interactive) -- 2.16.1.72.g5be1f00a9 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 23 05:21:11 2018 Received: (at 30560) by debbugs.gnu.org; 23 Feb 2018 10:21:11 +0000 Received: from localhost ([127.0.0.1]:57088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1epATX-00038h-Ez for submit@debbugs.gnu.org; Fri, 23 Feb 2018 05:21:11 -0500 Received: from mout.gmx.net ([212.227.15.15]:36167) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1epATV-00038U-EN for 30560@debbugs.gnu.org; Fri, 23 Feb 2018 05:21:09 -0500 Received: from [192.168.1.100] ([212.95.7.238]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MVNDK-1fG1Z73UwI-00Ygi4; Fri, 23 Feb 2018 11:20:59 +0100 Message-ID: <5A8FEB0A.1050309@gmx.at> Date: Fri, 23 Feb 2018 11:20:58 +0100 From: martin rudalics MIME-Version: 1.0 To: Robert Pluim , Eli Zaretskii Subject: Re: bug#30560: Better format for view-lossage References: <871shfnywp.fsf@mail.linkov.net> <87inaobta6.fsf@mail.linkov.net> <837er45gz2.fsf@gnu.org> <87606of24v.fsf@gmail.com> In-Reply-To: <87606of24v.fsf@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:bQA1omFZ5DKUMwJc/MuWFvSmDH9Q+ZuBFdrQ906NWnwfskAf/J4 TSQZaAeCCj1s+/Du+5QKqjmbYHbIiITBuAeHY71/+R18BuVEtQSyv5Fygygr71WpXXgfP/y huSF0RKaPcbN39KAn1n36BDVmPz2M20OiB4iT3QcjU7bSdV2i8zv2OEFZx52vrAz9d1rpyr /MG8EEIQMTNMnV3DbwM3Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:qfKVoplGPog=:WZ1rDAMrK49OpROyzaH8NT 155zESf3j44K16AgBhjhM3RGL0TPj4rPwF4B9lz5gtiUfJLexImtOh0EBt7QxfLLtqB5b6tBa fxK6J/JG44V/+ykMC1sebBfk3DqzBlX7zN5HptRHbHK4lZ4N9OAk7c1Cp0xLa620SXVjucyGZ XFPPA90oDvViQ8qNSWpKxXAlckIFl9Y4UoAGX2K7GvZXLVUwJq8TgUUfjavgPAL9l7fRzkjFf Xy2GET9UIQ8cZ+P8OmYosp7aoiovFgG9R1JXc9RwGWug9LrFBAR2cRcFoyUan+stlFezU5XyZ n2kda9K3apEBqahpK+O4tHKeH8+Nue16tHX+GNdVy3fu+YejQVBDxa4PtRrlpapSuAFmP0EUp tHXup4MCyA2T84+RoQ6eLIGNPUsKGKRbCwzHhTqQ4HqG8rmOTI0qFDOhM3BsMddLNrwLUqpcy 9GdW4A0hZJztPycQcf0Zg3EFC1DIAGqSx6bR6fRadU7vbpMyGFGmegTTvcBkoBaOaN8p2v1DW 1n1GXrehxcYwe+Uajuu6LLeJa49beW8rhtgE809AliP6FRxwBHXJVNQIwpKjDpskYC4zj2+d+ tG5tnnNnQR+NArERnVhRloDIwo8FBa2MM7DArIt7LiOvQT6FBL6OSK9owXe9Dh80L3VGXeY1Z rjL3WV7ossKs5Ob00HdOVd4tKFahlfkAkHFMvQ0Cxdcc19Npk3543L+dikjIu8Zh1BJ1HIWqb rzlZyOPTF4Vt+PtkpgTv1IIZ9JaTimGjjVV1fPnzAimrrh2aQaCuK0epDcSdNcfpmwcfsC3ut 6GRd3+Ck/ITkIPAt8O5+//jGp4BGK9dIEgc6PmkWaWu/2S5eck= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30560 Cc: 30560@debbugs.gnu.org, Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > + "Display last few input keystrokes and the commands run. For This wants the newline here ---------------------------------^ martin From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 23 06:09:05 2018 Received: (at 30560) by debbugs.gnu.org; 23 Feb 2018 11:09:05 +0000 Received: from localhost ([127.0.0.1]:57125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1epBDt-0004I9-7v for submit@debbugs.gnu.org; Fri, 23 Feb 2018 06:09:05 -0500 Received: from mail-wm0-f42.google.com ([74.125.82.42]:36530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1epBDq-0004Hc-49 for 30560@debbugs.gnu.org; Fri, 23 Feb 2018 06:09:03 -0500 Received: by mail-wm0-f42.google.com with SMTP id 188so3371232wme.1 for <30560@debbugs.gnu.org>; Fri, 23 Feb 2018 03:09:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:user-agent:mime-version; bh=h3MpFxMyilmMkI3Apb+LlPXDm32J4GHTgygScTZ0aQc=; b=n6hxwQUK+9STGuQX0JXyuPCI/64qadUMCVz6Ui3/yL7G93tU9J68obfEzrDLnluqgf tFWbAUfQLlWyDTQyIg+wkW5f/neKWAI/+/53Bb44ae/fveKaWtmRt1S2slpJJjtXDaC/ EkQFM1hGvi+5kZ3pDU2q9A5N9Ejy+reGl+YQ3LhFdC8qxVScy1U6bPNWniNh8vX+MHD5 Rqs6A0eksbgBwNQiQdQJclejDu/nEpZAkdLAUcLm4IWHILAKQdUpkHrIBuho2F3vkpKd M/o3DHyOLE9eZifOIQKk9eBI7hGz3f8+OizDxetxf6LgzsRpPAy3UELdZ6WvDv5oZ21R yKMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:user-agent :mime-version; bh=h3MpFxMyilmMkI3Apb+LlPXDm32J4GHTgygScTZ0aQc=; b=gvHz+qU8jEei++ZpdA2hbyyK2daKU/s0fIC1/Hllp/31tKxt7txgmSow4g2f0jImJd GFmsrKiMCu9t2pOwep8lJNgyoDPno977mt0aTJmgycARlM8s+41xh/hoyP9GKEILIMmy BQj3Xs7OE6DoRsLE/VUKukAxCLlLvjM1gFgA2AOQgFn+yLEAqHFsdDbTuYHFyROZo7CP tLGowREsblD6dRohguebcQPjGPhN12ghjhvZ9lsRX//F1q9jOyRoWiVetgaTHCrFEgY7 tD7JFrVJwoJz5qiDyu045ribtL0igoUYsRnUN4TFRVWYKkTeasJk0ohL/65hL4Zpwt1z fUYQ== X-Gm-Message-State: APf1xPBXuH3iV+6QrFmXa7XPo2ZfbGyvlZIxB72CmT/JI2+fxdQ6l7m2 yTkUTKPU9S2Q9CLn9FOUq5o= X-Google-Smtp-Source: AG47ELuSSXS2FMX/6jDzdfkP8zYgPS8OTF93nZVwKtOLqxUXiHIrdxYfF/70Ymh34SIz2bg5Gm8+7A== X-Received: by 10.28.227.66 with SMTP id a63mr1270525wmh.128.1519384136065; Fri, 23 Feb 2018 03:08:56 -0800 (PST) Received: from rpluim-ubuntu ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id 78sm1532353wmb.25.2018.02.23.03.08.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Feb 2018 03:08:55 -0800 (PST) From: Robert Pluim To: martin rudalics Subject: Re: bug#30560: Better format for view-lossage References: <871shfnywp.fsf@mail.linkov.net> <87inaobta6.fsf@mail.linkov.net> <837er45gz2.fsf@gnu.org> <87606of24v.fsf@gmail.com> <5A8FEB0A.1050309@gmx.at> X-Debbugs-No-Ack: yes Mail-Copies-To: never Gmane-Reply-To-List: yes Date: Fri, 23 Feb 2018 12:08:54 +0100 In-Reply-To: <5A8FEB0A.1050309@gmx.at> (martin rudalics's message of "Fri, 23 Feb 2018 11:20:58 +0100") Message-ID: <87zi40dku1.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 30560 Cc: Eli Zaretskii , 30560@debbugs.gnu.org, Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain martin rudalics writes: >> + "Display last few input keystrokes and the commands run. For > > This wants the newline here ---------------------------------^ Yes. I got it right for NEWS, and wrong here... --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Describe-view-lossage-changes-in-its-docstring.patch >From 81839472eb88d79b12a44148fd47c76b7c6e56ea Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Fri, 23 Feb 2018 11:01:23 +0100 Subject: [PATCH] Describe `view-lossage' changes in its docstring * lisp/help.el (view-lossage): Mention that this now uses the same format as `edit-last-kbd-macro'. --- etc/NEWS | 11 ++++++----- lisp/help.el | 2 ++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index dacaf023bb..3fa2670d60 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -167,11 +167,12 @@ directories in the destination. ** Help -*** 'C-h l' (view-lossage) now displays last keystrokes and commands -in the same format as the edit buffer of edit-last-kbd-macro. -This makes possible to copy the lines from the buffer generated -by 'view-lossage', yank them to the buffer "*Edit Macro*" created by -'edit-last-kbd-macro', and save the macro by 'C-c C-c'. +*** 'C-h l' (view-lossage) buffer format has changed. +For convenience the lossage buffer now displays the last keystrokes +and commands in the same format as the edit buffer of +'edit-last-kbd-macro'. This makes it possible to copy the lines from +the buffer generated by 'view-lossage' to the "*Edit Macro*" buffer +created by 'edit-last-kbd-macro', and save the macro by 'C-c C-c'. ** Ibuffer diff --git a/lisp/help.el b/lisp/help.el index 9575f5b090..dcf1f32069 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -455,6 +455,8 @@ view-external-packages (defun view-lossage () "Display last few input keystrokes and the commands run. +For convenience this uses the same format as +`edit-last-kbd-macro'. To record all your input, use `open-dribble-file'." (interactive) -- 2.16.1.72.g5be1f00a9 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 23 08:55:46 2018 Received: (at 30560) by debbugs.gnu.org; 23 Feb 2018 13:55:46 +0000 Received: from localhost ([127.0.0.1]:57234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1epDpC-00021Y-Fy for submit@debbugs.gnu.org; Fri, 23 Feb 2018 08:55:46 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1epDpA-000212-Dz for 30560@debbugs.gnu.org; Fri, 23 Feb 2018 08:55:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1epDp1-0004Mc-EK for 30560@debbugs.gnu.org; Fri, 23 Feb 2018 08:55:39 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42575) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1epDp1-0004MY-A9; Fri, 23 Feb 2018 08:55:35 -0500 Received: from [176.228.60.248] (port=3366 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1epDp0-0005vX-HV; Fri, 23 Feb 2018 08:55:35 -0500 Date: Fri, 23 Feb 2018 15:55:53 +0200 Message-Id: <83vaen4xp2.fsf@gnu.org> From: Eli Zaretskii To: Robert Pluim In-reply-to: <87606of24v.fsf@gmail.com> (message from Robert Pluim on Fri, 23 Feb 2018 11:09:52 +0100) Subject: Re: bug#30560: Better format for view-lossage References: <871shfnywp.fsf@mail.linkov.net> <87inaobta6.fsf@mail.linkov.net> <837er45gz2.fsf@gnu.org> <87606of24v.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 30560 Cc: 30560@debbugs.gnu.org, juri@linkov.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Robert Pluim > Cc: Juri Linkov , 30560@debbugs.gnu.org > Date: Fri, 23 Feb 2018 11:09:52 +0100 > > Might I suggest the following as well? LGTM, thanks. > Does this need mentioning in the info docs? The format of the output of view-lossage is currently not mentioned in the manuals, AFAICS. If it is self-explanatory enough, maybe we should leave it that way (and mark the NEWS entry with "---"). From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 24 06:17:35 2018 Received: (at 30560) by debbugs.gnu.org; 24 Feb 2018 11:17:35 +0000 Received: from localhost ([127.0.0.1]:58224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1epXpf-0003aF-9Z for submit@debbugs.gnu.org; Sat, 24 Feb 2018 06:17:35 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44885) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1epXpd-0003a2-Bc for 30560@debbugs.gnu.org; Sat, 24 Feb 2018 06:17:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1epXpX-0005Jj-5u for 30560@debbugs.gnu.org; Sat, 24 Feb 2018 06:17:27 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34477) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1epXpQ-0005H1-OW; Sat, 24 Feb 2018 06:17:20 -0500 Received: from [176.228.60.248] (port=4863 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1epXpQ-0008Ru-7K; Sat, 24 Feb 2018 06:17:20 -0500 Date: Sat, 24 Feb 2018 13:17:40 +0200 Message-Id: <83fu5q4ox7.fsf@gnu.org> From: Eli Zaretskii To: Robert Pluim In-reply-to: <87zi40dku1.fsf@gmail.com> (message from Robert Pluim on Fri, 23 Feb 2018 12:08:54 +0100) Subject: Re: bug#30560: Better format for view-lossage References: <871shfnywp.fsf@mail.linkov.net> <87inaobta6.fsf@mail.linkov.net> <837er45gz2.fsf@gnu.org> <87606of24v.fsf@gmail.com> <5A8FEB0A.1050309@gmx.at> <87zi40dku1.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 30560 Cc: rudalics@gmx.at, 30560@debbugs.gnu.org, juri@linkov.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Robert Pluim > Cc: Eli Zaretskii , 30560@debbugs.gnu.org, Juri Linkov > Date: Fri, 23 Feb 2018 12:08:54 +0100 > > >> + "Display last few input keystrokes and the commands run. For > > > > This wants the newline here ---------------------------------^ > > Yes. I got it right for NEWS, and wrong here... Thanks, pushed. For the future, please include a log entry for NEWS as well, and please cite the bug number in the log message. From unknown Sat Aug 09 15:56:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 24 Mar 2018 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator