Gnus development mailing list
 help / color / mirror / Atom feed
* Cry for help: deuglify.el - moving stuff in the Article Buffer
@ 2002-10-16 19:37 Raymond Scholz
  2002-12-28 22:34 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 14+ messages in thread
From: Raymond Scholz @ 2002-10-16 19:37 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 1864 bytes --]

If you're using `W k' to deuglify messages, you may have encountered
the problem that messages with MIME parts (or format=flowed)
completely disappear from the Article Buffer.  This is due to the
brain-dead implementation of `gnus-outlook-rearrange-article' (won't
mention the author :-).  Perhaps, the bug Rainer Steib reported in
<v9fzzckh3g.fsf@marauder.physik.uni-ulm.de> is releated to this.

I was trying to fix it, but now I'm completely stuck.

The new function correctly calculated to two regions but transposing
results in the deletion of the second region (to be moved to thw top
of the article).  Furthermore, the whole article header becomes a
large button?!

I've attached a test message which shows the effect.

New functions:

(defun gnus-outlook-rearrange-article (from-where)
  "Put the text from `from-where' to the end of buffer at the top of
the article buffer."
  (save-excursion
    (let ((inhibit-read-only t)
	  (cite-marks gnus-outlook-deuglify-cite-marks))
      (gnus-with-article-buffer
	(setq tmp-point (point))
	(beginning-of-buffer)
	(setq body-point-min (point))
	(goto-char from-where)
	(beginning-of-line)
	(setq citation-min (point))
	(goto-char tmp-point)
	(gnus-message 3 "%s-%s <-> %s-%s"
		      citation-min (point-max) body-point-min (- citation-min 1))
	(unless (search-forward-regexp
		 (concat "^[ \t]*[^" cite-marks "\n]") nil t)
	  (transpose-regions citation-min (point-max)
			     body-point-min (- citation-min 1)))))))


(defun gnus-article-outlook-deuglify-article ()
  "Deuglify broken Outlook (Express) articles and redisplay."
  (interactive)
  (gnus-outlook-deuglify-article))

Cheers, Ray
-- 
It's clear that whoever set up the font colorings for most programming
modes has seen too many Peter Max posters, or did more acid than I did
in the 60's.                     (Charles R. Martin in gnu.emacs.help)

