From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Heime Newsgroups: gmane.emacs.help Subject: Re: Dedicated buffer with buttons that show messages in a central display area Date: Tue, 15 Nov 2022 19:39:10 +0000 Message-ID: <513hgEiUCrI-3lMXk703SRPx7f8lc5w_JbcTyb4McLCM_wUK52Y0ZdSnyz_gAE94bn_SUjitCbpUzfmXK2_LfYgKk0WyT9uh3mcHMoOtzus=@protonmail.com> References: <7JoMGtkVaj2vOMXLHgljVCzArGL8AADy9AiTLvPrnQ80fWENK2Lv73o5DxLfZ4PwAt6G3PgqgBC_tzkSVMsrC3fQd7vW7WNHGHJchNejiW0=@protonmail.com> <877czx2g29.fsf@dataswamp.org> 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="23498"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Emanuel Berg Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 15 20:40:47 2022 Return-path: 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 ) id 1ov1na-0005uu-TD for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 15 Nov 2022 20:40:46 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ov1mM-0006R2-5E; Tue, 15 Nov 2022 14:39:30 -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 ) id 1ov1mH-0006Q6-UR for help-gnu-emacs@gnu.org; Tue, 15 Nov 2022 14:39:25 -0500 Original-Received: from mail-4324.protonmail.ch ([185.70.43.24]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ov1mB-0002Nd-Os for help-gnu-emacs@gnu.org; Tue, 15 Nov 2022 14:39:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1668541154; x=1668800354; bh=b+u5uzJJnx1xmIKhjjMrBnE6anURA9T9UzaJ6zRlYRg=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=bVasNUNm6TkLYKnFH2II+7vhh6/mEmjjzXQdU2kuo8Y3ueBrZ10WsbA8MGQbHoe8W 0gt1aKLEnXaQvYBugNSKcC+Nm7g6UvqFLUILN0hzt/tquF014qTNppGVorgq3MKje/ /uOlfewpipQ9a4A3Lbod52tXfTl3s4rJRWQAQtmPEmNW2yizhmT4qZB/CAuY3yBpso AQihzU8gNGaR4nOKo4b/BBWXOe2WndlYLdbCzlQwrLzrz1rdVcWtV+QmiBHNk7TaCx qTFDTmcA1s07R7UiZ5T8QzTO3t3ehBQ/8Vqu9RcPK6+rJEe77Vqyq4uOJ+Sfixp8Qt AbxIyOm56K1XQ== In-Reply-To: <877czx2g29.fsf@dataswamp.org> Feedback-ID: 57735886:user:proton Received-SPF: pass client-ip=185.70.43.24; envelope-from=heimeborgia@protonmail.com; helo=mail-4324.protonmail.ch 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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:140986 Archived-At: ------- Original Message ------- On Tuesday, November 15th, 2022 at 12:54 AM, Emanuel Berg wrote: > Jean Louis wrote: >=20 > > You may use function `goto-char' as linear movement. > >=20 > > You could as well use `goto-line' and then (goto-char (point-at-bol)) a= nd after` forward-char' to go to some > > column of the text, this reminds me as coordinate with > > X and Y. > >=20 > > (defun goto-x-y (x y) > > "Goto to line X, char Y." > > (goto-line x) > > (goto-char (point-at-bol)) > > (forward-char y)) =20 This does not work when buffer does not have position (x,y) as whitespace. =20 > Problematic, you can use gamegrid for this >=20 > M-x tetris RET >=20 > > (goto-char (point-at-bol)) >=20 >=20 > It's called `line-beginning-position' now ... >=20 > -- > underground experts united > https://dataswamp.org/~incal