From unknown Sat Jun 14 18:41:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23629: 25.0.94; Calc: Yanking with mouse-2 does not use X primary selection/clipboard Resent-From: Bastian Beischer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 May 2016 11:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23629 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23629@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14643478776940 (code B ref -1); Fri, 27 May 2016 11:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 May 2016 11:17:57 +0000 Received: from localhost ([127.0.0.1]:41258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6Fm9-0001ns-88 for submit@debbugs.gnu.org; Fri, 27 May 2016 07:17:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55753) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6Fm7-0001nf-N6 for submit@debbugs.gnu.org; Fri, 27 May 2016 07:17:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6Flw-0007uX-DO for submit@debbugs.gnu.org; Fri, 27 May 2016 07:17:50 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53555) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6Flw-0007uJ-A1 for submit@debbugs.gnu.org; Fri, 27 May 2016 07:17:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46709) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6Flt-0005pA-7V for bug-gnu-emacs@gnu.org; Fri, 27 May 2016 07:17:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6Flp-0007rp-TN for bug-gnu-emacs@gnu.org; Fri, 27 May 2016 07:17:41 -0400 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:36957) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6Flp-0007qF-Hu for bug-gnu-emacs@gnu.org; Fri, 27 May 2016 07:17:37 -0400 Received: by mail-wm0-x22d.google.com with SMTP id z87so132983341wmh.0 for ; Fri, 27 May 2016 04:17:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=JXkAFfl8aDZJ7kpOUtRq8KDH/8Cq6Zmu3xAl+yn/LpA=; b=bUOCECEfy9RxKwZVXOFIA4R43if8lw1IELbr3BeZ8iwHyjfpTY4lrXvFf8et62JyfD OxFwL9WxF+b12PF3wLzeBikj+EBEW0CwvTawR7XvD0QkTCSFyFOYkzF9Nu9HBWpDEkt0 x+SaYW3tGcD/TW0pwyMqVsj6A3O1GpjV7vkxMuGIXyczEeIMPmhwHE1DTyR45ietwlHh r/7nLVwqaq2/PU2wwniI0Nzay7nom7EEQO28yA+L4METfVbhg3wZaY2SCH/htRmfEmnW kakwCyaZCbAIGwNE8dyUDFf70ddzI3FvvHYuW3NHzIztnKWe1mdalWDdu/vm2/gNjdCm dD2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:subject:date:message-id :mime-version:content-transfer-encoding; bh=JXkAFfl8aDZJ7kpOUtRq8KDH/8Cq6Zmu3xAl+yn/LpA=; b=EpFJRkzBloHgmvZlD+ObfsEc7NsZgqCmJXYH5fBjPQ0QoyYXvsZaJG66q4aLxjOzBG mZGQIdrwGTKpVdRoimb+U1LOD4dfh4At8rlyGf/8WRaafCoFtg+dLOdZv25zhqmx68fr 80M5jfZy9JeTmPm1tDeqktqLx1E6FnW/LXeH6EfHcLvLEJKuQljVOKgm349elmCMC7gC 9Xek6HLN9k3ZBy4RSEIkc3sEuN4VEGAhrQh0KlRL0ItZNYE7vmXBRxtJtlSQsCy0qVCk 8EmLJknX8x47CZdV8s7yOynOjMH43z70bMQKCanqH4obZjSJTgC3ubTHHLSfWefVjkTf S4gA== X-Gm-Message-State: ALyK8tJipToGdELx9DFRzw9VJKRfeya8XYy7HpB8nvuWpAJeVb9moRROaM0rBucDv6bXVA== X-Received: by 10.194.184.169 with SMTP id ev9mr14033288wjc.27.1464347856488; Fri, 27 May 2016 04:17:36 -0700 (PDT) Received: from beischer-w520.gmail.com (pb-d-128-141-132-92.cern.ch. [128.141.132.92]) by smtp.gmail.com with ESMTPSA id u64sm8109591wmd.8.2016.05.27.04.17.35 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 27 May 2016 04:17:35 -0700 (PDT) From: Bastian Beischer Date: Fri, 27 May 2016 13:17:31 +0200 Message-ID: <874m9j21is.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) I have customized 'select-enable-primary' to 't' and I'm using it to paste the X primary selection with 'mouse-2' often. This invokes mouse-yank-primary and that works fine. It does not work well in calc, though. In calc mouse-2 is bound to calc-yank, which takes the thing to be yanked from the kill-ring. I think it would be appropriate to add a dedicated function "calc-yank-mouse" which forwards the data obtained by 'gui-selection-value' to 'calc-yank'. I'm not sure that 'gui-selection-value' is the correct function: What I mean is 'a function which respects 'select-enable-primary' and 'select-enable-clipboard' and returns the right thing from the corresponding X buffer'. To reproduce: 1) emacs -Q 2) M-x calc 3) Select a number in some other X window (xterm for example) with the mouse 4) Go back to emacs *calc* buffer and press mouse-2. In GNU Emacs 25.0.94.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.20.6) of 2016-05-25 built on beischer-w520 Repository revision: 897fb6fa49d5ffc85f0a796e7414a43ef05ad096 Windowing system distributor 'The X.Org Foundation', version 11.0.11803000 Configured using: 'configure --prefix=3D/usr --sysconfdir=3D/etc --libexecdir=3D/usr/lib --localstatedir=3D/var --mandir=3D/usr/share/man --with-gameuser=3D:games --with-sound=3Dalsa --with-xft --with-modules --with-x-toolkit=3Dgtk3 --without-gconf --with-gsettings 'CFLAGS=3D-march=3Dnative -O2 -pipe -fstack-protector-strong' CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2 LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: projectile-global-mode: t projectile-mode: t yas-global-mode: t yas-minor-mode: t window-numbering-mode: t company-mode: t diff-auto-refine-mode: t magit-auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t flx-ido-mode: t ido-everywhere: t global-srecode-minor-mode: t global-semanticdb-minor-mode: t global-semantic-idle-scheduler-mode: t global-semantic-decoration-mode: t global-semantic-highlight-func-mode: t global-semantic-stickyfunc-mode: t global-semantic-show-parser-state-mode: t semantic-mode: t global-ede-mode: t shell-dirtrack-mode: t show-paren-mode: t global-hi-lock-mode: t hi-lock-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t hs-minor-mode: t Recent messages: .emacs.d/cedet/lisp/cedet/ede/loaddefs.el: Obsolete name arg "lein2" to con= structor ede-project-autoload .emacs.d/cedet/lisp/cedet/ede/loaddefs.el: Obsolete name arg "linux" to con= structor ede-project-autoload .emacs.d/cedet/lisp/cedet/ede/loaddefs.el: Obsolete name arg "maven2" to co= nstructor ede-project-autoload Parsing *srecode-map-tmp* (LALR)...done Loading /home/beischer/.emacs.d/cedet/cedet-devel-load.el (source)...done ad-handle-definition: =E2=80=98ido-completing-read=E2=80=99 got redefined Loading buff-menu...done ad-handle-definition: =E2=80=98add-log-current-defun=E2=80=99 got redefined Turning on magit-auto-revert-mode...done For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: /home/beischer/.emacs.d/cedet/lisp/speedbar/loaddefs hides /home/beischer/.= emacs.d/cedet/lisp/cedet/loaddefs /home/beischer/.emacs.d/elpa/helm-20160526.248/helm-multi-match hides /home= /beischer/.emacs.d/elpa/helm-core-20160526.349/helm-multi-match /home/beischer/.emacs.d/elpa/cmake-mode-20160510.1140/cmake-mode hides /usr= /share/emacs/site-lisp/cmake-mode /usr/share/emacs/site-lisp/various/buff-menu hides /usr/share/emacs/25.0.94= /lisp/buff-menu /home/beischer/.emacs.d/cedet/lisp/speedbar/loaddefs hides /usr/share/emacs= /25.0.94/lisp/loaddefs /home/beischer/.emacs.d/elpa/emms-20160304.920/tq hides /usr/share/emacs/25= .0.94/lisp/emacs-lisp/tq Features: (shadow sort mail-extr emacsbug sendmail company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-css company-nxml company-bbdb company-edbi edbi sql view jedi jedi-core python-environment epc ctable concurrent deferred auto-complete popup cmake-project gist gh-gist gh-oauth gh-api logito gh-cache pcache gh-auth gh-common gh-url url-http tls gnutls url-auth url-gw gh-profile json map timezone org-install tempo url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars mailcap xml-parse doxymacs projectile ibuf-ext ibuffer dropdown-list yasnippet cl my-term term disp-table ehelp etags-table etags xref project cmake-mode thingatpt rx qt-pro pastebin window-numbering company magit-topgit magit-blame magit-stash magit-bisect magit-remote magit-commit epa magit-sequence magit esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util magit-apply magit-wip magit-log magit-diff smerge-mode diff-mode magit-core magit-autorevert autorevert filenotify magit-process magit-popup magit-mode derived magit-git crm magit-section magit-utils git-commit log-edit message idna rfc822 mml mml-sec epg mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log with-editor async-bytecomp easy-mmode async tramp-sh server hide-lines buff-menu+ hideshow flx-ido flx ido dired-x dired ede/cpp-root srecode/mode semantic/senator srecode/insert srecode/filters srecode/args semantic/db-mode f dash s semantic/bovine/c hideif semantic/bovine/c-by semantic/lex-spp semantic/idle working fame semantic/bovine/gcc semantic/dep semantic/bovine semantic/analyze/refs semantic/decorate/include semantic/db-find semantic/db-ref semantic/decorate/mode semantic/decorate pulse cedet-devel-load cogre/srecode cogre cogre/picture-hack rect picture eieio-opt find-func srecode/find srecode/map semantic/edit srecode/srt-mode srecode/template srecode/srt-wy semantic/wisent semantic/wisent/wisent srecode/ctxt srecode/compile srecode/dictionary srecode/table srecode semantic/canned-configs semantic/ia-sb semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn semantic/db semantic/ctxt semantic/format semantic/tag-ls semantic/find semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local sb-info ede/speedbar ede/files ede ede/detect ede/base ede/auto ede/source eieio-compat eieio-base eieio-speedbar speedbar sb-image ezimage dframe eieio-custom wid-edit cedet cedet-compat inversion cedet-remove-builtin cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs flymake finder-inf tex-site info package epg-config seq vc-cvs tramp tramp-compat auth-source cl-seq eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core cl-macs gv gnus-util mm-util help-fns help-mode easymenu mail-prsvr password-cache tramp-loaddefs trampver ucs-normalize shell pcomplete format-spec advice edmacro kmacro cl-loaddefs pcase cl-lib emacs-x-theme paren grep compile comint ansi-color ring linum hi-lock cus-start cus-load time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 614175 16718) (symbols 48 51346 53) (miscs 40 87 180) (strings 32 120506 20978) (string-bytes 1 3736110) (vectors 16 72174) (vector-slots 8 1281781 10649) (floats 8 1544 163) (intervals 56 402 0) (buffers 976 14) (heap 1024 50297 2436)) From unknown Sat Jun 14 18:41:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23629: 25.0.94; Calc: Yanking with mouse-2 does not use X primary selection/clipboard Resent-From: Bastian Beischer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Jun 2016 07:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23629 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23629@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1465803678600 (code B ref -1); Mon, 13 Jun 2016 07:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Jun 2016 07:41:18 +0000 Received: from localhost ([127.0.0.1]:38532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bCMUn-00009c-Uc for submit@debbugs.gnu.org; Mon, 13 Jun 2016 03:41:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58319) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bCMUk-00009N-K0 for submit@debbugs.gnu.org; Mon, 13 Jun 2016 03:41:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCMUc-0001Wq-Vt for submit@debbugs.gnu.org; Mon, 13 Jun 2016 03:41:09 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60147) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCMUc-0001WR-S4 for submit@debbugs.gnu.org; Mon, 13 Jun 2016 03:41:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49272) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCMUZ-0005Y1-7O for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2016 03:41:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCMUV-0001VH-JW for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2016 03:41:02 -0400 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:38299) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCMUV-0001VD-5h for bug-gnu-emacs@gnu.org; Mon, 13 Jun 2016 03:40:59 -0400 Received: by mail-wm0-x230.google.com with SMTP id m124so66595741wme.1 for ; Mon, 13 Jun 2016 00:40:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-transfer-encoding; bh=uZ79Fj0RTQeH7z2mXhO+EBxSWHPBSZjyRGGmab4Tvuo=; b=zVBUe/dn6w91UoETS7a1qPaf+Wak901bi89TS+Ya08ABmSpw2X037zqF61i/Pj6WBq upoQMkw6I9KU7zgVlXykF2NQDZFHYkZ3ZTeOPiQt4vj1TciloQCuuCmMYnKRYE2cMmkB /CEXReIOMDTwyi3WXwg8Vc0vRKfCa5pKhjplE+J2m8imscPvaIGNa9d/kmgB1x9QOO0o SpXrQQJW1YsJg/h8MKWqkRfYbBd0q7HryyDOxumfSwXv/9wB7wiW7hS96RsVGyW5mefT QuYuN0QPtcHuNGnF8Q7KIJb4XNoIiuFimR+2/Zv4BCqvZbnuVngssuLCIsMaHdYkT4BF jr0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:content-transfer-encoding; bh=uZ79Fj0RTQeH7z2mXhO+EBxSWHPBSZjyRGGmab4Tvuo=; b=OimSOdO3dugLIGD+f0tOuc6RyZVQlSdhu3tKWz9Kd7UboLU4iGrSQOa7AC9myQgqmO NXm+LibF8WX74LP7E99uydfK7dPfbCljNuCOXbkM8T1A/eP6Bi1k/eSv25W9B9Ld+s+7 rcco7YEssCs3IP7PLfZYkSEztJBD6RSDnNBZ167OL9JMrHtWHGFUv9u818BNylC2PkFc 6+TJaEim1c5AhtJcgPReJ5uPu2Pf18ydZ250vmYpj8rvsdigye6vaIZDyI6VcjcXsnlO LgfewM3+eyCjEzKju5sRSZ1AmsM1LGoO2i+6LBHkkv7pLr3f7RImLwtJnNRNZmSa2lZZ Vt+w== X-Gm-Message-State: ALyK8tKfbKMSMYB77MhYlO40PG2zvv7JPDl1puYULveZr9aT3IscsyijIgiqGKmNjUbd3DGJ2svBiP8lwErSvg== X-Received: by 10.194.107.10 with SMTP id gy10mr5024494wjb.14.1465803657609; Mon, 13 Jun 2016 00:40:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.163.132 with HTTP; Mon, 13 Jun 2016 00:40:54 -0700 (PDT) In-Reply-To: <874m9j21is.fsf@gmail.com> References: <874m9j21is.fsf@gmail.com> From: Bastian Beischer Date: Mon, 13 Jun 2016 09:40:54 +0200 X-Google-Sender-Auth: -pxbd5zPXegYxSQR6jmS2wy7UeA Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) This patch solves the issue for me. I don't know how the duplicated documentation is supposed to be handled. If the documentation is put on the internal function it's less likely to be seen, but if it is put on the two disjunct functions it's duplicated. What's the preferred way? --- a/calc-yank.el.bak 2016-06-13 09:25:24.376509910 +0200 +++ b/calc-yank.el 2016-06-13 09:26:18.824226799 +0200 @@ -150,34 +150,16 @@ ;; otherwise it just parses the yanked string. ;; Modified to use Emacs 19 extended concept of kill-ring. -- daveg 12/15/= 96 ;;;###autoload -(defun calc-yank (radix) - "Yank a value into the Calculator buffer. - -Valid numeric prefixes for RADIX: 0, 2, 6, 8 -No radix notation is prepended for any other numeric prefix. - -If RADIX is 2, prepend \"2#\" - Binary. -If RADIX is 8, prepend \"8#\" - Octal. -If RADIX is 0, prepend \"10#\" - Decimal. -If RADIX is 6, prepend \"16#\" - Hexadecimal. +(defun calc-yank-internal (radix thing-raw) + "Internal common implementation for yank functions. -If RADIX is a non-nil list (created using \\[universal-argument]), the use= r -will be prompted to enter the radix in the minibuffer. - -If RADIX is nil or if the yanked string already has a calc radix prefix, t= he -yanked string will be passed on directly to the Calculator buffer without = any -alteration." - (interactive "P") +This function is used by both calc-yank and calc-yank-mouse-primary." (calc-wrapper (calc-pop-push-record-list 0 "yank" (let* (radix-num radix-notation valid-num-regexp - (thing-raw - (if (fboundp 'current-kill) - (current-kill 0 t) - (car kill-ring-yank-pointer))) (thing (if (or (null radix) ;; Match examples: -2#10, 10\n(10#10,01) @@ -232,6 +214,50 @@ val)) val)))))))) +;;;###autoload +(defun calc-yank-mouse-primary (radix) + "Yank the current primary selection into the Calculator buffer. + +Valid numeric prefixes for RADIX: 0, 2, 6, 8 +No radix notation is prepended for any other numeric prefix. + +If RADIX is 2, prepend \"2#\" - Binary. +If RADIX is 8, prepend \"8#\" - Octal. +If RADIX is 0, prepend \"10#\" - Decimal. +If RADIX is 6, prepend \"16#\" - Hexadecimal. + +If RADIX is a non-nil list (created using \\[universal-argument]), the use= r +will be prompted to enter the radix in the minibuffer. + +If RADIX is nil or if the yanked string already has a calc radix prefix, t= he +yanked string will be passed on directly to the Calculator buffer without = any +alteration." + (interactive "P") + (calc-yank-internal radix (gui-get-primary-selection))) + +;;;###autoload +(defun calc-yank (radix) + "Yank a value into the Calculator buffer. + +Valid numeric prefixes for RADIX: 0, 2, 6, 8 +No radix notation is prepended for any other numeric prefix. + +If RADIX is 2, prepend \"2#\" - Binary. +If RADIX is 8, prepend \"8#\" - Octal. +If RADIX is 0, prepend \"10#\" - Decimal. +If RADIX is 6, prepend \"16#\" - Hexadecimal. + +If RADIX is a non-nil list (created using \\[universal-argument]), the use= r +will be prompted to enter the radix in the minibuffer. + +If RADIX is nil or if the yanked string already has a calc radix prefix, t= he +yanked string will be passed on directly to the Calculator buffer without = any +alteration." + (interactive "P") + (calc-yank-internal radix (if (fboundp 'current-kill) + (current-kill 0 t) + (car kill-ring-yank-pointer)))) + ;;; The Calc set- and get-register commands are modified versions of funct= ions ;;; in register.el On Fri, May 27, 2016 at 1:17 PM, Bastian Beischer wrote: > > I have customized 'select-enable-primary' to 't' and I'm using it to > paste the X primary selection with 'mouse-2' often. This invokes > mouse-yank-primary and that works fine. > > It does not work well in calc, though. In calc mouse-2 is bound to > calc-yank, which takes the thing to be yanked from the kill-ring. > > I think it would be appropriate to add a dedicated function > "calc-yank-mouse" which forwards the data obtained by > 'gui-selection-value' to 'calc-yank'. > > I'm not sure that 'gui-selection-value' is the correct function: What I > mean is 'a function which respects 'select-enable-primary' and > 'select-enable-clipboard' and returns the right thing from the > corresponding X buffer'. > > To reproduce: > > 1) emacs -Q > 2) M-x calc > 3) Select a number in some other X window (xterm for example) with the > mouse > 4) Go back to emacs *calc* buffer and press mouse-2. > > > > In GNU Emacs 25.0.94.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.20.6) > of 2016-05-25 built on beischer-w520 > Repository revision: 897fb6fa49d5ffc85f0a796e7414a43ef05ad096 > Windowing system distributor 'The X.Org Foundation', version 11.0.1180300= 0 > Configured using: > 'configure --prefix=3D/usr --sysconfdir=3D/etc --libexecdir=3D/usr/lib > --localstatedir=3D/var --mandir=3D/usr/share/man --with-gameuser=3D:game= s > --with-sound=3Dalsa --with-xft --with-modules --with-x-toolkit=3Dgtk3 > --without-gconf --with-gsettings 'CFLAGS=3D-march=3Dnative -O2 -pipe > -fstack-protector-strong' CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2 > LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro' > > Configured features: > XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY > ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS > GTK3 X11 MODULES > > Important settings: > value of $LANG: en_US.UTF-8 > locale-coding-system: utf-8-unix > > Major mode: Lisp Interaction > > Minor modes in effect: > projectile-global-mode: t > projectile-mode: t > yas-global-mode: t > yas-minor-mode: t > window-numbering-mode: t > company-mode: t > diff-auto-refine-mode: t > magit-auto-revert-mode: t > global-git-commit-mode: t > async-bytecomp-package-mode: t > flx-ido-mode: t > ido-everywhere: t > global-srecode-minor-mode: t > global-semanticdb-minor-mode: t > global-semantic-idle-scheduler-mode: t > global-semantic-decoration-mode: t > global-semantic-highlight-func-mode: t > global-semantic-stickyfunc-mode: t > global-semantic-show-parser-state-mode: t > semantic-mode: t > global-ede-mode: t > shell-dirtrack-mode: t > show-paren-mode: t > global-hi-lock-mode: t > hi-lock-mode: t > tooltip-mode: t > global-eldoc-mode: t > electric-indent-mode: t > mouse-wheel-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > blink-cursor-mode: t > auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > column-number-mode: t > line-number-mode: t > transient-mark-mode: t > hs-minor-mode: t > > Recent messages: > .emacs.d/cedet/lisp/cedet/ede/loaddefs.el: Obsolete name arg "lein2" to c= onstructor ede-project-autoload > .emacs.d/cedet/lisp/cedet/ede/loaddefs.el: Obsolete name arg "linux" to c= onstructor ede-project-autoload > .emacs.d/cedet/lisp/cedet/ede/loaddefs.el: Obsolete name arg "maven2" to = constructor ede-project-autoload > Parsing *srecode-map-tmp* (LALR)...done > Loading /home/beischer/.emacs.d/cedet/cedet-devel-load.el (source)...done > ad-handle-definition: =E2=80=98ido-completing-read=E2=80=99 got redefined > Loading buff-menu...done > ad-handle-definition: =E2=80=98add-log-current-defun=E2=80=99 got redefin= ed > Turning on magit-auto-revert-mode...done > For information about GNU Emacs and the GNU system, type C-h C-a. > > Load-path shadows: > /home/beischer/.emacs.d/cedet/lisp/speedbar/loaddefs hides /home/beischer= /.emacs.d/cedet/lisp/cedet/loaddefs > /home/beischer/.emacs.d/elpa/helm-20160526.248/helm-multi-match hides /ho= me/beischer/.emacs.d/elpa/helm-core-20160526.349/helm-multi-match > /home/beischer/.emacs.d/elpa/cmake-mode-20160510.1140/cmake-mode hides /u= sr/share/emacs/site-lisp/cmake-mode > /usr/share/emacs/site-lisp/various/buff-menu hides /usr/share/emacs/25.0.= 94/lisp/buff-menu > /home/beischer/.emacs.d/cedet/lisp/speedbar/loaddefs hides /usr/share/ema= cs/25.0.94/lisp/loaddefs > /home/beischer/.emacs.d/elpa/emms-20160304.920/tq hides /usr/share/emacs/= 25.0.94/lisp/emacs-lisp/tq > > Features: > (shadow sort mail-extr emacsbug sendmail company-oddmuse > company-keywords company-etags company-gtags company-dabbrev-code > company-dabbrev company-files company-capf company-cmake company-xcode > company-clang company-semantic company-eclim company-template > company-css company-nxml company-bbdb company-edbi edbi sql view jedi > jedi-core python-environment epc ctable concurrent deferred > auto-complete popup cmake-project gist gh-gist gh-oauth gh-api logito > gh-cache pcache gh-auth gh-common gh-url url-http tls gnutls url-auth > url-gw gh-profile json map timezone org-install tempo url url-proxy > url-privacy url-expand url-methods url-history url-cookie url-domsuf > url-util url-parse url-vars mailcap xml-parse doxymacs projectile > ibuf-ext ibuffer dropdown-list yasnippet cl my-term term disp-table > ehelp etags-table etags xref project cmake-mode thingatpt rx qt-pro > pastebin window-numbering company magit-topgit magit-blame magit-stash > magit-bisect magit-remote magit-commit epa magit-sequence magit esh-var > esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg esh-groups eshell > esh-module esh-mode esh-util magit-apply magit-wip magit-log magit-diff > smerge-mode diff-mode magit-core magit-autorevert autorevert filenotify > magit-process magit-popup magit-mode derived magit-git crm magit-section > magit-utils git-commit log-edit message idna rfc822 mml mml-sec epg > mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 > ietf-drums mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log > with-editor async-bytecomp easy-mmode async tramp-sh server hide-lines > buff-menu+ hideshow flx-ido flx ido dired-x dired ede/cpp-root > srecode/mode semantic/senator srecode/insert srecode/filters > srecode/args semantic/db-mode f dash s semantic/bovine/c hideif > semantic/bovine/c-by semantic/lex-spp semantic/idle working fame > semantic/bovine/gcc semantic/dep semantic/bovine semantic/analyze/refs > semantic/decorate/include semantic/db-find semantic/db-ref > semantic/decorate/mode semantic/decorate pulse cedet-devel-load > cogre/srecode cogre cogre/picture-hack rect picture eieio-opt find-func > srecode/find srecode/map semantic/edit srecode/srt-mode srecode/template > srecode/srt-wy semantic/wisent semantic/wisent/wisent srecode/ctxt > srecode/compile srecode/dictionary srecode/table srecode > semantic/canned-configs semantic/ia-sb semantic/analyze semantic/sort > semantic/scope semantic/analyze/fcn semantic/db semantic/ctxt > semantic/format semantic/tag-ls semantic/find semantic/util-modes > semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local > sb-info ede/speedbar ede/files ede ede/detect ede/base ede/auto > ede/source eieio-compat eieio-base eieio-speedbar speedbar sb-image > ezimage dframe eieio-custom wid-edit cedet cedet-compat inversion > cedet-remove-builtin cc-mode cc-fonts cc-guess cc-menus cc-cmds > cc-styles cc-align cc-engine cc-vars cc-defs flymake finder-inf tex-site > info package epg-config seq vc-cvs tramp tramp-compat auth-source cl-seq > eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core cl-macs > gv gnus-util mm-util help-fns help-mode easymenu mail-prsvr > password-cache tramp-loaddefs trampver ucs-normalize shell pcomplete > format-spec advice edmacro kmacro cl-loaddefs pcase cl-lib emacs-x-theme > paren grep compile comint ansi-color ring linum hi-lock cus-start > cus-load time-date mule-util tooltip eldoc electric uniquify ediff-hook > vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd > fontset image regexp-opt fringe tabulated-list newcomment elisp-mode > lisp-mode prog-mode register page menu-bar rfn-eshadow timer select > scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame > cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai > tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian > slovak czech european ethiopic indian cyrillic chinese charscript > case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer > cl-preloaded nadvice loaddefs button faces cus-face macroexp files > text-properties overlay sha1 md5 base64 format env code-pages mule > custom widget hashtable-print-readable backquote dbusbind inotify > dynamic-setting system-font-setting font-render-setting move-toolbar gtk > x-toolkit x multi-tty make-network-process emacs) > > Memory information: > ((conses 16 614175 16718) > (symbols 48 51346 53) > (miscs 40 87 180) > (strings 32 120506 20978) > (string-bytes 1 3736110) > (vectors 16 72174) > (vector-slots 8 1281781 10649) > (floats 8 1544 163) > (intervals 56 402 0) > (buffers 976 14) > (heap 1024 50297 2436)) --=20 Bastian Beischer RWTH Aachen University of Technology @RWTH Aachen Office: 28 C 203 Phone: +49-241-80-27205 E-mail: beischer@physik.rwth-aachen.de Address: I. Physikalisches Institut B, Sommerfeldstr. 14, D-52074 Aachen @CERN Office: Bdg 32-4-B12 Phone: +41-22-76-75750 E-mail: bastian.beischer@cern.ch Address: CERN, CH-1211 Geneve 23 From unknown Sat Jun 14 18:41:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23629: 25.0.94; Calc: Yanking with mouse-2 does not use X primary selection/clipboard Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Jan 2017 10:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23629 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Bastian Beischer Cc: 23629@debbugs.gnu.org, tino.calancha@gmail.com Received: via spool by 23629-submit@debbugs.gnu.org id=B23629.14841303988322 (code B ref 23629); Wed, 11 Jan 2017 10:27:02 +0000 Received: (at 23629) by debbugs.gnu.org; 11 Jan 2017 10:26:38 +0000 Received: from localhost ([127.0.0.1]:49411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cRG74-0002AA-Cn for submit@debbugs.gnu.org; Wed, 11 Jan 2017 05:26:38 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:35187) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cRG72-00029v-Pu for 23629@debbugs.gnu.org; Wed, 11 Jan 2017 05:26:37 -0500 Received: by mail-pg0-f65.google.com with SMTP id 204so6636233pge.2 for <23629@debbugs.gnu.org>; Wed, 11 Jan 2017 02:26:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=bg35tqOFWrqFS7YPnMCSZCpwbY282nggAB3guiRITLI=; b=o/DUmpDvXhU/sBh+lz/yV/1dONf8RoHzxZWVFFl+tbAIvmC38V69lTne71ULA8yvdx SttQrk+JCrgZPiUAC8Cbs3ggBW1sHHcCRIVGTT8YH1CwIM3wmaCzpgbzI5h5CfPd8c6j gyj1rK7mXuW2vquPSuqRc34pgDeEwpg9w1Rw9KBYeqbsv4Z79a9Ex73OfyOmoC/ELlN2 4oqoMTCUZFyD5XoDCn+cgFvtZa8j/NXASYfeioHEfYMYOKKv5J/GitaDa8TSFvn5c9jB DV5tJlrfs87EASxMWjmEu/Up2A+vcs4RuoHTU7LvIW7xVgdW81RFnjaMJgXCbvYY4A12 m3tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=bg35tqOFWrqFS7YPnMCSZCpwbY282nggAB3guiRITLI=; b=tZehWDHZ9rPR6x44fy/uAuSzbd+DD5KPRQMWMn28ZbMwAMeAT8sewL0uXyYmBa36jW kJryMRYwFC8SPSQHrRQDxeM7Npe09MAF/5mTNw6FB4/0dOiTk1jIpd82AQ9PnA5rsZId RFBbCWT6sLEiXIi49RLHwUp6QTFyFwthM+KyIjI1X5Zuierou4UddSR3YB75dsbp5Irl Ywk+u08w9KVCx/tsiYij5kPD1a7zMkQJmxDFtnW4KAKoUYmP81mzR+O4YW+fFwLTs4h9 HYKSU99seeKn+sULQEtZVzSpST0VggPTQVoovoriDtMHBY6vwrkJCzfC0po5SmKaSz65 VW9g== X-Gm-Message-State: AIkVDXIqNXsc6Lr278zE4/CV2TTeGa0Oy9hxaLTigAQGyLv3hMHfVN/2JDeog4xW0L0N7g== X-Received: by 10.84.233.201 with SMTP id m9mr12038462pln.91.1484130391095; Wed, 11 Jan 2017 02:26:31 -0800 (PST) Received: from calancha-pc (217.225.128.101.dy.bbexcite.jp. [101.128.225.217]) by smtp.gmail.com with ESMTPSA id k78sm12473164pfb.93.2017.01.11.02.26.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Jan 2017 02:26:30 -0800 (PST) From: Tino Calancha References: <874m9j21is.fsf@gmail.com> Date: Wed, 11 Jan 2017 19:26:21 +0900 In-Reply-To: <874m9j21is.fsf@gmail.com> (Bastian Beischer's message of "Fri, 27 May 2016 13:17:31 +0200") Message-ID: <877f616gfm.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Bastian Beischer writes: > I have customized 'select-enable-primary' to 't' and I'm using it to > paste the X primary selection with 'mouse-2' often. This invokes > mouse-yank-primary and that works fine. > > It does not work well in calc, though. In calc mouse-2 is bound to > calc-yank, which takes the thing to be yanked from the kill-ring. > To reproduce: > > 1) emacs -Q > 2) M-x calc > 3) Select a number in some other X window (xterm for example) with the > mouse > 4) Go back to emacs *calc* buffer and press mouse-2. Hi Bastian, In addition to customize select-enable-primary to t, as you do, i also like to set select-enable-clipboard to nil. Then, the kill-ring uses the primary selection, i.e., `calc-yank' pastes the same text as `mouse-yank-primary' or `yank'. From unknown Sat Jun 14 18:41:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23629: 25.0.94; Calc: Yanking with mouse-2 does not use X primary selection/clipboard Resent-From: Bastian Beischer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Jan 2017 13:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23629 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Tino Calancha Cc: 23629@debbugs.gnu.org Received: via spool by 23629-submit@debbugs.gnu.org id=B23629.148414000730313 (code B ref 23629); Wed, 11 Jan 2017 13:07:01 +0000 Received: (at 23629) by debbugs.gnu.org; 11 Jan 2017 13:06:47 +0000 Received: from localhost ([127.0.0.1]:49471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cRIc2-0007sr-UT for submit@debbugs.gnu.org; Wed, 11 Jan 2017 08:06:47 -0500 Received: from mail-ua0-f177.google.com ([209.85.217.177]:33881) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cRIc1-0007sb-0h for 23629@debbugs.gnu.org; Wed, 11 Jan 2017 08:06:45 -0500 Received: by mail-ua0-f177.google.com with SMTP id 35so75917162uak.1 for <23629@debbugs.gnu.org>; Wed, 11 Jan 2017 05:06:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=na5FIAo60QhguxboDQWJIbPWIyo64Q73xJM/NsOuI4A=; b=rUYVuqjjIgEsH+olltnsOVa1Oha7DpJXysn1MwkaSSXSubcwmR9aZY+VW7LjoyedJL 9naQT8RfXNYLjQtzvL+AFU0xoDsZf+nVOPbiqMg4y6LBXh58T845NMYwS9vhH/QUWT/D /q9OAATa6+OPNVmCladoGBVw+aMaRZpd6SOrL0Eq8r8l3FHplLZRlmDeye2nBZX08vCm nkqatkOQXkM6WpFU2ojOIR7IALx8AEjDQNxj1wCf48QWuRy2j+Reun9dlnbsbk+zV5aM Qoh2PwYkq4wVy5dRhomweu0eXhH/FckVet3pBmqluoM0p2HTCd4DFHFYnZAV+fr9iSlG xKRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=na5FIAo60QhguxboDQWJIbPWIyo64Q73xJM/NsOuI4A=; b=TJ6vyZ/KO64hS/XKSo664e26oBpHCPl4eOLTxqcsdKQ2P7oH3eVdyNG9egtTXOVx3e CXhUVWspahfNoL8/UmaEHaTREIrF7S1A2hp+MIKUTfKPzL+DA5nJRznqSfzlWtnBsn1S pcMcCawx1AgR5/L/idcMl6vC137zANyehJL2F5IW/YRWO/Cak9TM9HZMd5ZCEnr7dGe1 jXzD+w1d+6M71vvx6vCMA/3x2r4jMmhQmM/cdBfUTzVnUG8EaSQB6ZMrRV5Q4Uh6MHky FMKr6qbAcfrEuwzqV0jg2YBJrBVKjaRoUe7l2QXDOWqoRt8k+5JlvZG/h/zJDn78aUoH HRnQ== X-Gm-Message-State: AIkVDXKcpVi9Pjk0auBXvdX+ntBjAEXsH/pvzGFcFnXGzRDS0+ssLJnm8O2RoH4DBVsbBzz1s7NFe8P1OeIjmg== X-Received: by 10.176.67.99 with SMTP id k90mr4457822uak.61.1484139999562; Wed, 11 Jan 2017 05:06:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.0.7 with HTTP; Wed, 11 Jan 2017 05:06:39 -0800 (PST) In-Reply-To: <877f616gfm.fsf@gmail.com> References: <874m9j21is.fsf@gmail.com> <877f616gfm.fsf@gmail.com> From: Bastian Beischer Date: Wed, 11 Jan 2017 14:06:39 +0100 X-Google-Sender-Auth: qlMMP2er2dnDg-u-TK5fyuqQFyg Message-ID: Content-Type: text/plain; charset=UTF-8 X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) Hey Tino, On Wed, Jan 11, 2017 at 11:26 AM, Tino Calancha wrote: > > Bastian Beischer writes: > > > I have customized 'select-enable-primary' to 't' and I'm using it to > > paste the X primary selection with 'mouse-2' often. This invokes > > mouse-yank-primary and that works fine. > > > > It does not work well in calc, though. In calc mouse-2 is bound to > > calc-yank, which takes the thing to be yanked from the kill-ring. > > To reproduce: > > > > 1) emacs -Q > > 2) M-x calc > > 3) Select a number in some other X window (xterm for example) with the > > mouse > > 4) Go back to emacs *calc* buffer and press mouse-2. > Hi Bastian, > > In addition to customize select-enable-primary to t, as you do, > i also like to set select-enable-clipboard to nil. Then, the kill-ring > uses the primary selection, i.e., `calc-yank' pastes the same text > as `mouse-yank-primary' or `yank'. I didn't check whether this works as you describe in calc, but I don't want to set "select-enable-clipboard" to "nil". I'm using it to move things in and out of the clipboard in other buffers. Thanks for your comment, though :-) Cheers Bastian From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 09 11:51:14 2019 Received: (at control) by debbugs.gnu.org; 9 Oct 2019 15:51:15 +0000 Received: from localhost ([127.0.0.1]:53894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIEF8-0004hh-1G for submit@debbugs.gnu.org; Wed, 09 Oct 2019 11:51:14 -0400 Received: from mail-pf1-f175.google.com ([209.85.210.175]:35808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIEF5-0004hS-NI for control@debbugs.gnu.org; Wed, 09 Oct 2019 11:51:12 -0400 Received: by mail-pf1-f175.google.com with SMTP id 205so1894447pfw.2 for ; Wed, 09 Oct 2019 08:51:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=clYNHiPeiV2opHxf5pNV6dITPMG4ZwQCNglaPvfMaio=; b=Kea8H7ayEEVL5JVGRHOcl6eq65qtqqKBqBX8720JDL8NTJneafB9C7oEoBl/5wELcf c/XS8JxY4Y9RMPmMd2uVzHeqgfuLcxpo6WcB99OlvOYpniTEjPPK5vfqRGTIizVRpah3 LSyLrlfXE6ScTMu2Kwqgmr7gKOPLPZCQi57GDACFPMxbeEUtoL0mtSjvMrN60VHuRwUf HF6iiKttQyGIHZFPbZM5ipwQt2H+CM13WtKum2oPPZqR369ZLEHmiSE7g/grbXacaC6v Oq/HOXxpsuGAuf6vPq0Rq2+jNok8K36Ab/oqaunrO2unMS2IMGg/URjZefkpFw40RVdJ VAXA== X-Gm-Message-State: APjAAAW7U4XNfOrhnN8YeA1ed4kWPCH24UtovD1ggdg9B+jHeMK85ixK 9E/rQiSOn0l6hVBMZSs3r3qZ7ZETF+iEeaRfqjeqDpyj X-Google-Smtp-Source: APXvYqxuk0PjHxkLCVrASJBcX4XJYRxkovmbVexOvE6PXAzhOhtKwXflFII/hE3VJ5ftensUByh2MDRn0/wrElHqeFQ= X-Received: by 2002:a17:90a:f491:: with SMTP id bx17mr5084600pjb.106.1570636265562; Wed, 09 Oct 2019 08:51:05 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas Date: Wed, 9 Oct 2019 17:50:54 +0200 Message-ID: Subject: To: control@debbugs.gnu.org Content-Type: multipart/alternative; boundary="000000000000ae256505947c4024" X-Spam-Score: 2.3 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tags 23629 + patch quit tags 23629 + patch quit Content analysis details: (2.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) 0.0 HTML_MESSAGE BODY: HTML included in message -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.210.175 listed in list.dnswl.org] 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 2.0 BLANK_SUBJECT Subject is present but empty X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tags 23629 + patch quit tags 23629 + patch quit Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.210.175 listed in list.dnswl.org] 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) 0.0 HTML_MESSAGE BODY: HTML included in message 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 2.0 BLANK_SUBJECT Subject is present but empty --000000000000ae256505947c4024 Content-Type: text/plain; charset="UTF-8" tags 23629 + patch quit --000000000000ae256505947c4024 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
tags 23629=C2=A0+ patch
quit

=
--000000000000ae256505947c4024-- From unknown Sat Jun 14 18:41:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23629: 25.0.94; Calc: Yanking with mouse-2 does not use X primary selection/clipboard Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Aug 2020 15:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23629 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Bastian Beischer Cc: eliz@gnu.org, 23629@debbugs.gnu.org Received: via spool by 23629-submit@debbugs.gnu.org id=B23629.159715848126281 (code B ref 23629); Tue, 11 Aug 2020 15:08:02 +0000 Received: (at 23629) by debbugs.gnu.org; 11 Aug 2020 15:08:01 +0000 Received: from localhost ([127.0.0.1]:41410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5Vsf-0006po-CS for submit@debbugs.gnu.org; Tue, 11 Aug 2020 11:08:01 -0400 Received: from quimby.gnus.org ([95.216.78.240]:33470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5Vsc-0006pW-5C for 23629@debbugs.gnu.org; Tue, 11 Aug 2020 11:08:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=K78FR1bWK2H7hBhZgWls6GZmE78h03rZs1E9cYvYMEU=; b=kyRmanjQr78RmRqwuusU/xi16N su6rXBZ0XAfbhqV0anF4THRFwufTawzT4JMarbp4JJDaCyczDVXO/Y7YwGcbKfSyLXRXA9GxytYHn CuTw1eJQdinlw5BrgrhBrt7NVicadQs8pcLRUlxy9sgFi2P5EG0/rh8loF2vP2Lc0q10=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k5VsP-0005Pv-Ny; Tue, 11 Aug 2020 17:07:51 +0200 From: Lars Ingebrigtsen References: <874m9j21is.fsf@gmail.com> Date: Tue, 11 Aug 2020 17:07:44 +0200 In-Reply-To: (Bastian Beischer's message of "Mon, 13 Jun 2016 09:40:54 +0200") Message-ID: <87h7t9te4f.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Bastian Beischer writes: > This patch solves the issue for me. > > I don't know how the duplicated documentation is supposed to be > handled. If the documentation is put on the internal function it's > less likely to be seen, [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Bastian Beischer writes: > This patch solves the issue for me. > > I don't know how the duplicated documentation is supposed to be > handled. If the documentation is put on the internal function it's > less likely to be seen, but if it is put on the two disjunct functions > it's duplicated. What's the preferred way? No, we usually just have the doc string in one function, and then we refer to that function in the doc string. Like the following tweaked patch. This makes calc work a lot better when yanking with mouse-2, so I'd like to include it in Emacs 28. However, it's longer than ten lines, so we need a copyright assignment for it -- would you be willing to assign the copyright here to the FSF? Hm... or... is that necessary here? The patch is mostly rearranging code, and I think if we count new lines, it's less than ten... Eli? diff --git a/lisp/calc/calc-yank.el b/lisp/calc/calc-yank.el index f5150ca552..6cea115f76 100644 --- a/lisp/calc/calc-yank.el +++ b/lisp/calc/calc-yank.el @@ -150,34 +150,16 @@ math-number-regexp ;; otherwise it just parses the yanked string. ;; Modified to use Emacs 19 extended concept of kill-ring. -- daveg 12/15/96 ;;;###autoload -(defun calc-yank (radix) - "Yank a value into the Calculator buffer. - -Valid numeric prefixes for RADIX: 0, 2, 6, 8 -No radix notation is prepended for any other numeric prefix. - -If RADIX is 2, prepend \"2#\" - Binary. -If RADIX is 8, prepend \"8#\" - Octal. -If RADIX is 0, prepend \"10#\" - Decimal. -If RADIX is 6, prepend \"16#\" - Hexadecimal. +(defun calc-yank-internal (radix thing-raw) + "Internal common implementation for yank functions. -If RADIX is a non-nil list (created using \\[universal-argument]), the user -will be prompted to enter the radix in the minibuffer. - -If RADIX is nil or if the yanked string already has a calc radix prefix, the -yanked string will be passed on directly to the Calculator buffer without any -alteration." - (interactive "P") +This function is used by both calc-yank and calc-yank-mouse-primary." (calc-wrapper (calc-pop-push-record-list 0 "yank" (let* (radix-num radix-notation valid-num-regexp - (thing-raw - (if (fboundp 'current-kill) - (current-kill 0 t) - (car kill-ring-yank-pointer))) (thing (if (or (null radix) ;; Match examples: -2#10, 10\n(10#10,01) @@ -232,6 +214,36 @@ calc-yank val)) val)))))))) +;;;###autoload +(defun calc-yank-mouse-primary (radix) + "Yank the current primary selection into the Calculator buffer. +See `calc-yank' for details about RADIX." + (interactive "P") + (calc-yank-internal radix (gui-get-primary-selection))) + +;;;###autoload +(defun calc-yank (radix) + "Yank a value into the Calculator buffer. + +Valid numeric prefixes for RADIX: 0, 2, 6, 8 +No radix notation is prepended for any other numeric prefix. + +If RADIX is 2, prepend \"2#\" - Binary. +If RADIX is 8, prepend \"8#\" - Octal. +If RADIX is 0, prepend \"10#\" - Decimal. +If RADIX is 6, prepend \"16#\" - Hexadecimal. + +If RADIX is a non-nil list (created using \\[universal-argument]), the user +will be prompted to enter the radix in the minibuffer. + +If RADIX is nil or if the yanked string already has a calc radix prefix, the +yanked string will be passed on directly to the Calculator buffer without any +alteration." + (interactive "P") + (calc-yank-internal radix (if (fboundp 'current-kill) + (current-kill 0 t) + (car kill-ring-yank-pointer)))) + ;;; The Calc set- and get-register commands are modified versions of functions ;;; in register.el -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 11 11:08:08 2020 Received: (at control) by debbugs.gnu.org; 11 Aug 2020 15:08:08 +0000 Received: from localhost ([127.0.0.1]:41414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5Vsl-0006qV-OZ for submit@debbugs.gnu.org; Tue, 11 Aug 2020 11:08:07 -0400 Received: from quimby.gnus.org ([95.216.78.240]:33484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5Vsk-0006pn-9Y for control@debbugs.gnu.org; Tue, 11 Aug 2020 11:08:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=FYLNt9xRpNaTQV2gYS7FSvtYmOCEM1vB8xVq+ARzwaI=; b=ODxV2s2VU7ZLrk5f9mKGpI+7uz Jb6JmQUglD2X16+P8Gkjm6vT5PTsyOPHOvEteMkCbJP95g/1StAmoLXEl/dKm8HN6gu9GrKryQNvv drs5vvsVveaqEvkEXNlApOHAojc16qmB+wsXbOWnKA1bicoMbpbCL6CkPtr6Tt9MiUHw=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k5Vsc-0005QP-Kl for control@debbugs.gnu.org; Tue, 11 Aug 2020 17:08:00 +0200 Date: Tue, 11 Aug 2020 17:07:57 +0200 Message-Id: <87ft8tte42.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #23629 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 23629 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 23629 + moreinfo quit From unknown Sat Jun 14 18:41:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23629: 25.0.94; Calc: Yanking with mouse-2 does not use X primary selection/clipboard Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Aug 2020 15:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23629 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch moreinfo To: Lars Ingebrigtsen Cc: bastian.beischer@rwth-aachen.de, 23629@debbugs.gnu.org Received: via spool by 23629-submit@debbugs.gnu.org id=B23629.159716134723915 (code B ref 23629); Tue, 11 Aug 2020 15:56:01 +0000 Received: (at 23629) by debbugs.gnu.org; 11 Aug 2020 15:55:47 +0000 Received: from localhost ([127.0.0.1]:41496 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5Wct-0006Dc-DX for submit@debbugs.gnu.org; Tue, 11 Aug 2020 11:55:47 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5Wcq-0006DL-4S for 23629@debbugs.gnu.org; Tue, 11 Aug 2020 11:55:46 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44618) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k5Wci-0005Sm-5Q; Tue, 11 Aug 2020 11:55:36 -0400 Received: from [176.228.60.248] (port=1962 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k5Wcg-0000BV-UP; Tue, 11 Aug 2020 11:55:35 -0400 Date: Tue, 11 Aug 2020 18:55:22 +0300 Message-Id: <838selp47p.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87h7t9te4f.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 11 Aug 2020 17:07:44 +0200) References: <874m9j21is.fsf@gmail.com> <87h7t9te4f.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: 23629@debbugs.gnu.org, eliz@gnu.org > Date: Tue, 11 Aug 2020 17:07:44 +0200 > > This makes calc work a lot better when yanking with mouse-2, so I'd like > to include it in Emacs 28. However, it's longer than ten lines, so we > need a copyright assignment for it -- would you be willing to assign the > copyright here to the FSF? > > Hm... or... is that necessary here? The patch is mostly rearranging > code, and I think if we count new lines, it's less than ten... Eli? Yes, I think we can accept this without legal paperwork. Thanks. From unknown Sat Jun 14 18:41:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23629: 25.0.94; Calc: Yanking with mouse-2 does not use X primary selection/clipboard Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Aug 2020 16:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23629 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch moreinfo To: Eli Zaretskii Cc: bastian.beischer@rwth-aachen.de, 23629@debbugs.gnu.org Received: via spool by 23629-submit@debbugs.gnu.org id=B23629.159716433628512 (code B ref 23629); Tue, 11 Aug 2020 16:46:01 +0000 Received: (at 23629) by debbugs.gnu.org; 11 Aug 2020 16:45:36 +0000 Received: from localhost ([127.0.0.1]:41520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5XP5-0007Pm-MG for submit@debbugs.gnu.org; Tue, 11 Aug 2020 12:45:35 -0400 Received: from quimby.gnus.org ([95.216.78.240]:34422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5XP3-0007PX-MX for 23629@debbugs.gnu.org; Tue, 11 Aug 2020 12:45:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=JFOo/zw6eMTsiul4aeEjr8jd/cQhJ+fTtWi5r1dvNqA=; b=AxnMS7Eu8leZMZH2DKlpBFjiFv IzSNK9poL58eWVtxYxaesc5IKTwvBdAywD8JSCyLjH/I054oIZ2axXxkp3uF6C7ISCfy89HbSzYsH /e8q8s3fgH9duIlw6YwKbfeiEoHkq6eEsASCYYh8KqVR5y9L8am4Z6mALNFIJr17OJtA=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k5XOt-0006FH-Ok; Tue, 11 Aug 2020 18:45:27 +0200 From: Lars Ingebrigtsen References: <874m9j21is.fsf@gmail.com> <87h7t9te4f.fsf@gnus.org> <838selp47p.fsf@gnu.org> Date: Tue, 11 Aug 2020 18:45:22 +0200 In-Reply-To: <838selp47p.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 11 Aug 2020 18:55:22 +0300") Message-ID: <87imdprv19.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > Yes, I think we can accept this without legal paperwork. OK; applied to Emacs 28. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > Yes, I think we can accept this without legal paperwork. OK; applied to Emacs 28. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 11 12:45:43 2020 Received: (at control) by debbugs.gnu.org; 11 Aug 2020 16:45:43 +0000 Received: from localhost ([127.0.0.1]:41523 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5XPC-0007Q8-TR for submit@debbugs.gnu.org; Tue, 11 Aug 2020 12:45:43 -0400 Received: from quimby.gnus.org ([95.216.78.240]:34438) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5XPA-0007Pn-TX for control@debbugs.gnu.org; Tue, 11 Aug 2020 12:45:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=jpJ2/tFYya6ne3azI6LefXhbk8NLqlv7c6hNiDanFco=; b=TSzDDoSPpIAOOnZPC4x8ilEjz5 oouXNPS7ir+PNCle6I0RZZjjRcBb6//xD/LN41jZSMj4BccMm7KPL7KvMLn49K34oSCrbW8JMYsD5 Ce7BqzHi4VwroLhopHJoxEJEzYMC02pgcUpKipcwiVeZseXwUDoL9VhcwUhAsKeOBIXQ=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k5XP3-0006FP-2k for control@debbugs.gnu.org; Tue, 11 Aug 2020 18:45:35 +0200 Date: Tue, 11 Aug 2020 18:45:31 +0200 Message-Id: <87h7t9rv10.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #23629 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 23629 fixed close 23629 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 23629 fixed close 23629 28.1 quit From unknown Sat Jun 14 18:41:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23629: 25.0.94; Calc: Yanking with mouse-2 does not use X primary selection/clipboard Resent-From: Bastian Beischer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Aug 2020 16:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23629 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed patch moreinfo To: Lars Ingebrigtsen Cc: Eli Zaretskii , 23629@debbugs.gnu.org Received: via spool by 23629-submit@debbugs.gnu.org id=B23629.159724830220494 (code B ref 23629); Wed, 12 Aug 2020 16:06:02 +0000 Received: (at 23629) by debbugs.gnu.org; 12 Aug 2020 16:05:02 +0000 Received: from localhost ([127.0.0.1]:45260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5tFO-0005KT-0y for submit@debbugs.gnu.org; Wed, 12 Aug 2020 12:05:02 -0400 Received: from mail-qv1-f51.google.com ([209.85.219.51]:43799) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5tFK-0005Jv-OZ for 23629@debbugs.gnu.org; Wed, 12 Aug 2020 12:05:00 -0400 Received: by mail-qv1-f51.google.com with SMTP id l13so1238954qvt.10 for <23629@debbugs.gnu.org>; Wed, 12 Aug 2020 09:04:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Mex2rPf0v7Tq8m3H4kTpwBzobD6zFtkgt9HRZFjWvdg=; b=bE8dHHz4gCKqSNvTLjn/6+4/zYY5u2GhZEJJojHAqCK/Ag5u+xdYGg6Z1OQjpuzrJS WaFhYlNulyBCZ64wA27U4b6wovCaIP7UB/JGgdcr5U5VOGbqCLC52aKz1oREY5Nxb8dm GYSGBnatIYhhDJfHqCL4BQMOFNo4rMwyA2WGym8spl6dg6Au+iGilKx+lgJiAvl/LzYz H1bTsPnCsy4TiAmgXYooJYjfq/6G0mF0+t6qidg1xBdcf5SdTMfRFJcPD/9Um0m02RRd oq/zA+059yoYgAutPuFjjHPF9q0SqQV3WBWWsJ8Z5uuVz+wwABDDoAiNoTs9mpjeDod7 kKQg== X-Gm-Message-State: AOAM531JGOZRKCMFTk3nYuS+ZjV/gJnGtOLSjNf3jZB5EJuP/5CG2mD9 3FQQF5Va+gMDquj5ExPWte7zDQ8c+s4Kxg8fsamEDQ== X-Google-Smtp-Source: ABdhPJyGtXsklbEYBC5veyCTyQQAGPkgpm9u/e2wUUgHEuw7diojENF+RwWEdu321ZcspVsrK+3HEq9+ovU9b1AGakU= X-Received: by 2002:a0c:9b96:: with SMTP id o22mr232298qve.213.1597248293287; Wed, 12 Aug 2020 09:04:53 -0700 (PDT) MIME-Version: 1.0 References: <874m9j21is.fsf@gmail.com> <87h7t9te4f.fsf@gnus.org> <838selp47p.fsf@gnu.org> <87imdprv19.fsf@gnus.org> In-Reply-To: <87imdprv19.fsf@gnus.org> From: Bastian Beischer Date: Wed, 12 Aug 2020 18:04:37 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello Lars, thanks for applying the patch. Cheers Bastian On Tue, Aug 11, 2020 at 6:45 PM Lars Ingebrigtsen wrote: > > Eli Zaretskii writes: > > > Yes, I think we can accept this without legal paperwork. > > OK; applied to Emacs 28. > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no