From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bojohan+news@dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=) Newsgroups: gmane.emacs.devel Subject: Re: 23.0.60; format-time-string, post-command-hook and mark Date: Thu, 14 Feb 2008 11:30:27 +0100 Message-ID: References: <87ve4vca8z.fsf@escher.local.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1202985055 30838 80.91.229.12 (14 Feb 2008 10:30:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Feb 2008 10:30:55 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 14 11:31:17 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JPbN5-0003S4-Da for ged-emacs-devel@m.gmane.org; Thu, 14 Feb 2008 11:31:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JPbMb-00031h-HV for ged-emacs-devel@m.gmane.org; Thu, 14 Feb 2008 05:30:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JPbMV-0002zb-95 for emacs-devel@gnu.org; Thu, 14 Feb 2008 05:30:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JPbMU-0002xG-0N for emacs-devel@gnu.org; Thu, 14 Feb 2008 05:30:38 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JPbMT-0002x2-Qg for emacs-devel@gnu.org; Thu, 14 Feb 2008 05:30:37 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JPbMT-0003FQ-AG for emacs-devel@gnu.org; Thu, 14 Feb 2008 05:30:37 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JPbMR-000595-3o for emacs-devel@gnu.org; Thu, 14 Feb 2008 10:30:35 +0000 Original-Received: from remote2.student.chalmers.se ([129.16.29.80]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Feb 2008 10:30:35 +0000 Original-Received: from bojohan+news by remote2.student.chalmers.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Feb 2008 10:30:35 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 34 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: remote2.student.chalmers.se Mail-Copies-To: never User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) Cancel-Lock: sha1:fAusHcEoaBROHfSaetsMn+6uADs= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:89066 Archived-At: Stephen Berman 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=, 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=, multibyte=1) at coding.c:6696 #4 0x0000000000479c75 in decode_coding_object (coding=0x7fffcc9a90f0, src_object=11662467, from=0, from_byte=0, to=, to_byte=, dst_object=10795505) at coding.c:6913 #5 0x000000000047a1ae in code_convert_string (string=11662467, coding_system=20861169, dst_object=10795505, encodep=0, nocopy=, norecord=1) at coding.c:8152 #6 0x0000000000544a9d in Fformat_time_string ( format_string=, time=, universal=) at editfns.c:1716 -- Johan Bockgård