Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message on elfeed-add-feed on OS X #22

Closed
sgtpep opened this issue May 9, 2014 · 6 comments
Closed

Error message on elfeed-add-feed on OS X #22

sgtpep opened this issue May 9, 2014 · 6 comments

Comments

@sgtpep
Copy link

sgtpep commented May 9, 2014

First of all, thank you for your great alternative feed reader. It seems like minimalistic newsbeuter done right. Second, I'm totally noob to Emacs, and try using its great addons before I learnt the editor itself.

When I call elfeed-add-feed function the error message says "Symbol's function definition is void: x-get-selection-value". Maybe it's because of the absence of X11-related functions on Emacs for OS X.

@skeeto
Copy link
Owner

skeeto commented May 9, 2014

The function was misnamed, unfortunately, because that's a general clipboard access function. It just happens to talk to X on certain platforms. It works fine in Windows, for example. The misnaming will become even more obvious when Wayland starts replacing X, with fewer and fewer platforms where Emacs is actually talking to an X server.

It's supposed to work on OS X, too, but this may be a bug in Emacs. What version of Emacs are you using? Do you have an x-selection-value function defined on your platform? What about ns-get-selection-internal? I don't have a Mac, nor access to one, so I can't check for myself.

@sgtpep
Copy link
Author

sgtpep commented May 9, 2014

Sorry for not posting this earlier.

  • Emacs version: GNU Emacs 24.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) – the actual version downloaded from this site http://emacsformacosx.com/.
  • Both functions seems to be defined: (fboundp 'x-selection-value) and (fboundp 'ns-get-selection-internal) get t.

Now I understand that this issue may not be relevant to Elfeed, but thank you for giving your attention to it.

@sgtpep
Copy link
Author

sgtpep commented May 9, 2014

Here's the compile log, if it could be helful:

Compiling file /Users/danil/.emacs.d/elpa/elfeed-20140509.839/elfeed-db.el at Fri May  9 22:20:24 2014
Entering directory `/Users/danil/.emacs.d/elpa/elfeed-20140509.839/'
elfeed-db.el:255:1:Warning: Unused lexical variable `cmpfun'

Compiling file /Users/danil/.emacs.d/elpa/elfeed-20140509.839/elfeed-lib.el at Fri May  9 22:20:26 2014

Compiling file /Users/danil/.emacs.d/elpa/elfeed-20140509.839/elfeed-pkg.el at Fri May  9 22:20:26 2014

Compiling file /Users/danil/.emacs.d/elpa/elfeed-20140509.839/elfeed-search.el at Fri May  9 22:20:26 2014

Compiling file /Users/danil/.emacs.d/elpa/elfeed-20140509.839/elfeed-show.el at Fri May  9 22:20:27 2014

Compiling file /Users/danil/.emacs.d/elpa/elfeed-20140509.839/elfeed.el at Fri May  9 22:20:27 2014

In end of data:
elfeed.el:407:1:Warning: the function `x-get-selection-value' is not known to
    be defined.

Compiling file /Users/danil/.emacs.d/elpa/elfeed-20140509.839/xml-query.el at Fri May  9 22:20:28 2014

@sgtpep
Copy link
Author

sgtpep commented May 11, 2014

Just want to note, that Emacs for X11 on OS X installed with brew install emacs --with-x don't complain about x-get-selection-value.

@oystersauce8
Copy link

oystersauce8 commented Jan 4, 2017

This issue can probably be closed now.
(Upgrading to elfeed >= 2.0.1 should resolve the issue, because it includes commit d54bc55)

@skeeto
Copy link
Owner

skeeto commented May 8, 2018

Closed by d54bc55. Thanks, @oystersauce8.

@skeeto skeeto closed this as completed May 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants