unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Omar Polo <op@omarpolo.com>, Jean Louis <bugs@gnu.support>
Cc: help-gnu-emacs@gnu.org
Subject: RE: any way to get white margin around text?
Date: Thu, 24 Dec 2020 11:04:38 -0800 (PST)	[thread overview]
Message-ID: <6ca2d9dd-b467-4041-a266-baeada434006@default> (raw)
In-Reply-To: <87blej6nkk.fsf@omarpolo.com>

> set-window-margin should do what you're saying.  For instance
> 
>     (set-window-margin (get-buffer-window) 4 4)
> 
> will set the borders on both sides to 4 columns, without affecting the
> buffer content.  The fringe will be between the margin and the buffer
> content though.

`set-window-margins', not `set-window-margin'.



  reply	other threads:[~2020-12-24 19:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-24 18:39 any way to get white margin around text? Jean Louis
2020-12-24 18:55 ` Omar Polo
2020-12-24 19:04   ` Drew Adams [this message]
2020-12-24 19:19     ` Omar Polo
2020-12-24 19:25   ` Jean Louis
2020-12-24 21:47     ` Drew Adams
2020-12-24 22:54       ` Jean Louis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6ca2d9dd-b467-4041-a266-baeada434006@default \
    --to=drew.adams@oracle.com \
    --cc=bugs@gnu.support \
    --cc=help-gnu-emacs@gnu.org \
    --cc=op@omarpolo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).