Path: csiph.com!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Richmond Newsgroups: gnu.emacs.gnus Subject: Re: Posting with long lines Date: Fri, 22 Mar 2024 12:10:39 +0000 Organization: Frantic Message-ID: <86sf0icvr4.fsf@example.com> References: <86edcfaca1.fsf@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: solani.org; logging-data="1769634"; mail-complaints-to="abuse@news.solani.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cancel-Lock: sha1:JaxxlZeguMIE/59XKn9PmmV6Ajk= sha1:Pw9OHJWdAeNjSIqM3ees6fsJMmk= X-User-ID: eJwFwYEBACAEBMCV0D8ap8j+I3TH5eoVcDo4nGGnWfCKvrvNOuuwN9cbCPKeYfaBeghGCh8cDhEA Xref: csiph.com gnu.emacs.gnus:7855 Thomas Dupond 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.