Subject: bug#56341: closed (Re: bug#56341: Fix repeated "the" in several places)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 02 Jul 2022 07:09:01 +0000

Your bug report

#56341: Fix repeated "the" in several places

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
56341: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56341
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#56341: Fix repeated "the" in several places
From: Eli Zaretskii <[email-masked]>
To: Lele Gaifax <[email-masked]>
Cc: [email-masked]
Date: Sat, 02 Jul 2022 10:08:08 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: Lele Gaifax <[email-masked]>
> Date: Fri, 01 Jul 2022 18:22:02 +0200
> 
> I noticed a typo in a recent NEWS entry (commit
> 7b9d755b816ca697b879b7c5c61526f96e9f4b9a), and "git grep ' the the '"
> revealed several other instances of the same glitch.
> 
> The attached patch fixes those typos: I'm not exactly sure that touching
> Changelog.3 is the right thing to do, though.

Thanks.  I installed part of this:

  . ChangeLog.3 is a generated file
  . files in test/manual/etags/ should not be changed, as that affects
    the "expected results" files and fails the tests if those other
    files aren't updated 

Subject: Fix repeated "the" in several places
From: Lele Gaifax <[email-masked]>
To: [email-masked]
Date: Fri, 01 Jul 2022 18:22:02 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

I noticed a typo in a recent NEWS entry (commit
7b9d755b816ca697b879b7c5c61526f96e9f4b9a), and "git grep ' the the '"
revealed several other instances of the same glitch.

The attached patch fixes those typos: I'm not exactly sure that touching
Changelog.3 is the right thing to do, though.

All the best,
ciao, lele.
>From 150c1ea57004b0dc225e69ee213992f562dd328d Mon Sep 17 00:00:00 2001
From: Lele Gaifax <[email-masked]>
Date: Fri, 1 Jul 2022 18:03:57 +0200
Subject: [PATCH] Fix repeated "the"

* ChangeLog.3:
* configure.ac (EMACS_CONFIG_FEATURES):
* etc/NEWS:
* lisp/dnd.el (dnd-begin-text-drag):
* src/pgtkfns.c (Fx_display_mm_height):
(Fx_display_mm_width):
(Fx_display_backing_store):
(Fx_display_visual_class):
* src/xterm.c:
* test/manual/etags/erl-src/gs_dialog.erl:
* test/manual/etags/tex-src/gzip.texi: "the the" -> "the".
---
 ChangeLog.3                             | 8 ++++----
 configure.ac                            | 2 +-
 etc/NEWS                                | 2 +-
 lisp/dnd.el                             | 2 +-
 src/pgtkfns.c                           | 8 ++++----
 src/xterm.c                             | 2 +-
 test/manual/etags/erl-src/gs_dialog.erl | 2 +-
 test/manual/etags/tex-src/gzip.texi     | 2 +-
 8 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/ChangeLog.3 b/ChangeLog.3
index d0ff14117b..00ed56666f 100644
--- a/ChangeLog.3
+++ b/ChangeLog.3
@@ -15459,7 +15459,7 @@
 	Fix automatic hscrolling when line numbers are displayed
 
 	* src/xdisp.c (hscroll_window_tree): When line numbers are
