all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Chris Seberino'" <cseberino@gmail.com>, <help-gnu-emacs@gnu.org>
Subject: RE: What if sometimes want auto-filling and sometimes don't? Necessary tokeep manually turning on/off?
Date: Wed, 30 Jan 2013 05:58:53 -0800	[thread overview]
Message-ID: <3E11E127B4574BBAA0CC29352CD6D114@us.oracle.com> (raw)
In-Reply-To: <f679103f-384d-4e20-a59a-7f7413f5eba3@googlegroups.com>

> Sometimes you WANT auto-filling...sometimes you DO NOT.
> e.g. When I am writing text like a comment in a program, I 
> appreciate auto-filling.
> 
> When I want to squeeze as much in a single line in a computer 
> program instruction as possible, it gets in the way.
> 
> What is easiest way to have it both ways?  Must people keep 
> turning it on and off?

1. You can create a toggle command that turns it on/off, and bind it to a quick
key.

2. You can use `C-x f N', where N is a large number (e.g. 999).  This, in
effect, turn it off.  Then `C-x f M', where M is your usual value of
`fill-column' (e.g. 70).

3. You can have it turned off by default in certain modes.  From your example,
it sounds like maybe the buffers (modes) where you type "computer program
instructions" should have it turned off by default.


Personally, I typically leave it on.  But in code I sometimes change the fill
column temporarily if I want longer comments in a particular location or file.





  parent reply	other threads:[~2013-01-30 13:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-30  7:48 What if sometimes want auto-filling and sometimes don't? Necessary to keep manually turning on/off? Chris Seberino
2013-01-30 10:14 ` Bastien
2013-01-30 17:06   ` Bob Proulx
2013-01-30 18:07     ` What if sometimes want auto-filling and sometimes don't?Necessary " Drew Adams
2013-01-30 11:07 ` What if sometimes want auto-filling and sometimes don't? Necessary " Peter Dyballa
2013-01-30 13:58 ` Drew Adams [this message]
     [not found] ` <mailman.18604.1359554349.855.help-gnu-emacs@gnu.org>
2013-01-30 22:23   ` What if sometimes want auto-filling and sometimes don't? Necessary tokeep " Chris Seberino
2013-01-30 23:03     ` Bob Proulx
2013-01-30 23:04     ` drain
     [not found]     ` <mailman.18671.1359586998.855.help-gnu-emacs@gnu.org>
2013-02-01  6:27       ` Chris Seberino
2013-01-30 23:16 ` What if sometimes want auto-filling and sometimes don't? Necessary to keep " Glenn Morris

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=3E11E127B4574BBAA0CC29352CD6D114@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=cseberino@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.