From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: visual-region-mode? (was: delete-selection-mode as default) Date: Wed, 12 Sep 2018 12:12:26 +0700 Message-ID: References: <83k1nxvm5j.fsf@gnu.org> <877ejxsm18.fsf@toy.adminart.net> <874lf0oul4.fsf@toy.adminart.net> <877ejuabdt.fsf_-_@toy.adminart.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1536729599 24083 195.159.176.226 (12 Sep 2018 05:19:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 12 Sep 2018 05:19:59 +0000 (UTC) Cc: hw@adminart.net, =?UTF-8?Q?Cl=C3=A9ment_Pit=2DClaudel?= , =?UTF-8?Q?Elias_M=C3=A5rtenson?= , rms@gnu.org, Emacs developers To: charles@aurox.ch Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 12 07:19:55 2018 Return-path: Envelope-to: ged-emacs-devel@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 1fzxZD-0006Ap-1f for ged-emacs-devel@m.gmane.org; Wed, 12 Sep 2018 07:19:55 +0200 Original-Received: from localhost ([::1]:34285 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzxbJ-00042n-EU for ged-emacs-devel@m.gmane.org; Wed, 12 Sep 2018 01:22:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60333) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzxb4-0003jE-VB for emacs-devel@gnu.org; Wed, 12 Sep 2018 01:21:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzxSD-0005yH-Op for emacs-devel@gnu.org; Wed, 12 Sep 2018 01:12:42 -0400 Original-Received: from mail-oi0-x22f.google.com ([2607:f8b0:4003:c06::22f]:39274) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fzxSC-0005xY-Hl; Wed, 12 Sep 2018 01:12:40 -0400 Original-Received: by mail-oi0-x22f.google.com with SMTP id c190-v6so1241056oig.6; Tue, 11 Sep 2018 22:12:39 -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=zoDnor/g9ckchjhIxaK5sZTtQqkRtteBSBLIvLZXsZA=; b=ast3GCoE+JqerdfKHvCoazFMcDocTuSAMUU30B3mXs/Dbyt6PhsgtOO2DofzP/JGx8 jQnZ0H4xy8sRhclXAGOdxhp0Tp4pZmEU1bXarFo8y6hoGaUAXGOuwQAoSluK6rvIsFNE YOD8mUQK6mF9/aS+d5mKtyK3TbqLARpDJ5EA3l+d58NQpscycdOqTOVXkUgDlvIG8n3M ALfVnEK3GsbuxT4z1QoXO48GuRDohIiM9zW6pDiELKrsXKW2i+WDngSn1aV8y4rt/93F O/0uaabP7bpst/uJEJPq+bEjS6t0tTkS7sFhDgFarbYKJ5gNS4D0G6b+HIx3sPstiJf/ cmxw== 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=zoDnor/g9ckchjhIxaK5sZTtQqkRtteBSBLIvLZXsZA=; b=UzWofiwT/VS0WECQ9bL67mqDOZNiXW0SQ8x5GznRCPJGGXrQXsI0HVD/J1aBHDoc/j v7vMPp1F4gIcnm8LgdzDp0+2czSXdW95JY3oWUTZDvRxk+auVY6s7/yc0QMWysmG33sx HslYQE8pIErUu1nM8kWDnReE5Ww/TaksvaY+HbgZf2zpwnBQBF5FIzGmJwfN8AVOQLDl UU/4OVka4AuJWy11xDR48mh0BUUYu7Izm5nBg0QhyPmljqYLnaP0bq57iOqlt7s3oUM9 Wo0cH0Z99kq4xSA5vHll0Dpheht7MLB48qT/mGuMzvXVoNNK3RZ0yoiT+EQwGuitfa2I 8v/Q== X-Gm-Message-State: APzg51ArHN71deYt+SCYN/ZS5hMZhK/73jKivtRGhXzV+BHLzHZt768C FZbO3ealGQx67UQ+Jr14nJwMBcg1ZE6rXz3ynt0= X-Google-Smtp-Source: ANB0VdbO3VqnbvanvZE0RPxc5jVeRmjhvBn8rpXvCBYlXePihu+TOK7MjjreEmM6F+DpZojp6YjHBxvjICkozvugmYA= X-Received: by 2002:aca:5c56:: with SMTP id q83-v6mr150823oib.255.1536729159145; Tue, 11 Sep 2018 22:12:39 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::22f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:229695 Archived-At: On Wed, Sep 12, 2018 at 1:24 AM Charles A. Roelli wrote: > > A consistent definition of a transient region would make the mark also > > buffer-and-window-local, so that buffer B in windows X and Y could > > have completely independently marked regions. > > In that case, pushing a mark in window X, then switching to window Y > and popping the mark would not necessarily place point where the mark > was pushed in window X, since window Y might have its own mark. That > could be surprising behavior. The handling of the mark-ring would > also be complicated. I thought about it some more. We have a notion of mark that is somewhat overloaded. On the one hand, there is the mark ring and the global mark ring whose purpose in life is to help the user navigate back to positions they visited earlier. On the other hand, the mark is used as one of the two delimiters of the region. It seems to me these two uses of the mark are mutually disjoint, and it might be a better model if they were decoupled.