From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lele Gaifax Newsgroups: gmane.emacs.bugs Subject: bug#56341: Fix repeated "the" in several places Date: Fri, 01 Jul 2022 18:22:02 +0200 Message-ID: <87bku8hkgl.fsf@metapensiero.it> 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="21602"; mail-complaints-to="usenet@ciao.gmane.io" To: 56341@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 01 18:23:54 2022 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 1o7JQv-0005N8-8l for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 01 Jul 2022 18:23:53 +0200 Original-Received: from localhost ([::1]:42336 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7JQt-0004cM-Kb for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 01 Jul 2022 12:23:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7JQ6-0004Ix-CR for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2022 12:23:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45170) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o7JQ5-0004qd-Vt for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2022 12:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o7JQ5-0007kK-Q1 for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2022 12:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lele Gaifax Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Jul 2022 16:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56341 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.165669254529722 (code B ref -1); Fri, 01 Jul 2022 16:23:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Jul 2022 16:22:25 +0000 Original-Received: from localhost ([127.0.0.1]:39065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7JPS-0007jE-Bd for submit@debbugs.gnu.org; Fri, 01 Jul 2022 12:22:25 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:36242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7JPM-0007j1-PY for submit@debbugs.gnu.org; Fri, 01 Jul 2022 12:22:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7JPM-0001t6-0m for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2022 12:22:16 -0400 Original-Received: from orphu.arstecnica.it ([2a01:4f8:121:4404::1]:54558) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7JPF-0004fc-UZ for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2022 12:22:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=metapensiero.it; s=mail; t=1656692523; bh=xH4OaU1a6yH5Fk5yCemBrfP8JC8xddJM66ADInP0KCU=; h=From:To:Subject:Date; b=diOCDNFNYstW7/eTXQw622VnOdS+2VtCOZg5ol8bNYy2LELyPOFC5hw6Fh0YHiPu3 sdZwujYiSJbd9hjbp35UuCJt7dS8TgHGUwvUgNRwVr2FGY/bbIS2TE6yAvrxxm/Mjq sXRkCi5T6yv3L+I3eibrH212c2ZR/Y7QOpr/qCrA= Received-SPF: pass client-ip=2a01:4f8:121:4404::1; envelope-from=lele@metapensiero.it; helo=orphu.arstecnica.it 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_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" Xref: news.gmane.io gmane.emacs.bugs:235826 Archived-At: --=-=-= Content-Type: text/plain 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. --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-Fix-repeated-the.patch >From 150c1ea57004b0dc225e69ee213992f562dd328d Mon Sep 17 00:00:00 2001 From: Lele Gaifax 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 @@ -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 @@ -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 . */ 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 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable --=20 nickname: Lele Gaifax | Quando vivr=C3=B2 di quello che ho pensato ieri real: Emanuele Gaifas | comincer=C3=B2 ad aver paura di chi mi copia. lele@metapensiero.it | -- Fortunato Depero, 1929. --=-=-=--