From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#10165: [PATCH] Allow setting corner in mouse avoidance mode. Date: Thu, 08 Dec 2011 07:33:07 +0100 Message-ID: <87pqfzshcs.fsf@gmail.com> References: <877h2itald.fsf@gmail.com> <87pqgaj757.fsf@mail.jurta.org> <87liqxj401.fsf@gmail.com> <871uspy0e3.fsf@gmail.com> <87ipm0spfp.fsf@mail.jurta.org> <874nxj4ei8.fsf@gmail.com> <87zkfb2znw.fsf@gmail.com> <87y5uvb5x8.fsf@mail.jurta.org> <87wrafusgd.fsf@gmail.com> <87wraezyvf.fsf@mail.jurta.org> <874nxi7u70.fsf@gmail.com> <877h2eav6t.fsf@gmail.com> <87zkfaxaz2.fsf@gmail.com> <87d3c370j8.fsf@mail.jurta.org> <871usilwpp.fsf@gmail.com> <878vmo8f0e.fsf@mail.jurta.org> <87ty5cs1fo.fsf@gmail.com> <87ehwg6utr.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1323326065 13583 80.91.229.12 (8 Dec 2011 06:34:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 8 Dec 2011 06:34:25 +0000 (UTC) Cc: 10165@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 08 07:34:21 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RYXYi-00027m-Ve for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Dec 2011 07:34:21 +0100 Original-Received: from localhost ([::1]:53421 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYXYh-0006H5-On for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Dec 2011 01:34:19 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:44580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYXYe-0006Gn-Hp for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2011 01:34:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RYXYd-00032y-AK for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2011 01:34:16 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57508) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYXYd-00032u-7S for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2011 01:34:15 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RYXZO-0004dH-5I for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2011 01:35:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Dec 2011 06:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10165 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 10165-submit@debbugs.gnu.org id=B10165.132332604417740 (code B ref 10165); Thu, 08 Dec 2011 06:35:02 +0000 Original-Received: (at 10165) by debbugs.gnu.org; 8 Dec 2011 06:34:04 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RYXYS-0004c5-88 for submit@debbugs.gnu.org; Thu, 08 Dec 2011 01:34:04 -0500 Original-Received: from mail-ww0-f46.google.com ([74.125.82.46]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RYXYP-0004bg-6G for 10165@debbugs.gnu.org; Thu, 08 Dec 2011 01:34:02 -0500 Original-Received: by wgbdq10 with SMTP id dq10so2899242wgb.15 for <10165@debbugs.gnu.org>; Wed, 07 Dec 2011 22:33:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=x/YPaamUePZZYa3nLQrEwDaV7j26NfMBm+mLeIw/wNk=; b=GW4rVEhSUj21D+FegdmqxTc7unQlLwwAxwAAoO2PIWrnB73SHAgqDa7Y+eto0MeUI7 Ywn2UPk3pAu+uySzt7XCyHWATz1XRyNunlJ5V+smbYK8JcFDTGgyQFOqqFMBDMv7eVAl jk+FV3R9My9qXWSTvYB7it1dnERrxJNxUY3JE= Original-Received: by 10.180.107.97 with SMTP id hb1mr2810224wib.18.1323325992846; Wed, 07 Dec 2011 22:33:12 -0800 (PST) Original-Received: from thierry-MM061 (187.211.85.79.rev.sfr.net. [79.85.211.187]) by mx.google.com with ESMTPS id m13sm7270405wbh.0.2011.12.07.22.33.09 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 07 Dec 2011 22:33:11 -0800 (PST) In-Reply-To: <87ehwg6utr.fsf@mail.jurta.org> (Juri Linkov's message of "Wed, 07 Dec 2011 21:52:04 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 08 Dec 2011 01:35:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:54803 Archived-At: Juri Linkov writes: >>> x-side `left' or `right' >>> y-side `top' or `bottom' >>> x-offset integer (positive, negative or zero) >>> y-offset integer (positive, negative or zero) >> >> Note that the code I wrote don't require negative arguments. >> You just set the distance from one edge with a positive argument, >> doesn't matter if it is right, left top or bottom. > > Sorry, I don't understand. Could you please demonstrate how it would be > possible to represent the following setting: > > (defun mouse-avoidance-banish-destination () > (cons (+ 3 (frame-width)) (- (frame-height) 1))) > > with only positive integer values in `mouse-avoidance-banish-position'? Yes you are right, sorry, need to use negative values for such setting. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997