From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrii Kolomoiets Newsgroups: gmane.emacs.bugs Subject: bug#43948: 28.0.50; [PATHC][NS] Make s- to move to beginning/end of line Date: Fri, 13 Nov 2020 01:20:36 +0200 Message-ID: References: <69363AFC-A591-4790-A359-A56E4CD828C1@icloud.com> <83a6vmzlkd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13530"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: alan@idiocy.org, tsuucat@icloud.com, 43948@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 13 00:21:11 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 1kdLtu-0003O0-O1 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 Nov 2020 00:21:10 +0100 Original-Received: from localhost ([::1]:44852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kdLtt-00046n-Q3 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Nov 2020 18:21:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdLtm-00046c-4x for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2020 18:21:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34510) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kdLtl-0007Ef-S9 for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2020 18:21:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kdLtl-0002wC-LF for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2020 18:21:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrii Kolomoiets Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Nov 2020 23:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43948 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 43948-submit@debbugs.gnu.org id=B43948.160522325111266 (code B ref 43948); Thu, 12 Nov 2020 23:21:01 +0000 Original-Received: (at 43948) by debbugs.gnu.org; 12 Nov 2020 23:20:51 +0000 Original-Received: from localhost ([127.0.0.1]:46056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdLta-0002ve-TO for submit@debbugs.gnu.org; Thu, 12 Nov 2020 18:20:51 -0500 Original-Received: from mail-lf1-f46.google.com ([209.85.167.46]:46163) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdLtX-0002vO-4p for 43948@debbugs.gnu.org; Thu, 12 Nov 2020 18:20:49 -0500 Original-Received: by mail-lf1-f46.google.com with SMTP id v144so10999795lfa.13 for <43948@debbugs.gnu.org>; Thu, 12 Nov 2020 15:20:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=hhTyTtTDc9iLvZ3jgFp2kSBypMUagTxdaC82Vl9jf20=; b=ZMBM2odsgqfaeNka6tVXa96j0zfqU/dCJGHumsspMIapBnQ/TZ/HnmlbtOTSermRzT QSD5sqOKQhM1c2Ool591JHgzNwyoJ6OUe+MaZst79ovxKwSiqGtIcZCz/pGX6jUnSzjw ivGJUWaML6MinCxWjF7p+WolVx0BHhYQ/T/soeO/eId9Zfc69tvAYF/GoCOAfEX4Q2T5 ZnOPsG6M38pn9lkIlGIGWJ0qmFlt++T2F2yXqubTfNtcmbwBttt0wHMmZwiMk4SHqNaA GWyjLKW5DDaB3QMVn9/UIIPinxnmrtsvTbUpX1jao/DhBkJhLWJsdVlan2KL5Fy3dqeM MB9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=hhTyTtTDc9iLvZ3jgFp2kSBypMUagTxdaC82Vl9jf20=; b=nT1fJZVN6grbxZPFuUJWh1snxjG00cyukkYvQX2KOkb8iWlz2uxs3cLq6Ql+Xqnlyb iuTQbaOFfYKa0yqWcgX+U233amPoxqMMn3KaME4FC1p9k/P3rbn1uPPkk2d07qWl5g1P SgvHvLDkIP7CDgW0rL6GNJe3B2dJvSvI4MDf3ued0qMN2yFUp0E42nkDOSas5h1XZWsn YFuaEY6wRb0nRYrPzERcJC9VryHjCI4HzndxDmOnpf3KUW7qGEfBWmZno1ZNQUN+WJGZ KZNbEw7gQ4wqJpPcTP0NJFFwFjDXcUlIqz//P7PT8lHVo2fo3nUzesU2grRobchIMTJ2 rEaA== X-Gm-Message-State: AOAM531ToQGL93ircievezo/tpFeFnjxesXNEfZfaR/miIggR2ibJ3vT pwYRAn/gWqmsui0oYLOYAfX05wVcplN8KQ== X-Google-Smtp-Source: ABdhPJyVZZ+ifaP8MQ7BD8yrI1ELiqpXS3Ulbrqy5Krz0dfn6wuwAOeZmE6KiU/qr8s0+wIfXupRXQ== X-Received: by 2002:ac2:5591:: with SMTP id v17mr635140lfg.562.1605223240659; Thu, 12 Nov 2020 15:20:40 -0800 (PST) Original-Received: from muffinmac ([91.206.110.192]) by smtp.gmail.com with ESMTPSA id z8sm1046769ljh.74.2020.11.12.15.20.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 15:20:39 -0800 (PST) In-Reply-To: <83a6vmzlkd.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 12 Nov 2020 16:39:14 +0200") 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:193192 Archived-At: Eli Zaretskii writes: >> 2. M-: (set-frame-width nil 50) >> 3. M-< >> 4. M-x end-of-visual-line >> The point moved to the beginning of the next visual line > > What else did you expect, in a continued line? There's no place to > show the cursor except at the beginning of the next screen line. Well, sometimes the cursor is on the fringe. With "bar" cursor type this leads to interesting behavior: emacs -Q M-: (set-frame-width nil 70) M-: (setq cursor-type 'bar) Now it's easy to place the cursor after the "." on the first line: M-< C-e But it is not possible to place the cursor after last "e" on the second line. IIRC it's because the cursor is actually "on" some character and not "before" or "after" it. And at the end of the first line the cursor is on the "new line" character. >> 5. M-< >> 6. M-x toggle-truncate-lines >> 7. M-x end-of-visual-line >> The point is not moved to the end of the line. > > It is, but you need to disable auto-hscroll-mode to see that. Yes, the point is correctly moved to the end of visual line. I didn't mean to say the behavior of the 'end-of-visual-line' function is wrong. I tried to say that behavior of the 'end-of-visual-line' function outside the 'visual-line-mode' can be surprising for the users who press Command- to go to the end of the line.