[-- Attachment #2: test.msg --]
[-- Type: application/octet-stream, Size: 3302 bytes --]

Path: newsread2.arcor-online.net!newsread.arcor-online.net!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!uucp.muenster.de!news-koe1.dfn.de!news-fra1.dfn.de!news0.de.colt.net!colt.net!dispose.news.demon.net!demon!btnet-peer0!btnet-feed5!btnet!news.btopenworld.com!not-for-mail
From: "Chris" <c.locke@which.net>
Newsgroups: alt.comp.periphs.mainboard.asus
Subject: Re: P2B cpu Upgrade
Date: Sun, 30 Dec 2001 10:23:06 +0000 (UTC)
Organization: BT Openworld
Message-ID: <a0mpu9$n9r$1@paris.btinternet.com>
References: <a0ko0d$5ae$1@helle.btinternet.com> <3C2E48A9.8070100@gmx.ch> <gjsX7.40843$Xh5.2647525@news.quicknet.nl> <M%tX7.4610$aH2.2042102@ruti.visi.com>
NNTP-Posting-Host: host217-34-76-80.in-addr.btopenworld.com
X-Trace: paris.btinternet.com 1009707786 23867 217.34.76.80 (30 Dec 2001 10:23:06 GMT)
X-Complaints-To: usenet@paris.btinternet.com
NNTP-Posting-Date: Sun, 30 Dec 2001 10:23:06 +0000 (UTC)
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MSMail-Priority: Normal
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Xref: mde1.home mail.zoo:32
Lines: 73

Thanks for all the advice and suggestions.
As my P2B rev 1.02 is limited to an 8X FSB multiplier I assume my max is
800mhz and I cannot use the 1ghz cpu.
As I said before, I am new to this game so if I have missed something,
please advise
Chris


"Erick Ondich" <mastaeman@hotmail.com> wrote in message
news:M%tX7.4610$aH2.2042102@ruti.visi.com...
> Check out here if you have an older slocket and some soldering skills.
> Might be worth while.  Makes it work with the flip chips.
>
> http://www6.tomshardware.com/cpu/00q1/000229/index.html
>
> Another one that is based on the same thing but probably a better way of
> doing it.
>
> http://www.3feetunder.com/krick/370mod/
>
> Never tried it myself.  Best of luck.
>
>
> "Niels en Cynthia Kunis" <niels-cynthia@soneramail.nl> wrote in message
> news:gjsX7.40843$Xh5.2647525@news.quicknet.nl...
> >
> > i have a P2B-S rev. 1.02 and i tried a Celeron 1GHz using a Asus S370
> D/DUAL
> > CPU CARD and fixed the voltage at 1.8 Volts.
> >
> > This does not work in my P2B. The machine does not boot up.
> >
> > any sugguestions?
> >
> > greetings,
> >
> > Niels Kunis
> >
> >
> > "scheidegger" <rscheidegger@gmx.ch> wrote in message
> > news:3C2E48A9.8070100@gmx.ch...
> > > Chris wrote:
> > >
> > > > I have ASUS P2B rev 1.02 with PII 400mhz 100FSB. What is best cpu
> > upgrade I
> > > > can hope for ? Would a SECC2 Slot 1 PIII  work in this old Slot 1
> > m'board?
> > > > Thanks for any help- I am new to this
> > > > Chris
> > > >
> > >
> > >
> > > No, a slot1 cpu will not work, regardless what other people said!
> > > (that's not exactly true, the old (katmai) PIII with 512KB cache
> > > (available up to 600Mhz) will work fine.)
> > > You need a fcpga (coppermine) compatible slotket adapter that has
> > > voltage adjustment jumpers (like the asus s370-dl), and your board
will
> > > take all 100Mhz FSB cpus up to 1 Ghz (celeron or PIII), but not the
> > > 1.1Ghz versions (bios bug) and nothing faster than 1.1Ghz neither (tho
se
> > > are tualatins, not compatible at all).
> > > Unfortunately, slotkets seem to be hard to find nowadays...
> > > You'll probably have to look on ebay.
> > >
> > > Roland
> > >
> >
> >
>
>




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Cry for help: deuglify.el - moving stuff in the Article Buffer
  2002-10-16 19:37 Cry for help: deuglify.el - moving stuff in the Article Buffer Raymond Scholz
@ 2002-12-28 22:34 ` Lars Magne Ingebrigtsen
  2002-12-29  0:24   ` Raymond Scholz
  2002-12-31  0:11   ` Raymond Scholz
  0 siblings, 2 replies; 14+ messages in thread
From: Lars Magne Ingebrigtsen @ 2002-12-28 22:34 UTC (permalink / raw)


Raymond Scholz <ray-2002@zonix.de> writes:

> If you're using `W k' to deuglify messages, you may have encountered
> the problem that messages with MIME parts (or format=flowed)
> completely disappear from the Article Buffer.  This is due to the
> brain-dead implementation of `gnus-outlook-rearrange-article'

Could you construct a message that displays this behavior?

In general it's a problem that all the article washing commands have
no knowledge of message parts.  There probably should be a macro to
iterate over all (displayed) textual parts and apply the function to
that part -- like the article treatment stuff, only done after the
fact.

(gnus-with-parts
  (gnus-article-outlook-deuglify-article))

The macro would then narrow to each part.  The problem is
implementing that macro.  :-)  Initially it's simple enough -- the
extent of each part in the buffer is already known, but as you apply
several washing functions, things might get a bit out of whack. 

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Cry for help: deuglify.el - moving stuff in the Article Buffer
  2002-12-28 22:34 ` Lars Magne Ingebrigtsen
@ 2002-12-29  0:24   ` Raymond Scholz
  2002-12-29 14:33     ` Lars Magne Ingebrigtsen
  2002-12-31  0:11   ` Raymond Scholz
  1 sibling, 1 reply; 14+ messages in thread
From: Raymond Scholz @ 2002-12-29  0:24 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 2619 bytes --]

* Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:

> Raymond Scholz <ray-2002@zonix.de> writes:
>
>> If you're using `W k' to deuglify messages, you may have encountered
>> the problem that messages with MIME parts (or format=flowed)
>> completely disappear from the Article Buffer.  This is due to the
>> brain-dead implementation of `gnus-outlook-rearrange-article'
>
> Could you construct a message that displays this behavior?

I've attached a real world example.

I was tryig to fix this a few weeks ago but did not suceed in any
way :(  

The call to `gnus-article-prepare-display'  in
`gnus-article-outlook-deuglify-article' is the cause of the
disappearance but commenting it out means, no highlighting will be
done after repairing the article.

Another drawback of deuglify.el is that
`gnus-outlook-rearrange-article' tempers the kill ring.  I've tried to
fix this (see the commented out function below).  Again - no luck.

--- lisp/deuglify.el	2002/12/28 23:54:45	6.4
+++ lisp/deuglify.el	2002/12/29 00:17:54
@@ -325,6 +325,30 @@
 	  (yank)
 	  (insert "\n"))))))
 
+;; Trying not to temper the kill ring - does not work...
+;;
+;; (defun gnus-outlook-rearrange-article (from-where)
+;;   "Put the text from `from-where' to the end of buffer at the top of
+;; the article buffer."
+;;   (save-excursion
+;;     (let ((inhibit-read-only t)
+;; 	  (cite-marks gnus-outlook-deuglify-cite-marks))
+;;       (gnus-with-article-buffer
+;; 	(setq tmp-point (point))
+;; 	(beginning-of-buffer)
+;; 	(setq body-point-min (point))
+;; 	(goto-char from-where)
+;; 	(beginning-of-line)
+;; 	(setq citation-min (point))
+;; 	(goto-char tmp-point)
+;; 	(gnus-message 3 "%s-%s <-> %s-%s"
+;; 		      citation-min (point-max) body-point-min (- citation-min 1))
+;; 	(unless (search-forward-regexp
+;; 		 (concat "^[ \t]*[^" cite-marks "\n]") nil t)
+;; 	  (transpose-regions citation-min (point-max)
+;; 			     body-point-min (- citation-min 1)))))))
+
+
 ;; John Doe <john.doe@some.domain> wrote in message
 ;; news:a87usw8$dklsssa$2@some.news.server...
 
