From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Federico Tedin Newsgroups: gmane.emacs.bugs Subject: bug#31240: 26.1; mouse-save-then-kill does not kill rectangles Date: Tue, 2 Oct 2018 09:37:42 -0300 Message-ID: References: <5BADDC88.7010206@gmx.at> <5BB10CCE.4020503@gmx.at> <5BB1DBF0.5060706@gmx.at> <5BB320CA.5090606@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1538483868 29956 195.159.176.226 (2 Oct 2018 12:37:48 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 2 Oct 2018 12:37:48 +0000 (UTC) Cc: 31240@debbugs.gnu.org, charles@aurox.ch To: rudalics@gmx.at Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 02 14:37:44 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g7Jvr-0007gt-UK for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Oct 2018 14:37:44 +0200 Original-Received: from localhost ([::1]:43533 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g7Jxy-0005s8-IC for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Oct 2018 08:39:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g7JxE-0005Oc-9P for bug-gnu-emacs@gnu.org; Tue, 02 Oct 2018 08:39:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g7Jx8-0004Mk-HA for bug-gnu-emacs@gnu.org; Tue, 02 Oct 2018 08:39:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57880) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g7Jx7-0004Md-UV for bug-gnu-emacs@gnu.org; Tue, 02 Oct 2018 08:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g7Jx7-0004o0-Qc for bug-gnu-emacs@gnu.org; Tue, 02 Oct 2018 08:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Federico Tedin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 Oct 2018 12:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31240 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31240-submit@debbugs.gnu.org id=B31240.153848388118386 (code B ref 31240); Tue, 02 Oct 2018 12:39:01 +0000 Original-Received: (at 31240) by debbugs.gnu.org; 2 Oct 2018 12:38:01 +0000 Original-Received: from localhost ([127.0.0.1]:33905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g7Jw9-0004mQ-Fi for submit@debbugs.gnu.org; Tue, 02 Oct 2018 08:38:01 -0400 Original-Received: from mail-lf1-f46.google.com ([209.85.167.46]:35423) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g7Jw8-0004m7-7h for 31240@debbugs.gnu.org; Tue, 02 Oct 2018 08:38:00 -0400 Original-Received: by mail-lf1-f46.google.com with SMTP id r191-v6so1292928lff.2 for <31240@debbugs.gnu.org>; Tue, 02 Oct 2018 05:38:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bgVFM5mec4jBUWJtHacGNiJirO64AfNWtQMSgZbt6ts=; b=KX4KcUz/OHSYN0FwwWYyknrmrsaZTlr9gdP1OIUcmeo48Abs97Kok0j6MdOq2ycZqf wmIbsonOYW+5kdEO7Az9YLolXF865u74D9GDc0kyyc3rVqIchgOgjsEBVt89rJw8oiNy u+ewSLvUG0BR559ZopkFilzw0/oRDi1vCjS8O7OCrtjpFxvuIiOPtB6s4qrS6A0sEq7/ YTxw3t4rPeQmOMmpX+JS+EHrLN+T44EgI8XlVl9i56uS0U1a3CQ0phPRbq7wLV90b8Nm 5JZbjMV6Vw4rWxD+4rQ2vGm8IPwifVfEOPKh6CmEd4LvYLITJf2VzUVH074gAnOxpp6M UnpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bgVFM5mec4jBUWJtHacGNiJirO64AfNWtQMSgZbt6ts=; b=DsgK2DSFRLcgbK9POJEG4LSrL+ehz3rlAy2veEhJ7C9OJjUW3EomLhIiO7KqiHAfXI MLtmB62N3vfPMcCjH5yaPj2PAWQsH9uxDZfv3WgDNzh+2NjynX5b0o7EOPnWnSbRRIIG Pbhd/igtUbPhLhbugqFaIMHhsvFMTMzV/kqo30Ukzijl4YJIxaAYJc/6O+Mc3Nh/xlNi WcDnvuP7aHx9E9JU3D6pDV/SELTux+hzW5ZFhPIq8s1Oxwes5u5KWHOJsyXXsRkFFavd rawRZep3g1Y/ixgPrcNbbLKIXoe1EwV8fmOYu2rOb4RvK1m1FvsXv5fNyMl0CZH/yuQk ic1A== X-Gm-Message-State: ABuFfog+s0iZeAaAJaKWa+kWgDP13z7ucIHJzm5yaBSmst2b2wwmZsoG ge/aQEno3P0I0iOt4FZ9XJ2VmvAv6FELtoNeAwo= X-Google-Smtp-Source: ACcGV63/gP3kdITX01G3pTpJ2OHQRSGbcZQ4qzymgR2g+aWiFZgsPpvUi7q2Cxr3aw7GHBPmgQBn87OJ8PssHWYturk= X-Received: by 2002:a19:aa8b:: with SMTP id t133-v6mr8179014lfe.92.1538483873830; Tue, 02 Oct 2018 05:37:53 -0700 (PDT) In-Reply-To: <5BB320CA.5090606@gmx.at> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:150902 Archived-At: > BTW 'line-number-at-pos' is overly complicated, there is no need for > 'start' in it, it should simply do > > (save-excursion > (goto-char opoint) > (forward-line 0) > (1+ (count-lines (point-min) (point))))))) > > instead. I agree. On the other hand, I imagined it was better to re-use an existing function which had maybe dealed with problems I hadn't thought of. Should I leave the last patch as it is? > Personally, I prefer "patches with all changes and fixes included" > because that makes it easy for me to throw them away immediately and > resurrect them any time later. > > martin Great!