From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Manoj Srivastava Newsgroups: gmane.emacs.devel Subject: Re: The X window system, yanking, and pasting using the mouse Date: Wed, 26 Jan 2011 19:33:08 -0800 Organization: Manoj Srivastava's Home Message-ID: <87d3njkoln.fsf@anzu.internal.golden-gryphon.com> References: <87hbcvkrgr.fsf@anzu.internal.golden-gryphon.com> <878vy73wa0.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1296099227 1003 80.91.229.12 (27 Jan 2011 03:33:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 27 Jan 2011 03:33:47 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 27 04:33:43 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PiIc9-000263-Uz for ged-emacs-devel@m.gmane.org; Thu, 27 Jan 2011 04:33:42 +0100 Original-Received: from localhost ([127.0.0.1]:51747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PiIc9-0002XT-BK for ged-emacs-devel@m.gmane.org; Wed, 26 Jan 2011 22:33:41 -0500 Original-Received: from [140.186.70.92] (port=34721 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PiIbt-0002V4-Lt for emacs-devel@gnu.org; Wed, 26 Jan 2011 22:33:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PiIbs-0002iJ-9V for emacs-devel@gnu.org; Wed, 26 Jan 2011 22:33:25 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:45571) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PiIbr-0002iB-Tm for emacs-devel@gnu.org; Wed, 26 Jan 2011 22:33:24 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PiIbq-0001yF-7y for emacs-devel@gnu.org; Thu, 27 Jan 2011 04:33:22 +0100 Original-Received: from c-67-182-138-215.hsd1.wa.comcast.net ([67.182.138.215]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Jan 2011 04:33:22 +0100 Original-Received: from srivasta by c-67-182-138-215.hsd1.wa.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Jan 2011 04:33:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 33 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-67-182-138-215.hsd1.wa.comcast.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) (x86_64-unknown-linux-gnu) Face: iVBORw0KGgoAAAANSUhEUgAAACYAAAAwCAMAAABKbPgaAAAAM1BMVEUAAADIjH/0rp1KPz79 0b+ic2nlpJc2Ly2AY17VlYb4uqi2gHQXFBN2WVXgno5iT02Xa2Nx+jaIAAACVElEQVQ4jeWU23bj IAxFLUAggQX6/6+dI9LGTpo+9mlYiXNhc3TnOP50naZE0tqvgEk+soutnNfQ8yPTWMTENhNrjI+Y +N7POVt8tAzpn2vJlsmttbyfrdkP7hx5iezteGzsbOts7xT+tC1mcG+LtRP2X/16bEQExuyx1uZW vscrAWUT8aE0aDBeBuw8nS5u4WgWyDCllOZUBeyWgbWbGrBsTDpTx0qpphlcYPcgJLvBXFClPMg5 6WH2JidLIAaDF5aAed7uPTH4bjw0bZvfajp2tHc1F+cBm+Vr9YomGSwNhbmcczYEWUu5MBpYvCLV F+ZIKwQfYB+CBXnIRQFvIRhK6l96PemsFLEPFxi+MPxiTYH0Ave1InPsIYes3NJb42ytBSmmysyj lIQYHJm6Im1WbQ0kWMesKFRFPKTDzJ3GhWUn2KWKEkWlKthoACLm2eWJQQh2qKbAUgQxa+8TVjn1 aySm8656ookCfCc5TRzvnZ6YOu3NpHg+uR5YuRkNF/b5IHq5Y7Ve6c2+sR4hqIZ3+5DCt3ukh8Eo vFIXVJxqfMdbkd/BF3YaQkB/2RIUHPMS7RLVAHefrYzWZVQ/ei4peBsROFLi90ltQyvF5I05t4Zs L4C9DODJ2AZCUf8UitGjCIdfx15QQkfZibTOGT3edxns5fY6F2rstKcTwiiaJnQwvYkdzTlaTqNH IkSmGdLrON45tGsMNDoSYr4bxH5emHEFaoFjKBahHXFXfLx9cR9p6ejJXihuxPz57gWHZkWovbPl 9gsU8eImtBi++3D+f+sfT/Mg79fyEz8AAAAASUVORK5CYII= X-URL: http://www.golden-gryphon.com/ Mail-Copies-To: never Cancel-Lock: sha1:zstJ0td7NL2Vnsekq/T7oqbiykg= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:135065 Archived-At: On Wed, Jan 26 2011, Miles Bader wrote: > Manoj Srivastava writes: >> What I want is the behaviour I think I used to have in Emacs on >> GNU/Linux X Windows: >> 1) Whatever text is pasted when I click >> (mouse-yank-primary?) should be the same thing yanked when I type >> C-y (yank) >> 2) Conversely, text that is selected in Emacs, such that it is >> inserted with a C-y (yank) should also be the text that is pasted >> into, say, an xterm when I do a middle mouse click in there. > > I agree, this was very nice behavior. > >> What changes do I need to make to get this? > > I've not found a tenable way to simulate the old behavior with the new > code. I would say that this is a regression, then. Before the new code, I never had to worry about primary and secondary selections; and pasting using a mouse was the same as yanking, and text selected in Emacs could easily be passed around to other X Windows applications. Is there a possibility for this regression to be fixed? If I recall correctly, the new code was supposed to preserve the old features, and that does not seem to be the case here. manoj -- "Only a mediocre man is always at his best." Somerset Maugham Manoj Srivastava 4096R/C5779A1C E37E 5EC5 2A01 DA25 AD20 05B6 CF48 9438 C577 9A1C