From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Babcock Newsgroups: gmane.emacs.bugs Subject: Re: Emacs 22.1 spit window mouse resize Date: Wed, 06 Jun 2007 19:20:10 -0700 Organization: FlashNewsgroups.com Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1181182835 20765 80.91.229.12 (7 Jun 2007 02:20:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Jun 2007 02:20:35 +0000 (UTC) To: gnu-emacs-bug@moderators.isc.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 07 04:20:31 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hw7bx-0001Qw-PY for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Jun 2007 04:20:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hw7bx-0003ka-BV for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Jun 2007 22:20:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hw7bu-0003jX-T8 for bug-gnu-emacs@gnu.org; Wed, 06 Jun 2007 22:20:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hw7bp-0003hJ-BI for bug-gnu-emacs@gnu.org; Wed, 06 Jun 2007 22:20:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hw7bp-0003h2-7N for bug-gnu-emacs@gnu.org; Wed, 06 Jun 2007 22:20:21 -0400 Original-Received: from pinatubo-2.switch.ch ([130.59.1.10] helo=pinatubo.switch.ch) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hw7bo-00086e-GU for bug-gnu-emacs@gnu.org; Wed, 06 Jun 2007 22:20:20 -0400 Original-Received: from [208.49.83.42] (helo=email.usenetserver.com) by pinatubo.switch.ch with esmtp (Exim 4.50) id 1Hw7bn-0006kg-IO for gnu-emacs-bug@moderators.isc.org; Thu, 07 Jun 2007 04:20:19 +0200 Original-Received: from usenetserver.com (flashnews1.usenetserver.com [208.49.80.207]) by email.usenetserver.com (8.12.11/8.12.11) with ESMTP id l572KADr013604 for ; Wed, 6 Jun 2007 22:20:10 -0400 Original-Received: (from news@localhost) by usenetserver.com (8.12.11/8.12.11/Submit) id l572KAGD032022; Wed, 6 Jun 2007 19:20:10 -0700 Original-Path: news.flashnewsgroups.com-b7yQUZ7CaYQxA!not-for-mail Original-Newsgroups: gnu.emacs.bug User-Agent: Xnews/2006.08.24 Original-X-Complaints-To: abuse@flashnewsgroups.com Original-Lines: 42 Original-X-Trace: 7971d46676b5ae6c0dea632020 X-detected-kernel: Genre and OS details not recognized. X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15771 Archived-At: martin rudalics wrote in news:mailman.1648.1181145235.32220.bug-gnu-emacs@gnu.org: > Could you please try the attached patch. > > Attachment decoded: untitled-2.txt > --------------040800040006070503080008 > *** mouse.el.~1.315.~ Mon Apr 2 07:45:08 2007 > --- mouse.el Wed Jun 6 17:45:40 2007 > *************** > *** 498,504 **** > (and (not should-enlarge-minibuffer) > (> growth 0) > mode-line-p > ! (/= top (nth 1 (window-edges))))) > (set-window-configuration wconfig))))))))) > > (defun mouse-drag-mode-line (start-event) > --- 498,504 ---- > (and (not should-enlarge-minibuffer) > (> growth 0) > mode-line-p > ! (/= top (nth 1 (window-edges > start-event-window))))) > (set-window-configuration wconfig))))))))) > > (defun mouse-drag-mode-line (start-event) > > > Attachment decoded: mouse.patch Yes, this fixes the problem of not being able to move the divider down when the focus is in the lower half of the window. Thanks. It's still true that the focus moves to the upper half when I release the mouse button. Is this supposed to happen? (In emacs 21.3, the focus shifts when I press the mouse button.) Around the end of January, someone posted a complaint about this focus behavior. I posted a me-too message, and RMS sent me a mouse.el patch. After a couple iterations, it had the same problem as the current release version and I didn't hear any further. Probably my last email about it got lost in the vast sea of spam we all face these days. .