From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Skip Montanaro <skip.montanaro@gmail.com>
Newsgroups: gmane.emacs.help
Subject: Re: Determining existence of text following point
Date: Mon, 17 May 2021 17:02:07 -0500
Message-ID: <CANc-5UxKDwUpcuiYE0CXMJG+uPWBegrt4GBhMeWWDMML8B=u6w@mail.gmail.com>
References: <trinity-10aaf4e3-8977-46c4-adf8-c944a21efdd0-1621288006786@3c-app-mailcom-bs06>
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="14778"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: Help Gnu Emacs <help-gnu-emacs@gnu.org>
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 00:02:56 2021
Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>
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 <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1lilKC-0003eb-By
	for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 18 May 2021 00:02:56 +0200
Original-Received: from localhost ([::1]:44396 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1lilKA-0005Z6-H4
	for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 17 May 2021 18:02:54 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58246)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <skip.montanaro@gmail.com>)
 id 1lilJe-0005Yx-A8
 for help-gnu-emacs@gnu.org; Mon, 17 May 2021 18:02:22 -0400
Original-Received: from mail-yb1-xb29.google.com ([2607:f8b0:4864:20::b29]:34613)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <skip.montanaro@gmail.com>)
 id 1lilJc-0004IJ-NB
 for help-gnu-emacs@gnu.org; Mon, 17 May 2021 18:02:22 -0400
Original-Received: by mail-yb1-xb29.google.com with SMTP id v188so10602096ybe.1
 for <help-gnu-emacs@gnu.org>; Mon, 17 May 2021 15:02:19 -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=rgfhbH1ieNmZyNKKL8CmlbQtMtL8rf2Df9i2PfxpVdM=;
 b=WWRjFikYOJBGcx1gGYpLwOxP3BNrkGWyb4nKMcpe7W9LoGY9GiuKIzOkginyjVj9SF
 Rc240huYk6fIAlWuk6+Y2d3JQ52pTaPoKaR9SC/E+cQY+dqVLhYvP1AdKRm6KywBq3xv
 1p/YQh17AP4QnnEVj1aPr4O8rnoOrG8Ze7UGchAlk/EOG/DCDsiRIDVO60U1SdZArIE8
 ZHLcuUB0y1jxof75s4HGJHALXSCvpHmjxQh9/9+5NPmR7MWALkXptuF/qUEGJMNyVKrL
 da1Lv6IO+yA0oSE46ssQQCM0jMFuztBTiLaItV79OEuE1igRuuXFoPWCEL7RobkjN/0k
 IKwg==
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=rgfhbH1ieNmZyNKKL8CmlbQtMtL8rf2Df9i2PfxpVdM=;
 b=Og+JgGSzsqz1bAEPW5Ct394xhRYxmSSQUDkdfNnVbMh525gRaNzRsVSZhxhDbuzVG2
 sQPcv0klBgVlIxP65KNrN+SFGEWDvywv5QND64mNpDQBrqyZwzGx78TrDQZh4SkPUQeM
 oCT8PxXnycg4TzS0PXaXJNEdiO5Y5L5D1ZuPOGYfXhJQGQu5DepYCPh3BX0aV0mCwH9m
 BXiR7oDx6QAcvrq/DEWsQIKREvPW+mEX4E8r0jZywc4N9ef+9scv8WWHB1gwGF0gLai7
 SzN9ezOFmHqqCtT3aMGeIOHbR6/c7W3MCOMZDvUf/TYwkc2qihjHXFkvq2EQNoGlUPQo
 CBTA==
X-Gm-Message-State: AOAM531Oi++IMXYRtb5zpwW6L3OUcS4LS79Do0W6xTlWLEV+EsQh9gkT
 iGWSQ3n16FnzQvVbgvsERRvwMnWzO5UFyU0cQh3vmtw=
X-Google-Smtp-Source: ABdhPJz8g/5XK+0etf2b23SETo9aCDTVJ+7l691WHbw/8U59BCcvx3tVw5E9UGUqe5XioSWfgMXLrnewVUstgGtrft0=
X-Received: by 2002:a05:6902:110b:: with SMTP id
 o11mr3110872ybu.516.1621288938972; 
 Mon, 17 May 2021 15:02:18 -0700 (PDT)
In-Reply-To: <trinity-10aaf4e3-8977-46c4-adf8-c944a21efdd0-1621288006786@3c-app-mailcom-bs06>
Received-SPF: pass client-ip=2607:f8b0:4864:20::b29;
 envelope-from=skip.montanaro@gmail.com; helo=mail-yb1-xb29.google.com
X-Spam_score_int: -1
X-Spam_score: -0.2
X-Spam_bar: /
X-Spam_report: (-0.2 / 5.0 requ) BAYES_20=-0.001, 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 <help-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-gnu-emacs>,
 <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/help-gnu-emacs>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
 <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: "help-gnu-emacs"
 <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.emacs.help:129839
Archived-At: <http://permalink.gmane.org/gmane.emacs.help/129839>

> Is there a way to figure out whether
> there exist any characters on line
> after point.

Maybe

(looking-at-p ".")

?

Full details on regular expressions searching here

https://www.gnu.org/software/emacs/manual/html_node/elisp/Regexp-Search.html

Skip