From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jeremy Bryant via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#73487: [PATCH] ; * src/cm.c (cmgoto): Add function documentation Date: Wed, 25 Sep 2024 22:32:56 +0100 Message-ID: <87msjvo1vb.fsf@jeremybryant.net> Reply-To: Jeremy Bryant Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37939"; mail-complaints-to="usenet@ciao.gmane.io" To: 73487@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 25 23:34:01 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 1stZe5-0009d8-2t for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Sep 2024 23:34:01 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1stZdl-0007L4-5L; Wed, 25 Sep 2024 17:33:41 -0400 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 1stZdi-0007KT-Vz for bug-gnu-emacs@gnu.org; Wed, 25 Sep 2024 17:33:39 -0400 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 1stZdg-0002rr-I3 for bug-gnu-emacs@gnu.org; Wed, 25 Sep 2024 17:33:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=jpox58Z50krgBJd+FZ+rNnosZwJbaq+EPkntxKHO98I=; b=Vy3JTJYTf1X49HSEplhkiNMV6sV0B52USTtKpCOTLhMA6d1XeYfXswvAqgDEJBDTUeyl1+saSIi4bn5dwAL3/+WOVj+d2bWUmgRsnaA1FowcEpYpoVfzQpqsSbIFZnMWgfOZ+S9ew9WEfIA8tvkWWw6JyAGvYD4dKfceAvk8A8p9tZEGz5sZf2WrYXsa6qRcVouN9bMXY1EdW51KK+EIF7WyGty5FFkjNAZKt4iqUX+DBfG0jQxDQ8xc3jnHM95tFEjH7JpDKDuHhrn8+4Abh3VnLvIFwgRgHMObJ8d5kP9t4jiUtQsQgjTvO6Pd86hedzCPfnqjpQ7sCTUfBQRk/Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1stZe6-0003gy-Dn for bug-gnu-emacs@gnu.org; Wed, 25 Sep 2024 17:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jeremy Bryant Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Sep 2024 21:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73487 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.172730001814119 (code B ref -1); Wed, 25 Sep 2024 21:34:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Sep 2024 21:33:38 +0000 Original-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 1stZdi-0003fd-3L for submit@debbugs.gnu.org; Wed, 25 Sep 2024 17:33:38 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:57052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stZdg-0003fT-JG for submit@debbugs.gnu.org; Wed, 25 Sep 2024 17:33:37 -0400 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 1stZdF-0007If-6a for bug-gnu-emacs@gnu.org; Wed, 25 Sep 2024 17:33:09 -0400 Original-Received: from out-174.mta0.migadu.com ([2001:41d0:1004:224b::ae]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1stZdC-0002qG-DE for bug-gnu-emacs@gnu.org; Wed, 25 Sep 2024 17:33:08 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jeremybryant.net; s=key1; t=1727299981; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=jpox58Z50krgBJd+FZ+rNnosZwJbaq+EPkntxKHO98I=; b=rhejqsrajUcC5ZkYUeHHI4MEN7LwwPSv4WCxngOZ3rEX62MqBrQtzdwIjp/Xo9PEZnNRMl 9my3gRSxglsh1n5OTg1kX8tPTXgSWyXWDh8e/ThJyTupg+tQ4PbAgvepSnoufd70SEV7TZ CpqoRHNGf1QCHUViNaQa1V3aW6TQt7QjD+vmOcId6bGpewXKoUtXMLIXYEmQrWCvRkPqmz BDzk/6q7uGUaeKoORX/6lpZCm1eN6p4MRK/z39qp2kuUHXTZEUGuij9TElRDhZ87oHAUn0 /re5plbYe5ja1NfjoYBcT07XPfdrsvqby2iiVQO6+q8HWJDfY8fjJIs3ygM6Lw== X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=2001:41d0:1004:224b::ae; envelope-from=jb@jeremybryant.net; helo=out-174.mta0.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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:292423 Archived-At: --=-=-= Content-Type: text/plain This proposed patch adds a function documentation where there was none. Please install on master or provide feedback for further work. --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-src-cm.c-cmgoto-Add-function-documentation.patch >From 436d482337ad1a88436973337650473e6d7ace41 Mon Sep 17 00:00:00 2001 From: Jeremy Bryant Date: Wed, 25 Sep 2024 22:28:04 +0100 Subject: [PATCH] ; * src/cm.c (cmgoto): Add function documentation --- src/cm.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cm.c b/src/cm.c index ad419ce0af1..0832eaf84b5 100644 --- a/src/cm.c +++ b/src/cm.c @@ -317,6 +317,10 @@ #define USEHOME 1 #define USELL 2 #define USECR 3 +/* + * Move the cursor to (row, col), by computing the optimal way. + */ + void cmgoto (struct tty_display_info *tty, int row, int col) { -- 2.45.2 --=-=-=--