unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Markus Triska <markus.triska@gmx.at>
Subject: Re: questions about columns
Date: Thu, 11 Jan 2007 20:13:56 +0100	[thread overview]
Message-ID: <87y7o9qsuj.fsf@gmx.at> (raw)
In-Reply-To: 1168541654.686269.286790@i56g2000hsf.googlegroups.com

"sunwukung@gmail.com" <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

  parent reply	other threads:[~2007-01-11 19:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-11 18:54 questions about columns sunwukung
2007-01-11 19:08 ` haws
2007-01-11 19:13 ` Markus Triska [this message]
2007-01-11 20:03 ` Kevin Rodgers
     [not found] ` <mailman.2975.1168545881.2155.help-gnu-emacs@gnu.org>
2007-01-12 10:55   ` Rupert
2007-01-13 23:44 ` sunwukung

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87y7o9qsuj.fsf@gmx.at \
    --to=markus.triska@gmx.at \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).