unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Better ways to inspect text properties?
@ 2022-10-26 23:19 Eduardo Ochs
  2022-10-27  2:54 ` Emanuel Berg
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Eduardo Ochs @ 2022-10-26 23:19 UTC (permalink / raw)
  To: help-gnu-emacs

Hi list...

suppose that I create a file /tmp/foo.org whose contents are just
this:

  a[[http://b/][c]]d

and then I visit /tmp/foo.org, and I pretty-print the result of
(buffer-substring (point-min) (point-max)). The result is:

#("a[[http://b/][c]]d\n" 0 1
  (fontified t)
  1 13
  (face org-link font-lock-multiline t keymap
        (keymap
         (follow-link . mouse-face)
         (mouse-3 . org-find-file-at-mouse)
         (mouse-2 . org-open-at-mouse))
        mouse-face highlight invisible org-link htmlize-link
        (:uri "http://b/")
        help-echo "LINK: http://b/" fontified t)
  13 14
  (face org-link font-lock-multiline t keymap
        (keymap
         (follow-link . mouse-face)
         (mouse-3 . org-find-file-at-mouse)
         (mouse-2 . org-open-at-mouse))
        mouse-face highlight invisible org-link rear-nonsticky
        (mouse-face highlight keymap invisible intangible help-echo
org-linked-text htmlize-link)
        htmlize-link
        (:uri "http://b/")
        help-echo "LINK: http://b/" fontified t)
  14 15
  (font-lock-multiline t keymap
                       (keymap
                        (follow-link . mouse-face)
                        (mouse-3 . org-find-file-at-mouse)
                        (mouse-2 . org-open-at-mouse))
                       mouse-face highlight face org-link rear-nonsticky
                       (mouse-face highlight keymap invisible
intangible help-echo org-linked-text htmlize-link)
                       htmlize-link
                       (:uri "http://b/")
                       help-echo "LINK: http://b/" fontified t)
  15 16
  (font-lock-multiline t keymap
                       (keymap
                        (follow-link . mouse-face)
                        (mouse-3 . org-find-file-at-mouse)
                        (mouse-2 . org-open-at-mouse))
                       mouse-face highlight invisible org-link face
org-link htmlize-link
                       (:uri "http://b/")
                       help-echo "LINK: http://b/" fontified t)
  16 17
  (font-lock-multiline t keymap
                       (keymap
                        (follow-link . mouse-face)
                        (mouse-3 . org-find-file-at-mouse)
                        (mouse-2 . org-open-at-mouse))
                       mouse-face highlight invisible org-link face
org-link htmlize-link
                       (:uri "http://b/")
                       help-echo "LINK: http://b/" rear-nonsticky
                       (mouse-face highlight keymap invisible
intangible help-echo org-linked-text htmlize-link)
                       fontified t)
  17 18
  (rear-nonsticky t fontified t)
  18 19
  (fontified t))

This is not very human-friendly (to me). Can you recommend me ways to
optimize that output?

  Thanks in advance,
    Eduardo Ochs
    http://angg.twu.net/eepitch.html



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-10-30  4:51 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-26 23:19 Better ways to inspect text properties? Eduardo Ochs
2022-10-27  2:54 ` Emanuel Berg
2022-10-27  5:46 ` Eli Zaretskii
2022-10-27  6:45   ` Eduardo Ochs
2022-10-27  7:25     ` Emanuel Berg
2022-10-27 14:03   ` Eduardo Ochs
2022-10-27 15:05     ` Emanuel Berg
2022-10-28 15:19       ` Eduardo Ochs
2022-10-29 23:46 ` Samuel Wales
2022-10-30  1:08   ` Eduardo Ochs
2022-10-30  4:51     ` Samuel Wales

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