!rUhEinythPhVTdddsb:matrix.org

org-mode

793 Members
Digital and analog. | "Any sufficiently advanced hobby is indistinguishable from work." | https://orgmode.org115 Servers

Load older messages


SenderMessageTime
12 Nov 2024
@yantar92:matrix.orgyantar92 (Org contributor)my current priority is emacsconf, so some things get postponed a bit17:02:06
@yantar92:matrix.orgyantar92 (Org contributor)and I still need to finish my backlog from Aug17:03:49
@yantar92:matrix.orgyantar92 (Org contributor)2024-11-12_18-06_1.png
Download 2024-11-12_18-06_1.png
17:05:16
@jwwiegley:matrix.orgJohn WiegleyNo rush from me; I'm using a git clone of Org-mode now, so I just have the current master with my patch sitting on top.17:10:31
13 Nov 2024
@feeds:integrations.ems.hostFeeds New post in etc/ORG-NEWS: Add options to skip extra processing in org-babel-comint-with-output 04:11:06
@oxi_d:matrix.orgEu joined the room.07:54:11
@yantar92:matrix.orgyantar92 (Org contributor)OrgMeetup is about to start (in a few minutes). Join: https://bbb.emacsverse.org/b/iho-h7r-qg8-led15:56:54
@suckless_shill:matrix.orgviz
In reply to John Wiegley
I use xeft when I am stumbling around
How many files do you have indexed in the Xeft database? I find that Xeft is a bit slow to launch with 500 odd files indexed on my end. I think it is because it calls xeft-file-list-function lavishly. The slowness persists even after I patched it to disable the initial preview of a few files (without having typed any query just after M-x xeft RET).
18:19:15
@jwwiegley:matrix.orgJohn WiegleyI have 2,535 files being indexed. This is my config: https://github.com/jwiegley/dot-emacs/blob/master/init.org#xeft18:39:54
@jwwiegley:matrix.orgJohn Wiegleyin my experience, all interactions with xeft are nearly instant18:40:02
@jwwiegley:matrix.orgJohn Wiegleythe only downside is that it only searches whole files, and only shows the first few hits, so there are many hits that are valid but never visible, making the tool almost useless unless what I'm looking for occurs only once in a file18:40:38
@jwwiegley:matrix.orgJohn Wiegley This is why C-c a s is so superior that I'm willing to wait. I think I will configure that search to use org-ql instead. 18:40:53
@jwwiegley:matrix.orgJohn Wiegley

yes, these work much, much faster:

(defun org-config-find (query)
  (interactive "sQuery: ")
  (org-ql-search (org-agenda-files)
    `(and (or (todo)
              (todo "NOTE"))
          (not (habit))
          (rifle ,query))))

(defun org-config-find-any (query)
  (interactive "sQuery: ")
  (org-ql-search (org-agenda-files)
    `(rifle ,query)))
18:43:58
@jwwiegley:matrix.orgJohn WiegleyI should change those to search throughout a directory, though...18:44:16
@jwwiegley:matrix.orgJohn Wiegley * I have 2,496 files being indexed. This is my config: https://github.com/jwiegley/dot-emacs/blob/master/init.org#xeft18:57:06
@suckless_shill:matrix.orgvizInteresting. I guess I need to profile a bit closer, the report was almost useless 19:13:33
@suckless_shill:matrix.orgvizIn my case, I'm actually using xeft to search text in attached HTML files (which are usually bookmarks or such) so i cannot use org-ql and friends 19:14:41
@jwwiegley:matrix.orgJohn WiegleyDownload ScreenFlow.mp419:16:12
@suckless_shill:matrix.orgvizThanks for the config, i will have a look a t I it Ivit19:16:21
@jwwiegley:matrix.orgJohn Wiegley Here's my experience using xeft. Note that I don't type the x that enters xeft until milliseconds before you see the xeft window pop up 19:16:27
@suckless_shill:matrix.orgvizAt it*19:16:29
@jwwiegley:matrix.orgJohn Wiegley the first half of that window is just me getting ready to type C-c n x to enter it 19:16:48
@jwwiegley:matrix.orgJohn Wiegley * the first half of that video is just me getting ready to type C-c n x to enter it 19:16:54
@jwwiegley:matrix.orgJohn WiegleyIf it were any faster, I wouldn't believe it was doing anything at all...19:17:25
@suckless_shill:matrix.orgvizHmm yours is nearly instantaneous19:18:24
@suckless_shill:matrix.orgvizSomething is off on my side 19:18:32
@suckless_shill:matrix.orgvizFor some reason, the database folder is empty too even tho the files are indexed afaict19:18:54
@jwwiegley:matrix.orgJohn Wiegleyhmmm19:19:04
@jwwiegley:matrix.orgJohn Wiegleymy xeft.db directory is in ~/.emacs.d/data, and is 77 MB total19:19:35
@suckless_shill:matrix.orgvizHuh that is what I would expect but mine is completely empty 19:20:06

Show newer messages


Back to Room ListRoom Version: 1