You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clear the current link ../../+lang/bibtex/README.org: C-- M-k or C-a M-k
Paste C-y, and cycle through the kill-ring, to the github link: M-y
Confirm the link RET and the description RET
Observed behaviour: 👀 💔
When the link is inspected with , i l, then it shows %2B as expected.
But if one changes the readme.org buffer to text-mode, then the link includes 25 between the % and 2: the [[https://github.com/syl20bnr/spacemacs/blob/develop/layers/%252Blang/bibtex/README.org][BibTeX layer]].
25 is also shown in the magit buffer SPC g s. Move the cursor to the
unstaged changes: g u, and show the sections 4th level: 4 +the [[https://github.com/syl20bnr/spacemacs/blob/develop/layers/%252Blang/bibtex/README.org][BibTeX layer]].
Switching back to the readme.org buffer, changing it to org-mode, and
inspecting the link , i l, still shows %2B.
When the bibtex layer link is clicked (pressed RET on) then an empty buffer
opens, and it's entry in the SPC b b Helm Mini buffer looks like this: README.org<bibtex> 0 Org (in `~/.emacs.d/layers/%2Blang/bibtex/')
Expected behaviour: ❤️ 😄 25 shouldn't be inserted in the link.
Additional notes
The ascii hex code for % is 25.
I discovered this while testing this command: (url-hexify-string "%")
it outputs: %25
Another strange thing happens if %252B is changed to %2B in the readme.org
in text-mode. Now when the readme.org is switched back to org-mode and the link
is inspected with , i l, then %2B has been replaced with a + sign: https://github.com/syl20bnr/spacemacs/blob/develop/layers/+lang/bibtex/README.org
As long as one doesn't confirm the , i l prompts link and description. then both readme.org in text-mode and the magit buffer shows the link with %2B.
However with readme.org in org-mode, if one confirms the bibtex layer link , i l with the + sign, and it's description, then the readme.org in text-mode and magit buffer link is shown with the + sign.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!
Description
The number
25
gets added in-between the%
and2
, when a link that contains%2B
is added to a .org file with, i l
.Reproduction guide 🪲
https://github.com/syl20bnr/spacemacs/blob/develop/layers/%2Blang/bibtex/README.org
SPC h l
org
RET
/
bibtex layer
RET
SPC b w
, i l
../../+lang/bibtex/README.org
:C-- M-k
orC-a M-k
C-y
, and cycle through the kill-ring, to the github link:M-y
RET
and the descriptionRET
Observed behaviour: 👀 💔
When the link is inspected with
, i l
, then it shows%2B
as expected.But if one changes the readme.org buffer to
text-mode
, then the link includes25
between the%
and2
:the [[https://github.com/syl20bnr/spacemacs/blob/develop/layers/%252Blang/bibtex/README.org][BibTeX layer]].
25
is also shown in the magit bufferSPC g s
. Move the cursor to theunstaged changes:
g u
, and show the sections 4th level:4
+the [[https://github.com/syl20bnr/spacemacs/blob/develop/layers/%252Blang/bibtex/README.org][BibTeX layer]].
Switching back to the readme.org buffer, changing it to
org-mode
, andinspecting the link
, i l
, still shows%2B
.When the bibtex layer link is clicked (pressed
RET
on) then an empty bufferopens, and it's entry in the
SPC b b
Helm Mini buffer looks like this:README.org<bibtex> 0 Org (in `~/.emacs.d/layers/%2Blang/bibtex/')
Expected behaviour: ❤️ 😄
25
shouldn't be inserted in the link.Additional notes
The ascii hex code for
%
is25
.I discovered this while testing this command:
(url-hexify-string "%")
it outputs:
%25
Another strange thing happens if
%252B
is changed to%2B
in the readme.orgin text-mode. Now when the readme.org is switched back to org-mode and the link
is inspected with
, i l
, then%2B
has been replaced with a+
sign:https://github.com/syl20bnr/spacemacs/blob/develop/layers/+lang/bibtex/README.org
As long as one doesn't confirm the
, i l
prompts link and description. then both readme.org in text-mode and the magit buffer shows the link with%2B
.However with readme.org in org-mode, if one confirms the bibtex layer link
, i l
with the+
sign, and it's description, then the readme.org in text-mode and magit buffer link is shown with the+
sign.System Info 💻
(autohotkey auto-completion emacs-lisp git helm markdown org version-control)
The text was updated successfully, but these errors were encountered: