From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: E Sabof Newsgroups: gmane.emacs.bugs Subject: bug#14200: 24.3; Window fringes / margins get reset on switching buffer Date: Sat, 13 Apr 2013 21:51:35 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0015176f0dd671e6dd04da442f84 X-Trace: ger.gmane.org 1365886327 2081 80.91.229.3 (13 Apr 2013 20:52:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Apr 2013 20:52:07 +0000 (UTC) To: 14200@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 13 22:52:11 2013 Return-path: Envelope-to: geb-bug-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 1UR7Qf-0001Jh-9s for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Apr 2013 22:52:09 +0200 Original-Received: from localhost ([::1]:37179 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UR7Qe-0005yn-QV for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Apr 2013 16:52:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UR7QY-0005wj-N4 for bug-gnu-emacs@gnu.org; Sat, 13 Apr 2013 16:52:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UR7QW-0004oj-FO for bug-gnu-emacs@gnu.org; Sat, 13 Apr 2013 16:52:02 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45049) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UR7QW-0004ob-Bz for bug-gnu-emacs@gnu.org; Sat, 13 Apr 2013 16:52:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UR7UP-0003G5-TC for bug-gnu-emacs@gnu.org; Sat, 13 Apr 2013 16:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: E Sabof Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Apr 2013 20:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14200 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.136588655012506 (code B ref -1); Sat, 13 Apr 2013 20:56:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Apr 2013 20:55:50 +0000 Original-Received: from localhost ([127.0.0.1]:49158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UR7UE-0003Ff-BW for submit@debbugs.gnu.org; Sat, 13 Apr 2013 16:55:50 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45412) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UR7UB-0003FX-8W for submit@debbugs.gnu.org; Sat, 13 Apr 2013 16:55:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UR7QE-0004m8-3C for submit@debbugs.gnu.org; Sat, 13 Apr 2013 16:51:44 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:46733) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UR7QD-0004m3-W2 for submit@debbugs.gnu.org; Sat, 13 Apr 2013 16:51:42 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56761) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UR7QA-0005w6-Py for bug-gnu-emacs@gnu.org; Sat, 13 Apr 2013 16:51:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UR7Q8-0004lH-I3 for bug-gnu-emacs@gnu.org; Sat, 13 Apr 2013 16:51:38 -0400 Original-Received: from mail-qe0-f42.google.com ([209.85.128.42]:64869) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UR7Q8-0004lB-DF for bug-gnu-emacs@gnu.org; Sat, 13 Apr 2013 16:51:36 -0400 Original-Received: by mail-qe0-f42.google.com with SMTP id cz11so2133337qeb.1 for ; Sat, 13 Apr 2013 13:51:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=5z+Nh5uiko7SEiiaFH6HU3YWKeJNlWp4SUvyeD3+MUI=; b=JwmyHDdAowtpD5gNblXAz/et8xhQ5TM6k89mTleUwtjXBf86D+YkP+80GMPMSrbDrt HnAJ7q7UNm5cl9/fOG66YsrsyOqXepY7mNRsDQSWkWUZ1lPpDeGdzCznhvShYqxK7wDf EdZr+NHM25vxdbcIReeR9MsJ+2SdF7H2RJQ80IFTVv06o8cn5Xf3Ui3oQDQ9MSG9SKOX WX+Hm9/DeV2NUq3OL/TdwUEf1Xt+ZAT9Gb4jsLCB/Rg8ZzsIWxQt+CQzBLMfWJiBwkao e5J6gijKEQqsuLB8jVROXplA27johHbCssQhWxjrLQxYSCl5/npV5kyoU1B8NFbLN3C2 tq6Q== X-Received: by 10.229.18.83 with SMTP id v19mr6206719qca.127.1365886295464; Sat, 13 Apr 2013 13:51:35 -0700 (PDT) Original-Received: by 10.49.2.164 with HTTP; Sat, 13 Apr 2013 13:51:35 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org 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 Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:73383 Archived-At: --0015176f0dd671e6dd04da442f84 Content-Type: text/plain; charset=ISO-8859-1 If in emacs -Q, I evaluate: (set-window-margins nil 5 5) (set-window-fringes nil 16 16) and switch to a different buffer, the fringes/margins will be reset. They will still be frame-default if I switch back to the same buffer. Btw, I think it would make more sense, if the above settings where attached to a buffer and not a window. At the same time there is a buffer-local variable called window-size-fixed, which looks like it should be a window property. Evgeni --0015176f0dd671e6dd04da442f84 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
If in emacs -Q, I evaluate:
(set-window-margins nil 5 5)
(set-window-fringes nil = 16 16)

and switch to a different buffer, the= fringes/margins will be reset. They will still be frame-default if I switc= h back to the same buffer.

Btw, I think it would make more sense, if t= he above settings where attached to a buffer and not a window. At the same = time there is a buffer-local variable called window-size-fixed, which looks= like it should be a window property.

Evgeni
--0015176f0dd671e6dd04da442f84--