From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: no-spam@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.bugs Subject: Re: set-window-buffer also sets window margins to zero Date: Fri, 01 Oct 2004 19:08:21 +0200 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1096650530 23978 80.91.229.6 (1 Oct 2004 17:08:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Oct 2004 17:08:50 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 01 19:08:43 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CDQtf-0002DK-00 for ; Fri, 01 Oct 2004 19:08:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CDR07-0002ME-1i for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Oct 2004 13:15:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CDQzt-0002Ho-22 for bug-gnu-emacs@gnu.org; Fri, 01 Oct 2004 13:15:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CDQzq-0002Gz-OA for bug-gnu-emacs@gnu.org; Fri, 01 Oct 2004 13:15:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CDQzq-0002Gh-DV for bug-gnu-emacs@gnu.org; Fri, 01 Oct 2004 13:15:06 -0400 Original-Received: from [195.41.46.235] (helo=pfepa.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CDQtG-0006X7-BE for bug-gnu-emacs@gnu.org; Fri, 01 Oct 2004 13:08:18 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepa.post.tele.dk (Postfix) with SMTP id A144647FE23; Fri, 1 Oct 2004 19:08:17 +0200 (CEST) Original-To: "Drew Adams" In-Reply-To: (Drew Adams's message of "Thu, 30 Sep 2004 15:33:30 -0700") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:9162 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:9162 "Drew Adams" writes: > (set-window-margins nil 2 2) ==> get 2-character window margins > > (set-window-buffer (selected-window) (current-buffer)) => no more > window margins (set-window-buffer (selected-window) (current-buffer) t) => keep margins. -- Kim F. Storm http://www.cua.dk