From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Klaus Zeitler Newsgroups: gmane.emacs.devel Subject: Re: paste when cursor is in the fringe Date: Fri, 11 Aug 2006 12:05:09 +0200 Message-ID: References: <17628.11678.640872.91387@kahikatea.snap.net.nz> <7dbe73ed0608110116t52fe3828y2ab8b5c499200333@mail.gmail.com> <17628.17793.819962.670707@kahikatea.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1155290745 3313 80.91.229.2 (11 Aug 2006 10:05:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Aug 2006 10:05:45 +0000 (UTC) Cc: emacs-devel@gnu.org, Mathias Dahl Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 11 12:05:43 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GBTtc-0004e0-1P for ged-emacs-devel@m.gmane.org; Fri, 11 Aug 2006 12:05:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBTtb-0002EJ-AB for ged-emacs-devel@m.gmane.org; Fri, 11 Aug 2006 06:05:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GBTtO-0002BT-2Y for emacs-devel@gnu.org; Fri, 11 Aug 2006 06:05:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GBTtM-00029v-M7 for emacs-devel@gnu.org; Fri, 11 Aug 2006 06:05:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBTtM-00029k-Eg for emacs-devel@gnu.org; Fri, 11 Aug 2006 06:05:24 -0400 Original-Received: from [135.245.0.37] (helo=ihemail3.lucent.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GBTyT-0006b1-5D for emacs-devel@gnu.org; Fri, 11 Aug 2006 06:10:41 -0400 Original-Received: from nbgif1.de.lucent.com (h135-246-31-82.lucent.com [135.246.31.82]) by ihemail3.lucent.com (8.13.6/IER-o) with ESMTP id k7BA5KCQ005473; Fri, 11 Aug 2006 05:05:20 -0500 (CDT) Original-Received: from sfsws1.de.lucent.com (sfsws1 [135.246.31.38]) by nbgif1.de.lucent.com (8.11.7p2+Sun/8.11.7) with ESMTP id k7BA5Jg02229; Fri, 11 Aug 2006 12:05:19 +0200 (MEST) Original-Received: from sfsw51.de.lucent.com (sfsw51.de.lucent.com [135.246.72.99]) by sfsws1.de.lucent.com (8.11.7p2+Sun/8.8.5) with ESMTP id k7BA59402591; Fri, 11 Aug 2006 12:05:11 +0200 (MEST) Original-Received: (from kzeitler@localhost) by sfsw51.de.lucent.com (8.11.7p1+Sun/8.8.8) id k7BA59Y17361; Fri, 11 Aug 2006 12:05:09 +0200 (MEST) X-Authentication-Warning: sfsw51.de.lucent.com: kzeitler set sender to kzeitler@lucent.com using -f Original-To: Nick Roberts X-NSA-Fodder: S Box Forte e-cash assassinate broadside rail gun FIPS140 In-Reply-To: <17628.17793.819962.670707@kahikatea.snap.net.nz> (Nick Roberts's message of "Fri, 11 Aug 2006 20:53:21 +1200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (usg-unix-v) 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:58286 Archived-At: >>>>> "Nick" == Nick Roberts writes: Nick> Nick> I think this feature would rarely be needed and it seems a bit Agreed for people who rarely use the mouse for cut and paste (I've been using emacs with fringes for quite some time and so far hadn't noticed it). But I've seen quite a few users who do almost everything with the mouse. Nick> unintuitive as the fringe isn't part of the text area. A different Nick> possibility is to bind mouse-1 to toggle-truncate-lines when a Nick> truncation/continuation fringe indicator is present. Interesting idea, but I don't think mouse-1 would be a good choice. >> FYI I just bound mouse-2 on the fringe (using M-x local-set-key) to >> mouse-yank-at-click, and it seemed to work OK. Nice, hadn't known that it was so easy. In emacs you learn something new every day. Thanks for the hint. I've now defined in my .emacs.el: (global-set-key [right-fringe mouse-2] 'mouse-yank-at-click) Nick> I imagine in this case it would work even if the cursor wasn't in the Nick> margin. Yes, but this is consistent with mouse-1 (mouse-set-point), i.e. mouse-1 moves point to the end of the current line and mouse-2 pastes there. -- ------------------------------------------ | Klaus Zeitler Lucent Technologies | | Email: kzeitler@lucent.com | ------------------------------------------ --- Rap music is our punishment for neglecting music education.