From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Markus Triska Newsgroups: gmane.emacs.help Subject: Re: questions about columns Date: Thu, 11 Jan 2007 20:13:56 +0100 Message-ID: <87y7o9qsuj.fsf@gmx.at> References: <1168541654.686269.286790@i56g2000hsf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1168544500 4404 80.91.229.12 (11 Jan 2007 19:41:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Jan 2007 19:41:40 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 11 20:41:37 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H55nr-0003Lz-S0 for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Jan 2007 20:41:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H55nr-0003vs-LO for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Jan 2007 14:41:35 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newshunter!cosy.sbg.ac.at!newsfeed.utanet.at!newsfeed.wu-wien.ac.at!aconews-feed.univie.ac.at!aconews.univie.ac.at!not-for-mail Original-Newsgroups: comp.emacs,gnu.emacs.help Cancel-Lock: sha1:d0gsRtHDpqNg8VRrBUyAALSIGP0= Original-Lines: 18 Original-NNTP-Posting-Host: news-access-from.tuwien.ac.at Original-X-Trace: 1168542840 tunews.univie.ac.at 11094 192.35.241.118 Original-X-Complaints-To: abuse@tuwien.ac.at Original-Xref: shelby.stanford.edu comp.emacs:93606 gnu.emacs.help:144643 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:40247 Archived-At: "sunwukung@gmail.com" wrote: > work but M-x set-fill-column gives me the error: set-fill-column > requires an explicit argument but doesn't give me a chance to set > it. How do I? Use C-u followed by a number to specify a column. Just C-u as argument means to use the current column. > Also, is there a way from within emacs to do something like the "pr" > command (formats text into columns of a given width and page length)? > In other words, can emacs massage text into a newspaper-like format? You can run pr on the buffer: C-x h (mark-whole-buffer), then M-| (shell-command-on-region), then the command (pr) and its parameters. All the best, Markus Triska