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: Sat, 22 Jun 2019 18:54:00 -0400 Message-ID: <87y31ttenr.fsf@gmail.com> References: <875zpylkxe.fsf@metalevel.at> <838suu4n1y.fsf@gnu.org> <871rznw8wt.fsf@gmail.com> <838stvp1cg.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="30733"; 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 00:55:16 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 1heouh-0007n0-PP for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 Jun 2019 00:55:15 +0200 Original-Received: from localhost ([::1]:42640 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1heoua-0007BX-IU for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Jun 2019 18:55:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35467) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1heouV-0007BB-G3 for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2019 18:55:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1heouU-0001qV-Fm for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2019 18:55:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39125) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1heouU-0001qJ-BX for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2019 18:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1heouU-0001Qo-9I for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2019 18:55: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: Sat, 22 Jun 2019 22:55: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.15612440505428 (code B ref 35899); Sat, 22 Jun 2019 22:55:02 +0000 Original-Received: (at 35899) by debbugs.gnu.org; 22 Jun 2019 22:54:10 +0000 Original-Received: from localhost ([127.0.0.1]:52669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1heote-0001PU-0Q for submit@debbugs.gnu.org; Sat, 22 Jun 2019 18:54:10 -0400 Original-Received: from mail-io1-f54.google.com ([209.85.166.54]:32803) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1heotb-0001PE-Lf for 35899@debbugs.gnu.org; Sat, 22 Jun 2019 18:54:08 -0400 Original-Received: by mail-io1-f54.google.com with SMTP id u13so1186158iop.0 for <35899@debbugs.gnu.org>; Sat, 22 Jun 2019 15:54:07 -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=4rMLl5WRcURdNLHZF5dAw/AWDft6WNEwmMK2to0tS0E=; b=dMWkRPq6bFRvUJuz8cCB49ULA1SOvASA/JB1H1KLCzkrDjTVwFrNWtGfR/C9T9FbLn 5dMZ+oqCmLLDDG9Q5mxAwsHo5CGXchVqRooH/SDGeghyND/B9pVFYVEUvmBj6EjPvsQS E2x3oG9OwkowiXgZhDbUIuzq9pDPnkWRnt0jVkoCHnEeix5NrTcw5s4bTvi0CEw9QdxY y2cAi/w7um1gtIw5SOb2tF+WkKzAmAJj9eSCR6s6G2eWWefwl42rjInYa05krZzd9Ful JD3zMVOUKSVuTNL+objgtXJ6zrn9/4P2bJXBdUQ3u5/HKLtVm75Xy8dUHcAr9hCuUZqL dbsg== 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=4rMLl5WRcURdNLHZF5dAw/AWDft6WNEwmMK2to0tS0E=; b=jBCrUECEeDDS+/Y0BVWoZhSOQjdiPFxB6LtkUJXzr4yG1IFplr6YEIqwGpcfNsOi9E Pad7YPKEbYZ4Kkc/nkL8QyI9WzwD2xjcWADSGpZviIPmokvc8W7aZKQXLtfLuIRmTnnr gQwKcBFbaYYQ1bF4rooyUi5kqkhPqQ3ESQvNT5o47EFyfTkWy+8gdDEDs1Nw2ek9PHi6 qtVBdkYj7uwsXAf2f5PtCTZYlS5jwx4OAqsffwrHokOmRQIKATGG7uYBIr8TgIKyr5x1 yIQAUiik+0oU3v+caRHF2jZ8PMhJKgOs183tzBN4hi1qAPR+/H1oWpJgh1OG1NRgEuWP /aaA== X-Gm-Message-State: APjAAAWgEoJXhvRdijaWyUJdhW6537nRx0ANe2LMDUYN6PTpmZzqsRye acHl4eACZRossqWCHzobYk8= X-Google-Smtp-Source: APXvYqy/INncYs0roNiwuVClRAO3G0O/g9HOl+CMJ0f4i1EZ1pvvYr1WFQ2xY6SlLCM9fxMi0R+m3g== X-Received: by 2002:a02:234b:: with SMTP id u72mr33623145jau.4.1561244041951; Sat, 22 Jun 2019 15:54:01 -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 h19sm7866845iol.65.2019.06.22.15.54.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 22 Jun 2019 15:54:01 -0700 (PDT) In-Reply-To: <838stvp1cg.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 21 Jun 2019 15:30:39 +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:161071 Archived-At: Eli Zaretskii writes: > For starters, there's no bug-35899-hello.png, but I guess any image will do, Sorry, I meant the "hello.png" attached to the OP (I tend to give bug-specific names locally), but indeed any image will do. > so I used splash.png. But then (move-beginning-of-line nil) moves to > the beginning of "def", which is not inside the image. What did I > miss? 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). I guess the switch to minibuffer affects things somehow? 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"))