Re: [BUG] elisp links: cluttered prompt due to text properties

2022-02-01 Thread Max Nikulin

On 11/11/2021 21:58, Max Nikulin wrote:

Try to "open" the following link (C-c C-o)

[[elisp:(require 'org-capture)][M-: (require 'org-capture)]]

Actual behavior:

 > Execute #("(require 'org-capture)" 0 22 (face org-warning)) as Elisp? 
(yes or no)


Expected behavior:

 > Execute "(require 'org-capture)" as elisp? (yes or no)


Accordingly to

Timothy. [BUG] Confirmation message for elisp links is badly formatted 
[9.5.2 (9.5.2-gfbff08 @ /home/omarantolin/.emacs.d/elpa/org-9.5.2/)]

Mon, 31 Jan 2022 19:38:18 +0800.
https://list.orgmode.org/87v8y0m8xa@gmail.com

fixed in b3ceafd0




[BUG] elisp links: cluttered prompt due to text properties

2021-11-11 Thread Max Nikulin

Try to "open" the following link (C-c C-o)

[[elisp:(require 'org-capture)][M-: (require 'org-capture)]]

Actual behavior:

> Execute #("(require 'org-capture)" 0 22 (face org-warning)) as Elisp? 
(yes or no)


Org mode version 9.5 (release_9.5-225-g494c20) - main HEAD

Expected behavior:

> Execute "(require 'org-capture)" as elisp? (yes or no)

As it was in

Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @ 
/usr/share/emacs/26.3/lisp/org/)


Currently text properties are not cleared before displaying the source code.