From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.help Subject: Re: List line numbers for easy navigation Date: Thu, 18 Apr 2024 22:32:08 +0200 Message-ID: <87o7a6fm47.fsf@gmx.net> References: <87sezifmy8.fsf@gmx.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36469"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Heime via Users list for the GNU Emacs text editor To: Heime Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 18 22:32:50 2024 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 1rxYR6-0009EO-Kv for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 18 Apr 2024 22:32:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rxYQb-0000OY-0F; Thu, 18 Apr 2024 16:32:17 -0400 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 1rxYQZ-0000Nf-5K for help-gnu-emacs@gnu.org; Thu, 18 Apr 2024 16:32:15 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rxYQW-0002C4-B9 for help-gnu-emacs@gnu.org; Thu, 18 Apr 2024 16:32:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1713472329; x=1714077129; i=stephen.berman@gmx.net; bh=Waq+urdOGLR+PhjEW+zx0VGPQTiw4oV2D8+Y1bxe4jI=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=H89Gt9PhlHejAxSGflNAXHLRdmdEJbDsZ1CqLQlmeWNODQH3Xfisx/c4aN1HkPWB 1qQm7lHnGlowINViyxgUdCm3i4eUxYBKK2DMBA8bLth4r/4A329e0uJZT0K2fUq94 XJNjISgfHKFg4hZbmpOSaks66wxTyuamdrOEpYemBtZS5DtSPYtCqmLizYzh4GDQL SC7MlxcQ6dBXH3VoWmo0wH8BX/KNHmeN3Xr+CJelt5TGu0kwL0wSDBmIlsVSgAikd GX8W0F5JnSZ4id1vpbq8wpXtVMvrQTKD6QKinsUcOKg+2PGguyh1YNB1CE5LNnL0O Ejb+CUoOnueZk8BOKA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from strobelfs ([94.134.94.180]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MeU0q-1sXier1V8W-00aW2o; Thu, 18 Apr 2024 22:32:09 +0200 In-Reply-To: (Heime's message of "Thu, 18 Apr 2024 20:23:17 +0000") X-Provags-ID: V03:K1:M0GNjAHWaTyIegVQoAfIVq9cBs95FID06CofK6zNw8924SswRvZ Tk5XuTA8FJmsnfsRXQhR7FNtsR7nCE8ocVINyeXff76/r3uHgsX7NC7JyEBx+9wjqFV/VSd E83/7e9O6m/qoaGO0crUHxS/cAiiI0F0c9Z7ckj8fHxIJX1O0Sdl/R6vu4uE1+qb283zAeY bLiE+g4pYD2WQEyIZx4Dw== UI-OutboundReport: notjunk:1;M01:P0:j7ZCGZI0jx4=;2C8i/+gvo7eJT5QQ8OSNbmCyUIw /I86UtNGKZ4bMAG17hnZbndJJCNITEEKroeAHR8/4t9Hy5Kt/2Cmsdb/D689gvyl1ha0yE10D R+2/nybgb1kb3WH2H4l33ThaN5SWvWp4RJgTdvdYEvzG5tN4+rIqlZAkUxu4TTW7f1OaHZe3I cfRFyZo+h+6no6cFrR658LlSugMYXdGRlsEs9VzC5bhVdDJJ59Tku7NK3oAZidq2W7ok8IqwU qJhouPgbgl4NPU4JdiEkAbp9QljnQt3gCwy0rbcsSe7sWB3UOqjmBch57NSeJmTj4wbJb93+r 6jspXlP6fcy0dyyCORzuwGVFmigthwtU3CzdVKT7f6XBGRIxFEOG085vlTm+fj8/NQdqoEXF2 FRPESYhGdkFkRfC/8edUYeV4OD9u2A9clrj26+vaPfQy+hwhW9p6xCJSWwn7vkjKHjSqjsORZ 5/eKYGxwk3UFkIyRTrAEOhCrMDCW5S6FuOWK6Gu/lYNsSkxeefIkaxVlFEbPlB3NcIzmYvH+z sD3VAHB6pZEOiBMGjIAy0DEG9YO2cisFqpiMzPuKWgRrwPKm1kHaimV1p6kYDmsLEKJSamd7F D2k4IljCfOgM5iAxCn+5u8qx3N4p2rPk5PHR3QkAq1HspMzqlgjkqe0POWQp3kDgWGscEiH2j 7+ux02PTmImq98G6nUxJv7R/WWG3C4kqs7OjDYLGiRRz/AixJpipERR9MAPMG9gJ7ahPQtP+A K+/XMNRwFYa2747yxBK+nRDbF1tZ4dO2RYG/YNo6wqNuXQVh+DA9vNLSpSSUAheCg9iO00mD Received-SPF: pass client-ip=212.227.17.22; envelope-from=stephen.berman@gmx.net; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=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:146356 Archived-At: On Thu, 18 Apr 2024 20:23:17 +0000 Heime wrot= e: > On Friday, April 19th, 2024 at 8:14 AM, Stephen Berman > wrote: > >> On Thu, 18 Apr 2024 19:38:53 +0000 Heime heimeborgia@protonmail.com wro= te: >> >> > I want to have a list of line numbers so that I can easily navigate t= o them >> > in the current buffer. >> >> >> (number-sequence 1 (count-lines (point-min) (point-max))) >> >> Steve Berman > > I would like to have a command that adds the current row to the list, Is the current row the line at point? If so, it's already in the list, since the list contains all line numbers in the current buffer, isn't that what you wanted? > then have a command to move from one to the next, etc. To move from one line to the next? C-n. If that's not what you want, can you rephrase? > I frequently > have to navigate quickly between different parts of a buffer and need > some good commands to do this. What specifically do you mean by different parts? Steve Berman