@@ -423,9 +447,9 @@
 (defun gnus-article-outlook-deuglify-article ()
   "Deuglify broken Outlook (Express) articles and redisplay."
   (interactive)
-  (gnus-outlook-deuglify-article)
-  (with-current-buffer (or gnus-article-buffer (current-buffer))
-    (gnus-article-prepare-display)))
+  (gnus-outlook-deuglify-article))
+;;   (with-current-buffer (or gnus-article-buffer (current-buffer))
+;;     (gnus-article-prepare-display)))
 
 (provide 'deuglify)

Cheers, Ray
-- 
Q: What have american beer and sex in a canoe in common?
A: Both are fucking close to water.

[-- Attachment #2: format-flowed.msg --]
[-- Type: application/octet-stream, Size: 1576 bytes --]

Path: informatik.uni-bremen.de!cs.tu-berlin.de!fu-berlin.de!uni-berlin.de!pop-zh-12-1-dialup-3.freesurf.CH!not-for-mail
From: scheidegger <rscheidegger@gmx.ch>
Newsgroups: alt.comp.periphs.mainboard.asus
Subject: Re: P2B cpu Upgrade
Date: Sat, 29 Dec 2001 23:50:17 +0100
Message-ID: <3C2E48A9.8070100@gmx.ch>
References: <a0ko0d$5ae$1@helle.btinternet.com>
NNTP-Posting-Host: pop-zh-12-1-dialup-3.freesurf.ch (194.230.198.3)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: fu-berlin.de 1009666186 22569474 194.230.198.3 (16 [84205])
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.7) Gecko/20011221
X-Accept-Language: de-CH, de, en
Xref: mde1.home mail.zoo:29
Lines: 22

Chris wrote:

> I have ASUS P2B rev 1.02 with PII 400mhz 100FSB. What is best cpu upgrade I
> can hope for ? Would a SECC2 Slot 1 PIII  work in this old Slot 1 m'board?
> Thanks for any help- I am new to this
> Chris
> 


No, a slot1 cpu will not work, regardless what other people said!
(that's not exactly true, the old (katmai) PIII with 512KB cache 
(available up to 600Mhz) will work fine.)
You need a fcpga (coppermine) compatible slotket adapter that has 
voltage adjustment jumpers (like the asus s370-dl), and your board will 
take all 100Mhz FSB cpus up to 1 Ghz (celeron or PIII), but not the 
1.1Ghz versions (bios bug) and nothing faster than 1.1Ghz neither (those 
are tualatins, not compatible at all).
Unfortunately, slotkets seem to be hard to find nowadays...
You'll probably have to look on ebay.

Roland



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Cry for help: deuglify.el - moving stuff in the Article Buffer
  2002-12-29  0:24   ` Raymond Scholz
@ 2002-12-29 14:33     ` Lars Magne Ingebrigtsen
  2002-12-29 20:26       ` Raymond Scholz
  0 siblings, 1 reply; 14+ messages in thread
From: Lars Magne Ingebrigtsen @ 2002-12-29 14:33 UTC (permalink / raw)


Raymond Scholz <ray-2002@zonix.de> writes:

>>> If you're using `W k' to deuglify messages, you may have encountered
>>> the problem that messages with MIME parts (or format=flowed)
>>> completely disappear from the Article Buffer.  This is due to the
>>> brain-dead implementation of `gnus-outlook-rearrange-article'
>>
>> Could you construct a message that displays this behavior?
>
> I've attached a real world example.

But that wasn't an article that was posted by Outlook, and it didn't
need any deuglification...

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Cry for help: deuglify.el - moving stuff in the Article Buffer
  2002-12-29 14:33     ` Lars Magne Ingebrigtsen
@ 2002-12-29 20:26       ` Raymond Scholz
  2002-12-29 22:56         ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 14+ messages in thread
From: Raymond Scholz @ 2002-12-29 20:26 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 604 bytes --]

* Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:

>> I've attached a real world example.
>
> But that wasn't an article that was posted by Outlook, and it didn't
> need any deuglification...

But it deuglification should not wipe out pretty articles...

Anyway, I've attached an ugly message with format-flowed created by
Mozilla/5.0.  Outlook doesn't produce format-flowed messages, does
it?  It does all the other naughty thing to messages.

Cheers, Ray
-- 
Look Ma, this man can twist his fingers as if they were made of rubber,
isn't that amazing? -- Not really, he's been using Emacs for years...!

[-- Attachment #2: format-flowed-2.msg --]
[-- Type: application/octet-stream, Size: 2136 bytes --]

Path: uni-berlin.de!pop-mu-8-2-dialup-184.freesurf.CH!not-for-mail
From: scheidegger <rscheidegger@gmx.ch>
Newsgroups: alt.comp.periphs.mainboard.asus
Subject: Re: P2B cpu Upgrade
Date: Sun, 30 Dec 2001 00:43:52 +0100
Message-ID: <3C2E5538.3070401@gmx.ch>
References: <a0ko0d$5ae$1@helle.btinternet.com> <3C2E48A9.8070100@gmx.ch>
 <gjsX7.40843$Xh5.2647525@news.quicknet.nl>
NNTP-Posting-Host: pop-mu-8-2-dialup-184.freesurf.ch (194.230.141.184)
X-Trace: fu-berlin.de 1009669402 22694004 194.230.141.184 (16 [84205])
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.7) Gecko/20011221
X-Accept-Language: de-CH, de, en
Xref: mde1.home mail.zoo:25
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Lines: 57

The slotket you mention is not coppermine compatible.
http://www.asuscom.de/de/support/techmain/FAQ/mobo_cpu/faq089_S370_SLOT_I.htm

Roland


Niels en Cynthia Kunis wrote:

> i have a P2B-S rev. 1.02 and i tried a Celeron 1GHz using a Asus S370 D/DUAL
> CPU CARD and fixed the voltage at 1.8 Volts.
> 
> This does not work in my P2B. The machine does not boot up.
> 
> any sugguestions?
> 
> greetings,
> 
> Niels Kunis
> 
> 
> "scheidegger" <rscheidegger@gmx.ch> wrote in message
> news:3C2E48A9.8070100@gmx.ch...
> 
>>Chris wrote:
>>
>>
>>>I have ASUS P2B rev 1.02 with PII 400mhz 100FSB. What is best cpu
>>>
> upgrade I
> 
>>>can hope for ? Would a SECC2 Slot 1 PIII  work in this old Slot 1
>>>
> m'board?
> 
>>>Thanks for any help- I am new to this
>>>Chris
>>>
>>>
>>
>>No, a slot1 cpu will not work, regardless what other people said!
>>(that's not exactly true, the old (katmai) PIII with 512KB cache
>>(available up to 600Mhz) will work fine.)
>>You need a fcpga (coppermine) compatible slotket adapter that has
>>voltage adjustment jumpers (like the asus s370-dl), and your board will
>>take all 100Mhz FSB cpus up to 1 Ghz (celeron or PIII), but not the
>>1.1Ghz versions (bios bug) and nothing faster than 1.1Ghz neither (those
>>are tualatins, not compatible at all).
>>Unfortunately, slotkets seem to be hard to find nowadays...
>>You'll probably have to look on ebay.
>>
>>Roland
>>
>>
> 
> 




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Cry for help: deuglify.el - moving stuff in the Article Buffer
  2002-12-29 20:26       ` Raymond Scholz
@ 2002-12-29 22:56         ` Lars Magne Ingebrigtsen
  2002-12-29 23:35           ` Raymond Scholz
                             ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Lars Magne Ingebrigtsen @ 2002-12-29 22:56 UTC (permalink / raw)


Raymond Scholz <ray-2002@zonix.de> writes:

> But it deuglification should not wipe out pretty articles...

Quite a few of the article washing functions produce sub-optimal
results when applied to messages they don't, er, apply to.

> Anyway, I've attached an ugly message with format-flowed created by
> Mozilla/5.0.  Outlook doesn't produce format-flowed messages, does
> it?  It does all the other naughty thing to messages.

That one didn't have a format=flowed header.  :-)

  MIME-Version: 1.0
  Content-Type: text/plain; charset=us-ascii

Is Gnus doing some header stripping or something odd?

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Cry for help: deuglify.el - moving stuff in the Article Buffer
  2002-12-29 22:56         ` Lars Magne Ingebrigtsen
@ 2002-12-29 23:35           ` Raymond Scholz
  2003-01-01 18:54             ` Lars Magne Ingebrigtsen
  2002-12-30 12:33           ` Raymond Scholz
  2002-12-30 12:53           ` Raymond Scholz
  2 siblings, 1 reply; 14+ messages in thread
From: Raymond Scholz @ 2002-12-29 23:35 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 655 bytes --]

* Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:

> Quite a few of the article washing functions produce sub-optimal
> results when applied to messages they don't, er, apply to.

:-)  But for some newsgroups it would be useful to have
deuglification permanently turned on.

> That one didn't have a format=flowed header.  :-)

Ahem.

> Is Gnus doing some header stripping or something odd?

Something odd to me, probably.

Cheers, Ray
-- 
Gnus is already huge.  Maybe it doesn't need all of this kind of stuff. -
I think you mean "Gnus is huge, so adding more stuff won't make it
noticeably bigger".               (Chris Beggy and LMI on gnu.emacs.gnus)

[-- Attachment #2: format-flowed-yes-really-this-time-if-not-shoot-me.msg --]
[-- Type: application/octet-stream, Size: 2182 bytes --]

Path: uni-berlin.de!pop-mu-8-2-dialup-184.freesurf.CH!not-for-mail
From: scheidegger <rscheidegger@gmx.ch>
Newsgroups: alt.comp.periphs.mainboard.asus
Subject: Re: P2B cpu Upgrade
Date: Sun, 30 Dec 2001 00:43:52 +0100
Message-ID: <3C2E5538.3070401@gmx.ch>
References: <a0ko0d$5ae$1@helle.btinternet.com> <3C2E48A9.8070100@gmx.ch> <gjsX7.40843$Xh5.2647525@news.quicknet.nl>
NNTP-Posting-Host: pop-mu-8-2-dialup-184.freesurf.ch (194.230.141.184)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: fu-berlin.de 1009669402 22694004 194.230.141.184 (16 [84205])
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.7) Gecko/20011221
X-Accept-Language: de-CH, de, en
Xref: mde1.home mail.zoo:23
Lines: 57

The slotket you mention is not coppermine compatible.
http://www.asuscom.de/de/support/techmain/FAQ/mobo_cpu/faq089_S370_SLOT_I.htm

Roland


Niels en Cynthia Kunis wrote:

> i have a P2B-S rev. 1.02 and i tried a Celeron 1GHz using a Asus S370 D/DUAL
> CPU CARD and fixed the voltage at 1.8 Volts.
> 
> This does not work in my P2B. The machine does not boot up.
> 
> any sugguestions?
> 
> greetings,
> 
> Niels Kunis
> 
> 
> "scheidegger" <rscheidegger@gmx.ch> wrote in message
> news:3C2E48A9.8070100@gmx.ch...
> 
>>Chris wrote:
>>
>>
>>>I have ASUS P2B rev 1.02 with PII 400mhz 100FSB. What is best cpu
>>>
> upgrade I
> 
>>>can hope for ? Would a SECC2 Slot 1 PIII  work in this old Slot 1
>>>
> m'board?
> 
>>>Thanks for any help- I am new to this
>>>Chris
>>>
>>>
>>
>>No, a slot1 cpu will not work, regardless what other people said!
>>(that's not exactly true, the old (katmai) PIII with 512KB cache
>>(available up to 600Mhz) will work fine.)
>>You need a fcpga (coppermine) compatible slotket adapter that has
>>voltage adjustment jumpers (like the asus s370-dl), and your board will
>>take all 100Mhz FSB cpus up to 1 Ghz (celeron or PIII), but not the
>>1.1Ghz versions (bios bug) and nothing faster than 1.1Ghz neither (those
>>are tualatins, not compatible at all).
>>Unfortunately, slotkets seem to be hard to find nowadays...
>>You'll probably have to look on ebay.
>>
>>Roland
>>
>>
> 
> 




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Cry for help: deuglify.el - moving stuff in the Article Buffer
  2002-12-29 22:56         ` Lars Magne Ingebrigtsen
  2002-12-29 23:35           ` Raymond Scholz
@ 2002-12-30 12:33           ` Raymond Scholz
  2002-12-30 12:53           ` Raymond Scholz
  2 siblings, 0 replies; 14+ messages in thread
From: Raymond Scholz @ 2002-12-30 12:33 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 655 bytes --]

* Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:

> Quite a few of the article washing functions produce sub-optimal
> results when applied to messages they don't, er, apply to.

:-)  But for some newsgroups it would be useful to have
deuglification permanently turned on.

> That one didn't have a format=flowed header.  :-)

Ahem.

> Is Gnus doing some header stripping or something odd?

Something odd to me, probably.

Cheers, Ray
-- 
Gnus is already huge.  Maybe it doesn't need all of this kind of stuff. -
I think you mean "Gnus is huge, so adding more stuff won't make it
noticeably bigger".               (Chris Beggy and LMI on gnu.emacs.gnus)

[-- Attachment #2: format-flowed-yes-really-this-time-if-not-shoot-me.msg --]
[-- Type: application/octet-stream, Size: 2182 bytes --]

Path: uni-berlin.de!pop-mu-8-2-dialup-184.freesurf.CH!not-for-mail
From: scheidegger <rscheidegger@gmx.ch>
Newsgroups: alt.comp.periphs.mainboard.asus
Subject: Re: P2B cpu Upgrade
Date: Sun, 30 Dec 2001 00:43:52 +0100
Message-ID: <3C2E5538.3070401@gmx.ch>
References: <a0ko0d$5ae$1@helle.btinternet.com> <3C2E48A9.8070100@gmx.ch> <gjsX7.40843$Xh5.2647525@news.quicknet.nl>
NNTP-Posting-Host: pop-mu-8-2-dialup-184.freesurf.ch (194.230.141.184)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: fu-berlin.de 1009669402 22694004 194.230.141.184 (16 [84205])
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.7) Gecko/20011221
X-Accept-Language: de-CH, de, en
Xref: mde1.home mail.zoo:23
Lines: 57

The slotket you mention is not coppermine compatible.
http://www.asuscom.de/de/support/techmain/FAQ/mobo_cpu/faq089_S370_SLOT_I.htm

Roland


Niels en Cynthia Kunis wrote:

> i have a P2B-S rev. 1.02 and i tried a Celeron 1GHz using a Asus S370 D/DUAL
> CPU CARD and fixed the voltage at 1.8 Volts.
> 
> This does not work in my P2B. The machine does not boot up.
> 
> any sugguestions?
> 
> greetings,
> 
> Niels Kunis
> 
> 
> "scheidegger" <rscheidegger@gmx.ch> wrote in message
> news:3C2E48A9.8070100@gmx.ch...
> 
>>Chris wrote:
>>
>>
>>>I have ASUS P2B rev 1.02 with PII 400mhz 100FSB. What is best cpu
>>>
> upgrade I
> 
>>>can hope for ? Would a SECC2 Slot 1 PIII  work in this old Slot 1
>>>
> m'board?
> 
>>>Thanks for any help- I am new to this
>>>Chris
>>>
>>>
>>
>>No, a slot1 cpu will not work, regardless what other people said!
>>(that's not exactly true, the old (katmai) PIII with 512KB cache
>>(available up to 600Mhz) will work fine.)
>>You need a fcpga (coppermine) compatible slotket adapter that has
>>voltage adjustment jumpers (like the asus s370-dl), and your board will
>>take all 100Mhz FSB cpus up to 1 Ghz (celeron or PIII), but not the
>>1.1Ghz versions (bios bug) and nothing faster than 1.1Ghz neither (those
>>are tualatins, not compatible at all).
>>Unfortunately, slotkets seem to be hard to find nowadays...
>>You'll probably have to look on ebay.
>>
>>Roland
>>
>>
> 
> 




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Cry for help: deuglify.el - moving stuff in the Article Buffer
  2002-12-29 22:56         ` Lars Magne Ingebrigtsen
  2002-12-29 23:35           ` Raymond Scholz
  2002-12-30 12:33           ` Raymond Scholz
@ 2002-12-30 12:53           ` Raymond Scholz
  2 siblings, 0 replies; 14+ messages in thread
From: Raymond Scholz @ 2002-12-30 12:53 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 655 bytes --]

* Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:

> Quite a few of the article washing functions produce sub-optimal
> results when applied to messages they don't, er, apply to.

:-)  But for some newsgroups it would be useful to have
deuglification permanently turned on.

> That one didn't have a format=flowed header.  :-)

Ahem.

> Is Gnus doing some header stripping or something odd?

Something odd to me, probably.

Cheers, Ray
-- 
Gnus is already huge.  Maybe it doesn't need all of this kind of stuff. -
I think you mean "Gnus is huge, so adding more stuff won't make it
noticeably bigger".               (Chris Beggy and LMI on gnu.emacs.gnus)

[-- Attachment #2: format-flowed-yes-really-this-time-if-not-shoot-me.msg --]
[-- Type: application/octet-stream, Size: 2182 bytes --]

Path: uni-berlin.de!pop-mu-8-2-dialup-184.freesurf.CH!not-for-mail
From: scheidegger <rscheidegger@gmx.ch>
Newsgroups: alt.comp.periphs.mainboard.asus
Subject: Re: P2B cpu Upgrade
Date: Sun, 30 Dec 2001 00:43:52 +0100
Message-ID: <3C2E5538.3070401@gmx.ch>
References: <a0ko0d$5ae$1@helle.btinternet.com> <3C2E48A9.8070100@gmx.ch> <gjsX7.40843$Xh5.2647525@news.quicknet.nl>
NNTP-Posting-Host: pop-mu-8-2-dialup-184.freesurf.ch (194.230.141.184)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: fu-berlin.de 1009669402 22694004 194.230.141.184 (16 [84205])
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.7) Gecko/20011221
X-Accept-Language: de-CH, de, en
Xref: mde1.home mail.zoo:23
Lines: 57

The slotket you mention is not coppermine compatible.
http://www.asuscom.de/de/support/techmain/FAQ/mobo_cpu/faq089_S370_SLOT_I.htm

Roland


Niels en Cynthia Kunis wrote:

> i have a P2B-S rev. 1.02 and i tried a Celeron 1GHz using a Asus S370 D/DUAL
> CPU CARD and fixed the voltage at 1.8 Volts.
> 
> This does not work in my P2B. The machine does not boot up.
> 
> any sugguestions?
> 
> greetings,
> 
> Niels Kunis
> 
> 
> "scheidegger" <rscheidegger@gmx.ch> wrote in message
> news:3C2E48A9.8070100@gmx.ch...
> 
>>Chris wrote:
>>
>>
>>>I have ASUS P2B rev 1.02 with PII 400mhz 100FSB. What is best cpu
>>>
> upgrade I
> 
>>>can hope for ? Would a SECC2 Slot 1 PIII  work in this old Slot 1
>>>
> m'board?
> 
>>>Thanks for any help- I am new to this
>>>Chris
>>>
>>>
>>
>>No, a slot1 cpu will not work, regardless what other people said!
>>(that's not exactly true, the old (katmai) PIII with 512KB cache
>>(available up to 600Mhz) will work fine.)
>>You need a fcpga (coppermine) compatible slotket adapter that has
>>voltage adjustment jumpers (like the asus s370-dl), and your board will
>>take all 100Mhz FSB cpus up to 1 Ghz (celeron or PIII), but not the
>>1.1Ghz versions (bios bug) and nothing faster than 1.1Ghz neither (those
>>are tualatins, not compatible at all).
>>Unfortunately, slotkets seem to be hard to find nowadays...
>>You'll probably have to look on ebay.
>>
>>Roland
>>
>>
> 
> 




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Cry for help: deuglify.el - moving stuff in the Article Buffer
  2002-12-28 22:34 ` Lars Magne Ingebrigtsen
  2002-12-29  0:24   ` Raymond Scholz
@ 2002-12-31  0:11   ` Raymond Scholz
  2002-12-31  0:37     ` Lars Magne Ingebrigtsen
  1 sibling, 1 reply; 14+ messages in thread
From: Raymond Scholz @ 2002-12-31  0:11 UTC (permalink / raw)
  Cc: larsi

* Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:

> Raymond Scholz <ray-2002@zonix.de> writes:
>
>> If you're using `W k' to deuglify messages, you may have encountered
>> the problem that messages with MIME parts (or format=flowed)
>> completely disappear from the Article Buffer.  This is due to the
>> brain-dead implementation of `gnus-outlook-rearrange-article'
>
> Could you construct a message that displays this behavior?

Instead of doing another try to construct such a message, I hopefully
fixed some bugs in deuglify.el.

Here is a diff against CVS:

Index: lisp/deuglify.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/deuglify.el,v
retrieving revision 6.4
diff -u -r6.4 deuglify.el
--- lisp/deuglify.el	2002/12/28 23:54:45	6.4
+++ lisp/deuglify.el	2002/12/31 00:03:05
@@ -280,7 +280,6 @@
 
 ;; Functions
 
-;; TODO: don't kill MIME parts
 ;;;###autoload
 (defun gnus-outlook-unwrap-lines ()
   "Unwrap lines that appear to be wrapped citation lines.
@@ -311,20 +310,19 @@
 		  (replace-match "\\1\\2 \\3")
 		  (goto-char (match-beginning 0))))))))))
 
-;; TODO: respect signatures, don't kill MIME parts
 (defun gnus-outlook-rearrange-article (from-where)
-  "Put the text from `from-where' to the end of buffer at the top of the article buffer."
+  "Put the text from `from-where' to the end of buffer at the top of
+the article buffer."
   (save-excursion
     (let ((inhibit-read-only t)
 	  (cite-marks gnus-outlook-deuglify-cite-marks))
       (gnus-with-article-buffer
-	(unless (search-forward-regexp
-		   (concat "^[ \t]*[^" cite-marks "\n]") nil t)
-	  (kill-region from-where (point-max))
-	  (article-goto-body)
-	  (yank)
-	  (insert "\n"))))))
+	(beginning-of-buffer)
+	(re-search-forward "^$")
+	(transpose-regions (point) (- from-where 1)
+			   from-where (point-max) t)))))
 
