From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: transpose-regions Date: Sat, 24 Mar 2007 11:51:16 -0400 Message-ID: <87ejneljwr.fsf@stupidchicken.com> References: <46026277.7060305@gmx.at> <87zm64kau0.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1174751511 13982 80.91.229.12 (24 Mar 2007 15:51:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 24 Mar 2007 15:51:51 +0000 (UTC) Cc: Andreas Schwab , emacs-devel@gnu.org, rudalics@gmx.at To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 24 16:51:39 2007 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 1HV8Wo-0004sv-LU for ged-emacs-devel@m.gmane.org; Sat, 24 Mar 2007 16:51:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HV8Yp-0003cw-Vi for ged-emacs-devel@m.gmane.org; Sat, 24 Mar 2007 10:53:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HV8Yl-0003cr-So for emacs-devel@gnu.org; Sat, 24 Mar 2007 11:53:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HV8Yl-0003cj-Ew for emacs-devel@gnu.org; Sat, 24 Mar 2007 10:53:39 -0500 Original-Received: from south-station-annex.mit.edu ([18.72.1.2]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HV8Wj-00025h-4O; Sat, 24 Mar 2007 11:51:33 -0400 Original-Received: from central-city-carrier-station.mit.edu (CENTRAL-CITY-CARRIER-STATION.MIT.EDU [18.7.7.72]) by south-station-annex.mit.edu (8.13.6/8.9.2) with ESMTP id l2OFpUc4012572; Sat, 24 Mar 2007 10:51:30 -0500 (EST) Original-Received: from outgoing-legacy.mit.edu (OUTGOING-LEGACY.MIT.EDU [18.7.22.104]) by central-city-carrier-station.mit.edu (8.13.6/8.9.2) with ESMTP id l2OFpKCB015192; Sat, 24 Mar 2007 11:51:20 -0400 (EDT) Original-Received: from localhost (SYDNEYPACIFIC-TWO-SEVENTY-SIX.MIT.EDU [18.95.6.21]) ) by outgoing-legacy.mit.edu (8.13.6/8.12.4) with ESMTP id l2OFpF2G017182; Sat, 24 Mar 2007 11:51:15 -0400 (EDT) Original-Received: from cyd by localhost with local (Exim 3.36 #1 (Debian)) id 1HV8WS-0001eT-00; Sat, 24 Mar 2007 11:51:16 -0400 In-Reply-To: (Richard Stallman's message of "Fri\, 23 Mar 2007 14\:00\:18 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux) X-Scanned-By: MIMEDefang 2.42 X-Spam-Score: -2.599 X-detected-kernel: Solaris 9.1 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:68477 Archived-At: Richard Stallman writes: > It seems to me that the only thing that can GC in the code > where tmp_interval is in use is Fset_text_properties. > Calling set_text_properties_1 instead would avoid running hooks. > Then no GC could occur. > > Ftranslate_regions is supposed to run the usual hooks for modifying > the buffer. I suspect it does not run them properly in all cases now. > I suggest calling these hooks explicitly at the beginning and the end. OK. I've checked in such a fix.