all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: tumashu  <tumashu@163.com>
To: "Po Lu" <luangruo@yahoo.com>
Cc: Lars Ingebrigtsen <larsi@gnus.org>,
	"emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re:Re: xwidget-webkit-browse-url run error (newest xwidget code).
Date: Sun, 7 Nov 2021 21:29:27 +0800 (CST)	[thread overview]
Message-ID: <70269c6.19ff.17cfa96ee62.Coremail.tumashu@163.com> (raw)
In-Reply-To: <87fss8t83i.fsf@yahoo.com>



At 2021-11-07 21:21:05, "Po Lu" <luangruo@yahoo.com> wrote:
>tumashu  <tumashu@163.com> writes:
>
>> How to remove fringes of xwidget window? I try the below code, seem to not work.
>>
>> (add-hook 'xwidget-webkit-mode-hook
>>           #'eh-xwidget-webkit-mode-hook)
>>
>> (defun eh-xwidget-webkit-mode-hook ()
>>   (setq-local left-fringe-width 0)
>>   (setq-local right-fringe-width 0))
>
>You should call `set-window-buffer' after changing `left-fringe-width'
>or something.

The below code works, thanks!

(defun eh-xwidget-webkit-mode-hook ()
  (setq-local left-fringe-width 0)
  (setq-local right-fringe-width 0)
  (set-window-buffer (selected-window) (current-buffer)))


>
>I don't remember the details, but those variables don't take effect
>immediately!  Thanks.
>

  reply	other threads:[~2021-11-07 13:29 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-07  5:21 xwidget-webkit-browse-url run error (newest xwidget code) tumashu
2021-11-07  5:33 ` Lars Ingebrigtsen
2021-11-07  5:44   ` tumashu
2021-11-07  5:52     ` Po Lu
2021-11-07  6:00       ` tumashu
2021-11-07 10:20       ` tumashu
2021-11-07 10:49         ` Po Lu
2021-11-07 11:13           ` tumashu
2021-11-07 11:37             ` Po Lu
2021-11-07 11:53               ` Po Lu
2021-11-07 12:18                 ` tumashu
2021-11-07 12:25                   ` Po Lu
2021-11-07 13:14                     ` Lars Ingebrigtsen
2021-11-07 13:14                     ` tumashu
2021-11-07 13:21                       ` Po Lu
2021-11-07 13:29                         ` tumashu [this message]
2021-11-07 12:24               ` tumashu

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

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

  git send-email \
    --in-reply-to=70269c6.19ff.17cfa96ee62.Coremail.tumashu@163.com \
    --to=tumashu@163.com \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    --cc=luangruo@yahoo.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.
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.