emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Possible bug: org-capture fails when emacs started as daemon


From: Iñigo Serna
Subject: Re: Possible bug: org-capture fails when emacs started as daemon
Date: Wed, 16 Aug 2023 11:25:01 +0200
User-agent: mu4e 1.11.6; emacs 30.0.50

Hi,

From: Ihor Radchenko <yantar92@posteo.net>

If you can create a reproducer, it would be nice to report this as
proper Emacs bug.

I've attached a simple case for the bug.
I can reproduce the issue with emacs v29 and master.

In the example, there is a `minibuffer-setup-hook' to modify
minibuffer face, and a simple minor-mode which changes
`mode-line-active' face background color when enabled.

Then, when `test-mode' is enabled, `clone-indirect-buffer' fails.

Steps:
1. $ emacs -q -l test.el    -> note minibuffer font size is bigger
2. M-x test-mode -> note mode-line background color changes
3. M-x clone-indirect-buffer
=> Error: "face-attrs--make-indirect-safe: Wrong type argument: listp, test-modeline"


A complete backtrace:

Debugger entered--Lisp error: (wrong-type-argument listp test-modeline)
 face-remap--copy-face((mode-line-active . test-modeline))
 face-attrs--make-indirect-safe()
 clone-indirect-buffer(nil t)
 funcall-interactively(clone-indirect-buffer nil t)
 command-execute(clone-indirect-buffer record)
 execute-extended-command(nil "clone-indirect-buffer" "clone-in")
funcall-interactively(execute-extended-command nil "clone-indirect-buffer" "clone-in")
 command-execute(execute-extended-command)


Btw, I also saw this problem with `mini-modeline' package, from where
I've taken some ideas to write this example.


Thanks,
Iñigo

Attachment: test.el
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]