Gnus development mailing list
 help / color / mirror / Atom feed
* verbatim text (mm-uu.el): blank lines
@ 2005-10-07 19:42 Reiner Steib
  2005-10-07 22:50 ` Adam Duck
  0 siblings, 1 reply; 6+ messages in thread
From: Reiner Steib @ 2005-10-07 19:42 UTC (permalink / raw)


Hi,

consider this article:

--8<---------------cut here---------------start------------->8---
Aktuell müsste das so aussehen:

#v+
config_eth0=("134.109.96.74 broadcast 134.109.97.255 netmask 255.255.254.0")
config_eth1=("192.168.1.1 broadcast 192.168.1.255 netmask 255.255.255.0")
routes_eth0=(default via "134.109.97.254")
#v-

Außerdem fiel mir noch folgende Zeile in /etc/conf.d/net.example auf:

#v+
# Setting name/domain server causes /etc/resolv.conf to be overwritten
#v-

Vielleicht hilft Dir das ja irgendwie weiter.
--8<---------------cut here---------------end--------------->8---

The original is:

,----
| Aktuell müsste das so aussehen:
| 
| #v+
| config_eth0=("134.109.96.74 broadcast 134.109.97.255 netmask 255.255.254.0")
| config_eth1=("192.168.1.1 broadcast 192.168.1.255 netmask 255.255.255.0")
| routes_eth0=(default via "134.109.97.254")
| #v-
| 
| Außerdem fiel mir noch folgende Zeile in /etc/conf.d/net.example auf:
| 
| #v+
| # Setting name/domain server causes /etc/resolv.conf to be overwritten
| #v-
| 
| Vielleicht hilft Dir das ja irgendwie weiter.
`----

When views with No Gnus, the blank lines are stripped:

,----
| Aktuell müsste das so aussehen:
| config_eth0=("134.109.96.74 broadcast 134.109.97.255 netmask 255.255.254.0")
| config_eth1=("192.168.1.1 broadcast 192.168.1.255 netmask 255.255.255.0")
| routes_eth0=(default via "134.109.97.254")
| Außerdem fiel mir noch folgende Zeile in /etc/conf.d/net.example auf:
| # Setting name/domain server causes /etc/resolv.conf to be overwritten
| Vielleicht hilft Dir das ja irgendwie weiter.
`----

IIRC MIME requires that the blank lines are stripped.  But for mm-uu's
MIME emulation it would (sometimes) be nicer to keep them.  Is it
possible to (optionally) keep the blank lines?

(For usual MIME buttons it would also be nice sometimes.)

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




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

* Re: verbatim text (mm-uu.el): blank lines
  2005-10-07 19:42 verbatim text (mm-uu.el): blank lines Reiner Steib
@ 2005-10-07 22:50 ` Adam Duck
  2005-10-08 11:08   ` Reiner Steib
  0 siblings, 1 reply; 6+ messages in thread
From: Adam Duck @ 2005-10-07 22:50 UTC (permalink / raw)


Hmm, with (gnus-version) "No Gnus v0.4" and (emacs-version) "GNU Emacs
22.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.6.8)
 of 2005-10-01 on oumu" I see the blank lines.

cu, Adam.




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

* Re: verbatim text (mm-uu.el): blank lines
  2005-10-07 22:50 ` Adam Duck
@ 2005-10-08 11:08   ` Reiner Steib
  2005-10-08 12:29     ` Mark Plaksin
  2005-10-10 16:49     ` Reiner Steib
  0 siblings, 2 replies; 6+ messages in thread
From: Reiner Steib @ 2005-10-08 11:08 UTC (permalink / raw)


On Sat, Oct 08 2005, Adam Duck wrote:

> Hmm, [...] I see the blank lines.

Thanks.  I found that my settings are causing this:

(setq
 gnus-treat-strip-leading-blank-lines t
 gnus-treat-strip-trailing-blank-lines t)

I'll try, if the following is okay for me (usually I don't want to see
the leading/trailing blank lines):

(setq
 gnus-treat-strip-leading-blank-lines 'last
 gnus-treat-strip-trailing-blank-lines gnus-treat-strip-leading-blank-lines)

Bye, Reiner.

-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




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

* Re: verbatim text (mm-uu.el): blank lines
  2005-10-08 11:08   ` Reiner Steib
@ 2005-10-08 12:29     ` Mark Plaksin
  2005-10-10 16:49     ` Reiner Steib
  1 sibling, 0 replies; 6+ messages in thread
From: Mark Plaksin @ 2005-10-08 12:29 UTC (permalink / raw)


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

Reiner Steib <reinersteib+gmane@imap.cc> writes:

> On Sat, Oct 08 2005, Adam Duck wrote:
>
>> Hmm, [...] I see the blank lines.
>
> Thanks.  I found that my settings are causing this:
>
> (setq
>  gnus-treat-strip-leading-blank-lines t
>  gnus-treat-strip-trailing-blank-lines t)

Fascinating!  I have had a similar issue involving
gnus-treat-strip-trailing-blank-lines.  I haven't gotten to the bottom of
it yet.

If I have this:

(setq
 gnus-treat-hide-signature t
 gnus-treat-strip-leading-blank-lines t
 gnus-treat-strip-multiple-blank-lines t
 gnus-treat-strip-trailing-blank-lines t)

