Giter Club home page Giter Club logo

Comments (4)

wakatara avatar wakatara commented on August 26, 2024 1

Doh. Yes, /opt/homebrew/. Obviously, I am flipping between linux and osx too much. #facepalm

Compiles now. Will kick the tires and let you know, though looks great with the titles showing now! Thank you!! 😍

from xeft.

casouri avatar casouri commented on August 26, 2024

(apologies, src.ht does not have an issue tracking functionality... :-/ Unless I missed it when I signed up.).

That's my fault, I didn't configure the repository correctly, I'm new to sr.ht ;-)

Loving xeft and how fast it is.

Thanks for the kind words 😊

Use filename as title with "shortpath" for directories ie (~/Documents/org/areas/blog/ becomes ~D/o/a/b in display)

Extract title blocks from the documents when they're indexed for major modes like org, md, adoc

I added a new variable xeft-title-function, you can customize it to produce "short paths", the default implementation is improved to handle #+TITLE: that's not on the first line: the original implementation does handle it but assumes it's on the first line.

(ps> also, if you could add the cutomization options possible in the README that would be great. I tried changing the title font for example by hooking it into my nano theme, but failed ).

I added description of other customization variables in README. For the title, you want to change the xeft-excerpt-title face.

from xeft.

wakatara avatar wakatara commented on August 26, 2024

Cool! Wow, thanks for adding those things in so quickly. Impressed. 8-]

I just pulled the latest code via straight though and am getting the following error compiling the dynamic module (which worked before with the config I had in straight)

c++ xapian-lite.cc -o xapian-lite.dylib -shared -fPIC -I/include -std=c++11 -L/lib -lxapian
xapian-lite.cc:40:10: fatal error: 'xapian.h' file not found
#include <xapian.h>
         ^~~~~~~~~~
1 error generated.
make: *** [xapian-lite.dylib] Error 1
c++ xapian-lite.cc -o xapian-lite.dylib -shared -fPIC -I/opt/local//include -std=c++11 -L/opt/local//lib -lxapian
xapian-lite.cc:40:10: fatal error: 'xapian.h' file not found
#include <xapian.h>
         ^~~~~~~~~~
1 error generated.
make: *** [xapian-lite.dylib] Error 1

Do we need the header file included? (I could not recall if it was in the last version or not.). Headers are being copied over to the build directory though so I think this is either a missed file or pointing at the wrong thing.

Or lemme know if it a strange "homebrew on M1 mac" issue due to directories. =]

from xeft.

casouri avatar casouri commented on August 26, 2024

The header file is provided by the xapian package, which in turn should be installed by system package manager. I think you want to use /opt/homebrew for PREFIX when compiling the dynamic module. That's where homebrew install libraries, IIUC.

from xeft.

Related Issues (20)

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.