From: Bastien <bzg@gnu.org>
To: Alexander Vorobiev <alexander.vorobiev@gmail.com>
Cc: Fabrice Popineau <fabrice.popineau@supelec.fr>,
emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: [PATCH] org-compat: Support for getting data from Windows clipboard
Date: Tue, 19 Nov 2013 10:40:11 +0100 [thread overview]
Message-ID: <87r4achgqs.fsf@bzg.ath.cx> (raw)
In-Reply-To: <CAGOCFPVWdw4ZOJiQ27g8cQA597KGtiO9eBJwFVV1Gwyh7u96dg@mail.gmail.com> (Alexander Vorobiev's message of "Mon, 18 Nov 2013 22:53:16 -0600")
[-- Attachment #1: Type: text/plain, Size: 94 bytes --]
Hi Alexander,
can you test the attached patch and let me know if it works for you?
Thanks,
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: x-select-w32.patch --]
[-- Type: text/x-diff, Size: 483 bytes --]
diff --git a/lisp/org-compat.el b/lisp/org-compat.el
index b714f13..2eea724 100644
--- a/lisp/org-compat.el
+++ b/lisp/org-compat.el
@@ -350,7 +350,8 @@ Works on both Emacs and XEmacs."
(or (x-get-selection value 'UTF8_STRING)
(x-get-selection value 'COMPOUND_TEXT)
(x-get-selection value 'STRING)
- (x-get-selection value 'TEXT))
+ (x-get-selection value 'TEXT)
+ (x-get-selection-value))
(error nil)))))
(defun org-propertize (string &rest properties)
[-- Attachment #3: Type: text/plain, Size: 14 bytes --]
--
Bastien
next prev parent reply other threads:[~2013-11-19 9:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-17 0:42 [PATCH] org-compat: Support for getting data from Windows clipboard Alexander Vorobiev
2013-11-17 8:20 ` Bastien
2013-11-18 0:31 ` Alexander Vorobiev
2013-11-18 9:25 ` Bastien
2013-11-18 11:34 ` Fabrice Popineau
2013-11-19 4:53 ` Alexander Vorobiev
2013-11-19 9:40 ` Bastien [this message]
2013-11-21 23:21 ` Alexander Vorobiev
2013-11-22 9:54 ` Bastien
2013-11-24 21:37 ` Alexander Vorobiev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r4achgqs.fsf@bzg.ath.cx \
--to=bzg@gnu.org \
--cc=alexander.vorobiev@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=fabrice.popineau@supelec.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.