From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.devel Subject: How to keep window margins after switching buffers? Date: Sun, 25 Apr 2021 18:41:06 +0300 Message-ID: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15425"; mail-complaints-to="usenet@ciao.gmane.io" To: Help GNU Emacs Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Apr 25 17:42:32 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lagtz-0003w8-U2 for ged-emacs-devel@m.gmane-mx.org; Sun, 25 Apr 2021 17:42:31 +0200 Original-Received: from localhost ([::1]:36110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lagtz-0002Sx-1h for ged-emacs-devel@m.gmane-mx.org; Sun, 25 Apr 2021 11:42:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38784) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lagtP-0001yi-9P for emacs-devel@gnu.org; Sun, 25 Apr 2021 11:41:56 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:43739) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lagtN-0004Sj-1R for emacs-devel@gnu.org; Sun, 25 Apr 2021 11:41:54 -0400 Original-Received: from localhost ([::ffff:41.210.154.146]) (AUTH: PLAIN securesender, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000002BECD.0000000060858D9D.000015DF; Sun, 25 Apr 2021 08:41:17 -0700 Received-SPF: pass client-ip=217.170.207.13; envelope-from=support1@rcdrun.com; helo=stw1.rcdrun.com X-Spam_score_int: 2 X-Spam_score: 0.2 X-Spam_bar: / X-Spam_report: (0.2 / 5.0 requ) BAYES_20=-0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:268388 Archived-At: I have rather aesthetical need to have window margins, I use it as: (set-window-margins (get-buffer-window) 10 10) But when I switch to other buffer and come back margins disappea. Would there any way to keep margins for specific buffer even after switching? Jean