all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Attachment example with inlineimages
@ 2023-06-22  8:25 Eduardo Suarez
  2023-06-22 10:12 ` Ihor Radchenko
  0 siblings, 1 reply; 3+ messages in thread
From: Eduardo Suarez @ 2023-06-22  8:25 UTC (permalink / raw)
  To: emacs-orgmode

When loading the following file, I get:

'File mode specification error: (error Invalid base64 data)'

--- BEGIN SAMPLE FILE ---
#+STARTUP: inlineimages

#+begin_src org
[[attachment:thisfiledoesnotexist.jpg]]
#+end_src
--- END SAMPLE FILE ---

It also happens with 'begin_example'.

Org mode version 9.6.1 on Emacs 28.2.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Attachment example with inlineimages
  2023-06-22  8:25 Attachment example with inlineimages Eduardo Suarez
@ 2023-06-22 10:12 ` Ihor Radchenko
  2023-06-22 11:03   ` Eduardo Suarez-Santana
  0 siblings, 1 reply; 3+ messages in thread
From: Ihor Radchenko @ 2023-06-22 10:12 UTC (permalink / raw)
  To: Eduardo Suarez; +Cc: emacs-orgmode

Eduardo Suarez <esuarez@itccanarias.org> writes:

> When loading the following file, I get:
>
> 'File mode specification error: (error Invalid base64 data)'
> ...
> It also happens with 'begin_example'.

May you please provide more detailed steps to reproduce, starting from
emacs -Q? See https://orgmode.org/manual/Feedback.html#Feedback

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Attachment example with inlineimages
  2023-06-22 10:12 ` Ihor Radchenko
@ 2023-06-22 11:03   ` Eduardo Suarez-Santana
  0 siblings, 0 replies; 3+ messages in thread
From: Eduardo Suarez-Santana @ 2023-06-22 11:03 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

My fault. The reason seems to be a doom emacs advice.

https://github.com/doomemacs/doomemacs/issues/7222
https://github.com/doomemacs/doomemacs/blob/07fca786154551f90f36535bfb21f8ca4abd5027/modules/lang/org/config.el#L866

On Thu, Jun 22, 2023 at 10:12:50AM +0000, Ihor Radchenko wrote:
> Eduardo Suarez <esuarez@itccanarias.org> writes:
> 
> > When loading the following file, I get:
> >
> > 'File mode specification error: (error Invalid base64 data)'
> > ...
> > It also happens with 'begin_example'.
> 
> May you please provide more detailed steps to reproduce, starting from
> emacs -Q? See https://orgmode.org/manual/Feedback.html#Feedback


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-06-22 11:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-22  8:25 Attachment example with inlineimages Eduardo Suarez
2023-06-22 10:12 ` Ihor Radchenko
2023-06-22 11:03   ` Eduardo Suarez-Santana

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.