Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some links with descriptions don't work well #11

Closed
Ypot opened this issue Dec 29, 2020 · 9 comments
Closed

Some links with descriptions don't work well #11

Ypot opened this issue Dec 29, 2020 · 9 comments
Labels

Comments

@Ypot
Copy link

Ypot commented Dec 29, 2020

Describe the bug
Not sure why, but an exisiting buffer link description doesn't work as expected

1

Expected behavior

2

To Reproduce
** PROYECTO _19043-EA_- TSA e ILP [92/98] [[file:z:/OFICINA TECNICA/\[PEDIDOS\]/2019/19-043-EA (MAQUINA ANODIZADO)/][PEDIDO]] [[file:z://OFICINA TECNICA/PLANOS/EA/19-043-EA-(MAQUINA ANODIZADO)][PLANOS]]

@Ypot Ypot added the bug label Dec 29, 2020
@yantar92
Copy link
Owner

Cannot reproduce. Did you try without your personal config? (https://github.com/yantar92/org#testing-the-branch)
screenshort

@Ypot
Copy link
Author

Ypot commented Dec 29, 2020

Thanks. I don't know how to try your "org" without my personal config (no command line staff one here), but I suppose it should work just like in your system.

If I can help you with something let me know (sharing personal config, etc.)

Best regards.

EDIT: Wait: I will comment all my .init file but your lines
EDIT 2: It works fine. My personal configuration seems to have some issue with your code.

@yantar92
Copy link
Owner

My personal configuration seems to have some issue with your code.

You can try bug-hunter package to identify the place in your config that is causing trouble. (https://github.com/Malabarba/elisp-bug-hunter)

@Ypot
Copy link
Author

Ypot commented Dec 29, 2020

Nice package!!

These lines were the culprit:

;; How to make part of a word bold in org-mode
;; https://code-examples.net/en/q/1296be

(setcar org-emphasis-regexp-components " \t('\"{[:alpha:]")
(setcar (nthcdr 1 org-emphasis-regexp-components) "[:alpha:]- \t.,:!?;'\")}\\")
(org-set-emph-re 'org-emphasis-regexp-components org-emphasis-regexp-components)

@yantar92
Copy link
Owner

yantar92 commented Dec 29, 2020

These lines were the culprit:

Trying just these lines still show normal behavior on my side. Apparently, the lines you provided also interact with some earlier code in your init file. You may need to move these lines at the top of your init file (after (require 'org)) and repeat the bug hunting.

@Ypot
Copy link
Author

Ypot commented Dec 29, 2020

All right. New culprit, related aswell to emphasis:

  Caused by the following expression:
    (setq org-hide-emphasis-markers t)

@yantar92
Copy link
Owner

I confirm the problem. It is not very easy to fix. Let me see what I can do.

@yantar92
Copy link
Owner

Should be fixed now.

@Ypot
Copy link
Author

Ypot commented Dec 29, 2020

Fixation confirmed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants