From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#40169: Fix drawing the horizontal line Date: Sat, 28 Mar 2020 11:13:45 +0300 Message-ID: <83zhc07v7q.fsf@gnu.org> References: <87d095ipza.fsf@posteo.net> <875zexfrs5.fsf_-_@posteo.net> <87pnd58f8t.fsf_-_@posteo.net> <87r1xjlpk7.fsf_-_@posteo.net> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="28460"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 40169@debbugs.gnu.org To: Asher Gordon Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 28 09:14:11 2020 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 1jI6bb-0007LI-6k for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 Mar 2020 09:14:11 +0100 Original-Received: from localhost ([::1]:51076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jI6ba-0004Ae-5J for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 Mar 2020 04:14:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56191) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jI6bS-0004AI-RF for bug-gnu-emacs@gnu.org; Sat, 28 Mar 2020 04:14:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jI6bS-00066d-07 for bug-gnu-emacs@gnu.org; Sat, 28 Mar 2020 04:14:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55890) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jI6bR-00066Y-TX for bug-gnu-emacs@gnu.org; Sat, 28 Mar 2020 04:14:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jI6bR-0007Hf-O2 for bug-gnu-emacs@gnu.org; Sat, 28 Mar 2020 04:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Mar 2020 08:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40169 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 40169-submit@debbugs.gnu.org id=B40169.158538322927972 (code B ref 40169); Sat, 28 Mar 2020 08:14:01 +0000 Original-Received: (at 40169) by debbugs.gnu.org; 28 Mar 2020 08:13:49 +0000 Original-Received: from localhost ([127.0.0.1]:33630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jI6bF-0007H6-Dd for submit@debbugs.gnu.org; Sat, 28 Mar 2020 04:13:49 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41042) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jI6bD-0007Gq-75 for 40169@debbugs.gnu.org; Sat, 28 Mar 2020 04:13:47 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58933) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jI6b7-0005yc-C7; Sat, 28 Mar 2020 04:13:41 -0400 Original-Received: from [176.228.60.248] (port=4557 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jI6b6-0000m8-Rd; Sat, 28 Mar 2020 04:13:41 -0400 In-Reply-To: <87r1xjlpk7.fsf_-_@posteo.net> (message from Asher Gordon on Sun, 22 Mar 2020 23:26:16 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" Xref: news.gmane.io gmane.emacs.bugs:177799 Archived-At: > From: Asher Gordon > Date: Sun, 22 Mar 2020 23:26:16 -0400 > > Whoops! I accidentally broke drawing the horizontal line when someone > wins horizontally. Here is the patch below: > > --- gomoku.el~ 2020-03-21 19:13:36.284656730 -0400 > +++ gomoku.el 2020-03-22 23:11:48.313804581 -0400 > @@ -1114,7 +1114,7 @@ > (setq square1 (+ square1 depl)) > (cond > ((= dy 0) ; Horizontal > - (gomoku-move-right) > + (forward-char 1) > (insert-char ?- (1- gomoku-square-width) t) > (delete-region (point) (progn > (skip-chars-forward " \t") > > And as before, I've also attached the fixed patch so you only have to > apply one patch. Thanks, but please also provide a ChangeLog-format commit log message for these changes. Also, should any of this be in NEWS? If so, please provide the entry for that file as well.