unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: larsi@gnus.org, 51473@debbugs.gnu.org
Subject: bug#51473: [PATCH] Enable xwidget scrolling optimizations, and other xwidgets improvements
Date: Sun, 07 Nov 2021 20:03:04 +0800	[thread overview]
Message-ID: <87y260tbpj.fsf@yahoo.com> (raw)
In-Reply-To: <835yt49t1f.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 07 Nov 2021 12:09:00 +0200")

[-- Attachment #1: Type: text/plain, Size: 268 bytes --]

Eli Zaretskii <eliz@gnu.org> writes:

> The printed representation of xwidget objects should be documented in
> the ELisp manual, under the "Editing Types" section.  In fact, we lack
> a subsection there for xwidgets; it should be added.
>
> Thanks.

Will this work?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Document-the-xwidget-type.patch --]
[-- Type: text/x-patch, Size: 2188 bytes --]

From e90ed4c7d3e92ce6a3fd8d89b450c9b660ff2e08 Mon Sep 17 00:00:00 2001
From: Po Lu <luangruo@yahoo.com>
Date: Sun, 7 Nov 2021 20:02:06 +0800
Subject: [PATCH] Document the xwidget type

* doc/lispref/elisp.texi: Add Xwidget Type to the menu.
* doc/lispref/objects.texi (Editing Types): Add Xwidget Type to the
menu.
(Xwidget Type): New node.
---
 doc/lispref/elisp.texi   |  1 +
 doc/lispref/objects.texi | 14 ++++++++++++++
 2 files changed, 15 insertions(+)

diff --git a/doc/lispref/elisp.texi b/doc/lispref/elisp.texi
index d0bfd8c901..1c0b0fa1b5 100644
--- a/doc/lispref/elisp.texi
+++ b/doc/lispref/elisp.texi
@@ -365,6 +365,7 @@ Top
 * Keymap Type::             What function a keystroke invokes.
 * Overlay Type::            How an overlay is represented.
 * Font Type::               Fonts for displaying text.
+* Xwidget Type::            Embeddable widgets.
 
 Numbers
 
diff --git a/doc/lispref/objects.texi b/doc/lispref/objects.texi
index 0551bb5673..1c1f463af2 100644
--- a/doc/lispref/objects.texi
+++ b/doc/lispref/objects.texi
@@ -1535,6 +1535,7 @@ Editing Types
 * Keymap Type::         What function a keystroke invokes.
 * Overlay Type::        How an overlay is represented.
 * Font Type::           Fonts for displaying text.
+* Xwidget Type::        Embeddable widgets.
 @end menu
 
 @node Buffer Type
@@ -1860,6 +1861,19 @@ Font Type
 @samp{#<font-entity>} respectively.  @xref{Low-Level Font}, for a
 description of these Lisp objects.
 
+@node Xwidget Type
+@subsection Xwidget Type
+
+  An @dfn{xwidget} is a special display element, such as a web
+browser, that can be embedded inside a buffer.  Each window such an
+xwidget is be displayed in will also have an xwidget view, which on
+X-Windows corresponds to a single X window used to display the widget.
+
+Neither of these objects are readable; their print syntaxes look like
+@samp{#<xwidget>} and @samp{#<xwidget-view>}, respectively.  Lisp
+programmers should not be interested in the functionality of xwidget
+views.  @xref{Xwidgets}, for a more detailed description of xwidgets.
+
 @node Circular Objects
 @section Read Syntax for Circular Objects
 @cindex circular structure, read syntax
-- 
2.31.1


  reply	other threads:[~2021-11-07 12:03 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87zgqslafe.fsf.ref@yahoo.com>
2021-10-29  4:30 ` bug#51473: [PATCH] Enable xwidget scrolling optimizations, and other xwidgets improvements Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-29 13:18   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-04 23:11   ` Lars Ingebrigtsen
2021-11-05  7:20     ` Eli Zaretskii
2021-11-05  7:29       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-05  7:33         ` Lars Ingebrigtsen
2021-11-05  7:47           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-05 13:35       ` Lars Ingebrigtsen
2021-11-05  7:34     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-05 13:10       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-05 13:32         ` Lars Ingebrigtsen
2021-11-05 13:28       ` Lars Ingebrigtsen
2021-11-05 13:40         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-05 13:48           ` Lars Ingebrigtsen
2021-11-06  0:00             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-06  0:22             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-06  0:25               ` Lars Ingebrigtsen
2021-11-06  2:06                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-06  5:39                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-06  8:58                   ` Eli Zaretskii
2021-11-06 10:41                     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-06 17:42                       ` Lars Ingebrigtsen
2021-11-07  0:41                         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-07  0:55                           ` Lars Ingebrigtsen
2021-11-07  1:16                             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-07  1:04                           ` Lars Ingebrigtsen
2021-11-07  1:18                             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-07  1:23                               ` Lars Ingebrigtsen
2021-11-07  1:26                                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-07  1:29                                   ` Lars Ingebrigtsen
2021-11-07  1:34                                     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-07  1:39                                       ` Lars Ingebrigtsen
2021-11-07  1:55                                         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-07  2:04                                           ` Lars Ingebrigtsen
2021-11-07 10:09                           ` Eli Zaretskii
2021-11-07 12:03                             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-11-07 12:33                               ` Eli Zaretskii
2021-11-07 12:40                                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-07 12:52                                   ` Eli Zaretskii

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=87y260tbpj.fsf@yahoo.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=51473@debbugs.gnu.org \
    --cc=eliz@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).