GNU bug report logs - #40169
26.1; gomoku.el: Fix character movement

Previous Next

Package: emacs;

Reported by: Asher Gordon <AsDaGo <at> posteo.net>

Date: Sat, 21 Mar 2020 17:43:01 UTC

Severity: normal

Tags: patch

Found in version 26.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 40169 <at> debbugs.gnu.org (full text, mbox):

From: Asher Gordon <AsDaGo <at> posteo.net>
To: 40169 <at> debbugs.gnu.org
Subject: Fix drawing the horizontal line
Date: Sun, 22 Mar 2020 23:26:16 -0400
[Message part 1 (text/plain, inline)]
Whoops! I accidentally broke drawing the horizontal line when someone
wins horizontally. Here is the patch below:
[horizontal-line.patch (text/x-patch, inline)]
--- 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")
[Message part 3 (text/plain, inline)]
And as before, I've also attached the fixed patch so you only have to
apply one patch.

Asher

-- 
One picture is worth 128K words.
                               --------
I prefer to send and receive mail encrypted. Please send me your
public key, and if you do not have my public key, please let me
know. Thanks.

GPG fingerprint: 38F3 975C D173 4037 B397  8095 D4C9 C4FC 5460 8E68
[gomoku.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 5 years and 43 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.