Giter Site home page Giter Site logo

Make local CLHS URLs shorter about clhs HOT 3 CLOSED

Hexstream avatar Hexstream commented on September 25, 2024
Make local CLHS URLs shorter

from clhs.

Comments (3)

Hexstream avatar Hexstream commented on September 25, 2024

Fix committed: 297bb50

(At first I didn't know how to create a symlink easily, I thought of doing it from CL but that's not portable and I didn't want to introduce a dependency... However I finally found out that emacs has a convenient make-symbolic-link function. So I just use that in clhs-use-local.el. This might not work on some platforms but evaluating (setq quicklisp-clhs-inhibit-symlink-p t) before loading clhs-use-local.el will inhibit creation and usage of the symlink in ~/quicklisp/.)

This will be part of upcoming version 0.5 (I'll close this issue when it's released), which will most likely be in the next (May) quicklisp dist.

I did cut out the "HyperSpec-7-0" part with the symlink and didn't yet add any sort of disclaimer, the worry is that someone would copy the HyperSpec directory via the symlink without realizing that the "real" top-level directory is HyperSpec-7-0, thus inadvertently creating a technically incomplete copy... I should see to this.

from clhs.

Hexstream avatar Hexstream commented on September 25, 2024

I did cut out the "HyperSpec-7-0" part with the symlink and didn't yet add any sort of disclaimer, the worry is that someone would copy the HyperSpec directory via the symlink without realizing that the "real" top-level directory is HyperSpec-7-0, thus inadvertently creating a technically incomplete copy... I should see to this.

61704fc takes care of this (warning in README should be enough).

from clhs.

Hexstream avatar Hexstream commented on September 25, 2024

Fixed in 0.5, which is available at http://www.hexstreamsoft.com/projects/clhs/clhs_latest.tar.gz
(This should be in the May Quicklisp dist.)

A typical clhs URL now looks like this by default, thanks to an automatically created symlink:
file:///home/hexstream/quicklisp/HyperSpec/Body/f_mk_ins.htm

It's even shorter than the original!
http://www.lispworks.com/documentation/HyperSpec/Body/f_mk_ins.htm

from clhs.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.