+
 ;; John Doe <john.doe@some.domain> wrote in message
 ;; news:a87usw8$dklsssa$2@some.news.server...
 
@@ -425,7 +423,7 @@
   (interactive)
   (gnus-outlook-deuglify-article)
   (with-current-buffer (or gnus-article-buffer (current-buffer))
-    (gnus-article-prepare-display)))
+    (gnus-article-highlight t)))
 
 (provide 'deuglify)




Suggested ChangeLog:

2002-12-31  Raymond Scholz  <ray-2002@zonix.de>

	* deuglify.el (gnus-outlook-rearrange-article): Use
	`transpose-regions' instead of tempering the kill-ring.
	(gnus-article-outlook-deuglify-article): Rehighlight article
	instead of a complete redisplay.

Cheers, Ray
-- 
Hfr fgebat rapelcgvba!



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Cry for help: deuglify.el - moving stuff in the Article Buffer
  2002-12-31  0:11   ` Raymond Scholz
@ 2002-12-31  0:37     ` Lars Magne Ingebrigtsen
  2002-12-31 16:38       ` Raymond Scholz
  0 siblings, 1 reply; 14+ messages in thread
From: Lars Magne Ingebrigtsen @ 2002-12-31  0:37 UTC (permalink / raw)


Raymond Scholz <ray-2002@zonix.de> writes:

> Instead of doing another try to construct such a message, I hopefully
> fixed some bugs in deuglify.el.
>
> Here is a diff against CVS:

Thanks for the patch; I've applied it to Oort Gnus v0.08 (i. e., CVS).

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Cry for help: deuglify.el - moving stuff in the Article Buffer
  2002-12-31  0:37     ` Lars Magne Ingebrigtsen
@ 2002-12-31 16:38       ` Raymond Scholz
  0 siblings, 0 replies; 14+ messages in thread
From: Raymond Scholz @ 2002-12-31 16:38 UTC (permalink / raw)
  Cc: larsi

[-- Attachment #1: Type: text/plain, Size: 640 bytes --]

* Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:

> Thanks for the patch; I've applied it to Oort Gnus v0.08 (i. e., CVS).

Did you? I can't see this.  Hm.

Anyway, here is an improved patch against CVS, which is really worth
being applied to CVS :-)

Suggested ChangeLog:

2002-12-31  Raymond Scholz  <ray-2002@zonix.de>

	* deuglify.el (gnus-outlook-rearrange-article): Use
	`transpose-regions' instead of tempering the kill-ring.
	(gnus-article-outlook-deuglify-article): Rehighlight article
	instead of a complete redisplay.

Cheers, Ray
-- 
Q: What have american beer and sex in a canoe in common?
A: Both are fucking close to water.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: deuglify.el.patch --]
[-- Type: text/x-patch, Size: 2236 bytes --]

Index: lisp/deuglify.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/deuglify.el,v
retrieving revision 6.4
diff -u -r6.4 deuglify.el
--- lisp/deuglify.el	2002/12/28 23:54:45	6.4
+++ lisp/deuglify.el	2002/12/31 16:34:07
@@ -280,7 +280,6 @@
 
 ;; Functions
 
-;; TODO: don't kill MIME parts
 ;;;###autoload
 (defun gnus-outlook-unwrap-lines ()
   "Unwrap lines that appear to be wrapped citation lines.
@@ -311,19 +310,18 @@
 		  (replace-match "\\1\\2 \\3")
 		  (goto-char (match-beginning 0))))))))))
 
-;; TODO: respect signatures, don't kill MIME parts
 (defun gnus-outlook-rearrange-article (from-where)
   "Put the text from `from-where' to the end of buffer at the top of the article buffer."
   (save-excursion
     (let ((inhibit-read-only t)
 	  (cite-marks gnus-outlook-deuglify-cite-marks))
       (gnus-with-article-buffer
-	(unless (search-forward-regexp
-		   (concat "^[ \t]*[^" cite-marks "\n]") nil t)
-	  (kill-region from-where (point-max))
-	  (article-goto-body)
-	  (yank)
-	  (insert "\n"))))))
+	(article-goto-body)
+	;; attribution out of place?
+	(unless (= (point) from-where)
+	  (gnus-kill-all-overlays)
+	  (transpose-regions (point) (+ from-where 1)
+			     (+ from-where 1) (point-max)))))))
 
 ;; John Doe <john.doe@some.domain> wrote in message
 ;; news:a87usw8$dklsssa$2@some.news.server...
