From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/9589 Path: main.gmane.org!not-for-mail From: Colin Rafferty Newsgroups: gmane.emacs.gnus.general Subject: Re: Selectable line width for `W w'? Date: 23 Jan 1997 13:29:12 -0500 Message-ID: References: Reply-To: Colin Rafferty NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.100) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035149590 19342 80.91.224.250 (20 Oct 2002 21:33:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:33:10 +0000 (UTC) Return-Path: Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.8.5/8.8.5) with SMTP id KAA15656 for ; Thu, 23 Jan 1997 10:43:06 -0800 Original-Received: from hudutil2gw.ml.com (hudutil2f01.ml.com [198.242.49.32]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Thu, 23 Jan 1997 19:29:51 +0100 Original-Received: from ml2.ml.com ([199.201.37.130]) by hudutil2gw.ml.com (8.8.4/8.8.4/MLgw-3.03) with ESMTP id NAA07441 for ; Thu, 23 Jan 1997 13:28:57 -0500 (EST) Original-Received: from commpost.ml.com (commpost.ml.com [146.125.4.24]) by ml2.ml.com (8.7.5/8.7.3/MLml-2.06b) with SMTP id NAA00773 for ; Thu, 23 Jan 1997 13:32:02 -0500 (EST) Original-Received: from spssunp.spspme.ml.com (spssunp.spspme.ml.com [192.168.111.13]) by commpost.ml.com (8.6.12/8.6.12) with ESMTP id NAA05598 for ; Thu, 23 Jan 1997 13:31:32 -0500 Original-Received: by spssunp.spspme.ml.com (SMI-8.6/SMI-4.1) id NAA22431; Thu, 23 Jan 1997 13:29:17 -0500 Original-To: (ding) GNUS Mailing List X-Y-Zippy: Do you think the ``Monkees'' should get gas on odd or even days? In-Reply-To: Karl Kleinpaste's message of 23 Jan 1997 09:42:18 -0500 Original-Lines: 18 X-Mailer: Red Gnus v0.79/XEmacs 20.0 Xref: main.gmane.org gmane.emacs.gnus.general:9589 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:9589 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