From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#35899: 26.1; move-beginning-of-line sometimes does not move to beginning of line Date: Sun, 23 Jun 2019 12:31:56 -0400 Message-ID: <87blyotg8z.fsf@gmail.com> References: <875zpylkxe.fsf@metalevel.at> <838suu4n1y.fsf@gnu.org> <871rznw8wt.fsf@gmail.com> <838stvp1cg.fsf@gnu.org> <87y31ttenr.fsf@gmail.com> <83pnn4mh53.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="85312"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) Cc: 35899@debbugs.gnu.org, triska@metalevel.at To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 23 18:33:20 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hf5Qd-000M2H-DH for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 Jun 2019 18:33:19 +0200 Original-Received: from localhost ([::1]:45652 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hf5Qc-0002NQ-DR for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 Jun 2019 12:33:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55900) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hf5QW-0002NG-DM for bug-gnu-emacs@gnu.org; Sun, 23 Jun 2019 12:33:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hf5QQ-0002F3-FD for bug-gnu-emacs@gnu.org; Sun, 23 Jun 2019 12:33:09 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40626) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hf5QM-00026e-8B for bug-gnu-emacs@gnu.org; Sun, 23 Jun 2019 12:33:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hf5QM-0002Wj-3C for bug-gnu-emacs@gnu.org; Sun, 23 Jun 2019 12:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 23 Jun 2019 16:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35899 X-GNU-PR-Package: emacs Original-Received: via spool by 35899-submit@debbugs.gnu.org id=B35899.15613075249642 (code B ref 35899); Sun, 23 Jun 2019 16:33:02 +0000 Original-Received: (at 35899) by debbugs.gnu.org; 23 Jun 2019 16:32:04 +0000 Original-Received: from localhost ([127.0.0.1]:54170 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hf5PQ-0002VS-FX for submit@debbugs.gnu.org; Sun, 23 Jun 2019 12:32:04 -0400 Original-Received: from mail-io1-f48.google.com ([209.85.166.48]:32934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hf5PO-0002Um-Um for 35899@debbugs.gnu.org; Sun, 23 Jun 2019 12:32:03 -0400 Original-Received: by mail-io1-f48.google.com with SMTP id u13so436075iop.0 for <35899@debbugs.gnu.org>; Sun, 23 Jun 2019 09:32:02 -0700 (PDT) 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=pRvdHVHspEdsUtnIAPrxh0KJS+Dyj7cs40GeUyLLO4U=; b=J3CyNYLWI2aRYsAeUTig0yRJhB9INkJyFEQ4Yo6i9ZnTA5CW/KrzByCAHLIJSX1otv 0kTf9sIboBPY85W4oD43oqbsUAhKv/8hM1ulpj2bidt8/mzlm1ZvhQ2Oxwz+K/DgbwAy WqArfXEXn8DD8gK1VCHDpoNm9bTkQoSuv66QeP3ZjgaLCvPhtMqOaMy5KX7SdDjRPIyc 9PN5Y4wNppXCwMnKXCyPZmuVZ/crIRTb7X/fARGfT5+Nwkr4yak5UDj7aJAE/54aHF0/ JPo/uqVyRPe+Tj4yTqUZlABwQTc9hqoQQsd5sETVeYZyp2JfrV/uVttIMn7RTGlJg9t6 T5gg== 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=pRvdHVHspEdsUtnIAPrxh0KJS+Dyj7cs40GeUyLLO4U=; b=ip+SotAX9rLlioR7BETFXyeQzXRJi8+KnR769q14eHwy4CSDh3tqa5wAbUoqgJ5Cf9 wR/Q08/0qmwx1LzmtO9Ub12zkl7pyRISrv0gbHQG625BR2qXDG6WxEK4QFI8WCSBeBgK mJwwO9Lai6bzEXXLhN2l8bjlga+DcNyEr2gl+BEgUzlIy4IgdjveaXQjzegxwsOEZorr FJDJtW4iDybGLr3aD4lYhBFGeDyL8eRKvQuMcT63zRGx/IuMnkAS5nAmj9iK1EmiJZmw +xbKvNIAeUm4B6oeOzZutnO9RIAd8nbRFZhdu0uv4/Bf/dW4eL9eHlwsh2HQN8WXi4Wu nbww== X-Gm-Message-State: APjAAAVxPfpnhQQSvV+0mIJnQ7YQLRupUIsQWpILXqtSd+Vxq8sbjWWs GJwCvQGz4SFHWLpe04Q0hk1rcE5s X-Google-Smtp-Source: APXvYqw4jEBh4/8kizgZ6MaEA9dRtv4HYk7jTeb4k3X5hChAh1h1VZ1MCHL3suz4k1/bec/0OVKxfA== X-Received: by 2002:a5d:9d58:: with SMTP id k24mr23358877iok.116.1561307517221; Sun, 23 Jun 2019 09:31:57 -0700 (PDT) Original-Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.gmail.com with ESMTPSA id c2sm7342732iok.53.2019.06.23.09.31.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 23 Jun 2019 09:31:56 -0700 (PDT) In-Reply-To: <83pnn4mh53.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 23 Jun 2019 18:54:32 +0300") 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: 209.51.188.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:161125 Archived-At: Eli Zaretskii writes: >> Hmm, something a bit funny here: M-x move-beginning-of-line and M-: >> (move-beginning-of-line nil) go to the beginning of "def", but C-a >> (which is bound to move-beginning-of-line) goes onto the image (same as >> C-4 C-b). > > It doesn't go into the image, it stops at the first character covered > by the display property. Ah right, I misinterpreted the behaviour. >> But neither of these behaviours seems to be "disregarding" the newlines >> that the "image rests on", i.e., it's different from what happens >> without the newlines: >> >> (let ((img (create-image "splash.png"))) >> (insert "abc") >> (insert-image img "foo bar baz") >> (insert "def")) > > I don't object to the proposed change of documentation, although I > don't see how it makes the issue significantly more clear. Point > movement in the presence of images that conceal newlines is tricky to > describe in any terms but those of how the display engine works. Right, the proposed change just stops attempting to describe it at all (and adds references to visual line movement, which solves the OP's problem).