@@ -343,6 +341,7 @@
 		     "\\(" gnus-outlook-deuglify-attrib-end-regexp "\\)$")
 	     nil t)
 	    (progn
+	      (gnus-kill-all-overlays)
 	      (replace-match "\\1\\2\\4")
 	      (match-beginning 0)))))))
 
@@ -369,6 +368,7 @@
 		     "[^\n]+: [^\n]+$")
 	     nil t)
 	    (progn
+	      (gnus-kill-all-overlays)
 	      (replace-match "\\1 wrote:")
 	      (match-beginning 0)))))))
 
@@ -389,6 +389,7 @@
 		     "\\(" gnus-outlook-deuglify-attrib-end-regexp "\\)$")
 	     nil t)
 	    (progn
+	      (gnus-kill-all-overlays)
 	      (replace-match "\\4 \\5\\6\\7")
 	      (match-beginning 0)))))))
 
@@ -425,7 +426,7 @@
   (interactive)
   (gnus-outlook-deuglify-article)
   (with-current-buffer (or gnus-article-buffer (current-buffer))
-    (gnus-article-prepare-display)))
+    (gnus-article-highlight t)))
 
 (provide 'deuglify)
 

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Cry for help: deuglify.el - moving stuff in the Article Buffer
  2002-12-29 23:35           ` Raymond Scholz
@ 2003-01-01 18:54             ` Lars Magne Ingebrigtsen
  2003-01-02 10:32               ` Raymond Scholz
  0 siblings, 1 reply; 14+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-01-01 18:54 UTC (permalink / raw)


Raymond Scholz <ray-2002@zonix.de> writes:

> :-)  But for some newsgroups it would be useful to have
> deuglification permanently turned on.

There could be a conditional version of the deuglifier that checks
whether the message is ugly before doing anything.

>> That one didn't have a format=flowed header.  :-)
>
> Ahem.

Third time lucky.  :-)

Anyway, does your most recent fixes fix this problem?

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Cry for help: deuglify.el - moving stuff in the Article Buffer
  2003-01-01 18:54             ` Lars Magne Ingebrigtsen
@ 2003-01-02 10:32               ` Raymond Scholz
  0 siblings, 0 replies; 14+ messages in thread
From: Raymond Scholz @ 2003-01-02 10:32 UTC (permalink / raw)


* Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:

> Anyway, does your most recent fixes fix this problem?

Yes.

Cheers, Ray
-- 
/* Halley */ (Halley's comment.)



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2003-01-02 10:32 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-16 19:37 Cry for help: deuglify.el - moving stuff in the Article Buffer Raymond Scholz
2002-12-28 22:34 ` Lars Magne Ingebrigtsen
2002-12-29  0:24   ` Raymond Scholz
2002-12-29 14:33     ` Lars Magne Ingebrigtsen
2002-12-29 20:26       ` Raymond Scholz
2002-12-29 22:56         ` Lars Magne Ingebrigtsen
2002-12-29 23:35           ` Raymond Scholz
2003-01-01 18:54             ` Lars Magne Ingebrigtsen
2003-01-02 10:32               ` Raymond Scholz
2002-12-30 12:33           ` Raymond Scholz
2002-12-30 12:53           ` Raymond Scholz
2002-12-31  0:11   ` Raymond Scholz
2002-12-31  0:37     ` Lars Magne Ingebrigtsen
2002-12-31 16:38       ` Raymond Scholz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).