all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* set margin width locally doesn't work
@ 2008-08-18  6:11 najja
  2008-08-18  6:30 ` Pascal J. Bourguignon
  0 siblings, 1 reply; 5+ messages in thread
From: najja @ 2008-08-18  6:11 UTC (permalink / raw)
  To: help-gnu-emacs

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?


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-08-19  8:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-18  6:11 set margin width locally doesn't work najja
2008-08-18  6:30 ` Pascal J. Bourguignon
2008-08-18  9:33   ` Najja
2008-08-18 21:00     ` Pascal J. Bourguignon
2008-08-19  8:42       ` najja

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.