GNU bug report logs -
#77197
31.0.50; forward-word fails after yanking into summary line of *vc-log*
Previous Next
Reported by: Paul Nelson <ultrono <at> gmail.com>
Date: Sun, 23 Mar 2025 01:17:05 UTC
Severity: normal
Found in version 31.0.50
Done: Sean Whitton <spwhitton <at> spwhitton.name>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
>> If we yank text into the summary line of a *vc-log* buffer, then with
>> point at beginning of line, forward-word fails.
>>
>> To reproduce, use vc-next-action (C-x v v) to arrive at a *vc-log*
>> buffer. With point after "Summary:", evaluate
>>
>> (progn
>> (insert "text")
>> (log-edit-beginning-of-line)
>> (forward-word))
>>
>> This leaves point before "text". It should instead be after.
>>
>> There is no issue if we manually type "text".
>
> I've been running into this lately too. I intend to look into it,
> though any further investigation from you would be much appreciated.
I run Emacs with the enabled option 'backtrace-on-redisplay-error',
so I see such backtrace in *vc-log* buffers:
Error: end-of-buffer nil
font-lock-fontify-keywords-region(1 10 nil)
font-lock-default-fontify-region(1 10 nil)
font-lock-fontify-region(1 10)
#f(compiled-function (fun) #<bytecode ...>)(font-lock-fontify-region)
run-hook-wrapped(#f(compiled-function (fun) #<bytecode ...>) font-lock-fontify-region)
jit-lock--run-functions(1 10)
jit-lock-fontify-now(1 10)
jit-lock-function(1)
redisplay_internal\ \(C\ function\)()
This bug report was last modified 59 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.