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: RE: RE: How to detect end of buffer? [was: Deleting a word using keybinding]
Date: Thu, 15 Oct 2020 18:39:04 -0700 (PDT)	[thread overview]
Message-ID: <42b6e25f-ec48-4a8b-8484-21a50d42f1b7@default> (raw)
In-Reply-To: <trinity-e03062a7-61dc-496a-8459-205452642c6d-1602806083871@3c-app-mailcom-bs01>

> It should be ok, because I am usihg the check to know if I am in the middle of a word rather than at the beginning. I then just move to the beginning of the word before killing the work. Otherwise I simply call (kill word).

Then it sounds like you don't need `looking-at' and you can just use `looking-at-p'.



      reply	other threads:[~2020-10-16  1:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-15 21:46 How to detect end of buffer? [was: Deleting a word using keybinding] Drew Adams
2020-10-15 22:12 ` 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 [this message]

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=42b6e25f-ec48-4a8b-8484-21a50d42f1b7@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).