On Wed, Dec 9, 2020 at 10:25 PM Samuel Wales wrote: > just so everybody is on the same page, i think carsten is talking > about tec's code that generates html id's that are then used in urls? > Yes, I mean this code, or something like this, to aid the automatic creation of links that are somewhat stable. I have been missing this very much. Kind regards Carsten > > imo great idea. > > > On 12/9/20, Carsten Dominik wrote: > > I think we should merge this code into Org. > > > > Kind regards > > > > Carsten > > > > On Wed, Dec 9, 2020 at 3:54 AM TEC wrote: > > > >> > >> Hi Sam, link stability is a concern I've had too. I currently have a fix > >> (or at the very least, an improvement) for this in my config where I > >> overwrite org-export-get-reference. (see: > >> > https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftecosaur.github.io%2Femacs-config%2Fconfig.html%23nicer-generated-heading&data=04%7C01%7Cc.dominik%40uva.nl%7C64cff9b5261046b136f808d89c88ebcf%7Ca0f1cacd618c4403b94576fb3d6874e5%7C1%7C0%7C637431459175966570%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=jE5t3HVjViPeswx%2BQP7Qe0kdrHTZaS3r4WByndfU71g%3D&reserved=0 > >> ). > >> > >> I raised this on the list a while ago --- > >> > https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Forgmode.org%2Flist%2FE1jxAjq-0004Dk-LH%40lists.gnu.org%2F&data=04%7C01%7Cc.dominik%40uva.nl%7C64cff9b5261046b136f808d89c88ebcf%7Ca0f1cacd618c4403b94576fb3d6874e5%7C1%7C0%7C637431459175966570%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=%2Fpl%2BCWuuwqY2voqj0VZpu0MCqniow5%2FRjixB8SycDUM%3D&reserved=0 > but there > >> didn't seem to be much interest. > >> > >> All the best, > >> Timothy > >> > >> Samuel Wales writes: > >> > >> > when you link to a section using toc, you get a link like > >> > > >> > > >> > https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fthekafkapandemic.blogspot.com%2F2020%2F02%2Fcrimes-against-humanity_3.html%23org080f0ab&data=04%7C01%7Cc.dominik%40uva.nl%7C64cff9b5261046b136f808d89c88ebcf%7Ca0f1cacd618c4403b94576fb3d6874e5%7C1%7C0%7C637431459175966570%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=nHDQx0BMqTeDGLt3OFCAWcLoCrpDoWEbticHf9NT1ZY%3D&reserved=0 > >> > > >> > will these links break if somebody copies them and pastes them > >> > elsewhere? what if you add a section? > >> > > >> > there doesn't seem to be a perfect solution, short of adding custom id > >> > or id to everything, but perhaps a fuzzy hash of the header and > >> > contents of the section could be used? or a strict hash of the > >> > header? is anything like this being done? just curious. > >> > >> > >> > > > > > -- > The Kafka Pandemic > > Please learn what misopathy is. > > https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fthekafkapandemic.blogspot.com%2F2013%2F10%2Fwhy-some-diseases-are-wronged.html&data=04%7C01%7Cc.dominik%40uva.nl%7C64cff9b5261046b136f808d89c88ebcf%7Ca0f1cacd618c4403b94576fb3d6874e5%7C1%7C0%7C637431459175966570%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=db%2FAmlA1knJ%2Bph6jM%2B6AvXND%2BdMT8YFpmmcT33kqJrg%3D&reserved=0 >