[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#29935: recipe and improved patch
From: |
Lars Ingebrigtsen |
Subject: |
bug#29935: recipe and improved patch |
Date: |
Wed, 26 Aug 2020 15:39:15 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stephen Leake <stephen_leake@stephe-leake.org> 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#29935: recipe and improved patch,
Lars Ingebrigtsen <=