[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [External] : Re: Adding functionality to a minor mode
From: |
goncholden |
Subject: |
RE: [External] : Re: Adding functionality to a minor mode |
Date: |
Mon, 07 Feb 2022 20:38:11 +0000 |
------ Original Message -------
On Monday, February 7th, 2022 at 8:26 PM, Drew Adams <drew.adams@oracle.com>
wrote:
> Am not sure whether I am executing your suggestion good.
>
> What should I look for?
>
> Debugger entered--Lisp error: (wrong-type-argument stringp \.\.\.)
>
> string-match("\\bARG\\b" \.\.\. nil)
...
> macroexpand-1((define-minor-mode rich-minor-mode \.\.\.))
I'm not following this thread, but it looks like you
passed a symbol `...' as the doc-string argument. That arg needs to be a
string. See` C-h f define-minor-mode'.
Am figuring out "(when rich-minor-mode" works. Looks like it evaluates false
when one calls
"(rich-minor-mode 1)". It was suggested to use macroexpand to help my
understanding.
- Adding functionality to a minor mode, goncholden, 2022/02/05
- Re: Adding functionality to a minor mode, goncholden, 2022/02/05
- Re: Adding functionality to a minor mode, goncholden, 2022/02/06
- Re: Adding functionality to a minor mode, Eric Abrahamsen, 2022/02/07
- Re: Adding functionality to a minor mode, goncholden, 2022/02/07
- Re: Adding functionality to a minor mode, Michael Heerdegen, 2022/02/07
- Re: Adding functionality to a minor mode, goncholden, 2022/02/07
- RE: [External] : Re: Adding functionality to a minor mode, Drew Adams, 2022/02/07
- RE: [External] : Re: Adding functionality to a minor mode,
goncholden <=
- RE: [External] : Re: Adding functionality to a minor mode, Drew Adams, 2022/02/07
- Re: Adding functionality to a minor mode, Michael Heerdegen, 2022/02/07
- Re: Adding functionality to a minor mode, goncholden, 2022/02/07
- Re: Adding functionality to a minor mode, Michael Heerdegen, 2022/02/07
- Re: Adding functionality to a minor mode, Kevin Vigouroux, 2022/02/08
- Re: Adding functionality to a minor mode, Stefan Monnier, 2022/02/08
- Re: Adding functionality to a minor mode, goncholden, 2022/02/08
- Re: Adding functionality to a minor mode, goncholden, 2022/02/08