[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bongo-devel] Re: Missing x-get-selection, m3u wish
From: |
Daniel Jensen |
Subject: |
[bongo-devel] Re: Missing x-get-selection, m3u wish |
Date: |
Sat, 03 Feb 2007 12:03:02 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux) |
Dieter Deyke <address@hidden> writes:
> I am trying to use bongo-insert-uri on my emacs running natively on
> Windows XP, but do get a missing function error for x-get-selection.
> Could it be that the code using it is X windows specific?
I think I found the bug, but I cannot test it myself. On MS Windows,
x-get-selection is redefined, but x-get-clipboard is not. Does this
patch fix the problem for you?
--- bongo-old/bongo.el 2007-01-15 14:15:44.000000000 +0100
+++ bongo-new/bongo.el 2007-02-03 11:53:21.000000000 +0100
@@ -6171,7 +6171,7 @@
(let ((primary (x-get-selection)))
(and (bongo-uri-p primary) primary)))
(and (x-selection-exists-p 'CLIPBOARD)
- (let ((clipboard (x-get-clipboard)))
+ (let ((clipboard (x-get-selection 'CLIPBOARD)))
(and (bongo-uri-p clipboard) clipboard)))))
(uri
(read-string (concat "Insert URI"
> BTW, it would be nice to be able to insert .m3u files into a playlist
> buffer.
You can customize `bongo-custom-backend-matchers' for this. Or maybe
you would like the m3u files to be handled in a special way?
- [bongo-devel] Missing x-get-selection, m3u wish, Dieter Deyke, 2007/02/02
- [bongo-devel] Re: Missing x-get-selection, m3u wish, Dieter Deyke, 2007/02/02
- [bongo-devel] Re: Missing x-get-selection, m3u wish,
Daniel Jensen <=
- [bongo-devel] Re: Missing x-get-selection, m3u wish, Dieter Deyke, 2007/02/03
- Re: [bongo-devel] Re: Missing x-get-selection, m3u wish, Daniel Brockman, 2007/02/03
- Re: [bongo-devel] Re: Missing x-get-selection, m3u wish, Dieter Deyke, 2007/02/04
- Re: [bongo-devel] Re: Missing x-get-selection, m3u wish, Daniel Brockman, 2007/02/04
- Re: [bongo-devel] Re: Missing x-get-selection, m3u wish, Dieter Deyke, 2007/02/04
- Re: [bongo-devel] Re: Missing x-get-selection, m3u wish, Daniel Brockman, 2007/02/04
- [bongo-devel] Re: Missing x-get-selection, m3u wish, Daniel Jensen, 2007/02/05
- Re: [bongo-devel] Re: Missing x-get-selection, m3u wish, Daniel Brockman, 2007/02/05
- [bongo-devel] Re: Missing x-get-selection, m3u wish, Dieter Deyke, 2007/02/05
- Re: [bongo-devel] Re: Missing x-get-selection, m3u wish, Daniel Brockman, 2007/02/05