GNU bug report logs - #23629
25.0.94; Calc: Yanking with mouse-2 does not use X primary selection/clipboard

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Bastian Beischer <bastian.beischer@HIDDEN>; Keywords: patch; dated Fri, 27 May 2016 11:18:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) patch. Request was from Stefan Kangas <stefan@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 23629 <at> debbugs.gnu.org:


Received: (at 23629) by debbugs.gnu.org; 11 Jan 2017 13:06:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 11 08:06:47 2017
Received: from localhost ([127.0.0.1]:49471 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cRIc2-0007sr-UT
	for submit <at> 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 <bastian.beischer@HIDDEN>) id 1cRIc1-0007sb-0h
 for 23629 <at> 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 <at> 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@HIDDEN>
References: <874m9j21is.fsf@HIDDEN> <877f616gfm.fsf@HIDDEN>
From: Bastian Beischer <bastian.beischer@HIDDEN>
Date: Wed, 11 Jan 2017 14:06:39 +0100
X-Google-Sender-Auth: qlMMP2er2dnDg-u-TK5fyuqQFyg
Message-ID: <CAK9AuB84KeOp61cQ0LyThSmFHFGcnr7_f8+ZcFr5u5N_u-NAkw@HIDDEN>
Subject: Re: bug#23629: 25.0.94; Calc: Yanking with mouse-2 does not use X
 primary selection/clipboard
To: Tino Calancha <tino.calancha@HIDDEN>
Content-Type: text/plain; charset=UTF-8
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 23629
Cc: 23629 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.5 (/)

Hey Tino,

On Wed, Jan 11, 2017 at 11:26 AM, Tino Calancha <tino.calancha@HIDDEN> wrote:
>
> Bastian Beischer <bastian.beischer@HIDDEN> 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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#23629; Package emacs. Full text available.

Message received at 23629 <at> debbugs.gnu.org:


Received: (at 23629) by debbugs.gnu.org; 11 Jan 2017 10:26:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 11 05:26:38 2017
Received: from localhost ([127.0.0.1]:49411 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cRG74-0002AA-Cn
	for submit <at> 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 <tino.calancha@HIDDEN>) id 1cRG72-00029v-Pu
 for 23629 <at> 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 <at> 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 <tino.calancha@HIDDEN>
To: Bastian Beischer <bastian.beischer@HIDDEN>
Subject: Re: bug#23629: 25.0.94;
 Calc: Yanking with mouse-2 does not use X primary selection/clipboard
References: <874m9j21is.fsf@HIDDEN>
Date: Wed, 11 Jan 2017 19:26:21 +0900
In-Reply-To: <874m9j21is.fsf@HIDDEN> (Bastian Beischer's message of "Fri,
 27 May 2016 13:17:31 +0200")
Message-ID: <877f616gfm.fsf@HIDDEN>
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-Debbugs-Envelope-To: 23629
Cc: 23629 <at> debbugs.gnu.org, tino.calancha@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Bastian Beischer <bastian.beischer@HIDDEN> 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'.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#23629; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Jun 2016 07:41:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 13 03:41:18 2016
Received: from localhost ([127.0.0.1]:38532 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bCMUn-00009c-Uc
	for submit <at> 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 <bastian.beischer@HIDDEN>) id 1bCMUk-00009N-K0
 for submit <at> 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 <bastian.beischer@HIDDEN>) id 1bCMUc-0001Wq-Vt
 for submit <at> 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 <bastian.beischer@HIDDEN>) id 1bCMUc-0001WR-S4
 for submit <at> 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 <bastian.beischer@HIDDEN>) id 1bCMUZ-0005Y1-7O
 for bug-gnu-emacs@HIDDEN; Mon, 13 Jun 2016 03:41:05 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <bastian.beischer@HIDDEN>) id 1bCMUV-0001VH-JW
 for bug-gnu-emacs@HIDDEN; 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 <bastian.beischer@HIDDEN>) id 1bCMUV-0001VD-5h
 for bug-gnu-emacs@HIDDEN; Mon, 13 Jun 2016 03:40:59 -0400
Received: by mail-wm0-x230.google.com with SMTP id m124so66595741wme.1
 for <bug-gnu-emacs@HIDDEN>; 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@HIDDEN>
References: <874m9j21is.fsf@HIDDEN>
From: Bastian Beischer <bastian.beischer@HIDDEN>
Date: Mon, 13 Jun 2016 09:40:54 +0200
X-Google-Sender-Auth: -pxbd5zPXegYxSQR6jmS2wy7UeA
Message-ID: <CAK9AuB_pdzYHGHVPjBXoEd=kV=-wZsmvE_LisYwB5S_FTg6-HQ@HIDDEN>
Subject: Re: 25.0.94;
 Calc: Yanking with mouse-2 does not use X primary selection/clipboard
To: bug-gnu-emacs@HIDDEN
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-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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
<bastian.beischer@HIDDEN> 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@HIDDEN
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@HIDDEN
Address: CERN, CH-1211 Geneve 23




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#23629; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 27 May 2016 11:17:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 27 07:17:57 2016
Received: from localhost ([127.0.0.1]:41258 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b6Fm9-0001ns-88
	for submit <at> 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 <bastian.beischer@HIDDEN>) id 1b6Fm7-0001nf-N6
 for submit <at> 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 <bastian.beischer@HIDDEN>) id 1b6Flw-0007uX-DO
 for submit <at> 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 <bastian.beischer@HIDDEN>) id 1b6Flw-0007uJ-A1
 for submit <at> 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 <bastian.beischer@HIDDEN>) id 1b6Flt-0005pA-7V
 for bug-gnu-emacs@HIDDEN; Fri, 27 May 2016 07:17:43 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <bastian.beischer@HIDDEN>) id 1b6Flp-0007rp-TN
 for bug-gnu-emacs@HIDDEN; 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 <bastian.beischer@HIDDEN>) id 1b6Flp-0007qF-Hu
 for bug-gnu-emacs@HIDDEN; Fri, 27 May 2016 07:17:37 -0400
Received: by mail-wm0-x22d.google.com with SMTP id z87so132983341wmh.0
 for <bug-gnu-emacs@HIDDEN>; 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 <bug-gnu-emacs@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Fri, 27 May 2016 04:17:35 -0700 (PDT)
From: Bastian Beischer <bastian.beischer@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 25.0.94;
 Calc: Yanking with mouse-2 does not use X primary selection/clipboard
Date: Fri, 27 May 2016 13:17:31 +0200
Message-ID: <874m9j21is.fsf@HIDDEN>
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-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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))




Acknowledgement sent to Bastian Beischer <bastian.beischer@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#23629; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.