Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Sergio Durigan Junior <sergiodj@riseup.net>
To: info-gnus-english@gnu.org
Subject: Newline disappears (not sure if Gnus or Emacs fault)
Date: Wed, 06 Mar 2013 03:04:49 -0300	[thread overview]
Message-ID: <8738w96p32.fsf@riseup.net> (raw)

Hi,

I've been noticing this behavior for a long time, but yesterday it has
really annoyed me because it made me waste a lot of time trying to
understand why a patch wasn't applying.

The problem: Gnus (or Emacs) is eating some newline characters in
messages.  This happens particularly often with hyperlinks, but
yesterday it happened inside an inlined patch in a message.

So take for example:

---
# This line is a comment followed by an empty line.

-all: bla.c
+all: bla.c blergh.c
---

This would be a normal piece of a patch.  However, I received this:

---
# This line is a comment followed by an empty line.
 -all: bla.c
+all: bla.c blergh.c
---

I.e., the empty line got swalled and became a space character.  I did a
search for "gnus bug newline" or similar terms, but couldn't find
anything useful.

Do you guys happen to know what could be happening?  Maybe it's Emacs
fault?

Thanks in advance,

-- 
Sergio

             reply	other threads:[~2013-03-06  6:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-06  6:04 Sergio Durigan Junior [this message]
2013-03-06  9:30 ` Tassilo Horn
     [not found] ` <mailman.21533.1362562261.855.info-gnus-english@gnu.org>
2013-03-06 19:58   ` Sergio Durigan Junior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8738w96p32.fsf@riseup.net \
    --to=sergiodj@riseup.net \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).