From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: Toggle line length? Date: Wed, 28 Jan 2015 21:40:20 -0800 (PST) Message-ID: <375bc9fb-b06f-4cca-a780-0b3e961da48e@default> References: <87bnlinpb3.fsf@skimble.plus.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1422510057 24508 80.91.229.3 (29 Jan 2015 05:40:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Jan 2015 05:40:57 +0000 (UTC) To: Sharon Kimble , help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 29 06:40:52 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YGhqV-0005Xp-2p for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Jan 2015 06:40:51 +0100 Original-Received: from localhost ([::1]:57747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGhqU-0007OY-FH for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Jan 2015 00:40:50 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55947) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGhqB-0007OT-EW for help-gnu-emacs@gnu.org; Thu, 29 Jan 2015 00:40:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGhq5-0002ad-UJ for help-gnu-emacs@gnu.org; Thu, 29 Jan 2015 00:40:31 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:47688) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGhq5-0002aD-Oi for help-gnu-emacs@gnu.org; Thu, 29 Jan 2015 00:40:25 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t0T5eNIo026021 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 29 Jan 2015 05:40:24 GMT Original-Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id t0T5eLwA004468 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 29 Jan 2015 05:40:22 GMT Original-Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id t0T5eLqb029705; Thu, 29 Jan 2015 05:40:21 GMT In-Reply-To: <87bnlinpb3.fsf@skimble.plus.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102354 Archived-At: > I have my line length set to 74 with this - (setq-default > fill-column 74). Is it possible to be able to toggle this so that I > could have an alternative line length of 100 please? I've been > googling but without success. (defvar my-last-fill-col 100 "...") (defun my-toggle-fill-column () "..." (interactive) (setq-default my-last-fill-col (prog1 fill-column (setq-default fill-column my-last-fill-col))) (message "Fill column is now %d" fill-column))