all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Dima Kogan <dima@secretsauce.net>
Cc: 60893@debbugs.gnu.org
Subject: bug#60893: 30.0.50; ad-deactive has broken interactive TAB completion
Date: Wed, 18 Jan 2023 12:34:51 +0100	[thread overview]
Message-ID: <87zgaghy90.fsf@web.de> (raw)
In-Reply-To: <87lem09ajl.fsf@secretsauce.net> (Dima Kogan's message of "Tue, 17 Jan 2023 12:21:50 -0800")

[-- Attachment #1: Type: text/plain, Size: 442 bytes --]

Dima Kogan <dima@secretsauce.net> writes:

> 4. M-x ad-deactivate TAB
>
> It should try to complete to a list of existing advised functions.
> Intead it throws an error:
>
>   completion--some: Wrong type argument: listp, "open-line"

Looks like a regression introduced by

77c3c464a16 * lisp/emacs-lisp/advice.el (ad-advised-functions): Make it a plain list
Stefan Monnier <monnier@iro.umontreal.ca> 2018-09-17

Does this fix your problem?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-WIP-Fix-60893.patch --]
[-- Type: text/x-diff, Size: 803 bytes --]

From 5e0980aac23cfa9e5417f07b8853405ad10ee228 Mon Sep 17 00:00:00 2001
From: Michael Heerdegen <michael_heerdegen@web.de>
Date: Wed, 18 Jan 2023 12:32:05 +0100
Subject: [PATCH] WIP: Fix #60893

---
 lisp/emacs-lisp/advice.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/advice.el b/lisp/emacs-lisp/advice.el
index 080a6d84498..56f0ae2212c 100644
--- a/lisp/emacs-lisp/advice.el
+++ b/lisp/emacs-lisp/advice.el
@@ -1850,7 +1850,7 @@ ad-read-advised-function
 	   ad-advised-functions
 	   (if predicate
                (lambda (function)
-                 (funcall predicate (intern (car function)))))
+                 (funcall predicate (intern function))))
 	   t)))
     (if (equal function "")
 	(if (ad-is-advised default)
--
2.30.2


[-- Attachment #3: Type: text/plain, Size: 20 bytes --]



Thanks,

Michael.

  parent reply	other threads:[~2023-01-18 11:34 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-17 20:21 bug#60893: 30.0.50; ad-deactive has broken interactive TAB completion Dima Kogan
2023-01-18  5:03 ` Ruijie Yu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-01-18  5:12   ` Dima Kogan
2023-01-18  6:22     ` Ruijie Yu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-01-18 11:34 ` Michael Heerdegen [this message]
2023-01-19  5:35   ` Dima Kogan
2023-01-19 18:57     ` Michael Heerdegen
2023-01-19 21:21       ` Howard Melman
2023-01-19 23:37         ` Michael Heerdegen
2023-01-20  6:50           ` Eli Zaretskii
2023-01-20 13:27             ` Michael Heerdegen
2023-01-20 13:48               ` Eli Zaretskii
2023-01-20 15:11                 ` Robert Pluim
2023-01-20 15:19                   ` Eli Zaretskii
2023-01-20 15:50                     ` Robert Pluim

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=87zgaghy90.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=60893@debbugs.gnu.org \
    --cc=dima@secretsauce.net \
    /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.