Gnus development mailing list
 help / color / mirror / Atom feed
From: Colin Rafferty <craffert@spspme.ml.com>
Subject: Re: Selectable line width for `W w'?
Date: 23 Jan 1997 13:29:12 -0500	[thread overview]
Message-ID: <ocr680o8cub.fsf@spssunp.spspme.ml.com> (raw)
In-Reply-To: Karl Kleinpaste's message of 23 Jan 1997 09:42:18 -0500

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)

-- 
Colin


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

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

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=ocr680o8cub.fsf@spssunp.spspme.ml.com \
    --to=craffert@spspme.ml.com \
    --cc=craffert@ml.com \
    /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).