unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#56341: Fix repeated "the" in several places
@ 2022-07-01 16:22 Lele Gaifax
  2022-07-02  7:08 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Lele Gaifax @ 2022-07-01 16:22 UTC (permalink / raw)
  To: 56341

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

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.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Fix-repeated-the.patch --]
[-- Type: text/x-diff, Size: 8372 bytes --]

From 150c1ea57004b0dc225e69ee213992f562dd328d Mon Sep 17 00:00:00 2001
From: Lele Gaifax <lele@metapensiero.it>
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  <eliz@gnu.org>
@@ -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  <pwr@skeletons.cc>
@@ -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


[-- Attachment #3: Type: text/plain, Size: 211 bytes --]


-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele@metapensiero.it  |                 -- Fortunato Depero, 1929.

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#56341: Fix repeated "the" in several places
  2022-07-01 16:22 bug#56341: Fix repeated "the" in several places Lele Gaifax
@ 2022-07-02  7:08 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2022-07-02  7:08 UTC (permalink / raw)
  To: Lele Gaifax; +Cc: 56341-done

> From: Lele Gaifax <lele@metapensiero.it>
> 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 





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-02  7:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-01 16:22 bug#56341: Fix repeated "the" in several places Lele Gaifax
2022-07-02  7:08 ` Eli Zaretskii

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).