Comments (4)
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.
(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.
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.
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)
- Add MS-Windows support ? HOT 17
- how to exclude a given directory HOT 2
- How to use xeft on macOS? Thank you very much. HOT 1
- xapian didn't support long file path HOT 4
- Description typo HOT 1
- How to exclude indexing folders? Thank you very much. HOT 2
- How to use xeft-file-list-function correctly? HOT 4
- backup usage HOT 8
- Show file name in xeft buffer HOT 2
- Show preview for all files as one goes through each one HOT 5
- some extensions are not ignored, and some non-ignored extensions are ignored HOT 6
- Numbers/digits in query are ignored HOT 4
- -<token> does not work HOT 5
- face highlighting on random entry when opening left HOT 2
- Could xeft support arm64? HOT 9
- Having trouble previewing files with xeft? HOT 1
- xeft isn't finding the dynamic's module path HOT 2
- how to use it with org-roam HOT 4
- xeft not working on Ubuntu 24.04 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xeft.