From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 31999 invoked from network); 27 Jan 2022 08:31:20 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 27 Jan 2022 08:31:20 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nD0Ba-003BZe-4K for ml@inbox.vuxu.org; Thu, 27 Jan 2022 02:31:18 -0600 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94.2) (envelope-from ) id 1nD0BZ-003ZpS-FR for ml@inbox.vuxu.org; Thu, 27 Jan 2022 02:31:17 -0600 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtp (Exim 4.94.2) (envelope-from ) id 1nD0BY-003ZpM-CV for ding@lists.math.uh.edu; Thu, 27 Jan 2022 02:31:16 -0600 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nD0BW-00BB8M-IK for ding@lists.math.uh.edu; Thu, 27 Jan 2022 02:31:16 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:To:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=e/8SUJ0KwT51JipItw56nrz8YY1OUMUVDe4S31dDmG8=; b=WCF85P0i5lUXSLb0T27q14pKDx KMSmYhZYaGOV50XWMAV+4VY5JYs4GmWC3p2AyqNM+j2tnliYSTaJTZ7Yl9ooWz52xmjkA4TASBUJr Yfq8yQKaY5rkiztlqwtaFoNDRg+nS+dHRH1fUz6t+ehVwVve4KyguC/CMZ6WeV3iZFeY=; Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nD0BO-0003Tv-Kb for ding@gnus.org; Thu, 27 Jan 2022 09:31:09 +0100 Received: by mail-wm1-x332.google.com with SMTP id r2-20020a1c2b02000000b0034f7b261169so1361475wmr.2 for ; Thu, 27 Jan 2022 00:31:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=e/8SUJ0KwT51JipItw56nrz8YY1OUMUVDe4S31dDmG8=; b=Bl7oh+zweYSufJxaiSa5/fXi3fejsUFjCVsPGTRGI7crEkZkW39Q0KHqR4oMd4W4Ll O+BfW86RW/YutN6MwfHu5FzMv6dioAqkQah3b286sypgpsHjkE4RpHG8neQU32n1zyHg 2wzhiBlEAqIFxBJgJiqkZ6ukz+5IjWiP4l+8KQSwmE92ezrugcpRuCPIYUCFj/BCw4Cc hWsgjAWBlS3tkrDuZRpcc/MERIaMx19IfqgKb9UNYrLhXatY5x3VtlTxekvRJ5/FOCkJ biRLcboLOkRJAmYSoxtRlrTycbEdeWwKZqhomadhSFGl9W8f37lueXpINxzgFRYgKnxi Wgjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:references:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=e/8SUJ0KwT51JipItw56nrz8YY1OUMUVDe4S31dDmG8=; b=kWdo11VBPqrhK+CDQdFXa7hzOyDTCDjyy9RZIzhHewzL7833nay1YZm1wJnRzJ639W vLfH9t+Hrhh/aAZnMv9UKEanEdxnJBEb9++26f7iNYfG7/5WugMxiFpgugdx5ugxcFkn R9RPu8A0rYqK0Fz591MxB4lfPtNc1EMgbLzQjnC4oN+3raHJnffEGI7uBOXb6NsRQ1vk LJLNNrgA7l3GslYiKKPHJk/+wlpV7C/AtGqJ8uNr7UGPHZZE6NeCt4OVt8uYkS139x7R dDSf83xbAMG9ZnUNjJmzzjc7RPJ3IPOm6YBHvc1ZXsJvod5TdReiLgpsHftWprKDcbfp 44zQ== X-Gm-Message-State: AOAM533pN/nwQPjGaZYztIfKMUDyQbNL3w+UdKOEml1KN26rYlEemv3S eywyXQIqYY6qQdJG1nMleMB8kjNzG+8= X-Google-Smtp-Source: ABdhPJy1V9NVhXmLxTfrWTJXoUj+tmwi/lkq/otft/PYMX0P7hgUv3s8j7VFf6PXVOm/vmRn0VMr6A== X-Received: by 2002:a05:600c:5c1:: with SMTP id p1mr2256926wmd.31.1643272264241; Thu, 27 Jan 2022 00:31:04 -0800 (PST) Received: from rltb ([2a01:e0a:3f3:fb50:b96b:9e5:e272:2b49]) by smtp.gmail.com with ESMTPSA id p7sm1404477wmq.20.2022.01.27.00.31.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jan 2022 00:31:03 -0800 (PST) From: Robert Pluim To: ding@gnus.org Subject: Re: message-beginning-of-line behaves a bit strange References: <87mtjimc2k.fsf@mat.ucm.es> <874k5qxk0w.fsf@ericabrahamsen.net> <87czkdliut.fsf@mat.ucm.es> Gmane-Reply-To-List: yes Date: Thu, 27 Jan 2022 09:31:02 +0100 In-Reply-To: <87czkdliut.fsf@mat.ucm.es> (Uwe Brauer's message of "Thu, 27 Jan 2022 08:48:26 +0100") Message-ID: <8735l9h96h.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: Precedence: bulk >>>>> On Thu, 27 Jan 2022 08:48:26 +0100, Uwe Brauer said: >> Uwe Brauer writes: >> Try `message-beginning-of-header' instead. Alternately, fooling with= the >> value of (variable) `message-beginning-of-line' while calling (funct= ion) >> `message-beginning-of-line'. Uwe> Great, I did Uwe> (defun my-add-subject-test () Uwe> (interactive) Uwe> (message-goto-subject) Uwe> ; (message-beginning-of-line) Uwe> (message-beginning-of-header 'subject) Uwe> (insert "[Test] ")) Strictly speaking that should be (message-beginning-of-header t) but as long as the argument is non-nil I think you=CA=BCre OK. Robert --=20