all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Dmitry Gutov <dgutov@yandex.ru>, Lars Ingebrigtsen <larsi@gnus.org>
Cc: emacs-devel@gnu.org
Subject: RE: master b21015c: Clarify project-find-file doc string
Date: Mon, 16 Nov 2020 13:51:27 -0800 (PST)	[thread overview]
Message-ID: <adc16eb0-aa00-4346-bb9f-d19f856341b4@default> (raw)
In-Reply-To: <86a03813-2524-384c-9e68-56cde9013f37@yandex.ru>

> There's no such thing as "string at point" in
> Emacs. Or under point, or around point, etc.
> Not without specifying what kind of string it must be.

Why do you think so?

`ffap-string-at-point':
Return a string of characters from around point.

`comint-extract-string':
Return string around point, or nil.
___

My library thingatpt+.el defines these, based
loosely on `comint-extract-string':

`string-at-point'
`string-nearest-point'
`string-contents-at-point'
`string-contents-nearest-point'

The last two are the same as the first two,
except they don't include the string delimiters.

https://www.emacswiki.org/emacs/download/thingatpt%2b.el



  reply	other threads:[~2020-11-16 21:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20201112123626.18589.13771@vcs0.savannah.gnu.org>
     [not found] ` <20201112123627.D3F1B20A27@vcs0.savannah.gnu.org>
2020-11-12 18:31   ` master b21015c: Clarify project-find-file doc string Dmitry Gutov
2020-11-14 15:34     ` Lars Ingebrigtsen
2020-11-14 17:15       ` Dmitry Gutov
2020-11-16 21:27         ` Lars Ingebrigtsen
2020-11-16 21:36           ` Dmitry Gutov
2020-11-16 21:51             ` Drew Adams [this message]
2020-11-16 22:00               ` Dmitry Gutov

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

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

  git send-email \
    --in-reply-to=adc16eb0-aa00-4346-bb9f-d19f856341b4@default \
    --to=drew.adams@oracle.com \
    --cc=dgutov@yandex.ru \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.