[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 23.0.60; format-time-string, post-command-hook and mark
From: |
Johan Bockgård |
Subject: |
Re: 23.0.60; format-time-string, post-command-hook and mark |
Date: |
Thu, 14 Feb 2008 11:30:27 +0100 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) |
Stephen Berman <address@hidden> writes:
> 1. Start Emacs with these arguments:
> -Q --eval "(add-hook 'post-command-hook (lambda () (format-time-string
> \"%Y\")))"
>
> 2. Load a file into a buffer or type some text in a buffer.
>
> 3. If you select a region of the buffer with the mouse and try to delete
> the region with C-w, Emacs beeps and says "The mark is not active now"
> and the region is not deleted.
There used to be code in coding.c to save and restore Vdeactivate_mark.
In 23.0.60 it doesn't refer to Vdeactivate_mark at all. Handa-san?
#0 prepare_to_modify_buffer (start=1, end=88, preserve_ptr=0x7fffcc9a8fec)
at insdel.c:2077
#1 0x00000000005064f0 in del_range_1 (from=1, to=87,
prepare=<value optimized out>, ret_string=0) at insdel.c:1846
#2 0x00000000004fdf65 in Ferase_buffer () at buffer.c:2142
#3 0x000000000047908b in code_conversion_save (
with_work_buf=<value optimized out>, multibyte=1) at coding.c:6696
#4 0x0000000000479c75 in decode_coding_object (coding=0x7fffcc9a90f0,
src_object=11662467, from=0, from_byte=0, to=<value optimized out>,
to_byte=<value optimized out>, dst_object=10795505) at coding.c:6913
#5 0x000000000047a1ae in code_convert_string (string=11662467,
coding_system=20861169, dst_object=10795505, encodep=0,
nocopy=<value optimized out>, norecord=1) at coding.c:8152
#6 0x0000000000544a9d in Fformat_time_string (
format_string=<value optimized out>, time=<value optimized out>,
universal=<value optimized out>) at editfns.c:1716
--
Johan Bockgård