From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Jaft <jaft.r@outlook.com>
Newsgroups: gmane.emacs.help
Subject: Possibly Weird Behavior Regarding First Lines Which are Invisible?
Date: Fri, 2 Feb 2024 06:13:24 +0000 (UTC)
Message-ID: <PH0PR84MB1360E253872F307DBAECC0B999422@PH0PR84MB1360.NAMPRD84.PROD.OUTLOOK.COM>
References: <1623180934.4325548.1706854404633.ref@mail.yahoo.com>
Reply-To: Jaft <jaft.r@outlook.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="38150"; mail-complaints-to="usenet@ciao.gmane.io"
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 04 14:06:05 2024
Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>
Envelope-to: geh-help-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 <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1rWcCC-0009ip-B8
	for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 04 Feb 2024 14:06:04 +0100
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <help-gnu-emacs-bounces@gnu.org>)
	id 1rWcBa-0003wx-DU; Sun, 04 Feb 2024 08:05:26 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jaft.r@outlook.com>)
 id 1rVmsj-0005G6-GO
 for help-gnu-emacs@gnu.org; Fri, 02 Feb 2024 01:18:33 -0500
Original-Received: from mail-dm6nam11olkn20810.outbound.protection.outlook.com
 ([2a01:111:f400:7eaa::810]
 helo=NAM11-DM6-obe.outbound.protection.outlook.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jaft.r@outlook.com>)
 id 1rVmsh-0006JX-IS
 for help-gnu-emacs@gnu.org; Fri, 02 Feb 2024 01:18:33 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=gNGBP4m/P31NekjKoeJ+8PYBTM7hWBjNQ8ziQiElRd/bhf31BwIBMjw22QNG2avJnRzyx83KeH6ItO4+2+irwDICSsc2xcml4H4dBQKT6isn8EuB/MUvLKc3bue+r6OVJsVASNad3ml70kfmm1dYa+2bzGAHoAKInTDtMagVvjLVCjk4+cexC1P45UkoOECKoXP21afKsX57B0gA24ISPqjYiorCpMA7pORod0tHE8TtOV5nglMejhDTwmurLYP8CIKH4UkqPm4zBxE/30o4tsxRBr7SgjY9hdierR9Cf7UdDJy0joq35KV+kdwByvADUy7eGRUStN4QVjcK/Cid1w==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=nqvADeXP88oKcKAIKAj3F+bjiVlARj17j3FpxwA7c1k=;
 b=ju6bFEAGauqdzL5dmQLLvJiB7WDB1Qi1YeKDGlAyqPeGU78fDS+DS3PhYWIvvGbyDZsC8WFKX485Kj6USIZOLF/KF8K+ZgLaDWRxuogOtIcX/zeIw5eyjSgm5bu3lB4TbEi48cUK74lKyH7/dX5t9D3QSZOwqu2FSdvhb+UQtjsMgvroi4+8piDLWIxK0CpILGZReX0ESqvC0ywYdXJcVskcxZ6tO1p637Tp6wECr+LpxTuDIKEOkkbd6kbaOgoS0X4IIiXowWBUNzToBbSp2GMK/QeyrOC8VnNfieyL3waRZmJUo9llcv1JnF78FvzGZ+KSQGYRVVI0W+V8fMiaQQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
 dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com;
 s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=nqvADeXP88oKcKAIKAj3F+bjiVlARj17j3FpxwA7c1k=;
 b=RTOH+P+FhidDQCY/m0UEFfrKj36habVaOEXfoKpSGALOSUCH2VnTxvGEGMeg7XMBVNei7XVYjERn0TtkaYuhRzY21IN5bFK7X1fCqqWih0GbmBivdiXLyup/xeQ9P+ZF9ZImk3Yq9oA52WcVk/J8KwnBe7q7e6DAY4WhI5tazPxBkEGe5DEWsquhePONCwECK42NIKYpOuY6WAVLrycATwYFKzE8bgGk8vXZ+/4MNgvau5BVOussolZkfhPmQT1P+PHopXc9lyKOW+juHDRLY3mPbDreyC8ATxd4uEp0chZuiu1lDBe+zmEmOnng3SK2yvn7JGlaBekKUbwGxnHAFg==
Original-Received: from PH0PR84MB1360.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:510:172::9)
 by CYXPR84MB3514.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:930:dc::20)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.26; Fri, 2 Feb
 2024 06:13:27 +0000
Original-Received: from PH0PR84MB1360.NAMPRD84.PROD.OUTLOOK.COM
 ([fe80::6a5e:40a:b2fd:51db]) by PH0PR84MB1360.NAMPRD84.PROD.OUTLOOK.COM
 ([fe80::6a5e:40a:b2fd:51db%7]) with mapi id 15.20.7249.017; Fri, 2 Feb 2024
 06:13:27 +0000
