Comments (2)
Hi,
Thanks for reporting. I don't use this feature often, so I'm not as likely to notice if something breaks. It's possible that a change in Helm or in Org has caused this.
I would be glad if you could help debug it! Here's what I'd suggest:
- The error you showed involves a byte-compiled function. You should get a more useful error if the function isn't byte-compiled. So open
helm-org-rifle.el
andeval-buffer
it, then do the action again. - Use
toggle-debug-on-error
to enable a full backtrace.
Together, that will probably be enough to locate the problem. If not, you can try using Edebug. Edebug is powerful but complicated. It's thoroughly described in the manual, but the simplest way to use it is:
- In the source code buffer, put point on or in a function you want to debug.
C-u C-M-x
foredebug-defun
.- Perform the action that runs the code. Execution will stop when reaching the debugged function. You can then step through it with
n
,SPC
,o
,g
, etc, andq
to exit.
However, note that debugging within Helm sessions can be tricky because of changing buffers, windows, etc. Sometimes it's necessary to C-g
here or there, change the active window, etc. to exit the debugging session and restore control flow. I got the hang of it after a while, but it's hard to explain, more like a learned intuition. So in some cases, it may be easier to use old-fashioned message
calls for debugging than Edebug.
BTW, I'd recommend doing the debugging first in a clean config. You can easily use https://github.com/alphapapa/makem.sh to set one up (I haven't added that script to this package yet). For example:
$ cp ../makem.sh/makem.sh .
$ mkdir sandbox
$ ./makem.sh --sandbox-dir sandbox --auto-install interactive
That will install the latest version of all dependencies (except Org, which you will need to update manually if you want a newer version) into a new, permanent sandbox directory and launch an interactive Emacs session with helm-org-rifle
already loaded from the local repo. Then you can proceed with debugging it without local configuration getting in the way.
from org-rifle.
Hi there,
This is still an issue. I'll help debug if I find time -- my error is:
funcall-interactively: Wrong number of arguments: #[(candidate) "������A�¢�
�r�q�b�Š-�" [candidate input0 --dash-source-3-- buffer pos org-refile] 3 ("/home/mkennedy/.emacs.d/elpa/helm-org-rifle-20200512.1943/helm-org-rifle.elc" . 34384) nil], 0
from org-rifle.
Related Issues (20)
- Sort results by timestamp not working HOT 2
- auto-toggle inline images in *helm-org-rifle-occur* window? HOT 1
- Support for ivy? HOT 2
- Creating process pipe: Too many open files HOT 16
- tag inheritance and/or file matching HOT 1
- don't truncate headings HOT 3
- Changing value of helm-org-rifle-fontify-headings to nil causes helm-org-rifle-org-directory to stop working HOT 3
- org-narrow-to-subtree: prevents showing other parts of file, still shows from other files
- command-line client HOT 1
- Search gives up on small strings HOT 6
- Prioritising heading matches HOT 2
- Wrong number of arguments error with helm-org-rifle--refile HOT 1
- Req: Indication of status (progress, no results, which files have been searched?) HOT 1
- Req: Results in current file displayed first HOT 1
- helm-collect-matches error HOT 1
- Is there a way to do a exact match? HOT 1
- Disabling helm-org-rifle-fontify-headings breaks helm-org-rifle-agenda-files HOT 6
- helm-org-rifle-directories: how to add many directories? HOT 1
- Limit candidates to those with certain properties HOT 1
- Fix warning "Helm source <file>: after-init-hook Should be defined as a symbol HOT 1
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 org-rifle.