[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] heads up: problems with getting X secondary selection in recent Emac
From: |
Eric S Fraga |
Subject: |
[O] heads up: problems with getting X secondary selection in recent Emacs |
Date: |
Thu, 20 Nov 2014 09:45:35 +0000 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
Hello,
there appear to be some problems with recent development/snapshot
versions of emacs with respect to getting the X selections. Org uses
these automatically within org-capture and, at best, causes long delays
in capturing anything and, at worst, doesn't work at all.
I have found that letting org only consider the PRIMARY and CLIPBOARD
selections sort of solves the problem for the time being:
--8<---------------cut here---------------start------------->8---
diff --git a/lisp/org-capture.el b/lisp/org-capture.el
index 65de098..f94becb 100644
--- a/lisp/org-capture.el
+++ b/lisp/org-capture.el
@@ -1534,7 +1534,8 @@ The template may still contain \"%?\" for cursor
positioning."
(v-c (and (> (length kill-ring) 0) (current-kill 0)))
(v-x (or (org-get-x-clipboard 'PRIMARY)
(org-get-x-clipboard 'CLIPBOARD)
- (org-get-x-clipboard 'SECONDARY)))
+ ;;(org-get-x-clipboard 'SECONDARY)
+ ))
(v-t (format-time-string (car org-time-stamp-formats) ct1))
(v-T (format-time-string (cdr org-time-stamp-formats) ct1))
(v-u (concat "[" (substring v-t 1 -1) "]"))
--8<---------------cut here---------------end--------------->8---
I'm not suggesting this as a patch to org but only providing this for
anybody that may be having the problems I am having.
--
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-578-g4df091
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] heads up: problems with getting X secondary selection in recent Emacs,
Eric S Fraga <=