From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Samuel Wales Newsgroups: gmane.emacs.help Subject: Re: basic navigation Date: Tue, 4 Jul 2023 21:17:15 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15697"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 05 06:17:47 2023 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 1qGtxb-0003qJ-7E for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 05 Jul 2023 06:17:47 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qGtxG-0002Cc-SB; Wed, 05 Jul 2023 00:17:26 -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 1qGtxB-00028O-U4 for help-gnu-emacs@gnu.org; Wed, 05 Jul 2023 00:17:21 -0400 Original-Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qGtx9-0003Sf-KX for help-gnu-emacs@gnu.org; Wed, 05 Jul 2023 00:17:21 -0400 Original-Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-4f14e14dc00so1732510e87.1 for ; Tue, 04 Jul 2023 21:17:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688530637; x=1691122637; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=E8R/Aww1SAHpNnisbgNOpUY6g535Hmwq4YQXah6M2Zw=; b=VJdtrcN0MYI9Qrc/cS+pimlyiqtGiRAXe2iW7ffmn+a61OlOkR+KrswVu9oU+W6LG4 iteAYbKQWN6JChfo8iiwWn0H3z4nLYU7rAxFqIWuogEk6jRs9msx9RkzjNewwNp0xEAq KrmIolP/LEwkDCC5/Bk81kyodysqB/+whJSF5d7PlciFJUDn2AV+35VgpQPvWKZQdWOi qXGNugeZo19r8wgwIwssi5jBvh9YkcSrTlpepiVDQdOLGCpou+ojAG9wgmWPt4mlYsxw 8qAnIw/ksUZk3eI46J+U892ZrZ+SAl5ZSjQ3bwwOtA+hrOp9uwc+2IB35EYKcH9yAWVS 8dsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688530637; x=1691122637; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=E8R/Aww1SAHpNnisbgNOpUY6g535Hmwq4YQXah6M2Zw=; b=gv5OKNSMQYQfbS6WWD9qfp+Qmk1Xpwljg07xEa7Z9KPKsYVmzub0ExSxRWdkYfiBPb o+cZU4Ki+OVQcKXDAUNS7Xt1Zesv0qHq6ZdGjFPeRDrbGwNN/Bi/unMXkLWat4I0Xc6P HTxMkGziYTmM2lurNm8F/MWdkLodCK5+SOXQO9V3YU7t+n/gSRU8AyCZUq9H2HpeNygr /nOYy5xfcnhA2T2YitTXNapRA/chAj1A2scbXLomkK+PTJA8XkTkJgD+Xcj/BR4QMe5q HeYJDDjx0AdmeFJsN77qF6OmR30mKGIQv65Vs4r3L1KWqLqMHRNb2hV88E+hif/lObdB /SLw== X-Gm-Message-State: ABy/qLYAUJbSmtkDIwfHtbJwj+y8i4pV0q248wTKdEDkjv9ULzm3tD6o zEveyaV98c0/38m8Z2YzJ4AcQly6eBhu7P5kRt3PbGbAV0uMag== X-Google-Smtp-Source: APBJJlFPA1S/Z+WwmcWV10A8ezkbekmFw5jdVe87XmcyR15Rw9K5jjLWyDG7WQe852Ol6L3UTviRc3rrpaZ39WyUh6Q= X-Received: by 2002:ac2:4841:0:b0:4fb:8eac:8571 with SMTP id 1-20020ac24841000000b004fb8eac8571mr8686217lfy.0.1688530636691; Tue, 04 Jul 2023 21:17:16 -0700 (PDT) Original-Received: by 2002:a05:6520:4c85:b0:268:94be:fdc7 with HTTP; Tue, 4 Jul 2023 21:17:15 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::12d; envelope-from=samologist@gmail.com; helo=mail-lf1-x12d.google.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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:144116 Archived-At: there are a few issues here actually. first is that non-words get gobbled up along with words. this is too much for my taste. i'd be ok with each chunk of non-word syntax being kind of like a word, for example. the other thing i did not illustrate. going left means going to bow. but going right means going to, not eow, but the space. similar with paragraphs and so on. suppose i am at bow. this is ^a word. and i want to kill-word that. i end up with 2 spaces. so sometimes i do gyrations to kill the right thing. it's too much for me. the adage that emacs is a superb os but it lacks a decent editor is, for me, almost true, with these little [intentional, but not quite working well for me] glitches. maybe a package? On 7/4/23, Samuel Wales wrote: > ***** basic navigation and killing > i am wondering if there are packages that can do this kind > of thing better. > > this applies to any editing. here is an example. suppose i > am on an org-mode heading, with point at ^. > > never mind the actual text. my goal is to transform it to > this. > > *** ^gather and do physical > > so i do the first thing that comes to mind: c-backspace > which runs backward-kill-word in my emacs 27.1. > > there are of course many other things i can do, instead, > such as go to bol, use delete-char, etc., but i want to > illustrate basic word killing with this example. what > occurs is this, successively. > > *** --- /various to do/ and to ^gather and do physical > *** --- /various to do/ and ^gather and do physical > *** --- /various to do/ ^gather and do physical > *** --- /various to ^gather and do physical > > i don't particularly mind the command's ignorance of org > syntax here. > > *** --- /various ^gather and do physical > *** --- /^gather and do physical > > and then once more to get rid of the --- syntax, which is a > bit of an emacs editing disaster. what i wanted was to have > it produce what i set out to do. maybe naive, but i wonder > if there might be different killing/nav paradigms. > > i've been vexed by this since the 1980s with only sporadic > attempts to see if i can improve on it. time to rely on > others for some ideas and possible existing packages. > please be gentle with me. am cognitively impaired. > > -- > The Kafka Pandemic > > A blog about science, health, human rights, and misopathy: > https://thekafkapandemic.blogspot.com > -- The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com