X-YMail-OSG: Acr63owVM1nuBNJcKo0ysm8bA4gmSWQStN9kBCJ3cGTe.rXXK7iI.EseEKVZa9k
 Pzrb2GnY6tQD3xfntY7u63ISokBEc_FMmk9sflad1joYHGJoutVLYcVixVbtecrxLIbAXgX8JENr
 .VgSyKHnO1S12HNsorQhBD9zUAI0bZbFwWhbNAkL.sZ0PA7Gj_UckeWvKHsz5r70DxgMcT87ysev
 IFjC1.Ar8XhVk3HjT3LmaHhP5xAQ7M8WN0rwID4sWYUeaA8qVLmcAOCoU.UszW9TpUeNck7JXKeD
 2Taoz3tgaIh0s6W_XX3ja6t5R1bm2Kj6dPhRq0lrab8BpJLRGIWFtX_3f2YaCcNUsTQJKvCHHR_x
 H5Vz3OYpxUIOAmpV_.vkWhiPD5S6aiOxWxwFXQc1nO9Y_zSoVAxSDwo6mru72j3MK7P2ntTPu5vl
 .9BQwcdulRM6a1PNjKFNZclOae7rrB0fdmJffxtmpg6qAZ.WWkVqfVXSvSNe0XgqL6HkuUHy4..0
 o_VzuXAng0MmiZPhkBuNUmIrfZBDlO0ebZ6HPLjOInAh0AAjJKhNzYYzVhnEp9o7scclDNqJFuOQ
 okQpXjSMqyXbAJrXxvqPEszgOMnj28b1DVswnyw2bwaMxJvkfu49Ab7Bv1gprVI.lXU9fi70Wug2
 wsuTAVAz0KridvvIf9uQs6cblaig3UEvRhx2L4ZpNJdmt3nSk52fqDOp.V.vO6Lnl_GE9pfeRPxl
 h73usZ1OpEwTOAQzmWl8.1G4kxj1QmmzW51Lg_Cqtx4SiPVk2ZUpqehEUpkrar.IGclamIoOYhZI
 W7P600RMpg6p.dNkP.IpjIs8tBgHUpnhqZc4W_NLrW 
X-Sonic-MF: <jaft.r@outlook.com>
X-Sonic-ID: 9562bd19-117c-4aab-9a5d-acff1d079387
X-Mailer: WebService/1.1.22046 YMailNorrin
X-TMN: [lpxVLw+p/jazjo4q21hq8rBgZ631Jfcu]
X-ClientProxiedBy: CH2PR17CA0013.namprd17.prod.outlook.com
 (2603:10b6:610:53::23) To PH0PR84MB1360.NAMPRD84.PROD.OUTLOOK.COM
 (2603:10b6:510:172::9)
