From unknown Wed Aug 20 06:40:31 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#29935 <29935@debbugs.gnu.org> To: bug#29935 <29935@debbugs.gnu.org> Subject: Status: 26.0.90; copyright-update adds year in middle of buffer Reply-To: bug#29935 <29935@debbugs.gnu.org> Date: Wed, 20 Aug 2025 13:40:31 +0000 retitle 29935 26.0.90; copyright-update adds year in middle of buffer reassign 29935 emacs submitter 29935 Stephen Leake severity 29935 normal tag 29935 unreproducible thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 01 15:22:02 2018 Received: (at submit) by debbugs.gnu.org; 1 Jan 2018 20:22:02 +0000 Received: from localhost ([127.0.0.1]:60192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eW6av-0007os-RL for submit@debbugs.gnu.org; Mon, 01 Jan 2018 15:22:02 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eW6at-0007oO-LD for submit@debbugs.gnu.org; Mon, 01 Jan 2018 15:22:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eW6am-000426-M2 for submit@debbugs.gnu.org; Mon, 01 Jan 2018 15:21:54 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52519) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eW6am-00041u-J1 for submit@debbugs.gnu.org; Mon, 01 Jan 2018 15:21:52 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54105) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eW6ak-0002rK-L6 for bug-gnu-emacs@gnu.org; Mon, 01 Jan 2018 15:21:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eW6ah-0003xG-6j for bug-gnu-emacs@gnu.org; Mon, 01 Jan 2018 15:21:50 -0500 Received: from smtp136.ord.emailsrvr.com ([173.203.6.136]:52746) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eW6ah-0003wY-0l for bug-gnu-emacs@gnu.org; Mon, 01 Jan 2018 15:21:47 -0500 Received: from smtp30.relay.ord1a.emailsrvr.com (localhost [127.0.0.1]) by smtp30.relay.ord1a.emailsrvr.com (SMTP Server) with ESMTP id 7D487A00F0 for ; Mon, 1 Jan 2018 14:41:53 -0500 (EST) X-Auth-ID: board-president@tomahawk-creek-hoa.com Received: by smtp30.relay.ord1a.emailsrvr.com (Authenticated sender: board-president-AT-tomahawk-creek-hoa.com) with ESMTPA id 32D3EA00E2 for ; Mon, 1 Jan 2018 14:41:53 -0500 (EST) X-Sender-Id: board-president@tomahawk-creek-hoa.com Received: from Takver4 (76-218-37-33.lightspeed.kscymo.sbcglobal.net [76.218.37.33]) by 0.0.0.0:587 (trex/5.7.12); Mon, 01 Jan 2018 14:41:53 -0500 Date: Mon, 01 Jan 2018 13:41:51 -0600 Message-Id: <86tvw5tlhc.fsf@stephe-leake.org> From: Stephen Leake To: bug-gnu-emacs@gnu.org Subject: 26.0.90; copyright-update adds year in middle of buffer X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.4 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.4 (----) With copyright-update in before-save-hook, edit multiple files that need a copyright update, then execute save-some-buffers. In some of the files, the new copyright year is inserted in the middle of the buffer (where point last was?), not in the copyright line. See https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00848.html for more discussion. The fix posted there is: --- copyright-orig.el 2017-10-31 18:54:20.957330092 +0100 +++ copyright.el 2017-10-31 18:55:11.624754452 +0100 @@ -181,19 +181,22 @@ ;; This uses the match-data from copyright-find-copyright/end. (goto-char (match-end 1)) (copyright-find-end) + (let ((copyright-end (point))) (setq copyright-current-year (format-time-string "%Y")) (unless (string= (buffer-substring (- (match-end 3) 2) (match-end 3)) (substring copyright-current-year -2)) (if (or noquery (save-window-excursion + (save-excursion (switch-to-buffer (current-buffer)) ;; Fixes some point-moving oddness (bug#2209). - (save-excursion (y-or-n-p (if replace (concat "Replace copyright year(s) by " copyright-current-year "? ") (concat "Add " copyright-current-year " to copyright? ")))))) + (progn + (goto-char copyright-end) (if replace (replace-match copyright-current-year t t nil 3) (let ((size (save-excursion (skip-chars-backward "0-9")))) @@ -218,7 +221,7 @@ (if (eq (char-after (+ (point) size -3)) ?') (insert ?'))) ;; Finally insert the new year. - (insert (substring copyright-current-year size))))))) + (insert (substring copyright-current-year size))))))))) ;;;###autoload (defun copyright-update (&optional arg interactivep) In GNU Emacs 26.0.90 (build 1, x86_64-w64-mingw32) of 2018-01-01 built on TAKVER4 Repository revision: 63b04c11d530f4a6a41f112d1b3ba1ed1eb81195 Windowing system distributor 'Microsoft Corp.', version 6.3.9600 Recent messages: Quit Mark set Auto-saving...done Mark set Auto-saving...done Quit Mark set Quit Making completion list... Mark saved where search started Configured using: 'configure --prefix=/c/emacs/emacs-26' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS LCMS2 Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: cp1252 Major mode: Emacs-Lisp Minor modes in effect: shell-dirtrack-mode: t xref-ada-mode: t diff-auto-refine-mode: t other-frame-window-mode: t display-time-mode: t delete-selection-mode: t icomplete-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-quote-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: c:/Projects/org.wisitoken.grammar_mode/autoloads hides c:/Projects/org.emacs.ada-mode.stephe-2/autoloads c:/home/stephe/.emacs.d/elpa/ada-ref-man-2012.3/ada-ref-man hides c:/Projects/org.emacs.ada-mode.stephe-2/ada-ref-man c:/Projects/org.emacs.ada-mode.stephe-2/ada-xref hides c:/Projects/emacs/emacs-26/lisp/progmodes/ada-xref c:/Projects/org.emacs.ada-mode.stephe-2/ada-stmt hides c:/Projects/emacs/emacs-26/lisp/progmodes/ada-stmt c:/Projects/org.emacs.ada-mode.stephe-2/ada-prj hides c:/Projects/emacs/emacs-26/lisp/progmodes/ada-prj c:/Projects/org.emacs.ada-mode.stephe-2/ada-mode hides c:/Projects/emacs/emacs-26/lisp/progmodes/ada-mode Features: (shadow sort mail-extr emacsbug sendmail vc-git map help-fns radix-tree copyright tabify shell ada-project env-project project-menu make-mode misearch multi-isearch wisi-grammar-mode wisi_grammar-process ada-process xref-ada ada-skel ada-skeletons skeleton ada-compiler ada-gnat-compile gpr-query gnat-core ada-mode-compat ada-wisi wisi-process-parse ada-indent-user-options ada-fix-error ada-elisp wisi-elisp-parse wisi-compile wisi wisi-elisp-lexer wisi-parse-common wisi-compat-24.2 semantic/lex semantic/fw mode-local ada-build ada-mode find-file align cl-extra help-mode xmtn-dvc xmtn-conflicts xmtn-ids dvc-persistence dvc-config xmtn-automate xmtn-run xmtn-match xmtn-basic-io xmtn-base dvc-status dvc-diff dvc-log-edit vc ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff add-log diff-mode dvc-propagate dvc-state vc-dispatcher vc-mtn org-rmail org-mhe org-irc org-info org-gnus nnir gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range message rmc puny rfc822 mml mml-sec epa derived epg mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums mail-utils mm-util mail-prsvr org-docview doc-view jka-compr image-mode org-bibtex bibtex org-bbdb org-w3m org-element avl-tree generator org-mode-keys org advice org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs xgit-core xmtn-minimal dvc-autoloads dvc-unified ffap thingatpt dvc-revlist dvc-fileinfo dvc-core dvc-buffers dvc-ui dvc-register dvc-utils ewoc dvc-emacs dvc-defs other-frame-window elec-pair time delsel cus-start cus-load color-theme edmacro kmacro wid-edit cl noutline outline easy-mmode xref whitespace dired-x dired-aux dired dired-loaddefs compile comint ansi-color ring project-patches project uniquify-files path-iterator icomplete finder-inf info package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib autoloads time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 483260 59015) (symbols 56 42118 2) (miscs 48 767 834) (strings 32 109482 4257) (string-bytes 1 3118077) (vectors 16 43616) (vector-slots 8 835898 21082) (floats 8 349 609) (intervals 56 10467 182) (buffers 992 58)) From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 01 15:40:41 2018 Received: (at 29935) by debbugs.gnu.org; 1 Jan 2018 20:40:41 +0000 Received: from localhost ([127.0.0.1]:60209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eW6sy-0008H2-VE for submit@debbugs.gnu.org; Mon, 01 Jan 2018 15:40:41 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eW6sw-0008Gq-M3 for 29935@debbugs.gnu.org; Mon, 01 Jan 2018 15:40:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eW6sm-0006nS-GB for 29935@debbugs.gnu.org; Mon, 01 Jan 2018 15:40:33 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36419) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eW6sm-0006nG-4D; Mon, 01 Jan 2018 15:40:28 -0500 Received: from [176.228.60.248] (port=4261 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eW6sl-0001fm-Gl; Mon, 01 Jan 2018 15:40:27 -0500 Date: Mon, 01 Jan 2018 22:40:21 +0200 Message-Id: <83d12tcnyi.fsf@gnu.org> From: Eli Zaretskii To: Stephen Leake In-reply-to: <86tvw5tlhc.fsf@stephe-leake.org> (message from Stephen Leake on Mon, 01 Jan 2018 13:41:51 -0600) Subject: Re: bug#29935: 26.0.90; copyright-update adds year in middle of buffer References: <86tvw5tlhc.fsf@stephe-leake.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 29935 Cc: 29935@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Mon, 01 Jan 2018 13:41:51 -0600 > From: Stephen Leake > > With copyright-update in before-save-hook, edit multiple files that need > a copyright update, then execute save-some-buffers. > > In some of the files, the new copyright year is inserted in the middle > of the buffer (where point last was?), not in the copyright line. This happens when save-window-excursion is used whose body switches buffers. This pattern should be avoided at all costs. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 10 14:23:03 2018 Received: (at 29935) by debbugs.gnu.org; 10 Jan 2018 19:23:03 +0000 Received: from localhost ([127.0.0.1]:51315 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZLxm-0000B0-ID for submit@debbugs.gnu.org; Wed, 10 Jan 2018 14:23:02 -0500 Received: from smtp151.ord.emailsrvr.com ([173.203.6.151]:42334) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZLxk-0000AP-Hl for 29935@debbugs.gnu.org; Wed, 10 Jan 2018 14:23:01 -0500 Received: from smtp23.relay.ord1a.emailsrvr.com (localhost [127.0.0.1]) by smtp23.relay.ord1a.emailsrvr.com (SMTP Server) with ESMTP id 01242400A2 for <29935@debbugs.gnu.org>; Wed, 10 Jan 2018 14:22:54 -0500 (EST) X-Auth-ID: board-president@tomahawk-creek-hoa.com Received: by smtp23.relay.ord1a.emailsrvr.com (Authenticated sender: board-president-AT-tomahawk-creek-hoa.com) with ESMTPSA id AADFA400BD for <29935@debbugs.gnu.org>; Wed, 10 Jan 2018 14:22:54 -0500 (EST) X-Sender-Id: board-president@tomahawk-creek-hoa.com Received: from Takver4 (76-218-37-33.lightspeed.kscymo.sbcglobal.net [76.218.37.33]) (using TLSv1.2 with cipher AES256-GCM-SHA384) by 0.0.0.0:587 (trex/5.7.12); Wed, 10 Jan 2018 14:22:54 -0500 From: Stephen Leake To: 29935@debbugs.gnu.org Subject: bug#29935: recipe and improved patch Date: Wed, 10 Jan 2018 13:22:52 -0600 Message-ID: <86d12hfrhv.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (windows-nt) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 29935 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) --=-=-= Content-Type: text/plain Here is a recipe for reproducing the bug in emacs-26.0.90 -Q: Create a directory /tmp/test-copyright Copy the attached file_1.c-save to that directory Start emacs -Q (require 'copyright) (add-hook 'before-save-hook 'copyright-update) (find-file "/tmp/test-copyright/file_1.c") C-x 2 C-x o C-end ;; insert '// changed line' C-x b *Messages* C-x o C-x b *scratch* C-x o M-x save-some-buffers ! y C-x b file_1.c This shows the bug: ', 2018' was inserted on the last line in file_1.c, not the copyright line. The fix in the patch given above is "include 'switch-to-buffer' in the 'save-excursion'"; it is not sufficient for this test case, although I assume it is sufficient in other cases. A discussion on emacs-devel starting at https://lists.gnu.org/archive/html/emacs-devel/2018-01/msg00024.html includes the suggestion to delete 'save-window-excursion'; that does not fix this test case, and in addition it causes file_1.c to be not displayed while asking about updating the copyright. The root cause of the bug is that emacs saves a point for each buffer in each window; when file_1.c is displayed in the lower window, point is restored to where it was last displayed in that window; on the last line. The attached patch copyright.diff fixes this test case in a minimal way, by saving the copyright-end point, and restoring it after displaying the buffer. It also includes 'switch-to-buffer' in the 'save-exursion' to address the other use cases. The email thread mentioned above also discusses trying to preserve frames as well, since switch-to-buffer can pop up a new frame with certain user settings. This patch does not address that, since it is not a regression in emacs 26. A more thorough redesign of this function, to be cleaner and address restoring frames, is left for emacs 27. -- -- Stephe --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=file_1.c-save Content-Transfer-Encoding: base64 Ly8gZmlsZV8xLmMNCi8vDQovLyBDb3B5cmlnaHQgMjAxNyBGU0YNCi8vDQovLyBsb3RzIG9mIHRl eHQgdG8gYWxsb3cgc2Nyb2xsaW5nIHRvIGdldCBjb3B5cmlnaHQgbGluZSBvdXQgb2Ygdmlldw0K Ly8NCi8vDQovLw0KLy8NCi8vDQovLw0KLy8NCi8vDQovLw0KLy8NCi8vDQovLw0KLy8NCi8vDQov Lw0KLy8NCi8vDQovLw0KLy8NCi8vDQovLw0KLy8NCi8vDQovLw0KLy8NCi8vDQovLw0KLy8NCi8v DQovLw0KLy8NCi8vDQovLw0KLy8NCi8vDQovLyBvaywgbm93IGNvcHlyaWdodCBsaW5lIGlzIG91 dCBvZiB2aWV3DQo= --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=copyright.diff Content-Transfer-Encoding: quoted-printable --- a/lisp/emacs-lisp/copyright.el +++ b/lisp/emacs-lisp/copyright.el @@ -181,44 +181,54 @@ copyright-update-year ;; This uses the match-data from copyright-find-copyright/end. (goto-char (match-end 1)) (copyright-find-end) - (setq copyright-current-year (format-time-string "%Y")) - (unless (string=3D (buffer-substring (- (match-end 3) 2) (match-end 3)) - (substring copyright-current-year -2)) - (if (or noquery - (save-window-excursion - (switch-to-buffer (current-buffer)) - ;; Fixes some point-moving oddness (bug#2209). - (save-excursion - (y-or-n-p (if replace - (concat "Replace copyright year(s) by " - copyright-current-year "? ") - (concat "Add " copyright-current-year - " to copyright? ")))))) - (if replace - (replace-match copyright-current-year t t nil 3) - (let ((size (save-excursion (skip-chars-backward "0-9")))) - (if (and (eq (% (- (string-to-number copyright-current-year) - (string-to-number (buffer-substring - (+ (point) size) - (point)))) - 100) - 1) - (or (eq (char-after (+ (point) size -1)) ?-) - (eq (char-after (+ (point) size -2)) ?-))) - ;; This is a range so just replace the end part. - (delete-char size) - ;; Insert a comma with the preferred number of spaces. - (insert - (save-excursion - (if (re-search-backward "[0-9]\\( *, *\\)[0-9]" - (line-beginning-position) t) - (match-string 1) - ", "))) - ;; If people use the '91 '92 '93 scheme, do that as well. - (if (eq (char-after (+ (point) size -3)) ?') - (insert ?'))) - ;; Finally insert the new year. - (insert (substring copyright-current-year size))))))) + (let ((copyright-end (point))) + (setq copyright-current-year (format-time-string "%Y")) + (unless (string=3D (buffer-substring (- (match-end 3) 2) (match-end 3)) + (substring copyright-current-year -2)) + (if (or noquery + ;; =E2=80=98switch-to-buffer=E2=80=99 can pop up a new frame= , or use + ;; another window, so preserve the current window + ;; config. + (save-window-excursion + ;; Fixes some point-moving oddness (bug#2209, bug#29935). + (save-excursion + (switch-to-buffer (current-buffer)) + ;; Ensure the copyright line is displayed; + ;; switch-to-buffer has moved point to where it was + ;; when this buffer was last displayed in this + ;; window. + (goto-char copyright-end) + (y-or-n-p (if replace + (concat "Replace copyright year(s) by " + copyright-current-year "? ") + (concat "Add " copyright-current-year + " to copyright? ")))))) + (if replace + (replace-match copyright-current-year t t nil 3) + (let ((size (save-excursion (skip-chars-backward "0-9")))) + (if (and (eq (% (- (string-to-number copyright-current-year) + (string-to-number (buffer-substring + (+ (point) size) + (point)))) + 100) + 1) + (or (eq (char-after (+ (point) size -1)) ?-) + (eq (char-after (+ (point) size -2)) ?-))) + ;; This is a range so just replace the end part. + (delete-char size) + ;; Insert a comma with the preferred number of spaces. + (insert + (save-excursion + (if (re-search-backward "[0-9]\\( *, *\\)[0-9]" + (line-beginning-position) t) + (match-string 1) + ", "))) + ;; If people use the '91 '92 '93 scheme, do that as well. + (if (eq (char-after (+ (point) size -3)) ?') + (insert ?'))) + ;; Finally insert the new year. + (insert (substring copyright-current-year size)))) + )))) =20 ;;;###autoload (defun copyright-update (&optional arg interactivep) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 11 05:57:48 2018 Received: (at 29935) by debbugs.gnu.org; 11 Jan 2018 10:57:48 +0000 Received: from localhost ([127.0.0.1]:51712 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZaYO-0000if-0E for submit@debbugs.gnu.org; Thu, 11 Jan 2018 05:57:48 -0500 Received: from mout.gmx.net ([212.227.17.22]:55097) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZaYM-0000iS-IN for 29935@debbugs.gnu.org; Thu, 11 Jan 2018 05:57:46 -0500 Received: from [192.168.1.100] ([213.162.73.239]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0M2cDB-1epswx1jfh-00sNLG; Thu, 11 Jan 2018 11:57:38 +0100 Message-ID: <5A574317.9050008@gmx.at> Date: Thu, 11 Jan 2018 11:57:27 +0100 From: martin rudalics MIME-Version: 1.0 To: Stephen Leake , 29935@debbugs.gnu.org Subject: Re: bug#29935: recipe and improved patch References: <86tvw5tlhc.fsf@stephe-leake.org> <86d12hfrhv.fsf@stephe-leake.org> In-Reply-To: <86d12hfrhv.fsf@stephe-leake.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:70gWdt9lSq9SupZ2OeWRI/1wXiFTyoYwk3fnqxx+3my9gR9lAwe L0JntQSOfHiVBomeSp2JjjeXtVvV+4q6CG1eznt6uJbZznGSVn2iybvqb/FOGWDwMg+UvBa vy7MfWzwJBcWnzDgw/rG6JxqhkwzKC5Vhhuw4I42oiR7mJ8Dx2393CtZG23rm53qFnj77h0 g/4hMukJLK3ZlNo7xnqBA== X-UI-Out-Filterresults: notjunk:1;V01:K0:XLMtrZIK4yY=:4nSOnGi7BLWLaLRcXGnuAm AYpTMbUn+zT1ngLdytnxLLfVgVIBnz8S5/p+bRUMbHhSIraefXTUIIwTHuLGUDAse70Xoq5wC 8aLJdXKHY3Q1vRNohqffT1qtvX6tJmFlKU5U83taM0o8qKw0aYebEEjF0VT2C+xs64gh0nizY Jo5HxKup+E1XJcmoUIFUbpG8FMO5VejjPhhhLAbC4cXemnLpNrkrjnmC0wzNd7SMnX1gzbrri UTafl5R8pFn5FtpAu2z10a8WmMXQnrhi9jcVqwCrSmfavgO+ZioboE2hZBHod3cQGpDctNtAj uhS1TrtCAjDdpsFSbkp2SWQDUFqxOjrDrHIWJsiAMmWyDUInrBK06Wnfagp9AIrzaVTWDAciU YEUFoHGWPpN1rlgTsab8s5xQmFLdXLJXEnGqAWRFnG03fgMEM4xCN8nUFdyo8CDNsz/jK7YWF xqEq02n2/lgz5uAAM9PBkRsFS+Hd5YjoXLdaCYV/REn4Y1PbOTL0kPw8QIHimjjfMqSDVUhJX W99ioPTS5tRvRHbkkTHb6v6kXEuEFoEczgkBIYunjiXUIro3k8Z49YKQudTOR4qmd/KIbYhzQ V6i8Za/NgSfvGpumSUz/8r0MkHEZZqKhBozZseJ8C55YrAdrfgr1llbPHUIllX4brsrWqHWIa rrOBv6AW0GAsrKE44842rwGQGrZ4W4e5Kf1W5fpREyMkXy2Bc0BP3+B1COJNX0wbpNioxyYe5 Y8r0FsXvla7KkBDtkjqnGlSULf3NEdpGhIBXuSTqXPj3wZccY4iaRV9o17CSsilGk2dDL7cO3 h81UlzQ6MatxTQ8TitPNBpEvM/HzpmQ1NbIyvLlvaXB79OZMuA= X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 29935 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) > The root cause of the bug is that emacs saves a point for each buffer in > each window; when file_1.c is displayed in the lower window, point is > restored to where it was last displayed in that window; on the last > line. Then the problem seems to be the familiar one: Calling `switch-to-buffer' instead of `display-buffer-same-window'. martin From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 14 17:02:04 2018 Received: (at 29935) by debbugs.gnu.org; 14 Apr 2018 21:02:04 +0000 Received: from localhost ([127.0.0.1]:52809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7SJA-00047s-H1 for submit@debbugs.gnu.org; Sat, 14 Apr 2018 17:02:04 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:57136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7SJ8-00047S-FM for 29935@debbugs.gnu.org; Sat, 14 Apr 2018 17:02:02 -0400 Received: from 46.67.12.60.tmi.telenormobil.no ([46.67.12.60] helo=corrigan) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1f7SJ3-0000zd-03; Sat, 14 Apr 2018 23:01:59 +0200 Received: from larsi by corrigan with local (Exim 4.89) (envelope-from ) id 1f7SIw-0008Mf-Rw; Sat, 14 Apr 2018 23:01:50 +0200 From: Lars Ingebrigtsen To: martin rudalics Subject: Re: bug#29935: recipe and improved patch References: <86tvw5tlhc.fsf@stephe-leake.org> <86d12hfrhv.fsf@stephe-leake.org> <5A574317.9050008@gmx.at> Date: Sat, 14 Apr 2018 23:01:50 +0200 In-Reply-To: <5A574317.9050008@gmx.at> (martin rudalics's message of "Thu, 11 Jan 2018 11:57:27 +0100") Message-ID: <87zi25ec3l.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 29935 Cc: Stephen Leake , 29935@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) martin rudalics writes: >> The root cause of the bug is that emacs saves a point for each buffer in >> each window; when file_1.c is displayed in the lower window, point is >> restored to where it was last displayed in that window; on the last >> line. > > Then the problem seems to be the familiar one: Calling > `switch-to-buffer' instead of `display-buffer-same-window'. So would replacing those calls in the copyright-* functions fix these problems? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 15 03:09:21 2018 Received: (at 29935) by debbugs.gnu.org; 15 Apr 2018 07:09:21 +0000 Received: from localhost ([127.0.0.1]:52987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7bmq-0001Qd-R6 for submit@debbugs.gnu.org; Sun, 15 Apr 2018 03:09:20 -0400 Received: from mout.gmx.net ([212.227.15.18]:55781) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7bmp-0001QQ-Pc for 29935@debbugs.gnu.org; Sun, 15 Apr 2018 03:09:20 -0400 Received: from [192.168.1.100] ([213.162.73.229]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Likl3-1ebqP40Sjt-00d2Da; Sun, 15 Apr 2018 09:09:11 +0200 Message-ID: <5AD2FA91.3030900@gmx.at> Date: Sun, 15 Apr 2018 09:09:05 +0200 From: martin rudalics MIME-Version: 1.0 To: Lars Ingebrigtsen Subject: Re: bug#29935: recipe and improved patch References: <86tvw5tlhc.fsf@stephe-leake.org> <86d12hfrhv.fsf@stephe-leake.org> <5A574317.9050008@gmx.at> <87zi25ec3l.fsf@mouse.gnus.org> In-Reply-To: <87zi25ec3l.fsf@mouse.gnus.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:/uyfunsnE9lFbuulC93ZgHsB32GMmS70q/WWaZkAj8sO36kUwMs nw0qMEAnyUVGENL2Kf8Py/GXEXAje8WeEx3GB5tZQO8krkZHVFSHTQTgwjDGFfFuGZiyT4V MEk138Y49OHZYgZBUgy3TA4diS3bxmodyvYj3vQSAjVQhNTu1g+jaBOQzMkeYYVmGRxzfaC MYcW/yhV7fb+tVcyeFQvQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:h+gI7hojx5Q=:Ng8uh+XcY8Vf62na8iFIlQ biO1q0hmSHsoTz0wWjDMuciLuckVwotG6OCMFRZatMnX8rGmhTnDTfL1HgjQc7rXPvcixSG+p cm4iiHmFXKGAn3lP1r8XdUpnM5rBJ4wx/ZRmsTCPPLdReO95o3+W3h03jhXT1vLJ41clBvSqP lA7R8YnmjXzwtYFCZBgg9TpedpxLpoxRoAeJz+7jMNj0xBCshjv7+t369ezCXclTqYFDTcoEn HtMu8lEbKUH20UMvm5/XuM5M29ZLT3CF/NW1uEQIXb14UtiFVgE2rTC9dvm2zZbtmNIRLORPc BjPxJEGBtYvwIRHircsxHXjDdp+DBdRmqIuFkKKzHeQUdR2fCJIFR13+9RYL67YhrkIPWya2s Q5TuNI/mleCGX1R4+WnfGXDqVNHKSymyoVmuqWuIjWqYNXJ7+RvivFujP2QqK/vJLGmFL1Ecs UlQf2PRbHv9KUXSAycDCeH7tFlG/egkMdjb5r6EmSDmw77KZOwdBjfh3e0lx4n1YETzBHaQpi CRqkkCGM6A39nfSbwzKPAg7g2ho/NcWe/U8bQYDU0cXzdFQ7qaLB5SoWV+LhCj9HOFj9Xk6ld gsZE5+TDy6vhx9ah5+mlPliGg78+1U+oqij8+2VTUe7IMsKH49k2jcyTsMxLC5w5A5JTFUzNo WuAwCeskUusuEjoMEixHzHY2Fm7nN9cZUaebZS1YE0+7VC2I55SvYm41LOppl+zB7XOyqCWJw JopQH7XCdWFe80kUjVJ1rkyeZdSdtqEG+SUgptaFqIUPPXB6iVmAsD/gZoeZ/GjrnKjPx8hA7 lqxasRqF8tV3PnfEm5+J6eEeIyVfJYNIXRs3SfdJQmPYYYmL1ZZaI0xXjRmRptaWjYsMPSe X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29935 Cc: Stephen Leake , 29935@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) >> Then the problem seems to be the familiar one: Calling >> `switch-to-buffer' instead of `display-buffer-same-window'. > > So would replacing those calls in the copyright-* functions fix these > problems? As a rule, applications should avoid calling 'switch-to-buffer' unless they want to adhere to the default value or the user's customization of 'switch-to-buffer-preserve-window-point'. If that can be excluded, replacing those calls should fix problems like the one seen here. martin From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 26 09:39:29 2020 Received: (at 29935) by debbugs.gnu.org; 26 Aug 2020 13:39:29 +0000 Received: from localhost ([127.0.0.1]:37806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAveD-0006EZ-2z for submit@debbugs.gnu.org; Wed, 26 Aug 2020 09:39:29 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAveA-0006EI-8X for 29935@debbugs.gnu.org; Wed, 26 Aug 2020 09:39:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=e4cmeMZIiwD84TLZ54VF7NjGcrzzBsIBbzZ9nDUCprw=; b=iVq+Mg93wy9xB3rPNMllVllu92 MlSugmmKXICWUmLfJo8ctjnTpWSS4yH4UzsPlL0dgnSrm7AU8YNngegBDYbMqF1BO3mSoPFGnoea9 s4pAOcHUlF/BveJfSD+PQtZopmihGzuECWpDIhg+ynLYNU0i0XsHy3XegFr90pND3v8s=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kAve0-00067u-QV; Wed, 26 Aug 2020 15:39:19 +0200 From: Lars Ingebrigtsen To: Stephen Leake Subject: Re: bug#29935: recipe and improved patch References: <86tvw5tlhc.fsf@stephe-leake.org> <86d12hfrhv.fsf@stephe-leake.org> X-Now-Playing: The Soft Pink Truth's _Shall We Go On Sinning So That Grace May Increase_: "So That Grace May Increase" Date: Wed, 26 Aug 2020 15:39:15 +0200 In-Reply-To: <86d12hfrhv.fsf@stephe-leake.org> (Stephen Leake's message of "Wed, 10 Jan 2018 13:22:52 -0600") Message-ID: <873649zfuk.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stephen Leake writes: > Here is a recipe for reproducing the bug in emacs-26.0.90 -Q: > > Create a directory /tmp/test-copyright > Copy the attached file_1.c-save to that directory > Start emacs -Q > > (require 'copyright) [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 29935 Cc: 29935@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Stephen Leake writes: > Here is a recipe for reproducing the bug in emacs-26.0.90 -Q: > > Create a directory /tmp/test-copyright > Copy the attached file_1.c-save to that directory > Start emacs -Q > > (require 'copyright) > (add-hook 'before-save-hook 'copyright-update) > (find-file "/tmp/test-copyright/file_1.c") > > C-x 2 > C-x o > C-end > ;; insert '// changed line' > C-x b *Messages* > C-x o > C-x b *scratch* > C-x o > M-x save-some-buffers > ! > y > C-x b file_1.c > > This shows the bug: ', 2018' was inserted on the last line in file_1.c, > not the copyright line. I tried this in Emacs 28, and but I was unable to reproduce this bug. Are you still seeing this? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 26 09:39:34 2020 Received: (at control) by debbugs.gnu.org; 26 Aug 2020 13:39:34 +0000 Received: from localhost ([127.0.0.1]:37809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAveI-0006Eq-BY for submit@debbugs.gnu.org; Wed, 26 Aug 2020 09:39:34 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAveG-0006ER-2B for control@debbugs.gnu.org; Wed, 26 Aug 2020 09:39:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=gxkagOoJZalTEBeS/gCZp1ILqToeAl/4fLtc4pCgVss=; b=D8nHB+0O9swrMLypr8mOUpW4AF 8eQSpJ/6tOArFRkaNkydmBAdIFL9HYAHLl8PEYeqcASoQQ5A5GEaRhhyQrlFlyksQn8XUHj3jhZVd +MQZTPGdVEgcKdMMsNR7HDzcMQ/cVjx9bjzNYJGQuMRmYg8TD83hz6TEMrseqBN/yOWM=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kAve8-00068s-9b for control@debbugs.gnu.org; Wed, 26 Aug 2020 15:39:26 +0200 Date: Wed, 26 Aug 2020 15:39:23 +0200 Message-Id: <871rjtzfuc.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #29935 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 29935 + unreproducible quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 29935 + unreproducible quit From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 02 00:55:48 2020 Received: (at 29935) by debbugs.gnu.org; 2 Oct 2020 04:55:48 +0000 Received: from localhost ([127.0.0.1]:39050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOD6i-0004Lh-2M for submit@debbugs.gnu.org; Fri, 02 Oct 2020 00:55:48 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOD6f-0004LR-IS for 29935@debbugs.gnu.org; Fri, 02 Oct 2020 00:55:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=NWX8bo8kL9N27gfE7sthRRDzdWK5eWG2RHR25MIR6oU=; b=X+lVQ2bjhXO5tdFd/ybKZOf24h xYwTUzBygFRlolA4iz18coK38MokNfIBe0MNu652dYeeZbstzE9Ns3gi8dMzam7BEdSJILq3MOVR0 2ni/c/2f4bJmUDt5UGNmmjrkC+fddmujt2jEZHVnheKjX+7u0fddNNQVzF90myBWexFk=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kOD6W-0007oY-U1; Fri, 02 Oct 2020 06:55:39 +0200 From: Lars Ingebrigtsen To: Stephen Leake Subject: Re: bug#29935: recipe and improved patch References: <86tvw5tlhc.fsf@stephe-leake.org> <86d12hfrhv.fsf@stephe-leake.org> <873649zfuk.fsf@gnus.org> X-Now-Playing: Joni Mitchell's _Travelogue (2)_: "Borderline" Date: Fri, 02 Oct 2020 06:55:35 +0200 In-Reply-To: <873649zfuk.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 26 Aug 2020 15:39:15 +0200") Message-ID: <87y2kpxm48.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > I tried this in Emacs 28, and but I was unable to reproduce this bug. > Are you still seeing this? There was no response in five weeks, so I'm closing this bug report. If this is still an issue, please respond to the debbugs address and we'll reopen. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 29935 Cc: 29935@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: > I tried this in Emacs 28, and but I was unable to reproduce this bug. > Are you still seeing this? There was no response in five weeks, so I'm closing this bug report. If this is still an issue, please respond to the debbugs address and we'll reopen. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 02 00:55:53 2020 Received: (at control) by debbugs.gnu.org; 2 Oct 2020 04:55:53 +0000 Received: from localhost ([127.0.0.1]:39053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOD6n-0004Lz-Aw for submit@debbugs.gnu.org; Fri, 02 Oct 2020 00:55:53 -0400 Received: from quimby.gnus.org ([95.216.78.240]:39516) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOD6l-0004Lb-6W for control@debbugs.gnu.org; Fri, 02 Oct 2020 00:55:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Im4WFfkUQD+Sas94LDdP9FXPvk1Dj7Rsu+BzrLaeuLk=; b=oX0h9MxDXzDVUYb0nrmaM9XJ4U QOB1Qf1VrmLzoU2bSTJe2IEjzTHRhlj3LWa7xugm9DaeZlA/jsorddcuXbsMw/7Nz09cAn/jY3efA 6nHM0oKAVYzPv6yRLESbKsi7qpb/GTbgLuGM37lQEB2DnCMaMcnu0lEQ3pJJK/uYof5Y=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kOD6d-0007of-GL for control@debbugs.gnu.org; Fri, 02 Oct 2020 06:55:45 +0200 Date: Fri, 02 Oct 2020 06:55:42 +0200 Message-Id: <87wo09xm41.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #29935 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 29935 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 29935 quit From unknown Wed Aug 20 06:40:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 30 Oct 2020 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator