Comments (9)
I'm not able to reproduce this. Are you seeing this with the latest version?
from helpful.
Just updated and this is still happening to me. Is there any information I should get to make it easy to identify this problem?
from helpful.
What Emacs version?
from helpful.
GNU Emacs 26.0.50 (build 1, x86_64-apple-darwin16.7.0, NS appkit-1504.83 Version 10.12.6 (Build 16G29)) of 2017-09-05
from helpful.
I get the same error with the newest Emacs under arch Linux:
Debugger entered--Lisp error: (wrong-type-argument stringp C-source)
string-match("\\`src/\\(.*\\.\\(c\\|m\\)\\)\\'" C-source)
#f(compiled-function (symbol type library) "Search for SYMBOL's definition of type TYPE in LIBRARY.\nVisit the library in a buffer, and return a cons cell (BUFFER . POSITION),\nor just (BUFFER . nil) if the definition can't be found in the file.\n\nIf TYPE is nil, look for a function definition.\nOtherwise, TYPE specifies the kind of definition,\nand it is interpreted via `find-function-regexp-alist'.\nThe search is done in the source for library LIBRARY." #<bytecode 0x196289f>)(system-type defvar C-source)
ad-Advice-find-function-search-for-symbol(#f(compiled-function (symbol type library) "Search for SYMBOL's definition of type TYPE in LIBRARY.\nVisit the library in a buffer, and return a cons cell (BUFFER . POSITION),\nor just (BUFFER . nil) if the definition can't be found in the file.\n\nIf TYPE is nil, look for a function definition.\nOtherwise, TYPE specifies the kind of definition,\nand it is interpreted via `find-function-regexp-alist'.\nThe search is done in the source for library LIBRARY." #<bytecode 0x196289f>) system-type defvar C-source)
apply(ad-Advice-find-function-search-for-symbol #f(compiled-function (symbol type library) "Search for SYMBOL's definition of type TYPE in LIBRARY.\nVisit the library in a buffer, and return a cons cell (BUFFER . POSITION),\nor just (BUFFER . nil) if the definition can't be found in the file.\n\nIf TYPE is nil, look for a function definition.\nOtherwise, TYPE specifies the kind of definition,\nand it is interpreted via `find-function-regexp-alist'.\nThe search is done in the source for library LIBRARY." #<bytecode 0x196289f>) (system-type defvar C-source))
find-function-search-for-symbol(system-type defvar C-source)
find-variable-noselect(system-type C-source)
helpful--definition(system-type nil)
helpful--source(system-type nil)
helpful-update()
helpful-variable(system-type)
funcall-interactively(helpful-variable system-type)
#<subr call-interactively>(helpful-variable nil nil)
apply(#<subr call-interactively> helpful-variable (nil nil))
call-interactively@ido-cr+-record-current-command(#<subr call-interactively> helpful-variable nil nil)
apply(call-interactively@ido-cr+-record-current-command #<subr call-interactively> (helpful-variable nil nil))
call-interactively(helpful-variable nil nil)
command-execute(helpful-variable)
from helpful.
@dakra what version of Emacs exactly? Are you using a stable release, or something newer?
@dakra @Townk could you see if find-function-C-source-directory
is set?
from helpful.
@Wilfred I use Emacs from master GNU Emacs 27.0.50 (build 7, x86_64-pc-linux-gnu, GTK+ Version 3.22.24) of 2017-10-12
And find-function-C-source-directory
is set.
But I just tested it again and now it works again.
I remember that it used to work and then it broke at some point and now it's working again :)
from helpful.
Excellent, glad to hear it.
from helpful.
Hmm, I updated my Emacs and now it's not working again :(
Not sure if some package broke it or the new Emacs update.
But the issue doesn't really bother me too much, so don't want to spend too much time debugging ;)
find-function-C-source-directory
is still set.
from helpful.
Related Issues (20)
- Wrong-type-argument error on pseudo-function symbols HOT 1
- Request new release HOT 2
- Support for other languages? HOT 1
- Question: using ido with helpful-* HOT 1
- Can `helpful-key` show which key, key combo, or key sequence was pressed? HOT 3
- helpful--docstring-advice failure against GNU Emacs 28.1 HOT 2
- Find all references not working on latest emacs29 build from git HOT 3
- [Help] using helpful with ivy
- Treatment of local/global values
- Can't install using Straight.el: `Wrong type argument: listp, 1` HOT 2
- Suggestion: `helpful--navigate` should respect `display-buffer-alist` HOT 1
- RFE: Duplicate help-mode's `c`, `i` and `s` bindings HOT 1
- Docstrings should not double-escape strings
- helpful-variable not working
- invalid-read-syntax "] in a list" 2 22
- How do you go back? HOT 3
- Handling of left/right single quotation marks
- Case in disambiguation of variable or function definition of a symbol
- New stable release for Emacs 29? HOT 1
- forward-sexp: Scan error: "Unbalanced parentheses", 121867, 1 with Emacs 29 HOT 18
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 helpful.