X-Microsoft-Original-Message-ID: <1623180934.4325548.1706854404633@mail.yahoo.com>
X-MS-Exchange-MessageSentRepresentingType: 1
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: PH0PR84MB1360:EE_|CYXPR84MB3514:EE_
X-MS-Office365-Filtering-Correlation-Id: 70300551-917c-435d-08a8-08dc23b611df
X-MS-Exchange-SLBlob-MailProps: znQPCv1HvwX2vz9gr+jrQ1myfsWVmR7U6F9HXdPOCg7mQeTioLU/nV3Z9WnuEsv89MDN7ZZuj24uKKA0zIPR/7MX/1LRRVx9j2NZnU1hzGkCDSaUlXvlENNlWpcmVC2MUJdWKLIeVT09WzUIkJYrjWP355s+0DO8ybSQptiYhuJRQB1mtf+n4muE9gEeUHwsflewKyqI5nnYgXMIuGquuw7pVzQyewsLIkB5l6h8g7MROIGAt5nvfXJ1Cpms1UeN9hME7Fc4tR+QgAolBhQ7Kxj3re4+IzC3Ohy+Nyz3NVRuXDEArL1mhWRZ9o/ObVsgeDXo3JybXoqJN4yaVi7PXE80CuzsCVwKobFvMeplNun04Ki82dH12NyX/oaehpIikmpvL9IB5WSYli9ZBgKpFmCaFO6rojXvUKpxPqWPAiGSwtYcGTGWefPyGZnl7w3ZCCIxW05KSM50qYhxvT7CXYyCeqllrz+gSO4DuJIsFNeLTA2PMLnihwf/ouJkpuJ9FNZVZg3TKbwbdvs9H4J6xTZ7qGMGPSQm/VTcU45siswzmaWYQ2XUaOR4nhqLmImqsPAC0ZUw8R6QOeY9pIjcdnhxNZatrrlEPRQFJXryIiealUDkUB03Vrht3B/9CJITAFFLSl25O+sLXFTQ3p/NJs8K2j2mtNfntDAm75mFUrz2skSE9HYzsXDHdGFBAvdGH5Xc0cx+UdMO5aCQTnqt80yCd3BjtF/fkdbGmPxhaCg/05nHBIthdDgKlXquHfWg
 3+2PlXmH03Y=
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: 7W+pYQd3VKcJY+W+Ra6AkPqQGlYAnHleKTKz0nyt8FRXiu+zLchXLBm78RklAiwWllfS48Autkwa03AXQJOqWhf3sOxlltolKRiHTn1YKiXDjlPV4tONU7nDkNMet4W/EyI6p+HGAReBiP4PrUD4updIDsTWnnb/hgCvChLTk5SdQJFKI8oX5DUJWS7u1WXsU73AYvpvgyX/F2Z6429Hwe9xGmW1upmCK6PFcpeyh0Za1872FPiFL3I4yrZC4l27tqO+yw0U+0apuFddOyScf31Sx7vNKoA5gCoRWAKBHEoVdOPFzMFiZCYz44CsV0z8dQO+KGwjmb0cYn3vnD3P1++rwIUuHGV3GXE9HJoO4841kmZrUJG0CMlPh7DVCeKIPoVrJGBpUoTkm/HiYN5R8D0rYrpfSxXp6yDRfJQQfTrDnEfmp4I08Zy+4VxdYZB2GrdT+c5bzR3SisuL7x0vRNRB7u6GkQJk48uciAsQzwt6KdTX2Vy0sQnOBEWtrGZA+Hn1igzwKazxBYaKnfkH1CA+yx3WexO1uXdwA96LpB1LkaRxrJ+12TAget9etGYc
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?eTFXZUtrYlE0OU4wajZVaGZHaEdab0w4dWZGT3RxSEdUTWJsZEVUNlF4bDJl?=
 =?utf-8?B?K1hwclpQOTBCRHc3ZU8rTmZkQVlxZS9tMzUwN0NVT0pjRWtmU0N3UUdsMFd6?=
 =?utf-8?B?Z1lya1pyQ1BUNDJlMGhmSnJmaVZwYVdCTE0vclhMYXFKMCtvSTNlQWRnWnkw?=
 =?utf-8?B?VnJXMUVtRVg5MnZMdUZhY0V5anBJRmdyQWFBRmQrcmMzMTVJTE44SDRBK2pp?=
 =?utf-8?B?d0VFeDJEdnVaamhTL3M1ajBOSUo5bGtBczdqMEJkRG1MVkRPc1JsejFuVDRj?=
 =?utf-8?B?dFA0WXNVSVE1WlROcnI1Ty9tc0xzUDZMNDcrWlNoZU8xcmxvaVAzUkRDS2JQ?=
 =?utf-8?B?LzRhZnozd1pSK3B2MFhVSkI1N2ljUDFKRlRuWUc0Z0ZoWnVCLytLQXYzMEpE?=
 =?utf-8?B?REx5UE9xK21mWGNZYVZhSzhEYklsSzhudmpNZjBaajkwYVNsVUZEQXVRRytn?=
 =?utf-8?B?V0hBdW84Q3ZMRWVEQ3c5UGlZbEtwL09ON2kydTNZNm40YmxybkxhRmhNN1FG?=
 =?utf-8?B?WEpJOGN6ZDN2UnB6RThMSEowZDMvL2ZpNjFxSzZwNEpEUVZWTEhzbkpWelJx?=
 =?utf-8?B?L2JtUDZqcUYxVVpYN2FuODNnVTUyZDFIWHloamF5TTNDQTZnQWVXZGlNYzEw?=
 =?utf-8?B?ZWdZblBKQjQxMzVzb2tMeWhaeUFqOHhQMVlNRn 
X-OriginatorOrg: outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 70300551-917c-435d-08a8-08dc23b611df
X-MS-Exchange-CrossTenant-AuthSource: PH0PR84MB1360.NAMPRD84.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2024 06:13:27.2443 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CYXPR84MB3514
Received-SPF: pass client-ip=2a01:111:f400:7eaa::810;
 envelope-from=jaft.r@outlook.com;
 helo=NAM11-DM6-obe.outbound.protection.outlook.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Mailman-Approved-At: Sun, 04 Feb 2024 08:05:25 -0500
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-gnu-emacs>,
 <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/help-gnu-emacs>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
 <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org
Xref: news.gmane.io gmane.emacs.help:145870
Archived-At: <http://permalink.gmane.org/gmane.emacs.help/145870>

So I have a buffer; let's say 9 lines. And I have a function which runs (pr=
evious-line) (beginning-of-line 1)=C2=A0and said function is bound to a key=
 (let's say <up>).
So I apply a text-property of 'invisible using (pos-bol)=C2=A0of the first =
line and (1+ (pos-eol)) in order to get the first line to disappear, like i=
t's not even there.
If I'm on line 3 and M-: my function, it does what I'd expect and (point) w=
ill return the (pos-bol) of the second line. But, if I execute my function =
by pressing <up> from line 3, (point) keeps returning back 1, the point of =
the beginning of line 1 rather than the point at the beginning of line 2.
Is this expected behavior? I'd be less weirded out if running code through =
M-: gave back similar results but I get what I'd expect to happen no matter=
 what code I run and only the unexpected behavior when running the exact sa=
me code via a key binding.
I'm running version 29.1 (GTK+ version 3.24.37 but through the terminal; I =
wouldn't expect these to affect anything as much as the Emacs version, thou=
gh. On Guix).