-	displayed, account for the the line-number space when calculating
+	displayed, account for the line-number space when calculating
 	the desired X coordinate on the left.  (Bug#49891)
 
 2021-08-06  Eli Zaretskii  <[email-masked]>
@@ -42218,7 +42218,7 @@
 	string in the byte-code (so the two branches return `eq` strings).
 
 	So, I think using `iso-2022-jp` is a bad idea here: it gives the
-	illusion that the the `charset` info exists, even it will be lost.
+	illusion that the `charset` info exists, even it will be lost.
 	Eli discussed it with Handa-san a year ago, and they arrived at the
 	conclusion that the charset information is indeed no longer important.
 
@@ -53424,7 +53424,7 @@
 	Tweak the face of unknown backend indicators in flymake
 
 	* lisp/progmodes/flymake.el (flymake--mode-line-format): Don't put
-	a face on the the "?" unknown backend indicator, because that
+	a face on the "?" unknown backend indicator, because that
 	looks odd in inactive windows (bug#44689).
 
 2020-11-24  Paul W. Rankin  <[email-masked]>
@@ -74558,7 +74558,7 @@
 
 	Do this conservatively for now: if the ElDoc helper buffer (as
 	returned by eldoc--doc-buffer) is visible and showing documentation
-	for the very same "situation" (as computed by the the new
+	for the very same "situation" (as computed by the new
 	eldoc--request-state helper), don't request that documentation from
 	sources again.
 
diff --git a/configure.ac b/configure.ac
index 17f86627a7..ad3df5d731 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6492,7 +6492,7 @@ AC_DEFUN
   Does Emacs support legacy unexec dumping?               ${with_unexec}
   Which dumping strategy does Emacs use?                  ${with_dumping}
   Does Emacs have native lisp compiler?                   ${HAVE_NATIVE_COMP}
-  Does Emacs use version 2 of the the X Input Extension?  ${HAVE_XINPUT2}
+  Does Emacs use version 2 of the X Input Extension?      ${HAVE_XINPUT2}
   Does Emacs generate a smaller-size Japanese dictionary? ${with_small_ja_dic}
 "])
 
diff --git a/etc/NEWS b/etc/NEWS
index 3127e73426..30404cc13c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1012,7 +1012,7 @@ so automatically.
 ** Elisp
 
 *** New command 'elisp-eval-buffer' (bound to 'C-c C-e').
-This command evals the forms in the the current buffer.
+This command evals the forms in the current buffer.
 
 *** New commands 'elisp-byte-compile-file' and 'elisp-byte-compile-buffer'.
 These commands (bound to 'C-c C-f' and 'C-c C-b', respectively)
diff --git a/lisp/dnd.el b/lisp/dnd.el
index 29f4ca98ec..ade61917e9 100644
--- a/lisp/dnd.el
+++ b/lisp/dnd.el
@@ -348,7 +348,7 @@ dnd-begin-text-drag
 mouse is currently held down, or nil, which stands for the
 current frame.  ACTION is one of the symbols `copy' or `move',
 where `copy' means that the text should be inserted by the drop
-target, and `move' means the the same as `copy', but in addition
+target, and `move' means the same as `copy', but in addition
 the caller might have to delete TEXT from its source after this
 function returns.  If ALLOW-SAME-FRAME is nil, ignore any drops
 on FRAME itself.
diff --git a/src/pgtkfns.c b/src/pgtkfns.c
index 4f15ec6ff6..5c43e5f360 100644
--- a/src/pgtkfns.c
+++ b/src/pgtkfns.c
@@ -2043,7 +2043,7 @@ use `(length \(display-monitor-attributes-list TERMINAL))' instead.  */)

 DEFUN ("x-display-mm-height", Fx_display_mm_height, Sx_display_mm_height, 0, 1, 0,
-       doc: /* Return the height in millimeters of the the display TERMINAL.
+       doc: /* Return the height in millimeters of the display TERMINAL.
 The optional argument TERMINAL specifies which display to ask about.
 TERMINAL should be a terminal object, a frame or a display name (a string).
 If omitted or nil, that stands for the selected frame's display.
@@ -2084,7 +2084,7 @@ for each physical monitor, use `display-monitor-attributes-list'.  */)

 DEFUN ("x-display-mm-width", Fx_display_mm_width, Sx_display_mm_width, 0, 1, 0,
-       doc: /* Return the width in millimeters of the the display TERMINAL.
+       doc: /* Return the width in millimeters of the display TERMINAL.
 The optional argument TERMINAL specifies which display to ask about.
 TERMINAL should be a terminal object, a frame or a display name (a string).
 If omitted or nil, that stands for the selected frame's display.
@@ -2125,7 +2125,7 @@ for each physical monitor, use `display-monitor-attributes-list'.  */)

 DEFUN ("x-display-backing-store", Fx_display_backing_store, Sx_display_backing_store, 0, 1, 0,
-       doc: /* Return an indication of whether the the display TERMINAL does backing store.
+       doc: /* Return an indication of whether the display TERMINAL does backing store.
 The value may be `buffered', `retained', or `non-retained'.
 The optional argument TERMINAL specifies which display to ask about.
 TERMINAL should be a terminal object, a frame or a display name (a string).
@@ -2138,7 +2138,7 @@ If omitted or nil, that stands for the selected frame's display.  */)

 DEFUN ("x-display-visual-class", Fx_display_visual_class, Sx_display_visual_class, 0, 1, 0,
-       doc: /* Return the visual class of the the display TERMINAL.
+       doc: /* Return the visual class of the display TERMINAL.
 The value is one of the symbols `static-gray', `gray-scale',
 `static-color', `pseudo-color', `true-color', or `direct-color'.
 
diff --git a/src/xterm.c b/src/xterm.c
index c83ddc6b9e..1a6591a97c 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -497,7 +497,7 @@ along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.  */
     data.l[1] = timestamp
     data.l[2] = low 32 bits of a provided frame counter value
     data.l[3] = high 32 bits of a provided frame counter value
-    data.l[4] = 1 if the the extended frame counter should be updated,
+    data.l[4] = 1 if the extended frame counter should be updated,
     otherwise 0
 
   Upon receiving such an event, Emacs constructs and saves a counter
diff --git a/test/manual/etags/erl-src/gs_dialog.erl b/test/manual/etags/erl-src/gs_dialog.erl
index c04ee8be0c..028534da48 100644
--- a/test/manual/etags/erl-src/gs_dialog.erl
+++ b/test/manual/etags/erl-src/gs_dialog.erl
@@ -61,7 +61,7 @@ behaviour_info(callbacks) ->
 
     %%----------------------------------------------------------------
     %% Module:icon() -> FileNameString | {Text, FgColour, BgColour}
-    %% Should return the the icon displayed in the dialog box.
+    %% Should return the icon displayed in the dialog box.
     %% This should either be the fully qualified filename of a 32x32 GIF
     %% file (e.g. in the application's priv dir,) or a 3-tuple
     %% describing a simple "circle" icon to be rendered by GS itself.
diff --git a/test/manual/etags/tex-src/gzip.texi b/test/manual/etags/tex-src/gzip.texi
index 72c5c7e93b..7d8b2f7fe0 100644
--- a/test/manual/etags/tex-src/gzip.texi
+++ b/test/manual/etags/tex-src/gzip.texi
@@ -7,7 +7,7 @@
 @c %**end of header
 
 @ifinfo
-This file documents the the GNU @code{gzip} command for compressing files.
+This file documents the GNU @code{gzip} command for compressing files.
 
 Copyright (C) 1992-1993 Jean-loup Gailly
 
-- 
2.36.1

-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
[email-masked]  |                 -- Fortunato Depero, 1929.