From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Skip Montanaro Newsgroups: gmane.emacs.help Subject: Re: Determining existence of text following point Date: Mon, 17 May 2021 18:36:50 -0500 Message-ID: References: <87cztpx8oz.fsf@ericabrahamsen.net> 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="23565"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eric Abrahamsen , Help Gnu Emacs To: michael-franzese@gmx.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 18 01:37:41 2021 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 1limnt-00063q-Op for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 18 May 2021 01:37:41 +0200 Original-Received: from localhost ([::1]:50370 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1limns-0007pS-RU for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 17 May 2021 19:37:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44188) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1limnJ-0007pI-3t for help-gnu-emacs@gnu.org; Mon, 17 May 2021 19:37:05 -0400 Original-Received: from mail-yb1-xb32.google.com ([2607:f8b0:4864:20::b32]:43642) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1limnH-0007rW-DB for help-gnu-emacs@gnu.org; Mon, 17 May 2021 19:37:04 -0400 Original-Received: by mail-yb1-xb32.google.com with SMTP id e190so10766631ybb.10 for ; Mon, 17 May 2021 16:37:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QAAQKNuAIl2Ny9exvlMJcQenLM+QmZNbOJdM3RQRsTI=; b=YLHPyXCvOUJ+Nurl0SL1ev3Y51YqP/zfs8rKrd/PqngxnU2WLY5tNuddNA4O5IPNZa qMPp019znO+60uVF/RoT4Pqef3OZ7Y5dQ0WY0sxREpmcoXjHvgj7orVwTiJYRFbwrs/Z LXviOzK6EJ27PIvR6TK7r79MfGhFW6sNzHlPPZF6US9CT0S5JenEWrS4Cl/LkA1Jkvst hDpKVDStQgmo8OK9oQEOnPC6A1iGbKu7W5V9k9mOmb1tPjNI9KCnrqzuSwgLforPe9u4 qEKJS1HA6EatCPJUwkLn1Mupqk5RProrQd4WwBzZPBcFObkp+e7m84T4CQ+OJz4J+QDH RARA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QAAQKNuAIl2Ny9exvlMJcQenLM+QmZNbOJdM3RQRsTI=; b=Tszv8WAd+aBaSmiLSp3y47vTjLJtG/dkUG1N9LCr/FJ6vEGzYgEz42x25lUWrtJdb/ 5BHD1UiDMMzlC0JA05Wy++H39aQQvXIleIF5I8J7jPO+qt0u9FVwNGti0iO0HJi+H57w 1cyHygZtSSgvFMYZ438L6NLyEJ2WdURvKULVZPbXuwQBR2EtDV9I8OWguRkJPNhO9hZd 6eTgiItyV0fyYEAIhDV7SHdPDLsigFm+VB6XgqwO2ZcJs9OZZ5KdXMIvRyzpQYzH1aex YIXeGKoV/KS5RED0ZENgXuaBobQvBwyD/+6/H0Q6Ra5WhIirtWAF4ryoBlzbNGA1e1hQ atTg== X-Gm-Message-State: AOAM531W6oAnse2soyD+ig5y/8TsQbGX+2Tll9wmlm16t5A1ZXu99prC asERAO82UWcrZpxJEh5FV0csjkG7NWtvN33KFOTwq58= X-Google-Smtp-Source: ABdhPJwBKpq/wYe6HsFQqHIrhiS03QPze10qEtP9j9Y3t+7z3CieuTu75pc7AhnKmgO+d1HXD3k9wcwSj+zeDW1tqJ0= X-Received: by 2002:a25:db05:: with SMTP id g5mr3686983ybf.67.1621294622242; Mon, 17 May 2021 16:37:02 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::b32; envelope-from=skip.montanaro@gmail.com; helo=mail-yb1-xb32.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.help:129845 Archived-At: > But if there are only empty spaces it is ok too. > Yes. Spaces between point and the end of the line means point is not at eol. (Thank you to Eric for the better solution than (looking-at). Been a while since I actually wrote any significant elisp.) Skip >