all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#46089: 26.3; Doc string of `read-regexp-suggestions'
@ 2021-01-24 23:36 Drew Adams
  2021-01-27  2:47 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Drew Adams @ 2021-01-24 23:36 UTC (permalink / raw)
  To: 46089

  Return a list of standard suggestions for `read-regexp'.
  By default, the list includes the tag at point, the last isearch regexp,
  the last isearch string, and the last replacement regexp.  `read-regexp'
  appends the list returned by this function to the end of values available
  via M-n.

What's "the tag at point"?  What does "tag" mean here?  I have no idea.

In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)
 of 2019-08-29
Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd
Windowing system distributor `Microsoft Corp.', version 10.0.18362
Configured using:
 `configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static -g3''






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#46089: 26.3; Doc string of `read-regexp-suggestions'
  2021-01-24 23:36 bug#46089: 26.3; Doc string of `read-regexp-suggestions' Drew Adams
@ 2021-01-27  2:47 ` Lars Ingebrigtsen
  2021-01-27  3:10   ` bug#46089: [External] : " Drew Adams
  2021-01-27  3:12   ` Drew Adams
  0 siblings, 2 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2021-01-27  2:47 UTC (permalink / raw)
  To: Drew Adams; +Cc: 46089

Drew Adams <drew.adams@oracle.com> writes:

>   Return a list of standard suggestions for `read-regexp'.
>   By default, the list includes the tag at point, the last isearch regexp,
>   the last isearch string, and the last replacement regexp.  `read-regexp'
>   appends the list returned by this function to the end of values available
>   via M-n.
>
> What's "the tag at point"?  What does "tag" mean here?  I have no idea.

I've now added a link to the tags section in the manual.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#46089: [External] : Re: bug#46089: 26.3; Doc string of `read-regexp-suggestions'
  2021-01-27  2:47 ` Lars Ingebrigtsen
@ 2021-01-27  3:10   ` Drew Adams
  2021-01-27  3:12   ` Drew Adams
  1 sibling, 0 replies; 4+ messages in thread
From: Drew Adams @ 2021-01-27  3:10 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 46089@debbugs.gnu.org

> >   Return a list of standard suggestions for `read-regexp'.
> >   By default, the list includes the tag at point, the last isearch
> regexp,
> >   the last isearch string, and the last replacement regexp.  `read-
> regexp'
> >   appends the list returned by this function to the end of values
> available
> >   via M-n.
> >
> > What's "the tag at point"?  What does "tag" mean here?  I have no
> idea.
> 
> I've now added a link to the tags section in the manual.

I suppose I need to take your word for it.

What manual section is that - what node?

`i tag' doesn't find anything except these index entries:

  tag on run time stack  
  qqtag, customization keyword

I can't imagine what either of those has to do with
suggestions for `read-regexp'.

Node `Text from Minibuffer' says this:

 − The word or symbol at point.
 − The last regexp used in an incremental search.
 − The last string used in an incremental search.
 − The last string or pattern used in query-replace commands.

Is the first of those, "word or symbol", what the
doc string means by "tag"?

There are these meanings of "tag" in Emacs, AFAIK:

* Org mode tags (user-supplied labels/categories).
* TAGS file tags (places where something is defined).

I can't imagine either of those being something
that's "at point".

A wild, completely naive guess is that the doc
string is misworded, and that "word or symbol"
is what's meant.  Or perhaps what's meant is a
word or symbol at point that's got an entry in
the current (or some) TAGS table.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#46089: [External] : Re: bug#46089: 26.3; Doc string of `read-regexp-suggestions'
  2021-01-27  2:47 ` Lars Ingebrigtsen
  2021-01-27  3:10   ` bug#46089: [External] : " Drew Adams
@ 2021-01-27  3:12   ` Drew Adams
  1 sibling, 0 replies; 4+ messages in thread
From: Drew Adams @ 2021-01-27  3:12 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 46089@debbugs.gnu.org

>   tag on run time stack
>   qqtag, customization keyword
      ^
     tag  (typo)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-27  3:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-24 23:36 bug#46089: 26.3; Doc string of `read-regexp-suggestions' Drew Adams
2021-01-27  2:47 ` Lars Ingebrigtsen
2021-01-27  3:10   ` bug#46089: [External] : " Drew Adams
2021-01-27  3:12   ` Drew Adams

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.