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: basic navigation Date: Tue, 4 Jul 2023 20:55:59 -0700 Message-ID: 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="1024"; 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 05:56:45 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 1qGtdE-00005Y-W5 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 05 Jul 2023 05:56:45 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qGtcg-0007Ql-GK; Tue, 04 Jul 2023 23:56:10 -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 1qGtce-0007QW-So for help-gnu-emacs@gnu.org; Tue, 04 Jul 2023 23:56:08 -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 1qGtca-0007Sz-4M for help-gnu-emacs@gnu.org; Tue, 04 Jul 2023 23:56:08 -0400 Original-Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-4f13c41c957so1519077e87.1 for ; Tue, 04 Jul 2023 20:56:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688529361; x=1691121361; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=whM9MNFFmd7p4yiUUJhGCxGAkceBKhknimS0lH7Ngmk=; b=kH1g+VQgFbhjsd88wbP3CAD1DqO4h9xPOtLqPZKPl0Ja5bmBIwQV9jKjUlmR1KOquB htG+tAWrs0ScI+4RcBg03MdR1WkSQDzhR53lS77HY58WaNFd4bVynguw3RNdMOh4mjOd 5gfEh1QT/AN/jxXQOD26RvMt1dMnIk5Ju55/CWD0IEUnxfiDwVC7Mi7+AaeiV0idO9NR eratdDgIsrzbmrPRPZPSkJH2jDW6QU+7WLMDZepCMPdyTHMUFxrq8hze+ihkTnu1YjtV rdLBJHW2H84fVf/fOT5e6I6A2CbuPS0h6TPaS8hfoI5HBXdTtohjkfnwyKqLcD0QX6vC IsDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688529361; x=1691121361; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=whM9MNFFmd7p4yiUUJhGCxGAkceBKhknimS0lH7Ngmk=; b=VApysvPFu3ZJBpr6LlEAds0tLAbbNK7igOv50XhrmheKqbapsj04jCYNI2Ep0zK6Vx 3UQA1rTMj9AAthIgvDEoX11bAngZ2OLpepryD/co77PvQakq6tILREhZm1qo3IaF3VEn d5RjYQ6q6iDmQtyATWg2GE1BB7gr+4lGcrUwBUC25XaBK0ZM8SGR8/PGpj+jO1w6EtgQ BP3m1vo7R5Tw6o+enXEkRzC3weP8g2qnk7Xd3lg1RrbidQLhc7C1NpQ8D9QKd2WaoW5K 4W9dlq4Dr21wD3mSKDN28Cgw+hW4lhdp1iQR2DkYSMeLmCmXcxUpzBYcUHAZhWA5pHKK ytzw== X-Gm-Message-State: ABy/qLbckGfVjMgoGAFAFmE+jmsz31E1l7kFCJ+Jong47WT/VQH5aOsT +0zDA0tJYSvc/rYZsoNOpYSq+0IdfnW4Rs6qY8zuVSJOO46jow== X-Google-Smtp-Source: APBJJlHevvr4TGf89jeuOqsiIQN+FaY0HYYWo/TZlDcljyVm/yxjkjcDAwGxyvN/3bDVr9sfE5g+iCyod+e9w8Kz9ok= X-Received: by 2002:a19:ee0e:0:b0:4f8:6ab4:aac6 with SMTP id g14-20020a19ee0e000000b004f86ab4aac6mr8107364lfb.1.1688529360529; Tue, 04 Jul 2023 20:56:00 -0700 (PDT) Original-Received: by 2002:a05:6520:4c85:b0:268:94be:fdc7 with HTTP; Tue, 4 Jul 2023 20:55:59 -0700 (PDT) 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:144113 Archived-At: ***** 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