Hello,

Martin Carlé <m...@aiguphonie.com> writes:

> Guess it's a bug that fuzzy links won't match a commented headline
> whereas the other internal link types (custom_id and org ID) do.
>
> Or is there a special purpose for this specific type of link regarding 
> comments?
>
> Just check the following example:
>
> ,------------------------------------------------------------------------------------------
> | * First headline                                                            
>              
> | 1. fuzzy link to [[Second headline]] -- ok                                  
>              
> | 2. fuzzy link to commented [[Third headline]] -- fails                      
>              
> |                                                                             
>              
> | 3. custom_id link to commented [[#Fourth][Fourth headline]] -- ok           
>              
> | 4. id link to commented [[id:D91E1EF3-2918-4F37-98EB-E2C92ACBE372][Fifth 
> headline]] -- ok
> |                                                                             
>              
> | * Second headline                                                           
>              
> |                                                                             
>              
> | * COMMENT Third headline                                                    
>              
> |                                                                             
>              
> | * COMMENT Fourth headline                                                   
>              
> | :PROPERTIES:                                                                
>              
> | :CUSTOM_ID: Fourth                                                          
>              
> | :END:                                                                       
>              
> |                                                                             
>              
> | * Fifth headline                                                            
>              
> | :PROPERTIES:                                                                
>              
> | :ID:       D91E1EF3-2918-4F37-98EB-E2C92ACBE372                             
>              
> | :END:                                                                       
>              
> |                                                                             
>              
> `------------------------------------------------------------------------------------------

Thank you. This should be fixed in
22f732c2553cc8ab42e8465018042bf0f49b6f4f.

However, this kind of link is sort of pointless, since it is bound to
fail during export, as the targeted headline will be removed. As
a consequence, this document cannot be exported, even though COMMENT
keyword is only meaningful during export.


Regards,

-- 
Nicolas Goaziou

Reply via email to