From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76501 Path: news.gmane.org!not-for-mail From: Wes Hardaker Newsgroups: gmane.emacs.gnus.general Subject: Re: issues with read-only summary buffers Date: Tue, 08 Feb 2011 15:37:22 -0800 Message-ID: References: <87bp2m2wp2.fsf@keller.adm.naquadah.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1297208277 9324 80.91.229.12 (8 Feb 2011 23:37:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 8 Feb 2011 23:37:57 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M24847@lists.math.uh.edu Wed Feb 09 00:37:52 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pmx81-0007RR-Fi for ding-account@gmane.org; Wed, 09 Feb 2011 00:37:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Pmx7h-0007go-UC; Tue, 08 Feb 2011 17:37:29 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Pmx7g-0007gb-98 for ding@lists.math.uh.edu; Tue, 08 Feb 2011 17:37:28 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Pmx7e-0000K3-Lf for ding@lists.math.uh.edu; Tue, 08 Feb 2011 17:37:28 -0600 Original-Received: from mail.hardakers.net ([168.150.236.43]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Pmx7d-0007Cn-2J for ding@gnus.org; Wed, 09 Feb 2011 00:37:25 +0100 Original-Received: from localhost (wjh.hardakers.net [10.0.0.2]) by mail.hardakers.net (Postfix) with ESMTPSA id 9C22123B7F for ; Tue, 8 Feb 2011 15:37:22 -0800 (PST) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXotKX87e8eDA4GAQbQgmlzNycHAwizYkruzul2AAACaUlEQVR4nFXUTW/jIBAGYFI56jWutuq1S9b2dddW6dWtQFxbq4jzwq73Glmg+fv7DiT9QJGS+GEGhiER67TWEQ5CtOeh21ZcIIbmOPq5QvMZYlyV6u+/gsJLTSrGIL/CxEPxQuPAcP0JYlQsq3x5B3UJmUaEyB6yZ+CQ+pwXCzKsbXtbIhg4KtZypPz+AVGtlxH69c87qAqRY6Rc5QUmZMGeAj+TfVjjUwE1lflKys5JGXpM+V0hltqCJ0qL7Plkft4wRM6lxi5p3Wyy7O7fB8TgtdZivxy5rvAB6wSYhbA9vn+GOCaOEGJRPO2mHgk+q1Chyf0Up3AG0NjhOXI19ogEFziq6M+ZtN3kUZ13NW4qUCprC3CW668C06M5jihON1Vsjq8F1CPJB8LINNeQfscwxUEvAwM5Xghvsq2pBr3hnKhbDIrMS3cBRDx70uS9JW2dy667gM0AbZFFmyvn3GOBGB8wG9kppaSNz357LaCmUdtSny5LU9qeCrglvJmyH20TwkjnXQE0usscIWayCWZJ7OpZ4QbUVGRnhuTub3cMYRk99oSplDIfibzfn0FyXyk7z8XThuvC0P/dGCwee7O8aZJBmh0vPixy0NrYhDaR02aR3W0BbyT6h23OB5Hzybj+DOm5w6XCOZG13p5Oh/bursJVh9S+bBiFnPCDuntpcTH080AO+7GlW1 i3bRphBM04dZ2dI6yMLjmGFqnIok/cB1YU8sJAACTeuHOd5+lumQHfDM6KyLqEm4aWkkcc1m4PqBewZxBZOg44lT+aJiexDteewboiVhxAjSHxQwhiYJEdCR6tMN1/uckirDRNbsgAAAAASUVORK5CYII= In-Reply-To: (Wes Hardaker's message of "Tue, 08 Feb 2011 11:42:09 -0800") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76501 Archived-At: >>>>> On Tue, 08 Feb 2011 11:42:09 -0800, Wes Hardaker said: >>>>> On Tue, 08 Feb 2011 11:03:59 +0100, Julien Danjou said: >>> I'd try and find out where the errors are getting generated from, but >>> (setq debug-on-error t) doesn't seem to consider read-only violations= as >>> errors, so I can't get a stack trace. Anyone know how to accomplish >>> getting a stack trace for read-only errors? JD> Remove read-only from `debug-ignored-errors'. WH> Ah ha! Thanks! Drat. It is my code (my gnus-highlight code that was never integrated into the main release but I live by it). The question is, why is placing a text-property on existing text triggering a read-only error. Grumble. Debugger entered--Lisp error: (buffer-read-only #) gnus-put-text-property(56 60 face gnus-highlight-autoface-bg-\#c0c0ff) gnus-put-text-property-excluding-characters-with-faces(56 60 face gnus-= highlight-autoface-bg-\#c0c0ff) #[(def) "=08?\205^\306 @!\205^ A;\203=00\307 ABC\202=00 A\310\n\236A\20= 6%\311\224\206+\312 \310\n\236A\2064\311\225\206:\313 \314\n\236\211\203K= \315A!\210\202T\316=0B\f\317\320\n!$\210\300\n\236\205]\321\211+\207" [st= op def facedata start end result looking-at bg match 1 point-at-bol point= -at-eol sub gnus-highlight-line-by-expression gnus-put-text-property-excl= uding-characters-with-faces face gnus-highlight-get-face t] 6]((".*\\(snm= p\\)" . "#c0c0ff")) mapcar(#[(def) "=08?\205^\306 @!\205^ A;\203=00\307 ABC\202=00 A\310\n\= 236A\206%\311\224\206+\312 \310\n\236A\2064\311\225\206:\313 \314\n\236\2= 11\203K\315A!\210\202T\316=0B\f\317\320\n!$\210\300\n\236\205]\321\211+\2= 07" [stop def facedata start end result looking-at bg match 1 point-at-bo= l point-at-eol sub gnus-highlight-line-by-expression gnus-put-text-proper= ty-excluding-characters-with-faces face gnus-highlight-get-face t] 6] (("= .*\\(teststring\\)" (fg . "blue2") (bg . "green1")) ("^*" . "green") ("^=3D= >" . "#ffdddd") ("^......[^EOR].^[^[]*\\[\\([^]]+\\)\\]" (bg . "yellow"))= ("^......[^EOR]./[^[]*\\[\\([^]]+\\)\\]" (fg . "brown2")) ("^......[^EOR= ].\\+[^[]*\\[\\([^]]+\\)\\]" . "#b0e0ff") ("^\\(......\\).*no-99$" (bg . = "yellow3")) ("^\\(......\\).*no$" (bg . "yellow")) ("^\\(......\\).*ham(-= 99|)$" (bg . "#90d0c0")) ("^\\(......\\).*spam(-99|)$" (bg . "orange")) (= ".*\\(\\[Closed\\]\\)" (bg . "orange")) (".*\\(snmp\\)" . "#c0c0ff"))) gnus-highlight-line-by-expression() run-hooks(gnus-summary-update-hook) apply(run-hooks gnus-summary-update-hook) --=20 Wes Hardaker =20 My Pictures: http://capturedonearth.com/ My Thoughts: http://pontifications.hardakers.net/