Gnus development mailing list
 help / color / mirror / Atom feed
From: "St. Suika Fenderson Roberts" <wrobert2@mailhost.tcs.tulane.edu>
Subject: Re: Selectable line width for `W w'?
Date: Thu, 23 Jan 1997 13:23:07 -0600	[thread overview]
Message-ID: <199701231923.NAA101855@rs1.tcs.tulane.edu> (raw)

Colin Rafferty <craffert@spspme.ml.com> writes:
> Karl Kleinpaste writes:
>> How difficult would it be to arrange for `W w' to use the *Article*
>> buffer's current width (less some right margin border size, maybe 5
>> characters) as the fill-column?  Or, alternatively, to take an
>> argument specifying the desired width?

> How about using `defadvice'?  Untested code follows:

> (defadvice gnus-article-fill-cited-article (around set-fill-column activate compile)
>   "Change fill-column of *Article* to \"good\" size."
>   (save-excursion
>     (set-buffer gnus-article-buffer)
>     (set-fill-column (- (frame-width) 5)))
>   ad-do-it)

One modification, that being to use window-width instead, which should
make sure things work when one uses vertical splits or
(possibly/probably) on a dumbish terminal.

hope this helps,
	Suika
--
                  wrobert2@mailhost.tcs.tulane.edu
the cats I won't be able to see until who knows when: Monster, Lish, Cricket,
Sam, Megan, Velcro, Maud, and Calli.  Very sad. ;_; 
<a href="http://studentweb.tulane.edu/~wrobert2/">Suika no homepage</a>


             reply	other threads:[~1997-01-23 19:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-23 19:23 St. Suika Fenderson Roberts [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-01-23 14:42 Karl Kleinpaste
1997-01-23 18:29 ` Colin Rafferty
1997-01-24  9:22 ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199701231923.NAA101855@rs1.tcs.tulane.edu \
    --to=wrobert2@mailhost.tcs.tulane.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).