From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.bugs Subject: bug#41934: reverse-region no longer works Date: Thu, 18 Jun 2020 19:33:57 +0100 Message-ID: References: <83lfkkz2wr.fsf@gnu.org> <83h7v8z0sd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="50403"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41934@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 18 20:35:10 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jlzNW-000D0V-1f for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Jun 2020 20:35:10 +0200 Original-Received: from localhost ([::1]:50766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jlzNU-00038j-TR for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Jun 2020 14:35:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jlzNO-00037l-7S for bug-gnu-emacs@gnu.org; Thu, 18 Jun 2020 14:35:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42852) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jlzNN-0001VR-Uo for bug-gnu-emacs@gnu.org; Thu, 18 Jun 2020 14:35:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jlzNN-0007Ud-Ri for bug-gnu-emacs@gnu.org; Thu, 18 Jun 2020 14:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Copley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Jun 2020 18:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41934 X-GNU-PR-Package: emacs Original-Received: via spool by 41934-submit@debbugs.gnu.org id=B41934.159250527128761 (code B ref 41934); Thu, 18 Jun 2020 18:35:01 +0000 Original-Received: (at 41934) by debbugs.gnu.org; 18 Jun 2020 18:34:31 +0000 Original-Received: from localhost ([127.0.0.1]:54398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jlzMt-0007Tp-06 for submit@debbugs.gnu.org; Thu, 18 Jun 2020 14:34:31 -0400 Original-Received: from mail-oi1-f182.google.com ([209.85.167.182]:34504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jlzMq-0007Tb-NQ for 41934@debbugs.gnu.org; Thu, 18 Jun 2020 14:34:30 -0400 Original-Received: by mail-oi1-f182.google.com with SMTP id b8so6026470oic.1 for <41934@debbugs.gnu.org>; Thu, 18 Jun 2020 11:34:28 -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=kraMVz2ekQR4Wq4gtJ3U9ZTkdgGVNlLexUwQbqyuDMc=; b=fFEilkcMJOr3Rn6075E4Aoy1n5qEVnCmRtCTmbiaC/G9FvRztmdX1QBsUdQx5Txbqq gBBgYrHzvOjRHDp4Ywf8bcLACFm22mw7AqcSx+NqrTHhVfjJoNhrkU3diazQPg0RIpmT qia19vTKonZURACYl+Ard7FwNx1B0iw5pEFCyLfTQqfd9f5707GZJAe0py5TWcxpmQKI y6p2swrR/5kLqpO4to4A5q+ZP/sp+Z/Rzlin87Bf2aPZKO1pa5+vvaIn8MgdnlcbfCKX L5M8tCvkV4eIKINmTtYLQUysglbCZVBESrYYleK3Du0yMPzjgO1iFbSDwBy7G8/W7oZa U7tw== 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=kraMVz2ekQR4Wq4gtJ3U9ZTkdgGVNlLexUwQbqyuDMc=; b=B9VLVaBEk2BlNqRHygxtGngQ8Ba24lW96xrfUHXy38G8T61Pn6YVV5pnFkVKgOA61E g9NzHsp2tN84zKZSooE5bVYeclcWIZdQgyQ0gn8iic9uyUFtUPSqbSJv9uUO52HRxSbn k0LOL3ZgyuzQwxw9dBSbxKORM2qWIaMASLIMNXyWpR5heX/XvAs+hcZBwAj3AuWoePX7 Al9jLyjHTk8ExvpaPwWh3NPBzXEyuKjQgYsB75IO1SHteXWPiqxqx5yMqYRfmjZTiC5m hZBFf74Sd8BvK6ofoXgauTgaV9XT0O/WFhiPZj6MG1F0GUfZKMhVDe+VS1v8qEq6OGTC m9Kg== X-Gm-Message-State: AOAM532Zj2jm1BGAIBGEZTLpOkv3F23qDCuAG3m47rewtfw4t2m70SDK ZZU1dd/wQb8uahD/I5KY9x3tkqx5Ot31aWa4/34/ag== X-Google-Smtp-Source: ABdhPJxi0oGkQbbTHgmt8fkIw1wXQfHknz+rsiqEViW44ZVlFiOr7OJ+OO9iD3Ft/6ZtK2yu1/kUMbRhwxH13a1U6Xg= X-Received: by 2002:aca:cdc4:: with SMTP id d187mr109230oig.117.1592505263007; Thu, 18 Jun 2020 11:34:23 -0700 (PDT) In-Reply-To: <83h7v8z0sd.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:182138 Archived-At: On Thu, 18 Jun 2020 at 19:28, Eli Zaretskii wrote: > > > From: Richard Copley > > Date: Thu, 18 Jun 2020 18:59:21 +0100 > > Cc: 41934@debbugs.gnu.org > > > > On Thu, 18 Jun 2020 at 18:52, Richard Copley wrote: > > > On Thu, 18 Jun 2020 at 18:42, Eli Zaretskii wrote: > > > Thanks, > > > No, that fails on this example [...] > > > > How's this? > > Looks good, but what if beg and end are on the same line (at the point > where you added the test)? Does that not warrant the error message? Not that error message, no, but rather something like "There are fewer than two lines in the region". I don't see the point of this error at all: if there are fewer than two lines in the region-to-be-reversed at that point, in my opinion the command should have no effect.