From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.bugs,gmane.emacs.erc.general Subject: bug#68401: 30.0.50; ERC 5.6-git: `erc-cmd-GMSG', `erc-cmd-AMSG', `erc-cmd-GME', `erc-cmd-AME'. 2nd attempt Date: Sun, 14 Jan 2024 10:11:04 +0100 Message-ID: <87frz0p9ef.fsf@dataswamp.org> References: <87v87yvnly.fsf@dataswamp.org> <834jfikb4d.fsf__6528.35318339697$1705061373$gmane$org@gnu.org> <87edemvdw6.fsf@dataswamp.org> <83mstaipk7.fsf@gnu.org> <8734v2ugqm.fsf@dataswamp.org> <87zfxat14v.fsf@dataswamp.org> <83o7dphf3e.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10103"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-erc@gnu.org To: 68401@debbugs.gnu.org Cancel-Lock: sha1:hBqdaVXIb5YUxdyZgEUwNmJMNac= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 14 10:12:22 2024 Return-path: Envelope-to: geb-bug-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 1rOwXV-0002Rl-BC for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Jan 2024 10:12:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rOwXE-0003M2-3D; Sun, 14 Jan 2024 04:12:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rOwXD-0003Lu-59 for bug-gnu-emacs@gnu.org; Sun, 14 Jan 2024 04:12:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rOwXC-0002bZ-T5 for bug-gnu-emacs@gnu.org; Sun, 14 Jan 2024 04:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rOwXB-0004kK-UT for bug-gnu-emacs@gnu.org; Sun, 14 Jan 2024 04:12:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87v87yvnly.fsf@dataswamp.org> Resent-From: Emanuel Berg Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Jan 2024 09:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68401 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.170522349418205 (code B ref -1); Sun, 14 Jan 2024 09:12:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Jan 2024 09:11:34 +0000 Original-Received: from localhost ([127.0.0.1]:41672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOwWk-0004jY-D2 for submit@debbugs.gnu.org; Sun, 14 Jan 2024 04:11:34 -0500 Original-Received: from lists.gnu.org ([2001:470:142::17]:43024) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOwWi-0004jL-1K for submit@debbugs.gnu.org; Sun, 14 Jan 2024 04:11:32 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rOwWd-0003EH-IU for bug-gnu-emacs@gnu.org; Sun, 14 Jan 2024 04:11:27 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rOwWb-0001tJ-SE for bug-gnu-emacs@gnu.org; Sun, 14 Jan 2024 04:11:27 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1rOwWX-0001Pb-NE for bug-gnu-emacs@gnu.org; Sun, 14 Jan 2024 10:11:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: bug-gnu-emacs@gnu.org Original-Followup-To: gmane.emacs.bugs,gmane.emacs.erc.general Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=geb-bug-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:278194 gmane.emacs.erc.general:2372 Archived-At: Eli Zaretskii wrote: >> I didn't find a command to change the commit message of the >> patch > > The command you are looking for is > > git commit --amend Thank you and JP for the help with git commands, here are the commands I accumulated only working on this small patch. But I think it doesn't take that long to become fluent with the git basics, after that overhead efforts are less frustrating. If one wants to `untabify' files on `save-buffer', but not in cases like this, this is more tricky but as a poor man's solution one can add exceptions to the function that does it, like this (defun untab-all () (unless (member major-mode '(emacs-lisp-mode makefile-gmake-mode makefile-mode) ) ; exceptions (untabify (point-min) (point-max))) nil) That last `nil' indicates it did not write the buffer to the disk, used by `before-save-hook' - so it is useful, even tho it looks funky in a defun. $ git checkout -b ib master ... $ git commit -a $ git format-patch master -M -o .ib M-x erc-bug RET Tags: patch C-c C-a (`mml-attach-file') C-c C-c (`message-send-and-exit') $ git log $ git format-patch -2 HEAD --stdout > last-two.patch $ git commit --amend $ git branch $ git branch -D ib -- underground experts united https://dataswamp.org/~incal