Groups | Search | Server Info | Login | Register
Groups > gnu.emacs.gnus > #7856
| Subject | Re: Posting with long lines |
|---|---|
| Newsgroups | gnu.emacs.gnus |
| References | <86edcfaca1.fsf@example.com> <koiKN.2467947$Lo1.1111369@fx02.ams4> <86sf0icvr4.fsf@example.com> |
| From | Thomas Dupond <thomas@dupond.eu> |
| Message-ID | <NvgLN.970679$mUo.376964@fx08.ams4> (permalink) |
| Organization | usenet-news.net |
| Date | 2024-03-22 15:23 +0100 |
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
Back to gnu.emacs.gnus | Previous | Next — Previous in thread | Find similar
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