From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Better ways to inspect text properties? Date: Thu, 27 Oct 2022 08:46:47 +0300 Message-ID: <83h6zpn7i0.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3067"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 27 07:48:28 2022 Return-path: Envelope-to: geh-help-gnu-emacs@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 1onvki-0000Vv-2D for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 27 Oct 2022 07:48:28 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onvjP-0003Qc-Pg; Thu, 27 Oct 2022 01:47:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onvjC-0002gK-Ft for help-gnu-emacs@gnu.org; Thu, 27 Oct 2022 01:46:58 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onvjC-0003dw-9P for help-gnu-emacs@gnu.org; Thu, 27 Oct 2022 01:46:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=hGNxz2lI+deTYUS/HOUWJ6SppvcyL9HK8nW5tpqUEio=; b=Emj6LzwcXqVJ j8VtjuSUZ8lz+HYnuu9yC5/n5kV7wMl7yXTMLLUrRABVpouWBVhFrJ+SaxLK2jHNlgkZxM5p+EqCi 7vjE2+5rqh2UcM8vjpLYRlAFULZbD2l2QdWvkjCp5ylCGf33a+CJgrvgZzlSQgambZj7VV+JSrQ/z k/i1OQyHOPM9trVOR1Lr6VUyre4PrZMdbqPXtHG7Hl/09b52FyFd2s8QCOLLGJNheBS6Vkv9MrEn/ FJA7gnMjY2fL9IXyw4mIYavlU0/vGalDyByeIHtlPgsyF84cYjfZHXZ5V5xU9Tae0cpi1LAWeVrc+ ig9NoWy+2zWASJhUI/3J/Q==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onvjB-00042v-Ns for help-gnu-emacs@gnu.org; Thu, 27 Oct 2022 01:46:54 -0400 In-Reply-To: (message from Eduardo Ochs on Wed, 26 Oct 2022 20:19:59 -0300) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "help-gnu-emacs" Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:140423 Archived-At: > From: Eduardo Ochs > Date: Wed, 26 Oct 2022 20:19:59 -0300 > > 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? Please tell which part(s) is/are not very human-friendly in the above. Otherwise it's hard to suggest improvements, because to me the above is quite friendly and easy to read and understand.