Hello again:
I think I have found where the problem is. On line 7 of
`org-sort-remove-invisible' there are two spurious spaces (in the `format'
expression):
7 org-emph-re (lambda (m) (format " %s " (match-string 4 m)))
When the spaces are removed, then the items with emphasis marks are
sorted correctly in the list:
7 org-emph-re (lambda (m) (format "%s" (match-string 4 m)))
Can this be a fix? Or were those spaces there for any other reason?
Best regards,
Juan Manuel
Juan Manuel Macías <maciaschain@posteo.net> writes:
> Hi,
>
> Consider this list:
>
> - vol.
> - adj.
> - /circa/
> - /vid./
>
> If I evaluate `(org-sort-list t ?a)', it seems that `org-sort-list'
> doesn't sort correctly items that contain an emphasis mark:
>
> - /circa/
> - /vid./
> - adj.
> - vol.
>
> I don't know if there is any solution to this, or if I'm doing something wrong...
>
> Best regards,
>
> Juan Manuel
>