Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.emacs.gnus > #7854

Re: Posting with long lines

Subject Re: Posting with long lines
Newsgroups gnu.emacs.gnus
References <86edcfaca1.fsf@example.com>
From Thomas Dupond <thomas@dupond.eu>
Message-ID <koiKN.2467947$Lo1.1111369@fx02.ams4> (permalink)
Organization usenet-news.net
Date 2024-03-19 16:43 +0100

Show all headers | View raw


Le 2024-03-12 à 13:02, Richmond a écrit :
> When posting an article with long lines (usually urls or quoted text)
> gnus says the article contains long lines and asks if I really want to
> post. It doesn't say exactly where the line is, but I think it knows,
> because when I do post the cursor moves to the offending line briefly,
> and then off the article goes. Is there a way to highlight the line?
> perhaps gnus can be fixed to do this?
> 
> Is there anyone there? If you are there and nobody has replied, reply
> saying "I don't know." so I know this group isn't dead, if you
> would. Thanks in advance...

Looking at message.el.gz, the function message-check-news-body-syntax is 
likely to be the culprit.

This function checks if a line length is higher than 80 characters long 
and warns you with the following:

"You have lines longer than 79 characters.  Really post?"

To detect lines longer than 80 characters you can use whitespace-mode 
which will highlight lines longer than the value held by the variable 
whitespace-line-column.

The default value of whitespace-line-column is 80.

Regards,
-- 
Thomas

Back to gnu.emacs.gnus | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Posting with long lines Richmond <dnomhcir@gmx.com> - 2024-03-12 12:02 +0000
  Re: Posting with long lines Mattor <mattof@sdf.org> - 2024-03-12 16:28 +0100
  Re: Posting with long lines Thomas Dupond <thomas@dupond.eu> - 2024-03-19 16:43 +0100
    Re: Posting with long lines Richmond <dnomhcir@gmx.com> - 2024-03-22 12:10 +0000
      Re: Posting with long lines Thomas Dupond <thomas@dupond.eu> - 2024-03-22 15:23 +0100

csiph-web