From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: steve-humphreys@gmx.com Newsgroups: gmane.emacs.help Subject: Re: command-log-mode Date: Mon, 11 Jan 2021 14:19:49 +0100 Message-ID: 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="2939"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help Gnu Emacs To: Help Gnu Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 11 14:23:38 2021 Return-path: Envelope-to: geh-help-gnu-emacs@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 1kyxAX-0000fx-T9 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 11 Jan 2021 14:23:37 +0100 Original-Received: from localhost ([::1]:58126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyxAV-0001Td-Tm for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 11 Jan 2021 08:23:35 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47142) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyx6v-0007Z0-CJ for help-gnu-emacs@gnu.org; Mon, 11 Jan 2021 08:19:53 -0500 Original-Received: from mout-xforward.gmx.net ([82.165.159.13]:57327) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyx6t-0004yX-3k for help-gnu-emacs@gnu.org; Mon, 11 Jan 2021 08:19:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1610371189; bh=TxE7VEZLhu7jZdPnBupLGzAherwkmfVzptDViX05SUA=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=JK9fZDv9xZVTXCgDY1wqBRvssbkXbiJR03x6Hn4mPKyVCmXqLccAiRNR8aPCUvU5n 1uRXLdPAa/pdKGWpm97azS1WKe2hG8294B6J0hBkpJCxu7aO05dM+vtfjeEei2EFMh hXTZcXxwy+N8B4uu7uNYaiqpzLg2brSHweK8++8s= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [185.244.212.219] ([185.244.212.219]) by web-mail.gmx.net (3c-app-mailcom-bs13.server.lan [172.19.170.181]) (via HTTP); Mon, 11 Jan 2021 14:19:49 +0100 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:ZxFyIS5MRLmNVWdNd6KzjFJUDF1ZUGvBjjlpA07+kDSLvkhk+ou0ffU9LjafWFnIsCN6j 8JyTTyZL8E/R8SzwEoBykFz7TywXGibwockyQl6D2d3NtZoaLeNYB7D0lBLzniUqz6KqO7OfEdKm XldHAjiK2obhYUxoDSaUtX5FAPUmOPQS4EgpCjWv87XJHBu7+3manAsjT5cDdUWDThyuv5toFLKb +ejE886WssK0TrdqUAu8eSNcT3diRF8vsRuwSJUcspR65KK388uICtk62mpmNUdPb85HOQrr+UXw oo= X-UI-Out-Filterresults: junk:10;V03:K0:i2vDuZOKIhU=:Mkfo63skFA4In157qt+dP7ar 3/8r0GNueM/mxKqk2OpOlcyZgBpNgJdH/cigrBRbzWpnSwrIATcB+nAzewMR1TbVMY7crGJU0 9mnr86euBXOWJRxW68Ssv/kcWpX2cl/18dl8Vcl/msO8rWwj/7SWOvgmt6wqtaeJbD45xb9yk UHi7IXWCodSn14Z5Lq/xniiMs2MJ7tkfvFIH+/Jx8nLaPTipeicQ7lvlxVqPMSS5s6FOhb63d Uz+KHKLQQKqOny8srPmqQaCFZ8EPMz9u13dka6nDlm/IH/s1VLawZ4ap3xBD25ZPFBrramq5P Ilqr/hH6TJH9bNVq/sT9cm6FoNW7S5u8VK5Q30yDG5lfbZ8PnhaN3lZC3VlSKc5d822PzfllX NgatXvyY7IBbTlz49epbYO+83jcOoHeEH/TeZp3JoaldlQEt5VzlsxhYWKyNndVuB8ijylgFI a0YNQGagJWo5ENQoRCbjBBmxaFN/1y2j2rPG7/G5erucXx7azk0a/VwP8CqDd/llHA6aKCwng l2V5NolOFSTpoB3Z/rGIjFdeS+LoSYH1vZmdjdPcBdV9RNRkvQW6h2AfWfnAj5MfYjOGK0uWt 3IckfSrrA2DiozI3Rw0x+C+xw/1OI+xw1AtlLtYlJGAsG2P+WILfjA== Received-SPF: pass client-ip=82.165.159.13; envelope-from=steve-humphreys@gmx.com; helo=mout-xforward.gmx.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:127189 Archived-At: Has anyone got an idea how to put the command-log window at the bottom rather than at the side? Have added a vertical window split by making clm-open-clogbfr-vertically I then call it from clm/toggle-command-log-buffer Yet, the window is still being displayed horizontally. (defun clm-open-clogbfr-vertically (&optional arg) "Opens (and creates, if non-existant) a buffer used for logging keyboard c= ommands. If ARG is non-nil, the existing command log buffer is cleared." (interactive "P") (with-current-buffer (setq clm-command-log-buffer (get-buffer-create " *command-log*")) (text-scale-set 1)) (when arg (with-current-buffer clm-command-log-buffer (erase-buffer))) (let ((new-win (split-window-vertically (- 0 command-log-mode-window-size)))) (set-window-buffer new-win clm-command-log-buffer) (set-window-dedicated-p new-win t))) ;;;###autoload (defun clm/toggle-command-log-buffer (&optional arg) "Toggle the command log showing or not." (interactive "P") (when (and command-log-mode-open-log-turns-on-mode (not command-log-mode)) (if command-log-mode-is-global (global-command-log-mode) (command-log-mode))) (with-current-buffer (setq clm-command-log-buffer (get-buffer-create " *command-log*")) (let ((win (get-buffer-window (current-buffer)))) (if (windowp win) (clm-close-command-log-buffer) ;; Else open the window (clm-open-clogbfr-vertically arg))))) > Sent: Monday, January 11, 2021 at 11:07 PM > From: "Philip K." > To: steve-humphreys@gmx.com > Cc: "Help Gnu Emacs" > Subject: Re: command-log-mode > > steve-humphreys@gmx.com writes: > > > I am trying to use command-log-mode, but I am unsure how to use it. > > Have found no instructions on how to install it and call it. > > > > The source code is here > > > > https://github.com/lewang/command-log-mode > > The Commentary section says > > ;; To enable, use e.g.: > ;; > ;; (require 'command-log-mode) > ;; (add-hook 'LaTeX-mode-hook 'command-log-mode) > ;; > ;; To see the log buffer, call M-x clm/open-command-log-buffer. > > So basically, all you have to do is M-x command-log-mode, to enable it > wherever you need it, and then manually open the log buffer. > > -- > Philip K. >