emacsorphanage / direx Goto Github PK
View Code? Open in Web Editor NEWDirectory Explorer for GNU Emacs
Directory Explorer for GNU Emacs
Current, what I know is only set the face to `dired-ignored' for those files.
I hope could add a variable to make those files hidden in direx-mode.
Thanks
GUI version GNU Emacs 25.0.50.1 (x86_64-w64-mingw32)
of 2015-07-25 on KAEL
Direx, using the latest version of Direx from MELPA
Windows 7 x64 bit.
I would like to try this package. When I installed Direx, I try to start it wih M-x Direx:jump-to-directory but I get a unclear message:
cl-call-next-method: cl-call-next-method only allowed inside primary and around methods
When googling around, I found this thread but it's difficult to understand how this error occured in a package. It's more related with common Lisp than the package itself, it seems.
When I tried again with the empty Emacs configuration (emacs -q
), I still get the same message. It's unclear to me what I do need to solve this error, in order to get Direx working.
Any suggestion would be appreciated.
It seems that unless I change "hightlight" to "highlight" on line 255 of direx.el in function, I get many of the following messages: "Invalid face reference: hightlight" - unless I'm misunderstanding something, this looks like a typo (although I'm not an emacs expert...).
I'm running on Ubuntu 18.04 (Emacs 25.2.2 under VirtualBox on Windows, and 26.1 on WSL for Windows 10).
Couldn't find a way to create a new file in the current tree level.
A command (or customizable variable) to hide/show files specified by direx:ignored-files-regexp would be nice.
Whenever I left click on an item in Direx, emacs crashes with a fatal error 6. I am using Ubuntu 14.04 with GNOME 3. Let me know if there is any other information that would be useful.
Should the key sequence C-M-<right>
be bound to direx:down-item
, by any chance?
Because I thought that
(define-key map (kbd "C-M-d") 'direx:down-item)
is opposite to
(define-key map (kbd "C-M-u") 'direx:up-item)
then,
(define-key map (kbd "C-M-<right>") 'direx:up-item)
shouldn't be equivalent to
(define-key map (kbd "C-M-<left>") 'direx:up-item)
If the default binding is unintended, it may not be intuitive.
In my case, I've overwritten the key binding.
Thank you for your consideration.
I'm using global linum mode, so when I open direx, the line number appears. To avoid this I usually use a hook. However after having a quick overview of the source, I didn't found any.
Adding a basic hook to direx
woul enable to do this, and any other similar functionnality.
(I would have fork and done it if I knew where best would it be to put it)
Debugger entered--Lisp error: (void-function defgeneric)
(defgeneric direx:tree-equals (x y) "Returns t if X is equal to Y.")
load-with-code-conversion("/home/starenka/.emacs.d/elpa/direx-1.0.0/direx.el" "/home/starenka/.emacs.d/elpa/direx-1.0.0/direx.el" t t)
require(direx nil t)
(not (require 'direx nil t))
(if (not (require 'direx nil t)) (display-warning 'use-package (format "Cannot load %s" 'direx) :error) (condition-case err (progn (add-hook 'direx:direx-mode-hook #'(lambda nil (nlinum-mode -1) (set (make-local-variable ...) nil))) t) ((debug error) (funcall use-package--warning11 :config err))))
(condition-case err (if (not (require 'direx nil t)) (display-warning 'use-package (format "Cannot load %s" 'direx) :error) (condition-case err (progn (add-hook 'direx:direx-mode-hook #'(lambda nil (nlinum-mode -1) (set ... nil))) t) ((debug error) (funcall use-package--warning11 :config err)))) ((debug error) (funcall use-package--warning11 :catch err)))
load-with-code-conversion("/home/starenka/.emacs.d/global.el" "/home/starenka/.emacs.d/global.el" nil nil)
load-file("/home/starenka/.emacs.d/global.el")
load-user-file("global.el")
load-with-code-conversion("/home/starenka/.emacs.d/init.el" "/home/starenka/.emacs.d/init.el" t t)
load("/home/starenka/.emacs.d/init" noerror nomessage)
startup--load-user-init-file(#f(compiled-function () #<bytecode -0x1987cf5d2cfae12b>) #f(compiled-function () #<bytecode -0x1f3c6feddc0bc175>) t)
command-line()
normal-top-level()
using GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.16.0) of 2022-10-31, unofficial emacs-snapshot build: http://emacs.secretsauce.net
// edit
just using cl-prefixed variants of defmethod
& defgeneric
as suggested in emacs 29 changelog
** Support for old EIEIO functions is not autoloaded any more.
You need an explicit '(require 'eieio-compat)' to use 'defmethod'
and 'defgeneric' (which have been made obsolete in Emacs 25.1 with
'cl-defmethod' and 'cl-defgeneric').
Similarly you might need to '(require 'eieio-compat)' before loading
files that were compiled with an old EIEIO (Emacs<25).
will spawn more problems, which are far behind my lisp-fu
could you please create a tag to use this package using melpa stable [1].
Thanks
[1] : http://stable.melpa.org/
a shortcut that would expand all tabs would be very useful.
Hi,
I think line 255 contains a typo.
it should be
'mouse-face 'highlight
instead of
'mouse-face 'hightlight
.
This also stops producing the Message "Invalid face reference: hightlight" on hovering the direx-entries.
Best regards
schabilly
@m2ym do you have any plan for stable release?
To tell bookmark.el.
Hello, thanks for awesome elisp.
It seems to me that direx:previous-item ignores whatever prefix argument i pass in. On the other hand, direx:next-item properly handles it and moves the cursor that many. Is this a bug or a feature?
Instead of using the file system traversal for building the tree, this option would delegate getting the files from a function that would return the output of "git ls-files".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.