Org-mode mailing list
 help / color / mirror / Atom feed
* Bug: org-store-link uses CUSTOM_ID instead of target point [9.4.4 (release_9.4.4 @ /usr/share/emacs/27.2/lisp/org/)]
@ 2021-05-04 19:17 Fr Ml
  2021-05-05  2:34 ` Ihor Radchenko
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Fr Ml @ 2021-05-04 19:17 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/html, Size: 1641 bytes --]

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

* Re: Bug: org-store-link uses CUSTOM_ID instead of target point [9.4.4 (release_9.4.4 @ /usr/share/emacs/27.2/lisp/org/)]
  2021-05-04 19:17 Bug: org-store-link uses CUSTOM_ID instead of target point [9.4.4 (release_9.4.4 @ /usr/share/emacs/27.2/lisp/org/)] Fr Ml
@ 2021-05-05  2:34 ` Ihor Radchenko
  2021-05-06 12:41 ` Bastien
  2021-05-06 20:08 ` Table alignment problem Fr Ml
  2 siblings, 0 replies; 9+ messages in thread
From: Ihor Radchenko @ 2021-05-05  2:34 UTC (permalink / raw)
  To: Fr Ml; +Cc: emacs-orgmode

Fr Ml <fr_ml@t-online.de> writes:
> If the cursor is on a <<target>> and the item has a CUSTOM_ID then a
> link to the headline (with the CUSTOM_ID) is stored - and not the link to the target.
> This behavior is not always the same.

Confirmed on master.

Recipe:

1. Create the following org file:

* test
:PROPERTIES:
:CUSTOM_ID: testasd
:END:

<<targetasd>>

