[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set margin width locally doesn't work

From: Pascal J. Bourguignon
Subject: Re: set margin width locally doesn't work
Date: Mon, 18 Aug 2008 08:30:30 +0200
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.2 (gnu/linux)

najja <address@hidden> writes:

> hi there,
> I like having two blank margin flanking the text when I do my daily
> editing so I add this to my .emacs:
> (setq default-left-margin-width 20)
> (setq default-right-margin-width 20)
> However, now I want to extend my emacs usage to other fields such as
> email and rss reading. However, this margin setting will create a
> blank margin in gnus and newsticker buffer just like in others. I have
> tried to add the following settings to .emacs.
> (add-hook 'newsticker-treeview-list-mode-hook
>            (setq left-margin-width 0)
>            (setq right-margin-width 0)))
> but it doesn't help. Obviously setting margin width doesn't take
> effect immediately. Is there any way to set margin width to a buffer
> locally and effectively?

C-h f add-hook RET and read it closely.

__Pascal Bourguignon__           

"What is this talk of "release"?  Klingons do not make software
"releases".  Our software "escapes" leaving a bloody trail of
designers and quality assurance people in its wake."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]