unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Stop Gnus word-wrapping (plain text) messages
@ 2022-06-24 18:44 Sergey Organov
  2022-06-26 10:25 ` Robert Pluim
  0 siblings, 1 reply; 5+ messages in thread
From: Sergey Organov @ 2022-06-24 18:44 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

When I display a (plain text) message in Gnus by hitting <ENTER> at the
message in the Summary buffer, the display of the message content ends
up being word-wrapped at some (apparently fixed) column.

When I display the same message raw, by pressing <C-u g> in the Summary
buffer, long lines are just truncated, exactly as dictated by my generic
settings.

I want to disable this word-wrap (apparently performed by Gnus), but
can't figure how to achieve this. Please help!

Gnus v5.13

GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5,
cairo version 1.16.0) of 2020-03-08, unofficial emacs-snapshot build:
http://emacs.ganneff.de/,
git commit 0a3f8da6e1a56ada409cf1677ac40fcc75a8a33c

-- 
Sergey Organov



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Stop Gnus word-wrapping (plain text) messages
  2022-06-24 18:44 Stop Gnus word-wrapping (plain text) messages Sergey Organov
@ 2022-06-26 10:25 ` Robert Pluim
  2022-06-26 20:20   ` Sergey Organov
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Pluim @ 2022-06-26 10:25 UTC (permalink / raw)
  To: Sergey Organov; +Cc: help-gnu-emacs

>>>>> On Fri, 24 Jun 2022 21:44:04 +0300, Sergey Organov <sorganov@gmail.com> said:

    Sergey> Hello,
    Sergey> When I display a (plain text) message in Gnus by hitting <ENTER> at the
    Sergey> message in the Summary buffer, the display of the message content ends
    Sergey> up being word-wrapped at some (apparently fixed) column.

    Sergey> When I display the same message raw, by pressing <C-u g> in the Summary
    Sergey> buffer, long lines are just truncated, exactly as dictated by my generic
    Sergey> settings.

    Sergey> I want to disable this word-wrap (apparently performed by Gnus), but
    Sergey> can't figure how to achieve this. Please help!

M-x customize-variable gnus-article-truncate-lines

Normally that follows the value of `truncate-lines', though.

Robert
-- 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Stop Gnus word-wrapping (plain text) messages
  2022-06-26 10:25 ` Robert Pluim
@ 2022-06-26 20:20   ` Sergey Organov
  2022-06-28  9:41     ` Daniel Martín
  0 siblings, 1 reply; 5+ messages in thread
From: Sergey Organov @ 2022-06-26 20:20 UTC (permalink / raw)
  To: Robert Pluim; +Cc: help-gnu-emacs

Robert Pluim <rpluim@gmail.com> writes:

>>>>>> On Fri, 24 Jun 2022 21:44:04 +0300, Sergey Organov
> <sorganov@gmail.com> said:
>
>     Sergey> Hello,
>     Sergey> When I display a (plain text) message in Gnus by hitting
>     Sergey> <ENTER> at the
>     Sergey> message in the Summary buffer, the display of the message
>     Sergey> content ends
>     Sergey> up being word-wrapped at some (apparently fixed) column.
>
>     Sergey> When I display the same message raw, by pressing <C-u g>
>     Sergey> in the Summary
>     Sergey> buffer, long lines are just truncated, exactly as dictated
>     Sergey> by my generic
>     Sergey> settings.
>
>     Sergey> I want to disable this word-wrap (apparently performed by
>     Sergey> Gnus), but
>     Sergey> can't figure how to achieve this. Please help!
>
> M-x customize-variable gnus-article-truncate-lines

Thanks for the hint, but this is not it. It does have effect though,
exactly according to its documentation, see below.

> Normally that follows the value of `truncate-lines', though.

Does not seem to be the case, at least in my version of Gnus, according
to its doc-line: " Value of ‘truncate-lines’ in Gnus Article buffer".

What I observe though is word wrap in Gnus Article buffers, as opposed to
truncation/continuation. Still can't figure what does it. Any ideas?

Thanks,
-- Sergey Organov



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Stop Gnus word-wrapping (plain text) messages
  2022-06-26 20:20   ` Sergey Organov
@ 2022-06-28  9:41     ` Daniel Martín
  2022-06-28 10:09       ` Sergey Organov
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Martín @ 2022-06-28  9:41 UTC (permalink / raw)
  To: Sergey Organov; +Cc: Robert Pluim, help-gnu-emacs

Sergey Organov <sorganov@gmail.com> writes:

>> Normally that follows the value of `truncate-lines', though.
>
> Does not seem to be the case, at least in my version of Gnus, according
> to its doc-line: " Value of ‘truncate-lines’ in Gnus Article buffer".
>
> What I observe though is word wrap in Gnus Article buffers, as opposed to
> truncation/continuation. Still can't figure what does it. Any ideas?
>

Check out the variables gnus-article-fill-long-lines,
gnus-treat-fill-article, gnus-article-fill-cited-article



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Stop Gnus word-wrapping (plain text) messages
  2022-06-28  9:41     ` Daniel Martín
@ 2022-06-28 10:09       ` Sergey Organov
  0 siblings, 0 replies; 5+ messages in thread
From: Sergey Organov @ 2022-06-28 10:09 UTC (permalink / raw)
  To: Daniel Martín; +Cc: Robert Pluim, help-gnu-emacs

Daniel Martín <mardani29@yahoo.es> writes:

> Sergey Organov <sorganov@gmail.com> writes:
>
>>> Normally that follows the value of `truncate-lines', though.
>>
>> Does not seem to be the case, at least in my version of Gnus, according
>> to its doc-line: " Value of ‘truncate-lines’ in Gnus Article buffer".
>>
>> What I observe though is word wrap in Gnus Article buffers, as opposed to
>> truncation/continuation. Still can't figure what does it. Any ideas?
>>
>
> Check out the variables gnus-article-fill-long-lines,

No such variable in my Gnus v5.13, but you gave me a hint where to look,
and I've finally found the culprit:

Hide Gnus Treat Fill Long Lines: Value Menu Predicate: (typep "text/plain")
    State : STANDARD.

gnus-treat-fill-long-lines is a variable defined in ‘gnus-art.el’.
Its value is (typep "text/plain")

Thank you guys for your help!

-- Sergey Organov



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-06-28 10:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-24 18:44 Stop Gnus word-wrapping (plain text) messages Sergey Organov
2022-06-26 10:25 ` Robert Pluim
2022-06-26 20:20   ` Sergey Organov
2022-06-28  9:41     ` Daniel Martín
2022-06-28 10:09       ` Sergey Organov

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 read-only IMAP folder(s) and NNTP newsgroup(s).