[PATCH] emacs/notmuch-tag.el: add xmlns attribute to svg icons

2022-01-13 Thread LdBeth
emacs-mac that compiled with OS X system API instead of imagemagick cannot render svg without xmlns correctly [1]. [1]: id:tencent_127aa231767438ac66fee4ddb4bbf51df...@qq.com --- emacs/notmuch-tag.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/emacs/notmuch-tag.el

Re: [PATCH] emacs/notmuch-tag.el: add xmlns attribute to svg icons

2022-01-13 Thread Tomi Ollila
On Thu, Jan 13 2022, LdBeth wrote: > emacs-mac that compiled with OS X system API instead of imagemagick > cannot render svg without xmlns correctly [1]. Referecing Imagemagick in this commit message may be incorrect, otherwise content looks good. In case of Emacs 26, when imagemagick is used

Re: [PATCH v4] emacs: customizable names for search buffers

2022-01-13 Thread Jose A Ortega Ruiz
On Thu, Jan 13 2022, Tomi Ollila wrote: [...] > I am curious about this regexp, \b is matching word/non-word boundary -- so > I had to test it. > > (replace-regexp-in-string "\\b%t\\b" "repl" "foo %t bar") ;; no replacement > (replace-regexp-in-string "\\b%t\\b" "repl" "foo-%t-bar") ;; no

Re: notmuch-emacs: svg icon cannot be rendered by emacs-mac

2022-01-13 Thread Tomi Ollila
On Wed, Jan 12 2022, LdBeth wrote: > The svg icons included in notmuch-emacs cannot be correctly rendered > by emacs-mac (https://bitbucket.org/mituharu/emacs-mac/src/master/), > > The empty SVG created by `svg-image' function from svg.el has XML > attribute `xmlns' like: > > "

Re: [PATCH v4] emacs: customizable names for search buffers

2022-01-13 Thread Jose A Ortega Ruiz
on second thought, i think we could perhaps just go for the simpler "%t", which would allow inserting the type anywhere, even in the middle of a word... i think a problem here is that "word" or "symbol" (which is what my suggestion used) constituent depend on the definition of what's a word or