Giter VIP home page Giter VIP logo

Comments (9)

Wilfred avatar Wilfred commented on July 28, 2024

I'm not able to reproduce this. Are you seeing this with the latest version?

from helpful.

Townk avatar Townk commented on July 28, 2024

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.

Wilfred avatar Wilfred commented on July 28, 2024

What Emacs version?

from helpful.

Townk avatar Townk commented on July 28, 2024

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.

dakra avatar dakra commented on July 28, 2024

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.

Wilfred avatar Wilfred commented on July 28, 2024

@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.

dakra avatar dakra commented on July 28, 2024

@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.

Wilfred avatar Wilfred commented on July 28, 2024

Excellent, glad to hear it.

from helpful.

dakra avatar dakra commented on July 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.