all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Daniel Mendler <mail@daniel-mendler.de>
Cc: 61274@debbugs.gnu.org, monnier@iro.umontreal.ca
Subject: bug#61274: 29.0.60; dabbrev-capf signals errors
Date: Sat, 04 Feb 2023 20:09:50 +0200	[thread overview]
Message-ID: <83cz6pti8h.fsf@gnu.org> (raw)
In-Reply-To: <c8e01b85-1d3b-17b9-0b8a-e6aeccc38569@daniel-mendler.de> (message from Daniel Mendler on Sat, 4 Feb 2023 18:30:41 +0100)

> Date: Sat, 4 Feb 2023 18:30:41 +0100
> Cc: 61274@debbugs.gnu.org
> From: Daniel Mendler <mail@daniel-mendler.de>
> 
> > Then there's something here that puzzles me: the recipe presented by
> > Daniel is basically identical to what dabbrev-completion does.  And
> > yet dabbrev-completion produces different effects when invoked in the
> > same buffer with the same text at point.  What is responsible for the
> > difference in behavior?
> 
> You mean that the stringp type error does not occur? There is some code
> in `dabbrev-completion' which sets up Dabbrev (resets variables etc), so
> this is likely causing the difference.

This is solved by my patch.

I thought there was some difference in behavior even after that, but
it looks like I cannot reproduce it now, so I will consider that my
dream.

> However the second issue still occurs even with `dabbrev-completion'.
> When I execute `dabbrev-completion' in a buffer where no completions are
> found, I get the message "dabbrev--abbrev-at-point: No possible
> abbreviation preceding point", while the message should be the usual "No
> match" from `completion-at-point'.

I see a different message:

  completion--some: No dynamic expansion for "x" found in this-buffer

Which IMO is completely reasonable.





  reply	other threads:[~2023-02-04 18:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-04 11:03 bug#61274: 29.0.60; dabbrev-capf signals errors Daniel Mendler
2023-02-04 13:16 ` Eli Zaretskii
2023-02-04 16:03   ` Daniel Mendler
2023-02-04 16:54     ` Eli Zaretskii
2023-02-04 17:13       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-04 17:17         ` Eli Zaretskii
2023-02-04 17:30           ` Daniel Mendler
2023-02-04 18:09             ` Eli Zaretskii [this message]
2023-02-04 18:21               ` Daniel Mendler
2023-02-04 17:23       ` Daniel Mendler

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=83cz6pti8h.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=61274@debbugs.gnu.org \
    --cc=mail@daniel-mendler.de \
    --cc=monnier@iro.umontreal.ca \
    /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.