unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jeremy Bryant via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 73485@debbugs.gnu.org
Subject: bug#73485: [PATCH] * ; src/cm.c (calccost): Improve comment readability
Date: Wed, 25 Sep 2024 22:23:10 +0100	[thread overview]
Message-ID: <87v7yjo2bl.fsf@jeremybryant.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 140 bytes --]

This patch is to improve comment readability and correct an apparent
typo.

Please install on master or provide feedback for further work.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-src-cm.c-calccost-Improve-comment-readability.patch --]
[-- Type: text/x-diff, Size: 733 bytes --]

From 72854046e50e1d2e833ee8b2a2ced4fdaa665b05 Mon Sep 17 00:00:00 2001
From: Jeremy Bryant <jb@jeremybryant.net>
Date: Wed, 25 Sep 2024 22:04:23 +0100
Subject: [PATCH] * ; src/cm.c (calccost): Improve comment readability

---
 src/cm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cm.c b/src/cm.c
index 67fafa29bcc..ad419ce0af1 100644
--- a/src/cm.c
+++ b/src/cm.c
@@ -193,7 +193,7 @@ calccost (struct tty_display_info *tty,
             tabcost;
     register const char *p;
 
-    /* If have just wrapped on a terminal with xn,
+    /* If we have just wrapped on a terminal with xn,
        don't believe the cursor position: give up here
        and force use of absolute positioning.  */
 
-- 
2.45.2


             reply	other threads:[~2024-09-25 21:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-25 21:23 Jeremy Bryant via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-09-25 23:47 ` bug#73485: [PATCH] * ; src/cm.c (calccost): Improve comment readability Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v7yjo2bl.fsf@jeremybryant.net \
    --to=bug-gnu-emacs@gnu.org \
    --cc=73485@debbugs.gnu.org \
    --cc=jb@jeremybryant.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).