Skip to main content
16 events
when toggle format what by license comment
May 7, 2016 at 19:38 comment added Drew The bookmark looks fine. (I assume that you loaded library ls-lisp.el? If not, you need to do so, and do so before you set that variable.) Please follow up by email (see file header). This is not the place for extended conversation or debugging. Thx. Before fiddling with bookmarking, you need make sure that diredp-add-to-dired-buffer is working properly for you. Just load dired+.el and M-x load-library RET ls-lisp RET, and try M-x diredp-add-to-dired-buffer.
May 7, 2016 at 15:10 comment added zeltak sorry for the late response (life work et al ;-)). i did try evaling (setq ls-lisp-use-insert-directory-program nil) but i still get the error. maybe im doing something wrong. here is my current bookmark: paste.xinu.at/5vofqr. happy to help in anyway you need. best Z
May 1, 2016 at 14:33 comment added Drew ping. Could you please try setting ls-lisp-use-insert-directory-program to nil, to see if that solves the problem? If it does then I'll adjust the code to take care of this, one way or another.
Apr 24, 2016 at 14:05 comment added Drew Note that if you load ls-lisp.el then you can still control when/where and whether its code is used for inserting a directory, by setting or binding variable ls-lisp-use-insert-directory-program. If that variable is nil then it uses the ls-lisp code. Otherwise it uses the default (e.g. ls) code. You could, e.g., load ls-lisp but leave that var non-nil and just bind it to nil in the lambda in bmkp-set-dired-bookmark-for-files. If you confirm what is happening (i.e., that loading ls-lisp fixes the problem) then I'll add that nil binding to the code.
Apr 24, 2016 at 14:04 comment added Drew More precisely, ls-lisp.el advises insert-directory to use ls-lisp--insert-directory instead.
Apr 24, 2016 at 13:55 comment added Drew Vanilla Emacs that is not on MS Windows does not use ls-lisp.el. Instead, it uses the ls that is provided by the OS (e.g. GNU/Linux). The code for insert-directory is different. I cannot test on a non-Windows platform. But you can try loading standard library ls-lisp, by putting (require 'ls-lisp) in your init file. See if that helps. Let me know (see the email contact info in the file header). It might be appropriate to file an Emacs bug/enhancement request for this. Note that ls-lisp is better for some things and not as good for other things, compared with built-in ls.
Apr 24, 2016 at 4:36 comment added zeltak this is awesome, thx so much. only 1 tiny issue remains. the doc says: To instead include the contents of a directory, use a glob pattern: put /*' after the directory name. when i do that i get an error when trying to launch the bookmark: insert-directory: Reading directory: no such file or directory, /home/zeltak/ZH_tmp/*`. any clue? this is the current elisp entry for the bookmark: paste.xinu.at/11K
Apr 23, 2016 at 22:40 history edited Gilles 'SO- stop being evil' CC BY-SA 3.0
added 1 character in body
Apr 23, 2016 at 22:34 history edited Drew CC BY-SA 3.0
added 5 characters in body
Apr 23, 2016 at 22:24 comment added Drew OK, I added a command that does this to Bookmark+. Copy it from here or get it from the latest bookmark+-1.el.
Apr 23, 2016 at 22:22 history edited Drew CC BY-SA 3.0
added 1555 characters in body
Apr 23, 2016 at 17:37 comment added zeltak thx alot drew. part A (diredp-dired-union) works great! im still stuck on part B since i dont know how to code (im an academic in the humaneties..thats my excuse at least ;-)). can you show me an example on how to use the function bookmark and tie it to the diredp-dired-union? thx alot! Z
Apr 23, 2016 at 16:09 history edited Drew CC BY-SA 3.0
added 666 characters in body
Apr 23, 2016 at 15:39 history edited Drew CC BY-SA 3.0
added 308 characters in body
Apr 23, 2016 at 15:33 history edited Drew CC BY-SA 3.0
added 308 characters in body
Apr 23, 2016 at 15:26 history answered Drew CC BY-SA 3.0