2. Put point at the target
3. org-store-link
4. org-insert-link
5. The inserted link is pointing to the custom ID
[[#testasd][file:/tmp/4.org::targetasd]]

Best,
Ihor


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

* Re: Bug: org-store-link uses CUSTOM_ID instead of target point [9.4.4 (release_9.4.4 @ /usr/share/emacs/27.2/lisp/org/)]
  2021-05-04 19:17 Bug: org-store-link uses CUSTOM_ID instead of target point [9.4.4 (release_9.4.4 @ /usr/share/emacs/27.2/lisp/org/)] Fr Ml
  2021-05-05  2:34 ` Ihor Radchenko
@ 2021-05-06 12:41 ` Bastien
  2021-05-06 20:08 ` Table alignment problem Fr Ml
  2 siblings, 0 replies; 9+ messages in thread
From: Bastien @ 2021-05-06 12:41 UTC (permalink / raw)
  To: Fr Ml; +Cc: emacs-orgmode

Hi,

Fr Ml <fr_ml@t-online.de> writes:

> I have a problem with the function org-store-link it doesn't work as
> described in the documentation:
> https://orgmode.org/manual/Handling-Links.html
> "For Org files, if there is a '<<target>>' at point, the link points
> to
> the target."

Fixed in maint, thanks a lot for reporting this and Ihor for
confirming the bug.

-- 
 Bastien


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

* Table alignment problem
  2021-05-04 19:17 Bug: org-store-link uses CUSTOM_ID instead of target point [9.4.4 (release_9.4.4 @ /usr/share/emacs/27.2/lisp/org/)] Fr Ml
  2021-05-05  2:34 ` Ihor Radchenko
  2021-05-06 12:41 ` Bastien
@ 2021-05-06 20:08 ` Fr Ml
  2021-05-07 14:50   ` Ihor Radchenko
  2 siblings, 1 reply; 9+ messages in thread
From: Fr Ml @ 2021-05-06 20:08 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/html, Size: 2416 bytes --]

[-- Attachment #2: arabic_table_orgmode.png --]
[-- Type: image/png, Size: 52604 bytes --]

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

* Re: Table alignment problem
  2021-05-06 20:08 ` Table alignment problem Fr Ml
@ 2021-05-07 14:50   ` Ihor Radchenko
  2021-05-08  6:37     ` Jeremie Juste
  2021-05-08  7:48     ` Fr Ml
  0 siblings, 2 replies; 9+ messages in thread
From: Ihor Radchenko @ 2021-05-07 14:50 UTC (permalink / raw)
  To: Fr Ml; +Cc: emacs-orgmode

Fr Ml <fr_ml@t-online.de> writes:

> Hello,
> there is an old problem with table alignment. It's mentioned here:
> https://emacs.stackexchange.com/q/30495/11498
>
> It occurs as far as I know only in 4 cases (last 4 rows):
>
> | 2 latin letters                                 | ab | (2 glyphs)            |
> | 2 arabic letters                                | من | ok (2 glyphs)         |
> | same but with 2 diacritics                      | مِنْ | also ok  (2 glyphs)   |
> | the arabich letter ا and then ل isn't a problem | ال | also ok (2 glyphs)    |
> | but ل and then ا is a problem (case1)           | لا | not ok (it's 1 glyph) |
> | also ل and then أ (case2)                       | لأ | " (it's 1 glyph)      |
> | also ل and then إ (case3)                       | لإ | " (it's 1 glyph)      |
> | also ل and then آ (case4)                       | لآ | " (it's 1 glyph)      |

Can you try with org-fold branch [1]? It implements a new way to
calculate string width.

[1] https://github.com/yantar92/org

Best,
Ihor

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

* Re: Table alignment problem
  2021-05-07 14:50   ` Ihor Radchenko
@ 2021-05-08  6:37     ` Jeremie Juste
  2021-05-08  7:45       ` Fr Ml
  2021-05-08  7:48     ` Fr Ml
  1 sibling, 1 reply; 9+ messages in thread
From: Jeremie Juste @ 2021-05-08  6:37 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode, Fr Ml


Hello,

You can have some success using [1] valign-mode.

https://github.com/casouri/valign

HTH,
Jeremie


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

* Re: Table alignment problem
  2021-05-08  6:37     ` Jeremie Juste
@ 2021-05-08  7:45       ` Fr Ml
  0 siblings, 0 replies; 9+ messages in thread
From: Fr Ml @ 2021-05-08  7:45 UTC (permalink / raw)
  To: Jeremie Juste, Ihor Radchenko; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/html, Size: 850 bytes --]

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

* Re: Table alignment problem
  2021-05-07 14:50   ` Ihor Radchenko
  2021-05-08  6:37     ` Jeremie Juste
@ 2021-05-08  7:48     ` Fr Ml
  2021-05-08  8:24       ` Ihor Radchenko
  1 sibling, 1 reply; 9+ messages in thread
From: Fr Ml @ 2021-05-08  7:48 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/html, Size: 2559 bytes --]

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

* Re: Table alignment problem
  2021-05-08  7:48     ` Fr Ml
@ 2021-05-08  8:24       ` Ihor Radchenko
  0 siblings, 0 replies; 9+ messages in thread
From: Ihor Radchenko @ 2021-05-08  8:24 UTC (permalink / raw)
  To: Fr Ml; +Cc: emacs-orgmode

Fr Ml <fr_ml@t-online.de> writes:

> Hello,
>
> thanks for the answer. I'm not familiar with github.
> Do you mean this program branch?:
> https://github.com/yantar92/org/tree/feature/org-fold%2Bpatches

Not really. I mean the main branch in the repo (which is
feature/org-fold-universal-core). The installation instructions are in
https://github.com/yantar92/org#installation

Best,
Ihor


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

end of thread, other threads:[~2021-05-08  8:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-04 19:17 Bug: org-store-link uses CUSTOM_ID instead of target point [9.4.4 (release_9.4.4 @ /usr/share/emacs/27.2/lisp/org/)] Fr Ml
2021-05-05  2:34 ` Ihor Radchenko
2021-05-06 12:41 ` Bastien
2021-05-06 20:08 ` Table alignment problem Fr Ml
2021-05-07 14:50   ` Ihor Radchenko
2021-05-08  6:37     ` Jeremie Juste
2021-05-08  7:45       ` Fr Ml
2021-05-08  7:48     ` Fr Ml
2021-05-08  8:24       ` Ihor Radchenko

Org-mode mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://orgmode.org/list/0 list/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 list list/ https://orgmode.org/list \
		emacs-orgmode@gnu.org
	public-inbox-index list

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.emacs.orgmode
	nntp://news.gmane.io/gmane.emacs.orgmode


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git