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


Groups > gnu.emacs.gnus > #7852 > unrolled thread

Posting with long lines

Started byRichmond <dnomhcir@gmx.com>
First post2024-03-12 12:02 +0000
Last post2024-03-22 15:23 +0100
Articles 5 — 3 participants

Back to article view | Back to gnu.emacs.gnus


Contents

  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

#7852 — Posting with long lines

FromRichmond <dnomhcir@gmx.com>
Date2024-03-12 12:02 +0000
SubjectPosting with long lines
Message-ID<86edcfaca1.fsf@example.com>
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...

[toc] | [next] | [standalone]


#7853

FromMattor <mattof@sdf.org>
Date2024-03-12 16:28 +0100
Message-ID<86o7bjtqoi.fsf@x201.tradesystem.nl>
In reply to#7852
On 12 March 2024 12:02 Richmond, wrote:

> When posting an article with long lines (usually urls or quoted text)
[..]
> 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...

This group is not dead. But there isn't much traffic.

Best regards,

MattoF

[toc] | [prev] | [next] | [standalone]


#7854

FromThomas Dupond <thomas@dupond.eu>
Date2024-03-19 16:43 +0100
Message-ID<koiKN.2467947$Lo1.1111369@fx02.ams4>
In reply to#7852
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

[toc] | [prev] | [next] | [standalone]


#7855

FromRichmond <dnomhcir@gmx.com>
Date2024-03-22 12:10 +0000
Message-ID<86sf0icvr4.fsf@example.com>
In reply to#7854
Thomas Dupond <thomas@dupond.eu> writes:

> 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,

Thanks, this works. It is usually urls which cause the notice but now I
at least know it is the url only.

[toc] | [prev] | [next] | [standalone]


#7856

FromThomas Dupond <thomas@dupond.eu>
Date2024-03-22 15:23 +0100
Message-ID<NvgLN.970679$mUo.376964@fx08.ams4>
In reply to#7855
Le 2024-03-22 à 13:10, Richmond a écrit :
> Thomas Dupond <thomas@dupond.eu> writes:
> 
>> 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,
> 
> Thanks, this works. It is usually urls which cause the notice but now I
> at least know it is the url only.

Hi,

I looked into it a bit more and on the info node (emacs) Displaying 
Boundaries you will find more functions to display which text is above 
the limit.

By doing M-x display-fill-column-indicator-mode you will get a fine mark 
for every character above the value held by fill-column (default is 70).

You could add this function in the message-mode-hook, you would be able 
to see the lines which are too long without being bothered by all the 
excess informations of whitespace-mode.

-- 
Thomas

[toc] | [prev] | [standalone]


Back to top | Article view | gnu.emacs.gnus


csiph-web