From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.devel Subject: Re: CC mode 5.31.4: c-{beginning, end}-of-defun try to modify buffer Date: Tue, 08 Jan 2008 22:58:58 +0100 Message-ID: <4783F222.7030800@gmail.com> References: <20080108200301.GA2238@muc.de> <4783DA67.2030407@gmx.at> <4783DB6A.30308@gmail.com> <4783ED5A.4090803@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1199829555 29600 80.91.229.12 (8 Jan 2008 21:59:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Jan 2008 21:59:15 +0000 (UTC) Cc: bug-cc-mode@gnu.org, Alan Mackenzie , emacs-devel@gnu.org To: martin rudalics Original-X-From: cc-mode-help-bounces@lists.sourceforge.net Tue Jan 08 22:59:36 2008 Return-path: Envelope-to: sf-cc-mode-help@m.gmane.org Original-Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by lo.gmane.org with esmtp (Exim 4.50) id 1JCMTv-0001SC-Mq for sf-cc-mode-help@m.gmane.org; Tue, 08 Jan 2008 22:59:36 +0100 Original-Received: from sc8-sf-list1-new.sourceforge.net (sc8-sf-list1-new-b.sourceforge.net [10.3.1.93]) by sc8-sf-spam2.sourceforge.net (Postfix) with ESMTP id 5F7C912FD2; Tue, 8 Jan 2008 13:59:12 -0800 (PST) Original-Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1JCMTW-0003UV-DE for cc-mode-help@lists.sourceforge.net; Tue, 08 Jan 2008 13:59:10 -0800 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1JCMTT-0005Qn-Qp for cc-mode-help@lists.sourceforge.net; Tue, 08 Jan 2008 13:59:10 -0800 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JCMTS-00016k-J1 for bug-cc-mode@gnu.org; Tue, 08 Jan 2008 16:59:06 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JCMTP-0007ZT-UC for bug-cc-mode@gnu.org; Tue, 08 Jan 2008 16:59:06 -0500 Original-Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JCMTP-0007ZB-Eh; Tue, 08 Jan 2008 16:59:03 -0500 Original-Received: from c83-254-148-228.bredband.comhem.se ([83.254.148.228]:60997 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1JCMTL-00044s-7l; Tue, 08 Jan 2008 22:59:01 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <4783ED5A.4090803@gmx.at> X-Antivirus: avast! (VPS 080108-0, 2008-01-08), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.148.228 X-Scan-Result: No virus found in message 1JCMTL-00044s-7l. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1JCMTL-00044s-7l db8a4e776ad0c0d0a565cb415cf35960 X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 X-BeenThere: cc-mode-help@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list List-Id: "Bug reports, feature requests, and general talk about CC Mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: cc-mode-help-bounces@lists.sourceforge.net Errors-To: cc-mode-help-bounces@lists.sourceforge.net Xref: news.gmane.org gmane.emacs.cc-mode.general:4928 gmane.emacs.devel:86591 Archived-At: martin rudalics wrote: >> There is a macro in font-lock.el called save-buffer-state that font >> lock uses when it changes the text properties. Unfortunately that >> macro is not available for anyone else to use since it is in an >> eval-when-compile. Maybe that macro should be made available outside >> of font-lock.el -- for changing text properties? > > Apparently people don't want it, see: > > http://lists.gnu.org/archive/html/bug-gnu-emacs/2007-08/msg00068.html You mean because no one has responded to your request? I believe I too have made the same request before, but with no response. If used properly I see no disadvantages with the save-buffer-state macro -- but otherwise it is of course dangerous. However I do not know the actual reason that it is not made available. Could someone please explain? ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace