unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Christopher Dimech <dimech@gmx.com>
Cc: Help Gnu Emacs <help-gnu-emacs@gnu.org>,
	Thien-Thi Nguyen <ttn@gnuvola.org>
Subject: How to detect end of buffer? [was: Deleting a word using keybinding]
Date: Thu, 15 Oct 2020 14:46:25 -0700 (PDT)	[thread overview]
Message-ID: <4b391ea8-ef95-42f8-990b-6ff2bfccd201@default> (raw)

> >    Is there a way to detect end of buffer?
> 
> Function `eobp'

FYI, for asking Emacs itself:

`C-h d end buffer' or `C-h d buffer end'
finds `eobp' for you.  That's command
`apropos-documentation'.  It searches doc
strings for the words or regexp you give it.

(Actually, it doesn't find it with Emacs 26,
for some reason.  But it does with Emacs 27.)



             reply	other threads:[~2020-10-15 21:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-15 21:46 Drew Adams [this message]
2020-10-15 22:12 ` How to detect end of buffer? [was: Deleting a word using keybinding] Christopher Dimech
2020-10-15 22:38   ` Stephen Berman
2020-10-16  4:12     ` Stefan Monnier
2020-10-16 12:18       ` Stephen Berman
2020-10-15 23:02   ` Drew Adams
2020-10-15 23:54     ` Christopher Dimech
2020-10-16  1:39       ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4b391ea8-ef95-42f8-990b-6ff2bfccd201@default \
    --to=drew.adams@oracle.com \
    --cc=dimech@gmx.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=ttn@gnuvola.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).