then I can't unhide the signatures of certain messages--most notably mail
from majordomo.  If I set gnus-treat-strip-trailing-blank-lines to nil,
then everything works as expected.  The problem only occurs when
gnus-treat-strip-trailing-blank-lines is t before I read the article.  I
can't reproduce the problem by running
gnus-article-remove-trailing-blank-lines from the Summary buffer.  A sample
majordomo message is attached.

> I'll try, if the following is okay for me (usually I don't want to see
> the leading/trailing blank lines):
>
> (setq
>  gnus-treat-strip-leading-blank-lines 'last
>  gnus-treat-strip-trailing-blank-lines gnus-treat-strip-leading-blank-lines)

This doesn't help my situation.


[-- Attachment #2: msg --]
[-- Type: text/plain, Size: 885 bytes --]

Return-Path: <Majordomo-Owner@psg.com>
Received: from psg.com (psg.com [147.28.0.62])
	by hermes.bor.usg.edu (8.12.11/8.12.11) with ESMTP id j3S2QGq7029979
	for <happy@usg.edu>; Wed, 27 Apr 2005 22:26:16 -0400 (EDT)
Received: from majordom by psg.com with local (Exim 4.50 (FreeBSD))
	id 1DQyjH-000KRG-Sm
	for happy@usg.edu; Thu, 28 Apr 2005 02:26:15 +0000
To: happy@usg.edu
From: majordomo@psg.com
Subject: Majordomo results: Re: Confirmation for unsubscribe namedro
Reply-To: majordomo@psg.com
Message-Id: <E1DQyjH-000KRG-Sm@psg.com>
Date: Thu, 28 Apr 2005 02:26:15 +0000
X-USG-MailScanner: Found to be clean
X-USG-MailScanner-SpamCheck: not spam, SpamAssassin (score=-2.538,
	required 5, AWL 0.05, BAYES_00 -2.60, NO_REAL_NAME 0.01)
X-MailScanner-From: majordomo-owner@psg.com

--

>>>> 	auth 80a3acb58fd8f1641bb263048290d25d unsubscribe namedroppers happy@usg.edu
Succeeded.
>>>> 

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

* Re: verbatim text (mm-uu.el): blank lines
  2005-10-08 11:08   ` Reiner Steib
  2005-10-08 12:29     ` Mark Plaksin
@ 2005-10-10 16:49     ` Reiner Steib
  2005-10-12  1:19       ` Katsumi Yamaoka
  1 sibling, 1 reply; 6+ messages in thread
From: Reiner Steib @ 2005-10-10 16:49 UTC (permalink / raw)


On Sat, Oct 08 2005, Reiner Steib wrote:

> I'll try, if the following is okay for me (usually I don't want to see
> the leading/trailing blank lines):
>
> (setq
>  gnus-treat-strip-leading-blank-lines 'last
>  gnus-treat-strip-trailing-blank-lines gnus-treat-strip-leading-blank-lines)

Actually...

(setq
 gnus-treat-strip-leading-blank-lines 'first
 gnus-treat-strip-trailing-blank-lines 'last)

... would be nicer.

But we don't have 'first (see `gnus-treat-predicate' and (info
"(gnus)Customizing Articles").  Or did I miss something?

--8<---------------cut here---------------start------------->8---
--- gnus-art.el	27 Sep 2005 17:50:05 +0200	7.128
+++ gnus-art.el	10 Oct 2005 18:24:54 +0200	
@@ -7213,6 +7217,8 @@
     t)
    ((eq val 'head)
     nil)
+   ((eq val 'first)
+    (eq part-number 1))
    ((eq val 'last)
     (eq part-number total-parts))
    ((numberp val)
--8<---------------cut here---------------end--------------->8---

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




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

* Re: verbatim text (mm-uu.el): blank lines
  2005-10-10 16:49     ` Reiner Steib
@ 2005-10-12  1:19       ` Katsumi Yamaoka
  0 siblings, 0 replies; 6+ messages in thread
From: Katsumi Yamaoka @ 2005-10-12  1:19 UTC (permalink / raw)


>>>>> In <v9ll11fhbp.fsf@marauder.physik.uni-ulm.de> Reiner Steib wrote:

> Actually...

> (setq
>  gnus-treat-strip-leading-blank-lines 'first
>  gnus-treat-strip-trailing-blank-lines 'last)

> ... would be nicer.

> But we don't have 'first (see `gnus-treat-predicate' and (info
> "(gnus)Customizing Articles").  Or did I miss something?

> --- gnus-art.el	27 Sep 2005 17:50:05 +0200	7.128
> +++ gnus-art.el	10 Oct 2005 18:24:54 +0200	

Please install it.  It is effective also to message/rfc822
forwarded parts.



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

end of thread, other threads:[~2005-10-12  1:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-07 19:42 verbatim text (mm-uu.el): blank lines Reiner Steib
2005-10-07 22:50 ` Adam Duck
2005-10-08 11:08   ` Reiner Steib
2005-10-08 12:29     ` Mark Plaksin
2005-10-10 16:49     ` Reiner Steib
2005-10-12  1:19       ` Katsumi Yamaoka

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).