From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Org-mode and fill-column value Date: Fri, 25 Feb 2011 16:37:53 -0600 Message-ID: References: <4606.1298671632@alphaville.usa.hp.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2133835921==" Return-path: Received: from [140.186.70.92] (port=60207 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pt6J7-0000rD-QT for emacs-orgmode@gnu.org; Fri, 25 Feb 2011 17:38:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pt6IM-0003Jv-QS for emacs-orgmode@gnu.org; Fri, 25 Feb 2011 17:37:59 -0500 Received: from mail-bw0-f41.google.com ([209.85.214.41]:50375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pt6IM-0003Jr-Gb for emacs-orgmode@gnu.org; Fri, 25 Feb 2011 17:37:54 -0500 Received: by bwz17 with SMTP id 17so2805191bwz.0 for ; Fri, 25 Feb 2011 14:37:53 -0800 (PST) In-Reply-To: <4606.1298671632@alphaville.usa.hp.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: emacs-orgmode --===============2133835921== Content-Type: multipart/alternative; boundary=001636c5b06710244a049d22fbbe --001636c5b06710244a049d22fbbe Content-Type: text/plain; charset=ISO-8859-1 Fantastic. Many thanks, John On Fri, Feb 25, 2011 at 4:07 PM, Nick Dokos wrote: > John Hendy wrote: > > > Hi, > > > > I would like to set my fill-column variable to a bit higher value since I > have no real need to keep it at 70, however my attempts seem not to be > working. > > > > The relevant section in .emacs looks like this: > > ,----- > > | (add-hook 'text-mode-hook 'turn-on-auto-fill) > > `----- > > > > I then added this line: > > ,----- > > | (setq fill-column 85) > > `----- > > > > I've tried using it before and after the text-mode-hook setting above, > but when I restart emacs and do =C-x f= to set the fill-column variable to > 85, the minibuffer reports: > > ,----- > > | Fill column set to 85 (was 70) > > `----- > > > > Something isn't getting set. I guess this isn't necessarily an org-mode > issue, but I thought someone might know why it's happening here? I can't > find much discussion when searching for org-mode users also using fill and > if they set the fill-column value or not. > > > > It becomes buffer-local when set in any way. Try > > (setq-default fill-column 85) > > in your .emacs. > > Nick > > --001636c5b06710244a049d22fbbe Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Fantastic.=A0

Many thanks,
John

On Fri, Feb 25, 2011 at 4:07 PM, Nick Dokos <nicholas.dokos@hp.com= > wrote:
John Hend= y <jw.hendy@gmail.com> wrot= e:

> Hi,
>
> I would like to set my fill-column variable to a bit higher value sinc= e I have no real need to keep it at 70, however my attempts seem not to be = working.
>
> The relevant section in .emacs looks like this:
> ,-----
> |=A0(add-hook 'text-mode-hook 'turn-on-auto-fill)
> `-----
>
> I then added this line:
> ,-----
> |=A0(setq fill-column 85)
> `-----
>
> I've tried using it before and after the text-mode-hook setting ab= ove, but when I restart emacs and do =3DC-x f=3D to set the fill-column var= iable to 85, the minibuffer reports:
> ,-----
> |=A0Fill column set to 85 (was 70)
> `-----
>
> Something isn't getting set. I guess this isn't necessarily an= org-mode issue, but I thought someone might know why it's happening he= re? I can't find much discussion when searching for org-mode users also= using fill and if they set the fill-column value or not.
>

It becomes buffer-local when set in any way. Try

(setq-default fill-column 85)

in your .emacs.

Nick


--001636c5b06710244a049d22fbbe-- --===============2133835921== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============2133835921==--