* how do you compose mails in Gnus with org-mode
@ 2018-03-01 13:37 Joseph Vidal-Rosset
2018-03-01 14:10 ` Eric S Fraga
2018-03-03 11:57 ` Thorsten Jolitz
0 siblings, 2 replies; 42+ messages in thread
From: Joseph Vidal-Rosset @ 2018-03-01 13:37 UTC (permalink / raw)
To: emacs-orgmode list
Hello,
I know that the subject of my email exists already.
[[https://lists.gnu.org/archive/html/emacs-orgmode/2009-08/msg00855.html]]
But I'm loosing to much time in searching the solution of my
"problem". I would be happy to get in Gnus the same function that exists
in mu4e that is org-mu4e-compose-org-mode. Supposing that I want to reply
to an email, I would be glad to write my reply in a org file and, once
finished this reply, going back to gnus to be able to org-mime-htmlize
it and send it.
At the moment the only solution that I have is to quit gnus in order to
make an org file that I copy and paste in the reply. I am convinced that
a better solution exists, but I am unable to find it (ideally the org
file for such a reply would contain the bibliography link by default).
Your help will be very welcome,
Best wishes,
Jo.
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: how do you compose mails in Gnus with org-mode
2018-03-01 13:37 how do you compose mails in Gnus with org-mode Joseph Vidal-Rosset
@ 2018-03-01 14:10 ` Eric S Fraga
[not found] ` <87vaef97ze.fsf@gmail.com>
2018-03-03 11:57 ` Thorsten Jolitz
1 sibling, 1 reply; 42+ messages in thread
From: Eric S Fraga @ 2018-03-01 14:10 UTC (permalink / raw)
To: Joseph Vidal-Rosset; +Cc: emacs-orgmode list
[-- Attachment #1: Type: text/plain, Size: 698 bytes --]
On Thursday, 1 Mar 2018 at 14:37, Joseph Vidal-Rosset wrote:
> Supposing that I want to reply
> to an email, I would be glad to write my reply in a org file and, once
> finished this reply, going back to gnus to be able to org-mime-htmlize
> it and send it.
> At the moment the only solution that I have is to quit gnus in order to
> make an org file that I copy and paste in the reply.
You don't have to quit gnus or even switch to another
buffer/file. Simply change the mode to org (M-x org-mode RET), compose
your email, switch back to message mode (M-x message-mode RET), htmlize
the email and send it.
--
Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-352-g92176c
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: how do you compose mails in Gnus with org-mode
2018-03-01 13:37 how do you compose mails in Gnus with org-mode Joseph Vidal-Rosset
2018-03-01 14:10 ` Eric S Fraga
@ 2018-03-03 11:57 ` Thorsten Jolitz
2018-03-06 9:58 ` [Error] (was: how do you compose mails in Gnus with org-mode) Uwe Brauer
2018-03-06 10:12 ` how do you compose mails in Gnus with org-mode Uwe Brauer
1 sibling, 2 replies; 42+ messages in thread
From: Thorsten Jolitz @ 2018-03-03 11:57 UTC (permalink / raw)
To: emacs-orgmode
Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes:
Hallo
> I know that the subject of my email exists already.
> [[https://lists.gnu.org/archive/html/emacs-orgmode/2009-08/msg00855.html]]
This works perfectly for your subject:
,----[ C-h f outorg-edit-as-org RET ]
| outorg-edit-as-org is an interactive Lisp function in ‘outorg.el’.
|
| It is bound to M-# #, <menu-bar> <Outshine> <Edit As Org>.
|
| (outorg-edit-as-org &optional ARG)
|
| Convert and copy to temporary Org buffer
|
| With ARG, act conditional on the raw value of ARG:
|
| | prefix | raw | action 1 | action 2 |
| |--------+-----+-------------------+--------------------------------|
| | C-u | (4) | edit-whole-buffer | --- |
| | C-1 | 1 | edit-whole-buffer | insert default export-template |
| | C-2 | 2 | edit-whole-buffer | prompt user for template-file |
| | C-3 | 3 | edit-whole-buffer | insert & keep default template |
| | C-4 | 4 | edit-whole-buffer | insert & keep template-file |
| | C-5 | 5 | propagate changes | --- |
|
| [back]
`----
It has already been described several time how to configure
outshine/outorg that it works with message-mode too.
Its actually quite easy. Configure outshine like described in the
README, and add outline-minor-mode to message-mode-hook in your .emacs.
,----
| (add-hook 'emacs-lisp-mode-hook 'outline-minor-mode)
| (add-hook 'message-mode-hook 'outline-minor-mode))
`----
Then with M-# # your email (open in message-mode, gnus) will be opened
in an org-mode buffer for editing in org-mode.
Looks very similar to opening a source-block in org-mode to edit the
sources in the programming language mode.
,----
| [ *unsent followup to Joseph Vidal-Rosset on gmane.emacs.orgmode* ]
| Exit with M-# (Meta-Key and #)
| * --text follows this line--
| Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes:
|
| Hallo
|
| > I know that the subject of my email exists already.
| > https://lists.gnu.org/archive/html/emacs-orgmode/2009-08/msg00855.html
|
| This works perfectly for your subject: [...]
`----
and tells you how to exit again: M-#
--
cheers,
Thorsten
^ permalink raw reply [flat|nested] 42+ messages in thread
* [Error] (was: how do you compose mails in Gnus with org-mode)
2018-03-03 11:57 ` Thorsten Jolitz
@ 2018-03-06 9:58 ` Uwe Brauer
2018-03-06 18:12 ` [Error] Thorsten Jolitz
2018-03-06 10:12 ` how do you compose mails in Gnus with org-mode Uwe Brauer
1 sibling, 1 reply; 42+ messages in thread
From: Uwe Brauer @ 2018-03-06 9:58 UTC (permalink / raw)
To: emacs-orgmode
>>> "Thorsten" == Thorsten Jolitz <tjolitz@gmail.com> writes:
> Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes:
> Hallo
>> I know that the subject of my email exists already.
>> [[https://lists.gnu.org/archive/html/emacs-orgmode/2009-08/msg00855.html]]
> This works perfectly for your subject:
> ,----[ C-h f outorg-edit-as-org RET ]
Thanks for the pointer, but alas it does not work in a gnus message/mail
buffer.
When I use that function I obtain the following error:
Debugger entered--Lisp error: (error "Before first heading")
signal(error ("Before first heading"))
error("Before first heading")
outline-back-to-heading()
outline-end-of-subtree()
outorg-save-markers((point-marker beg-of-subtree-marker mark-marker
org-clock-marker org-clock-hd-marker org-clock-default-task
org-clock-interrupted-task selected-task org-open-link-marker
org-log-note-marker org-log-note-return-to
org-entry-property-inherited-from))
outorg-edit-as-org(nil)
funcall-interactively(outorg-edit-as-org nil)
call-interactively(outorg-edit-as-org nil nil)
command-execute(outorg-edit-as-org)
Did you check this command, how do you use it?
Regards
Uwe Brauer
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: [Error]
2018-03-06 9:58 ` [Error] (was: how do you compose mails in Gnus with org-mode) Uwe Brauer
@ 2018-03-06 18:12 ` Thorsten Jolitz
0 siblings, 0 replies; 42+ messages in thread
From: Thorsten Jolitz @ 2018-03-06 18:12 UTC (permalink / raw)
To: emacs-orgmode
Uwe Brauer <oub@mat.ucm.es> writes:
>>>> "Thorsten" == Thorsten Jolitz <tjolitz@gmail.com> writes:
>
> > Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes:
> > Hallo
>
> >> I know that the subject of my email exists already.
> >> [[https://lists.gnu.org/archive/html/emacs-orgmode/2009-08/msg00855.html]]
>
> > This works perfectly for your subject:
>
> > ,----[ C-h f outorg-edit-as-org RET ]
>
> Thanks for the pointer, but alas it does not work in a gnus message/mail
> buffer.
Hello,
I' pretty sure your outshine config is not complete:
Here is what I have:
at the top of my .emacs:
,----
| ;; *** Global Keys
|
| ;; must be set before outline is loaded
| (defvar outline-minor-mode-prefix "\M-#")
`----
then somewhere inside my .emacs (don't worry about "try-require", simply
use "require" in your code). outorg-export is optional too (but useful
for special needs in outorg exporting), I would highly recomment
navi-mode though (very fast navigation in outshine buffers).
,----
| ;; ** Outline
|
| (message "\n------ entering outline ------")
|
| (when (try-require 'outline)
| (add-hook 'emacs-lisp-mode-hook 'outline-minor-mode)
| (add-hook 'message-mode-hook 'outline-minor-mode))
|
| ;; outorg-export
| (try-require 'outorg-export)
|
| ;; outshine
| (try-require 'outshine)
| (add-hook 'outline-minor-mode-hook 'outshine-hook-function)
|
| (setq outshine-use-speed-commands t)
|
| ;; navi-mode
| (try-require 'navi-mode)
`----
most likely this line is missing, add it:
,----
| (add-hook 'outline-minor-mode-hook 'outshine-hook-function)
`----
Note that I did this:
,----
| (add-hook 'xyz-mode-hook 'outline-minor-mode)
`----
for many other modes too, like ESS, picolisp, ledger, latex ... etc
HTH
> When I use that function I obtain the following error:
>
> Debugger entered--Lisp error: (error "Before first heading")
> signal(error ("Before first heading"))
> error("Before first heading")
> outline-back-to-heading()
> outline-end-of-subtree()
> outorg-save-markers((point-marker beg-of-subtree-marker mark-marker
> org-clock-marker org-clock-hd-marker org-clock-default-task
> org-clock-interrupted-task selected-task org-open-link-marker
> org-log-note-marker org-log-note-return-to
> org-entry-property-inherited-from))
> outorg-edit-as-org(nil)
> funcall-interactively(outorg-edit-as-org nil)
> call-interactively(outorg-edit-as-org nil nil)
> command-execute(outorg-edit-as-org)
>
>
> Did you check this command, how do you use it?
>
> Regards
>
> Uwe Brauer
>
>
>
--
cheers,
Thorsten
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: how do you compose mails in Gnus with org-mode
2018-03-03 11:57 ` Thorsten Jolitz
2018-03-06 9:58 ` [Error] (was: how do you compose mails in Gnus with org-mode) Uwe Brauer
@ 2018-03-06 10:12 ` Uwe Brauer
2018-03-06 18:24 ` Thorsten Jolitz
1 sibling, 1 reply; 42+ messages in thread
From: Uwe Brauer @ 2018-03-06 10:12 UTC (permalink / raw)
To: emacs-orgmode
>>> "Thorsten" == Thorsten Jolitz <tjolitz@gmail.com> writes:
> Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes:
> Hallo
>> I know that the subject of my email exists already.
>> [[https://lists.gnu.org/archive/html/emacs-orgmode/2009-08/msg00855.html]]
> This works perfectly for your subject:
I just realised that you are the author of that package. Sorry.
I set
(require 'outorg)
(require 'outshine)
(add-hook 'outline-minor-mode-hook 'outshine-hook-function)
(add-hook 'message-mode-hook 'outline-minor-mode)
But when I fire up outorg-edit-as-org in a reply message I obtain the
error I described in my earlier message.
Uwe Brauer
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: how do you compose mails in Gnus with org-mode
2018-03-06 10:12 ` how do you compose mails in Gnus with org-mode Uwe Brauer
@ 2018-03-06 18:24 ` Thorsten Jolitz
2018-03-06 18:38 ` Thorsten Jolitz
2018-03-06 19:01 ` Uwe Brauer
0 siblings, 2 replies; 42+ messages in thread
From: Thorsten Jolitz @ 2018-03-06 18:24 UTC (permalink / raw)
To: emacs-orgmode
Uwe Brauer <oub@mat.ucm.es> writes:
>>>> "Thorsten" == Thorsten Jolitz <tjolitz@gmail.com> writes:
>
> > Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes:
> > Hallo
>
> >> I know that the subject of my email exists already.
> >> [[https://lists.gnu.org/archive/html/emacs-orgmode/2009-08/msg00855.html]]
>
> > This works perfectly for your subject:
>
> I just realised that you are the author of that package. Sorry.
>
> I set
>
> (require 'outorg)
> (require 'outshine)
> (add-hook 'outline-minor-mode-hook 'outshine-hook-function)
>
> (add-hook 'message-mode-hook 'outline-minor-mode)
ok, maybe I answered the wrong message, does not look that incomplete
actually. Maybe try a copy of my config.
I used outorg-edit-as-org to insert and evaluate these source blocks
directly in this email, so for me it works:
#+BEGIN_SRC emacs-lisp
(emacs-version)
#+END_SRC
#+results:
: GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.26)
: of 2018-02-09
#+BEGIN_SRC emacs-lisp
(org-version)
#+END_SRC
#+results:
: 8.2.10
#+BEGIN_SRC emacs-lisp
(gnus-version)
#+END_SRC
#+results:
: Gnus v5.13
> But when I fire up outorg-edit-as-org in a reply message I obtain the
> error I described in my earlier message.
>
> Uwe Brauer
--
cheers,
Thorsten
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: how do you compose mails in Gnus with org-mode
2018-03-06 18:24 ` Thorsten Jolitz
@ 2018-03-06 18:38 ` Thorsten Jolitz
2018-03-06 19:02 ` Uwe Brauer
2018-03-06 19:01 ` Uwe Brauer
1 sibling, 1 reply; 42+ messages in thread
From: Thorsten Jolitz @ 2018-03-06 18:38 UTC (permalink / raw)
To: emacs-orgmode
Thorsten Jolitz <tjolitz@gmail.com> writes:
> Uwe Brauer <oub@mat.ucm.es> writes:
>
>>>>> "Thorsten" == Thorsten Jolitz <tjolitz@gmail.com> writes:
>>
>> > Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes:
>> > Hallo
>>
>> >> I know that the subject of my email exists already.
>> >> [[https://lists.gnu.org/archive/html/emacs-orgmode/2009-08/msg00855.html]]
>>
>> > This works perfectly for your subject:
>>
>> I just realised that you are the author of that package. Sorry.
>>
>> I set
>>
>> (require 'outorg)
>> (require 'outshine)
>> (add-hook 'outline-minor-mode-hook 'outshine-hook-function)
>>
>> (add-hook 'message-mode-hook 'outline-minor-mode)
PS
you do have this variable defined, right?
,----
| mail-header-separator is a variable defined in ‘sendmail.el’.
| Its value is "--text follows this line--"
|
| Documentation:
| Line used to separate headers from text in messages being composed.
|
| You can customize this variable.
`----
the value is not important, but it can't be nil.
> ok, maybe I answered the wrong message, does not look that incomplete
> actually. Maybe try a copy of my config.
>
> I used outorg-edit-as-org to insert and evaluate these source blocks
> directly in this email, so for me it works:
>
> #+BEGIN_SRC emacs-lisp
> (emacs-version)
> #+END_SRC
>
>
> #+results:
> : GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.26)
> : of 2018-02-09
>
> #+BEGIN_SRC emacs-lisp
> (org-version)
> #+END_SRC
>
>
> #+results:
> : 8.2.10
>
> #+BEGIN_SRC emacs-lisp
> (gnus-version)
> #+END_SRC
>
> #+results:
> : Gnus v5.13
>
>> But when I fire up outorg-edit-as-org in a reply message I obtain the
>> error I described in my earlier message.
>>
>> Uwe Brauer
--
cheers,
Thorsten
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: how do you compose mails in Gnus with org-mode
2018-03-06 18:38 ` Thorsten Jolitz
@ 2018-03-06 19:02 ` Uwe Brauer
0 siblings, 0 replies; 42+ messages in thread
From: Uwe Brauer @ 2018-03-06 19:02 UTC (permalink / raw)
To: emacs-orgmode
> Thorsten Jolitz <tjolitz@gmail.com> writes:
> PS
> you do have this variable defined, right?
> ,----
> | mail-header-separator is a variable defined in ‘sendmail.el’.
> | Its value is "--text follows this line--"
> |
> | Documentation:
> | Line used to separate headers from text in messages being composed.
> |
> | You can customize this variable.
> `----
> the value is not important, but it can't be nil.
Yes
,----
| mail-header-separator is a variable defined in ‘sendmail.el’.
| Its value is "--text follows this line--"
|
| Documentation:
| Line used to separate headers from text in messages being composed.
|
| You can customize this variable.
|
| [back]
`----
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: how do you compose mails in Gnus with org-mode
2018-03-06 18:24 ` Thorsten Jolitz
2018-03-06 18:38 ` Thorsten Jolitz
@ 2018-03-06 19:01 ` Uwe Brauer
2018-03-06 19:36 ` Thorsten Jolitz
1 sibling, 1 reply; 42+ messages in thread
From: Uwe Brauer @ 2018-03-06 19:01 UTC (permalink / raw)
To: emacs-orgmode
>>> "Thorsten" == Thorsten Jolitz <tjolitz@gmail.com> writes:
> Uwe Brauer <oub@mat.ucm.es> writes:
>>>>> "Thorsten" == Thorsten Jolitz <tjolitz@gmail.com> writes:
>>
>> > Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes:
>> > Hallo
>>
>> >> I know that the subject of my email exists already.
>> >> [[https://lists.gnu.org/archive/html/emacs-orgmode/2009-08/msg00855.html]]
>>
>> > This works perfectly for your subject:
>>
>> I just realised that you are the author of that package. Sorry.
>>
>> I set
>>
>> (require 'outorg)
>> (require 'outshine)
>> (add-hook 'outline-minor-mode-hook 'outshine-hook-function)
>>
>> (add-hook 'message-mode-hook 'outline-minor-mode)
> ok, maybe I answered the wrong message, does not look that incomplete
> actually. Maybe try a copy of my config.
> I used outorg-edit-as-org to insert and evaluate these source blocks
> directly in this email, so for me it works:
I still can't
> #+BEGIN_SRC emacs-lisp
> (emacs-version)
> #+END_SRC
> #+results:
> : GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.26)
> : of 2018-02-09
GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2018-01-25"
> #+BEGIN_SRC emacs-lisp
> (org-version)
> #+END_SRC
Git master from June 2017 so relatively recent
> #+results:
> : 8.2.10
> #+BEGIN_SRC emacs-lisp
> (gnus-version)
> #+END_SRC
> #+results:
> : Gnus v5.13
The same here.
>> But when I fire up outorg-edit-as-org in a reply message I obtain the
>> error I described in my earlier message.
>>
>> Uwe Brauer
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: how do you compose mails in Gnus with org-mode
2018-03-06 19:01 ` Uwe Brauer
@ 2018-03-06 19:36 ` Thorsten Jolitz
2018-03-07 9:57 ` Uwe Brauer
0 siblings, 1 reply; 42+ messages in thread
From: Thorsten Jolitz @ 2018-03-06 19:36 UTC (permalink / raw)
To: emacs-orgmode
Uwe Brauer <oub@mat.ucm.es> writes:
>>>> "Thorsten" == Thorsten Jolitz <tjolitz@gmail.com> writes:
>
>> Uwe Brauer <oub@mat.ucm.es> writes:
>>>>>> "Thorsten" == Thorsten Jolitz <tjolitz@gmail.com> writes:
>>>
>>> > Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes:
>>> > Hallo
>>>
>>> >> I know that the subject of my email exists already.
>>> >> [[https://lists.gnu.org/archive/html/emacs-orgmode/2009-08/msg00855.html]]
>>>
>>> > This works perfectly for your subject:
>>>
>>> I just realised that you are the author of that package. Sorry.
>>>
>>> I set
>>>
>>> (require 'outorg)
>>> (require 'outshine)
>>> (add-hook 'outline-minor-mode-hook 'outshine-hook-function)
>>>
>>> (add-hook 'message-mode-hook 'outline-minor-mode)
>
>> ok, maybe I answered the wrong message, does not look that incomplete
>> actually. Maybe try a copy of my config.
>
>> I used outorg-edit-as-org to insert and evaluate these source blocks
>> directly in this email, so for me it works:
> I still can't
>
>> #+BEGIN_SRC emacs-lisp
>> (emacs-version)
>> #+END_SRC
>
>
>> #+results:
>> : GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.26)
>> : of 2018-02-09
>
>
> GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d
> scroll bars)
> of 2018-01-25"
Wow, emacs 27 ... I'm on Archlinux and always thought packages a pretty
up-to-date.
Maybe outline has changed somehow between Emacs 25 and Emacs 27?
But I don't think so, the error you send is pretty typical for
incomplete configuration.
> Debugger entered--Lisp error: (error "Before first heading")
> signal(error ("Before first heading"))
> error("Before first heading")
> outline-back-to-heading()
is typical when
,----
| outorg-prepare-message-mode-buffer-for-editing ()
`----
has not run, it turns this line into a 1st level org headline thus
converting any kind of message body into an org file.
,----
| * --text follows this line--
| Uwe Brauer <oub@mat.ucm.es> writes:
`----
without this, the error is justified - an org file without a single
org headline is no org file at all.
You could try to write an email with these lines:
,----
| * 1st level
| ** 2nd level
| some text
`----
put point on some text an call outorg, to see if it works.
Another option would be to use edebug:
open outorg.el, put point into 'outorg-edit-as-org', and call M-x
edebug-defun. Then convert an email again, and go step-by-step with
SPACE key, and see how far you get.
When done, call 'load-library' on outorg.el to get rid of edebug
instrumentation.
>> #+BEGIN_SRC emacs-lisp
>> (org-version)
>> #+END_SRC
>
> Git master from June 2017 so relatively recent
>
>> #+results:
>> : 8.2.10
>
>> #+BEGIN_SRC emacs-lisp
>> (gnus-version)
>> #+END_SRC
>
>> #+results:
>> : Gnus v5.13
>
> The same here.
>
>>> But when I fire up outorg-edit-as-org in a reply message I obtain the
>>> error I described in my earlier message.
>>>
>>> Uwe Brauer
>
>
>
--
cheers,
Thorsten
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: how do you compose mails in Gnus with org-mode
2018-03-06 19:36 ` Thorsten Jolitz
@ 2018-03-07 9:57 ` Uwe Brauer
2018-03-07 17:46 ` Thorsten Jolitz
2018-03-07 21:10 ` how do you compose mails in Gnus with org-mode Tim Cross
0 siblings, 2 replies; 42+ messages in thread
From: Uwe Brauer @ 2018-03-07 9:57 UTC (permalink / raw)
To: emacs-orgmode
> Uwe Brauer <oub@mat.ucm.es> writes:
> Wow, emacs 27 ... I'm on Archlinux and always thought packages a pretty
> up-to-date.
Right Ubuntu officially only ships 24, which is pretty old.
Well it is directly form git master, so it is a pre release.
The official release is 26.
> Maybe outline has changed somehow between Emacs 25 and Emacs 27?
> But I don't think so, the error you send is pretty typical for
> incomplete configuration.
I think at the weekend, I will debug the problem. It might be that there
some parts of my init file which are in conflict with your package.
> is typical when
> ,----
> | outorg-prepare-message-mode-buffer-for-editing ()
> `----
> has not run, it turns this line into a 1st level org headline thus
> converting any kind of message body into an org file.
> ,----
> | * --text follows this line--
> | Uwe Brauer <oub@mat.ucm.es> writes:
> `----
> without this, the error is justified - an org file without a single
> org headline is no org file at all.
> You could try to write an email with these lines:
> ,----
> | * 1st level
> | ** 2nd level
> | some text
> `----
> put point on some text an call outorg, to see if it works.
ok
> Another option would be to use edebug:
> open outorg.el, put point into 'outorg-edit-as-org', and call M-x
> edebug-defun. Then convert an email again, and go step-by-step with
> SPACE key, and see how far you get.
Right.
BTW, you recommended
(require 'outorg-export)
I installed your package via the package system, so I don't see that
file. Where can I obtain it from?
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: how do you compose mails in Gnus with org-mode
2018-03-07 9:57 ` Uwe Brauer
@ 2018-03-07 17:46 ` Thorsten Jolitz
2018-03-08 8:50 ` Uwe Brauer
2018-03-07 21:10 ` how do you compose mails in Gnus with org-mode Tim Cross
1 sibling, 1 reply; 42+ messages in thread
From: Thorsten Jolitz @ 2018-03-07 17:46 UTC (permalink / raw)
To: emacs-orgmode
Uwe Brauer <oub@mat.ucm.es> writes:
> > Uwe Brauer <oub@mat.ucm.es> writes:
>
> > Wow, emacs 27 ... I'm on Archlinux and always thought packages a
> > pretty
> > up-to-date.
>
> Right Ubuntu officially only ships 24, which is pretty old.
>
> Well it is directly form git master, so it is a pre release.
> The official release is 26.
Then Archlinux is not that much out of date.
> > Maybe outline has changed somehow between Emacs 25 and Emacs 27?
> > But I don't think so, the error you send is pretty typical for
> > incomplete configuration.
>
> I think at the weekend, I will debug the problem. It might be that there
> some parts of my init file which are in conflict with your package.
A good start would be to try outshine with emacs-lisp mode.
With your outshine config done, write a file like foo.el
,----
| ;;; 1st level header
| ;;;; Sum
| (+ 1 1)
| ;;;; Subtract
| (- 2 1)
`----
or
,----
| ;; * 1st level header
| ;; ** Sum
| (+ 1 1)
| ;; ** Subtract
| (- 2 1)
`----
and see if you got headline fontification and all the outshine
functionality.
If that works, its a message-mode problem.
If not, a genereal problem with your config.
> [...]
> BTW, you recommended
> (require 'outorg-export)
>
> I installed your package via the package system, so I don't see that
> file. Where can I obtain it from?
It's an extension to outorg:
,----
| ;;; outorg-export.el -- Automated exporting through org
|
| ;; Author: Jonathan Leech-Pepin <jonathan.leechpepin AT gmail DOT com
| ;; Version: 0.1
| ;; URL: https://github.com/jleechpe/outorg-export
|
| ;;;; MetaData
| ;; :PROPERTIES:
| ;; :copyright: Jonathan Leech-Pepin
| ;; :copyright-years: 2014+
| ;; :version: 0.3
| ;; :licence: GPLv3 or later
| ;; :licence-url: http://www.gnu.org/licenses/
| ;; :part-of-emacs: no
| ;; :author: Jonathan Leech-Pepin
| ;; :author_email: jonathan.leechpepin AT gmail DOT com
| ;; :keywords: emacs org-mode export
| ;; :END:
`----
This is the README
,----
| outorg-export
| =============
|
| Automated exporting of sections of source files to any format org can export to.
`----
--
cheers,
Thorsten
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: how do you compose mails in Gnus with org-mode
2018-03-07 17:46 ` Thorsten Jolitz
@ 2018-03-08 8:50 ` Uwe Brauer
2018-03-08 16:58 ` Thorsten Jolitz
0 siblings, 1 reply; 42+ messages in thread
From: Uwe Brauer @ 2018-03-08 8:50 UTC (permalink / raw)
To: emacs-orgmode
>>> "Thorsten" == Thorsten Jolitz <tjolitz@gmail.com> writes:
> Uwe Brauer <oub@mat.ucm.es> writes:
>> > Uwe Brauer <oub@mat.ucm.es> writes:
>>
>> > Wow, emacs 27 ... I'm on Archlinux and always thought packages a
>> > pretty
>> > up-to-date.
>>
>> Right Ubuntu officially only ships 24, which is pretty old.
>>
>> Well it is directly form git master, so it is a pre release.
>> The official release is 26.
> Then Archlinux is not that much out of date.
>> > Maybe outline has changed somehow between Emacs 25 and Emacs 27?
>> > But I don't think so, the error you send is pretty typical for
>> > incomplete configuration.
>>
>> I think at the weekend, I will debug the problem. It might be that there
>> some parts of my init file which are in conflict with your package.
> A good start would be to try outshine with emacs-lisp mode.
> With your outshine config done, write a file like foo.el
> ,----
> | ;;; 1st level header
> | ;;;; Sum
> | (+ 1 1)
> | ;;;; Subtract
> | (- 2 1)
> `----
> or
> ,----
> | ;; * 1st level header
> | ;; ** Sum
> | (+ 1 1)
> | ;; ** Subtract
> | (- 2 1)
> `----
> and see if you got headline fontification and all the outshine
> functionality.
That seems to work, I opened your outorg buffer and there everything
worked as expected.
> If that works, its a message-mode problem.
> If not, a genereal problem with your config.
>> [...]
>> BTW, you recommended
>> (require 'outorg-export)
>>
>> I installed your package via the package system, so I don't see that
>> file. Where can I obtain it from?
> It's an extension to outorg:
Where can I find it, only in that site? It seems not to be in elpa/melpa
and marmelade.
Thanks for the pointer
Uwe
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: how do you compose mails in Gnus with org-mode
2018-03-08 8:50 ` Uwe Brauer
@ 2018-03-08 16:58 ` Thorsten Jolitz
2018-03-09 18:44 ` Uwe Brauer
2018-03-09 21:49 ` [SOLVED] (was: how do you compose mails in Gnus with org-mode) Uwe Brauer
0 siblings, 2 replies; 42+ messages in thread
From: Thorsten Jolitz @ 2018-03-08 16:58 UTC (permalink / raw)
To: emacs-orgmode
Uwe Brauer <oub@mat.ucm.es> writes:
>>>> "Thorsten" == Thorsten Jolitz <tjolitz@gmail.com> writes:
>
> > A good start would be to try outshine with emacs-lisp mode.
> > With your outshine config done, write a file like foo.el
>
> > ,----
> > | ;;; 1st level header
> > | ;;;; Sum
> > | (+ 1 1)
> > | ;;;; Subtract
> > | (- 2 1)
> > `----
>
> > or
>
> > ,----
> > | ;; * 1st level header
> > | ;; ** Sum
> > | (+ 1 1)
> > | ;; ** Subtract
> > | (- 2 1)
> > `----
>
> > and see if you got headline fontification and all the outshine
> > functionality.
>
> That seems to work, I opened your outorg buffer and there everything
> worked as expected.
>
>
> > If that works, its a message-mode problem.
> > If not, a genereal problem with your config.
When I do M-# # writing this mail I see:
,----
| [ *unsent followup to Uwe Brauer on gmane.emacs.orgmode* ] Exit with M-#
| (Meta-Key and #)
| * --text follows this line--
| Uwe Brauer <oub@mat.ucm.es> writes: ...[]
`----
I suggest edebug then, as written, this must run successfully:
,----[ C-h f outorg-prepare-message-mode-buffer-for-editing RET ]
| outorg-prepare-message-mode-buffer-for-editing is a Lisp function in
| ‘outorg.el’.
|
| (outorg-prepare-message-mode-buffer-for-editing)
|
| Prepare an unsent-mail in a message-mode buffer for outorg.
|
| This function assumes that ’--text follows this line--’ (or
| whatever is found inside variable ‘mail-header-separator’) is the
| first line below the message header, is always present, and never
| modified by the user. It turns this line into an ‘outshine’
| headline and out-comments all text below this line - if any.
`----
> >> [...]
> >> BTW, you recommended
> >> (require 'outorg-export)
> >>
> >> I installed your package via the package system, so I don't see that
> >> file. Where can I obtain it from?
>
> > It's an extension to outorg:
>
> Where can I find it, only in that site? It seems not to be in elpa/melpa
> and marmelade.
Only available via github I think ....
--
cheers,
Thorsten
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: how do you compose mails in Gnus with org-mode
2018-03-08 16:58 ` Thorsten Jolitz
@ 2018-03-09 18:44 ` Uwe Brauer
2018-03-09 22:58 ` Thorsten Jolitz
2018-03-09 21:49 ` [SOLVED] (was: how do you compose mails in Gnus with org-mode) Uwe Brauer
1 sibling, 1 reply; 42+ messages in thread
From: Uwe Brauer @ 2018-03-09 18:44 UTC (permalink / raw)
To: emacs-orgmode
> Uwe Brauer <oub@mat.ucm.es> writes:
> When I do M-# # writing this mail I see:
> ,----
> | [ *unsent followup to Uwe Brauer on gmane.emacs.orgmode* ] Exit with M-#
> | (Meta-Key and #)
> | * --text follows this line--
> | Uwe Brauer <oub@mat.ucm.es> writes: ...[]
> `----
I almost see the same but indented since I user supercite. I will
deactivate it for the moment being, but I doubt this is the problem
since your function also should work for a new mail buffer not just a
reply one, am I right? So supercite should be irrelevant there.
I tried to do what I always do in such cases (at least if memory serves
me right). I put all outorg startup code in a file
start emacs -q and then load that file.
However when I do that, emacs tells me he does not find outshine and
outorg, although they are in $HOME/.emacs.d/elpa
So does emacs -q not ready anymore those files installed via the package
system. I am confused.
My outorg_init file is
,----
|
| (defvar outline-minor-mode-prefix "\M-#")
|
| (require 'outline)
| (require 'outshine)
|
| (add-hook 'outline-minor-mode-hook 'outshine-hook-function)
| (add-hook 'message-mode-hook 'outline-minor-mode)
|
| (require 'outorg)
|
| (when (require 'outline)
| (add-hook 'emacs-lisp-mode-hook 'outline-minor-mode)
| (add-hook 'message-mode-hook 'outline-minor-mode))
|
| ;; outorg-export
| (require 'outorg-export)
| (require 'navi-mode)
| ;; outshine
|
|
|
| (setq outshine-use-speed-commands t)
|
| ;; navi-mode
| (add-hook 'outline-minor-mode-hook 'outshine-hook-function)
|
| (provide 'outorg_init)
`----
> I suggest edebug then, as written, this must run successfully:
> ,----[ C-h f outorg-prepare-message-mode-buffer-for-editing RET ]
> | outorg-prepare-message-mode-buffer-for-editing is a Lisp function in
> | ‘outorg.el’.
> |
> | (outorg-prepare-message-mode-buffer-for-editing)
> |
> | Prepare an unsent-mail in a message-mode buffer for outorg.
> |
> | This function assumes that ’--text follows this line--’ (or
> | whatever is found inside variable ‘mail-header-separator’) is the
> | first line below the message header, is always present, and never
> | modified by the user. It turns this line into an ‘outshine’
> | headline and out-comments all text below this line - if any.
> `----
> Only available via github I think ....
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: how do you compose mails in Gnus with org-mode
2018-03-09 18:44 ` Uwe Brauer
@ 2018-03-09 22:58 ` Thorsten Jolitz
0 siblings, 0 replies; 42+ messages in thread
From: Thorsten Jolitz @ 2018-03-09 22:58 UTC (permalink / raw)
To: emacs-orgmode
Uwe Brauer <oub@mat.ucm.es> writes:
> > Uwe Brauer <oub@mat.ucm.es> writes:
>
> > When I do M-# # writing this mail I see:
> > ,----
> > | [ *unsent followup to Uwe Brauer on gmane.emacs.orgmode* ] Exit
> > | with M-#
> > | (Meta-Key and #)
> > | * --text follows this line--
> > | Uwe Brauer <oub@mat.ucm.es> writes: ...[]
> > `----
>
> I almost see the same but indented since I user supercite.
Isn't that the problem already?
In an org file, this:
,----
| * headline
| * headline
| hello
`----
has only one headline, indentation for the * is not allowed.
--
cheers,
Thorsten
^ permalink raw reply [flat|nested] 42+ messages in thread
* [SOLVED] (was: how do you compose mails in Gnus with org-mode)
2018-03-08 16:58 ` Thorsten Jolitz
2018-03-09 18:44 ` Uwe Brauer
@ 2018-03-09 21:49 ` Uwe Brauer
2018-03-09 22:59 ` [SOLVED] Thorsten Jolitz
1 sibling, 1 reply; 42+ messages in thread
From: Uwe Brauer @ 2018-03-09 21:49 UTC (permalink / raw)
To: emacs-orgmode
> Uwe Brauer <oub@mat.ucm.es> writes:
> When I do M-# # writing this mail I see:
> ,----
> | [ *unsent followup to Uwe Brauer on gmane.emacs.orgmode* ] Exit with M-#
> | (Meta-Key and #)
> | * --text follows this line--
> | Uwe Brauer <oub@mat.ucm.es> writes: ...[]
> `----
I found the culprit
(setq message-yank-prefix " > ")
No idea why I had this, but may be it is ages there. Just moving it out
my init files and everything worked as expected. Thanks
Uwe
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: [SOLVED]
2018-03-09 21:49 ` [SOLVED] (was: how do you compose mails in Gnus with org-mode) Uwe Brauer
@ 2018-03-09 22:59 ` Thorsten Jolitz
2018-03-10 8:37 ` [a outline regexp problem] (was: [SOLVED]) Uwe Brauer
0 siblings, 1 reply; 42+ messages in thread
From: Thorsten Jolitz @ 2018-03-09 22:59 UTC (permalink / raw)
To: emacs-orgmode
Uwe Brauer <oub@mat.ucm.es> writes:
> > Uwe Brauer <oub@mat.ucm.es> writes:
>
> > When I do M-# # writing this mail I see:
> > ,----
> > | [ *unsent followup to Uwe Brauer on gmane.emacs.orgmode* ] Exit
> > | with M-#
> > | (Meta-Key and #)
> > | * --text follows this line--
> > | Uwe Brauer <oub@mat.ucm.es> writes: ...[]
> > `----
>
>
> I found the culprit
>
> (setq message-yank-prefix " > ")
>
> No idea why I had this, but may be it is ages there. Just moving it out
> my init files and everything worked as expected. Thanks
Ok, good ... ;-)
--
cheers,
Thorsten
^ permalink raw reply [flat|nested] 42+ messages in thread
* [a outline regexp problem] (was: [SOLVED])
2018-03-09 22:59 ` [SOLVED] Thorsten Jolitz
@ 2018-03-10 8:37 ` Uwe Brauer
0 siblings, 0 replies; 42+ messages in thread
From: Uwe Brauer @ 2018-03-10 8:37 UTC (permalink / raw)
To: emacs-orgmode
> Uwe Brauer <oub@mat.ucm.es> writes:
> Ok, good ... ;-)
However I run into a problem with my daily workflow. I am using
very often bookmark.el by Karl Fogel. Especially I have the
following setting
(defun my-set-outline-bookmark ()
(interactive) (message "Now the outline-regexp is set to \"
[A-Z]*:1.1\" "))
(add-hook 'bookmark-bmenu-mode-hook 'hide-body) (add-hook
'bookmark-bmenu-mode-hook 'turn-on-outline-minor-mode) (add-hook
'bookmark-bmenu-mode-hook 'my-set-outline-bookmark)
However with the outorg setting and the outline mode, I obtain now
an Cannot calculate outcommented outline-regexp without
’comment-start’ character defined! The culprit is
(add-hook 'outline-minor-mode-hook 'outshine-hook-function)
I will write Adam Porter.
Uwe Brauer
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: how do you compose mails in Gnus with org-mode
2018-03-07 9:57 ` Uwe Brauer
2018-03-07 17:46 ` Thorsten Jolitz
@ 2018-03-07 21:10 ` Tim Cross
2018-03-08 8:57 ` Uwe Brauer
1 sibling, 1 reply; 42+ messages in thread
From: Tim Cross @ 2018-03-07 21:10 UTC (permalink / raw)
To: Uwe Brauer; +Cc: emacs-orgmode
Uwe Brauer <oub@mat.ucm.es> writes:
> > Uwe Brauer <oub@mat.ucm.es> writes:
>
> > Wow, emacs 27 ... I'm on Archlinux and always thought packages a pretty
> > up-to-date.
>
> Right Ubuntu officially only ships 24, which is pretty old.
>
> Well it is directly form git master, so it is a pre release.
> The official release is 26.
>
To avoid confusion, the official release is still 25.3. The next
release, which is probably still a ways off, will be 26.1 The 27 version
is really bleeding edge, containing changes which are considered too
risky for the next release. I'm not sure how frequently bug fixes for
26.1 are merged into the development branch.
> > Maybe outline has changed somehow between Emacs 25 and Emacs 27?
> > But I don't think so, the error you send is pretty typical for
> > incomplete configuration.
>
From a previous post, I think you mentioned you were running from git
master from mid/late last year. If your running from git master, I think
you need to pull fairly regularly as bugs are frequently fixed and you
could be tripping over something which has already been addressed.
I suspect you are likely to run into a number of bugs with the latest
development version of emacs and you are probably one of the very few
who are looking at bugs in that version. Good luck.
--
Tim Cross
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: how do you compose mails in Gnus with org-mode
2018-03-07 21:10 ` how do you compose mails in Gnus with org-mode Tim Cross
@ 2018-03-08 8:57 ` Uwe Brauer
2018-03-08 11:48 ` Tim Cross
0 siblings, 1 reply; 42+ messages in thread
From: Uwe Brauer @ 2018-03-08 8:57 UTC (permalink / raw)
To: emacs-orgmode
> Uwe Brauer <oub@mat.ucm.es> writes:
> To avoid confusion, the official release is still 25.3. The next
> release, which is probably still a ways off, will be 26.1
Thanks for the clarification. But in order to compile 26, I would need
to checkout the 26 from the git repo? Do I understand that correctly?
> The 27 version is really bleeding edge, containing changes which
> are considered too risky for the next release. I'm not sure how
> frequently bug fixes for 26.1 are merged into the development
> branch.
Well I started to use that version at a time a specific BIDI function
was only in master but not in the official release. Later a similar
thing occurred with vc.el.
> From a previous post, I think you mentioned you were running from
> git master from mid/late last year. If your running from git
> master, I think you need to pull fairly regularly as bugs are
> frequently fixed and you could be tripping over something which has
> already been addressed.
Ah no. I am running emacs git master from end of January. I am running
the git/master version of org mode from last june. Why? Well Nic put in
some very useful stuff in org-table (not in the official release now),
but then later in September/October the whole template engine was
changed in master and I could not find out you to make it work again,
that is why I stick to that very particular org version.
> I suspect you are likely to run into a number of bugs with the
> latest development version of emacs and you are probably one of the
> very few who are looking at bugs in that version. Good luck.
Yeah maybe. At least this way reporting them I could contribute a bit to
GNU emacs. :-D
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: how do you compose mails in Gnus with org-mode
2018-03-08 8:57 ` Uwe Brauer
@ 2018-03-08 11:48 ` Tim Cross
2018-03-08 14:16 ` Uwe Brauer
0 siblings, 1 reply; 42+ messages in thread
From: Tim Cross @ 2018-03-08 11:48 UTC (permalink / raw)
To: Org-mode
[-- Attachment #1: Type: text/plain, Size: 2445 bytes --]
Yes, you need to checkout the 26 branch to get the next version to be
released. A git branch -a will probably list all the branches and you
should see one labelled 26 (I'm not running emacs from git at present, so
cannot check). I believe git 26 has been in 'feature freeze' for a while
while they try to sort out the main bugs needing to be fixed before 26.1
can be released.
Note also that I believe the template changes in org are not in the maint
branch, only master. So you could try the maint btranch as that would at
least have known bugs fixed.
On 8 March 2018 at 19:57, Uwe Brauer <oub@mat.ucm.es> wrote:
>
> > Uwe Brauer <oub@mat.ucm.es> writes:
>
> > To avoid confusion, the official release is still 25.3. The next
> > release, which is probably still a ways off, will be 26.1
>
> Thanks for the clarification. But in order to compile 26, I would need
> to checkout the 26 from the git repo? Do I understand that correctly?
>
>
> > The 27 version is really bleeding edge, containing changes which
> > are considered too risky for the next release. I'm not sure how
> > frequently bug fixes for 26.1 are merged into the development
> > branch.
>
> Well I started to use that version at a time a specific BIDI function
> was only in master but not in the official release. Later a similar
> thing occurred with vc.el.
>
> > From a previous post, I think you mentioned you were running from
> > git master from mid/late last year. If your running from git
> > master, I think you need to pull fairly regularly as bugs are
> > frequently fixed and you could be tripping over something which has
> > already been addressed.
>
> Ah no. I am running emacs git master from end of January. I am running
> the git/master version of org mode from last june. Why? Well Nic put in
> some very useful stuff in org-table (not in the official release now),
> but then later in September/October the whole template engine was
> changed in master and I could not find out you to make it work again,
> that is why I stick to that very particular org version.
>
> > I suspect you are likely to run into a number of bugs with the
> > latest development version of emacs and you are probably one of the
> > very few who are looking at bugs in that version. Good luck.
>
>
> Yeah maybe. At least this way reporting them I could contribute a bit to
> GNU emacs. :-D
>
>
>
>
--
regards,
Tim
--
Tim Cross
[-- Attachment #2: Type: text/html, Size: 3321 bytes --]
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: how do you compose mails in Gnus with org-mode
2018-03-08 11:48 ` Tim Cross
@ 2018-03-08 14:16 ` Uwe Brauer
0 siblings, 0 replies; 42+ messages in thread
From: Uwe Brauer @ 2018-03-08 14:16 UTC (permalink / raw)
To: emacs-orgmode
>>> "Tim" == Tim Cross <theophilusx@gmail.com> writes:
> Yes, you need to checkout the 26 branch to get the next version to be
> released. A git branch -a will probably list all the branches and you
> should see one labelled 26 (I'm not running emacs from git at present, so
> cannot check). I believe git 26 has been in 'feature freeze' for a while
> while they try to sort out the main bugs needing to be fixed before 26.1
> can be released.
> Note also that I believe the template changes in org are not in
> the maint branch, only master. So you could try the maint btranch
> as that would at least have known bugs fixed.
Problem with the main branch is that the nice feature for the org
tables, namely very wide columns get somehow hidden, is not included....
^ permalink raw reply [flat|nested] 42+ messages in thread
* export table to html, don't display certain columns
@ 2018-04-04 9:08 Uwe Brauer
2018-04-04 13:25 ` [SOLVED] (was: export table to html, don't display certain columns) Uwe Brauer
0 siblings, 1 reply; 42+ messages in thread
From: Uwe Brauer @ 2018-04-04 9:08 UTC (permalink / raw)
To: emacs-orgmode
Hi
I know that in radio tables I can skip columns like this
% END RECEIVE ORGTBL firmas \begin{comment} #+ORGTBL: SEND firmas
orgtbl-to-latex :skipcols (1) :lend "\\\\ \\hline" :environment
supertabular
However how can I achieve that in tables in org file which I want
to export to html?
Thanks
Uwe Brauer
^ permalink raw reply [flat|nested] 42+ messages in thread
* [SOLVED] (was: export table to html, don't display certain columns)
2018-04-04 9:08 export table to html, don't display certain columns Uwe Brauer
@ 2018-04-04 13:25 ` Uwe Brauer
2018-04-04 13:29 ` [SOLVED] Uwe Brauer
0 siblings, 1 reply; 42+ messages in thread
From: Uwe Brauer @ 2018-04-04 13:25 UTC (permalink / raw)
To: emacs-orgmode
>>> "Uwe" == Uwe Brauer <oub@mat.ucm.es> writes:
> Hi
> I know that in radio tables I can skip columns like this
> % END RECEIVE ORGTBL firmas \begin{comment} #+ORGTBL: SEND firmas
> orgtbl-to-latex :skipcols (1) :lend "\\\\ \\hline" :environment
> supertabular
To answer my own question
| / | / | | | / |
| | Name | Res | Letra | Obs |
|---+-------+-----+-------+-----|
| | Smith | 0 | | |
| | Jones | 1.4 | | |
| | Bond | 5.6 | * | |
All columns starting with / are ignored when exporting. Sorry for the
noise and the double posting.
Uwe Brauer
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: [SOLVED]
2018-04-04 13:25 ` [SOLVED] (was: export table to html, don't display certain columns) Uwe Brauer
@ 2018-04-04 13:29 ` Uwe Brauer
0 siblings, 0 replies; 42+ messages in thread
From: Uwe Brauer @ 2018-04-04 13:29 UTC (permalink / raw)
To: emacs-orgmode
> To answer my own question
> | / | / | | | / |
> | | Name | Res | Letra | Obs |
> |---+-------+-----+-------+-----|
> | | Smith | 0 | | |
> | | Jones | 1.4 | | |
> | | Bond | 5.6 | * | |
> All columns starting with / are ignored when exporting. Sorry for the
> noise and the double posting.
That is not entirely correct. Someone (I forgot who it was, sorry)
provided me with the following hack
(add-hook 'org-export-before-processing-hook
'f-ox-filter-table-column-del)
(defun f-ox-filter-table-column-del (back-end)
"Delete the columns $2 to $> marked as \"/\" on a row with \"/\" in $1.
If you want a non-empty column $1 to be deleted make it $2 by
inserting an empty column before or rearrange column order in
some other way. Make sure \"/\" is in $1 again after that."
(while (re-search-forward
"^[ \t]*| +/ +|\\(.*?|\\)?? +\\(/\\) +|" nil t)
(goto-char (match-beginning 2))
(org-table-delete-column)
(beginning-of-line)))
That is very useful and I wonder why there is nothing in org vanilla
(but then it might and I did not find it.)
^ permalink raw reply [flat|nested] 42+ messages in thread
* org babel: %% [removed source block]
@ 2018-11-29 11:38 Uwe Brauer
2018-11-29 16:32 ` Berry, Charles
0 siblings, 1 reply; 42+ messages in thread
From: Uwe Brauer @ 2018-11-29 11:38 UTC (permalink / raw)
To: emacs-orgmode
Hi
I have the following org file
#+BEGIN_SRC matlab :tangle test.m :padline no :results none
function [ll x]=mitest(A0,x0)
% initialization
format long
epsi=1.e-3;
nit=0;
nmaxit=200;
Delta=10;
A=A0;
while Delta>epsi & nit<nmaxit
nit=nit+1; % counter
#+END_SRC
The basic idea is.
That we do.
We also will
#+BEGIN_SRC matlab :tangle test.m :padline no
y=A*x0;
end
#+END_SRC
Now org-babel-tangle works nicely, but when I try to export the org file
to latex via org-export-dispatch
I obtain a latex file in which the source code is removed.
What do I miss??
I am asked in the export process whether I want to evaluate the code,
which I don't since it is a simple function not a code to be evaluated.
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: org babel: %% [removed source block]
2018-11-29 11:38 org babel: %% [removed source block] Uwe Brauer
@ 2018-11-29 16:32 ` Berry, Charles
2018-11-29 17:27 ` [SOLVED] (was: org babel: %% [removed source block]) Uwe Brauer
0 siblings, 1 reply; 42+ messages in thread
From: Berry, Charles @ 2018-11-29 16:32 UTC (permalink / raw)
To: Uwe Brauer; +Cc: org-mode-email
I cannot reproduce your export issue with org 9.1.14.
You need to provide more details.
Perhaps you have a header-arg set that you have not told us about?
What does C-c C-v C-i report when point is in each of your source blocks? I get
Lang: matlab
Properties:
:header-args nil
:header-args:matlab nil
Header Arguments:
:cache no
:exports code
:hlines no
:noweb no
:padline no
:results none
:session none
:tangle test.m
for the first.
HTH,
Chuck
> On Nov 29, 2018, at 3:38 AM, Uwe Brauer <oub@mat.ucm.es> wrote:
>
>
> Hi
>
> I have the following org file
> #+BEGIN_SRC matlab :tangle test.m :padline no :results none
> function [ll x]=mitest(A0,x0)
> % initialization
> format long
> epsi=1.e-3;
> nit=0;
> nmaxit=200;
> Delta=10;
> A=A0;
> while Delta>epsi & nit<nmaxit
> nit=nit+1; % counter
> #+END_SRC
>
> The basic idea is.
> That we do.
> We also will
>
> #+BEGIN_SRC matlab :tangle test.m :padline no
> y=A*x0;
> end
> #+END_SRC
>
> Now org-babel-tangle works nicely, but when I try to export the org file
> to latex via org-export-dispatch
>
> I obtain a latex file in which the source code is removed.
>
> What do I miss??
>
>
> I am asked in the export process whether I want to evaluate the code,
> which I don't since it is a simple function not a code to be evaluated.
>
>
>
^ permalink raw reply [flat|nested] 42+ messages in thread
* [SOLVED] (was: org babel: %% [removed source block])
2018-11-29 16:32 ` Berry, Charles
@ 2018-11-29 17:27 ` Uwe Brauer
2018-11-29 22:20 ` [SOLVED] Nick Dokos
0 siblings, 1 reply; 42+ messages in thread
From: Uwe Brauer @ 2018-11-29 17:27 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 378 bytes --]
>>> "Berry," == Berry, Charles <ccberry@ucsd.edu> writes:
> I cannot reproduce your export issue with org 9.1.14.
> You need to provide more details.
Sorry for the noise. I just realised that a very very long time ago I
installed a function remove-src-blk-export, which, uhh, removes source
blocks.
I removed that function and everything works as expected.
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5025 bytes --]
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: [SOLVED]
2018-11-29 17:27 ` [SOLVED] (was: org babel: %% [removed source block]) Uwe Brauer
@ 2018-11-29 22:20 ` Nick Dokos
0 siblings, 0 replies; 42+ messages in thread
From: Nick Dokos @ 2018-11-29 22:20 UTC (permalink / raw)
To: emacs-orgmode
Uwe Brauer <oub@mat.ucm.es> writes:
>>>> "Berry," == Berry, Charles <ccberry@ucsd.edu> writes:
>
> > I cannot reproduce your export issue with org 9.1.14.
> > You need to provide more details.
>
> Sorry for the noise. I just realised that a very very long time ago I
> installed a function remove-src-blk-export, which, uhh, removes source
> blocks.
>
> I removed that function and everything works as expected.
I was going to ask who produced that unfamiliar-looking "%% [removed
source block]" :-) Glad you figured it out.
--
Nick
"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler
^ permalink raw reply [flat|nested] 42+ messages in thread
* org-ref-insert-cite-link inserts citep
@ 2019-12-11 21:50 Uwe Brauer
2019-12-11 21:58 ` [SOLVED] (was: org-ref-insert-cite-link inserts citep) Uwe Brauer
0 siblings, 1 reply; 42+ messages in thread
From: Uwe Brauer @ 2019-12-11 21:50 UTC (permalink / raw)
To: emacs-orgmode
Hi
I enjoy org-ref, but I struggle to configure org-ref-insert-link.
It inserts, per default, citep
for example
citep:wald84:_gener_relat
How can I change that to plain cite:wald84:_gener_relat
Thanks and regards
Uwe Brauer
^ permalink raw reply [flat|nested] 42+ messages in thread
* how to export checkboxes to odt?
@ 2021-09-28 16:46 Uwe Brauer
2021-09-28 20:21 ` [SOLVED] (was: how to export checkboxes to odt?) Uwe Brauer
0 siblings, 1 reply; 42+ messages in thread
From: Uwe Brauer @ 2021-09-28 16:46 UTC (permalink / raw)
To: emacs-orgmode
Hi
Any idea how to export checkboxes to odt?
I mean not just simply having [ ] in the odt document but having them translated as actual boxes.
Thanks and regards
Uwe Brauer
^ permalink raw reply [flat|nested] 42+ messages in thread
* [BUG] org-persist [9.5 (release_9.5-194-gdb302d @ /home/oub/emacs/site-lisp/packages/org/)]
@ 2021-12-28 13:41 Uwe Brauer
2021-12-28 13:53 ` [SOLVED] (was: [BUG] org-persist [9.5 (release_9.5-194-gdb302d @ /home/oub/emacs/site-lisp/packages/org/)]) Uwe Brauer
0 siblings, 1 reply; 42+ messages in thread
From: Uwe Brauer @ 2021-12-28 13:41 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 85 bytes --]
In connection with my earlier bug report, here is the backtrace when starting emacs
[-- Attachment #2: startup-error.txt --]
[-- Type: text/plain, Size: 10676 bytes --]
Debugger entered--Lisp error: (void-function org-file-name-concat)
org-file-name-concat("/home/oub/.cache" "org-persist/")
byte-code("\301\302\303 \304\1!\203\16\0\10\202\17\0\211\262\1\305\"!\207" [user-emacs-directory expand-file-name org-file-name-concat xdg-cache-home seq-empty-p "org-persist/"] 5)
(defvar org-persist-directory (byte-code "\301\302\303 \304\1!\203\16\0\10\202\17\0\211\262\1\305\"!\207" [user-emacs-directory expand-file-name org-file-name-concat xdg-cache-home seq-empty-p "org-persist/"] 5) ("/home/oub/emacs/site-lisp/packages/org/org-persist..." . 175))
require(org-persist)
byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\300\307!\210\300\310!\210\300\311!\210\300\312!\210\300\313!\210\300\314!\207" [require avl-tree ring cl-lib ol org org-persist org-compat org-entities org-footnote org-list org-macs org-table] 2)
require(org-element)
byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\300\307!\210\300\310!\207" [require cl-lib ob-exp oc oc-basic ol org-element org-macro tabulated-list] 2)
require(ox)
byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\306\307\310\311\312\313\314\315\316&\10\207" [require cl-lib format-spec ox ox-publish table org-export-define-backend html ((bold . org-html-bold) (center-block . org-html-center-block) (clock . org-html-clock) (code . org-html-code) (drawer . org-html-drawer) (dynamic-block . org-html-dynamic-block) (entity . org-html-entity) (example-block . org-html-example-block) (export-block . org-html-export-block) (export-snippet . org-html-export-snippet) (fixed-width . org-html-fixed-width) (footnote-reference . org-html-footnote-reference) (headline . org-html-headline) (horizontal-rule . org-html-horizontal-rule) (inline-src-block . org-html-inline-src-block) (inlinetask . org-html-inlinetask) (inner-template . org-html-inner-template) (italic . org-html-italic) (item . org-html-item) (keyword . org-html-keyword) (latex-environment . org-html-latex-environment) (latex-fragment . org-html-latex-fragment) (line-break . org-html-line-break) (link . org-html-link) (node-property . org-html-node-property) (paragraph . org-html-paragraph) (plain-list . org-html-plain-list) (plain-text . org-html-plain-text) (planning . org-html-planning) (property-drawer . org-html-property-drawer) (quote-block . org-html-quote-block) (radio-target . org-html-radio-target) (section . org-html-section) (special-block . org-html-special-block) (src-block . org-html-src-block) (statistics-cookie . org-html-statistics-cookie) (strike-through . org-html-strike-through) (subscript . org-html-subscript) (superscript . org-html-superscript) (table . org-html-table) (table-cell . org-html-table-cell) (table-row . org-html-table-row) (target . org-html-target) (template . org-html-template) ...) :filters-alist ((:filter-options . org-html-infojs-install-script) (:filter-parse-tree . org-html-image-link-filter) (:filter-final-output . org-html-final-function)) :menu-entry (104 "Export to HTML" ((72 "As HTML buffer" org-html-export-as-html) (104 "As HTML file" org-html-export-to-html) (111 "As HTML file and open" (lambda (a s v b) (if a ... ...))))) :options-alist ((:html-doctype "HTML_DOCTYPE" nil org-html-doctype) (:html-container "HTML_CONTAINER" nil org-html-container-element) (:html-content-class "HTML_CONTENT_CLASS" nil org-html-content-class) (:description "DESCRIPTION" nil nil newline) (:keywords "KEYWORDS" nil nil space) (:html-html5-fancy nil "html5-fancy" org-html-html5-fancy) (:html-link-use-abs-url nil "html-link-use-abs-url" org-html-link-use-abs-url) (:html-link-home "HTML_LINK_HOME" nil org-html-link-home) (:html-link-up "HTML_LINK_UP" nil org-html-link-up) (:html-mathjax "HTML_MATHJAX" nil "" space) (:html-equation-reference-format "HTML_EQUATION_REFERENCE_FORMAT" nil org-html-equation-reference-format t) (:html-postamble nil "html-postamble" org-html-postamble) (:html-preamble nil "html-preamble" org-html-preamble) (:html-head "HTML_HEAD" nil org-html-head newline) (:html-head-extra "HTML_HEAD_EXTRA" nil org-html-head-extra newline) (:subtitle "SUBTITLE" nil nil parse) (:html-head-include-default-style nil "html-style" org-html-head-include-default-style) (:html-head-include-scripts nil "html-scripts" org-html-head-include-scripts) (:html-allow-name-attribute-in-anchors nil nil org-html-allow-name-attribute-in-anchors) (:html-divs nil nil org-html-divs) (:html-checkbox-type nil nil org-html-checkbox-type) (:html-extension nil nil org-html-extension) (:html-footnote-format nil nil org-html-footnote-format) (:html-footnote-separator nil nil org-html-footnote-separator) (:html-footnotes-section nil nil org-html-footnotes-section) (:html-format-drawer-function nil nil org-html-format-drawer-function) (:html-format-headline-function nil nil org-html-format-headline-function) (:html-format-inlinetask-function nil nil org-html-format-inlinetask-function) (:html-home/up-format nil nil org-html-home/up-format) (:html-indent nil nil org-html-indent) (:html-infojs-options nil nil org-html-infojs-options) (:html-infojs-template nil nil org-html-infojs-template) (:html-inline-image-rules nil nil org-html-inline-image-rules) (:html-link-org-files-as-html nil nil org-html-link-org-files-as-html) (:html-mathjax-options nil nil org-html-mathjax-options) (:html-mathjax-template nil nil org-html-mathjax-template) (:html-metadata-timestamp-format nil nil org-html-metadata-timestamp-format) (:html-postamble-format nil nil org-html-postamble-format) (:html-preamble-format nil nil org-html-preamble-format) (:html-prefer-user-labels nil nil org-html-prefer-user-labels) (:html-self-link-headlines nil nil org-html-self-link-headlines) (:html-table-align-individual-fields nil nil org-html-table-align-individual-fields) (:html-table-caption-above nil nil org-html-table-caption-above) (:html-table-data-tags nil nil org-html-table-data-tags) ...)] 9)
require(ox-html)
byte-code("\300\301!\210\300\302!\210\300\303!\210\304\305\306\307\310\311\312\313\314\315\316\317&\13\210\320\321\322\323\324DD\325\312\305\326\327&\7\210\320\330\322\323\331DD\332..." [require cl-lib ox-html ox-publish custom-declare-group org-export-md nil "Options specific to Markdown export back-end." :tag "Org Markdown" :group org-export :version "24.4" :package-version (Org . "8.0") custom-declare-variable org-md-headline-style funcall function #f(compiled-function () #<bytecode 0x1f400b723399>) "Style used to format headlines.\nThis variable can ..." :type (choice (const :tag "Use \"atx\" style" atx) (const :tag "Use \"Setext\" style" setext)) org-md-footnotes-section #f(compiled-function () #<bytecode 0x1f40006223633>) "Format string for the footnotes section.\nThe first..." string "26.1" (Org . "9.0") org-md-footnote-format #f(compiled-function () #<bytecode -0x377aad65da8591f>) "Format string for the footnote reference.\nThe %s w..." (Org . "9.0") org-export-define-derived-backend md html :filters-alist ((:filter-parse-tree . org-md-separate-elements)) :menu-entry (109 "Export to Markdown" ((77 "To temporary buffer" (lambda (a s v b) (org-md-export-as-markdown a s v))) (109 "To file" (lambda (a s v b) (org-md-export-to-markdown a s v))) (111 "To file and open" (lambda (a s v b) (if a (org-md-export-to-markdown t s v) (org-open-file ...)))))) :translate-alist ((bold . org-md-bold) (center-block . org-md--convert-to-html) (code . org-md-verbatim) (drawer . org-md--identity) (dynamic-block . org-md--identity) (example-block . org-md-example-block) (export-block . org-md-export-block) (fixed-width . org-md-example-block) (headline . org-md-headline) (horizontal-rule . org-md-horizontal-rule) (inline-src-block . org-md-verbatim) (inlinetask . org-md--convert-to-html) (inner-template . org-md-inner-template) (italic . org-md-italic) (item . org-md-item) (keyword . org-md-keyword) (latex-environment . org-md-latex-environment) (latex-fragment . org-md-latex-fragment) (line-break . org-md-line-break) (link . org-md-link) (node-property . org-md-node-property) (paragraph . org-md-paragraph) (plain-list . org-md-plain-list) (plain-text . org-md-plain-text) (property-drawer . org-md-property-drawer) (quote-block . org-md-quote-block) (section . org-md-section) (special-block . org-md--convert-to-html) (src-block . org-md-example-block) (table . org-md--convert-to-html) (template . org-md-template) (verbatim . org-md-verbatim)) :options-alist ((:md-footnote-format nil nil org-md-footnote-format) (:md-footnotes-section nil nil org-md-footnotes-section) (:md-headline-style nil nil org-md-headline-style))] 12)
require(ox-md)
byte-code("\300\301!\210\302\303\304\305\306\307\310\311\312\313\314\315&\13\210\316\317\320\321\310\303\322\323&\7\210\316\324\325\326\310\303\322\327&\7\210\316\330\331\332\310\303\322\327&..." [require ox-md custom-declare-group org-export-pandoc nil "Options specific to Pandoc export back-end." :tag "Org Pandoc" :group org-export :version "24.4" :package-version (Org . "8.0") custom-declare-variable org-pandoc-process-after-export t "Run pandoc to process the file after exporting it?" :type (choice (const :tag "Yes" t) (const :tag "No" nil)) org-pandoc-command "pandoc" "Command to run pandoc." string org-pandoc-extra-options "" "Extra pandoc options to use every time.\nFor exampl..." org-pandoc-output-format 'epub "Default output format for pandoc conversion." symbol org-pandoc-output-standalone "Should output be a single standalone file or not?" boolean org-pandoc-epub-rights "Copyright/license statement to include in EPUB met..." org-pandoc-epub-stylesheet "Stylesheet to apply to EPUB files."] 12)
require(ox-pandoc)
eval-buffer(#<buffer *load*-315843> nil "/home/oub/emacs/init/emacs_init.el" nil t) ; Reading at buffer position 22629
load-with-code-conversion("/home/oub/emacs/init/emacs_init.el" "/home/oub/emacs/init/emacs_init.el" nil nil)
load("/home/oub/emacs/init/emacs_init.el" nil nil t)
load-file("~/emacs/init/emacs_init.el")
(cond ((and (not running-xemacs) (> emacs-major-version 19)) (package-initialize) (load-file "~/emacs/init/emacs_init.el") (setq custom-file "/home/oub/emacs/init/custom-init.el") (load-file "/home/oub/emacs/init/custom-init.el")))
eval-buffer(#<buffer *load*> nil "/home/oub/.emacs" nil t) ; Reading at buffer position 905
load-with-code-conversion("/home/oub/.emacs" "/home/oub/.emacs" nil nil)
load("/home/oub/.emacs" nil nil t)
load-file("~/.emacs")
funcall-interactively(load-file "~/.emacs")
call-interactively(load-file nil nil)
command-execute(load-file)
[-- Attachment #3: Type: text/plain, Size: 391 bytes --]
Emacs : GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.14.6, Xaw3d scroll bars)
of 2021-11-08
Package: Org mode version 9.5 (release_9.5-194-gdb302d @ /home/oub/emacs/site-lisp/packages/org/)
current state:
==============
State could not be dumped due to the following error:
(void-variable org-descriptive-links)
You should still send this bug report.
^ permalink raw reply [flat|nested] 42+ messages in thread
* [SOLVED] (was: [BUG] org-persist [9.5 (release_9.5-194-gdb302d @ /home/oub/emacs/site-lisp/packages/org/)])
2021-12-28 13:41 [BUG] org-persist [9.5 (release_9.5-194-gdb302d @ /home/oub/emacs/site-lisp/packages/org/)] Uwe Brauer
@ 2021-12-28 13:53 ` Uwe Brauer
2021-12-28 14:49 ` Ihor Radchenko
0 siblings, 1 reply; 42+ messages in thread
From: Uwe Brauer @ 2021-12-28 13:53 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 424 bytes --]
>>> "UB" == Uwe Brauer <oub@mat.ucm.es> writes:
> In connection with my earlier bug report, here is the backtrace when starting emacs
> Debugger entered--Lisp error: (void-function org-file-name-concat)
> (void-variable org-descriptive-links)
> You should still send this bug report.
I found the culprit, the recently installed org-real pkg.
I uninstalled it and everything was back to normally.
Regards
Uwe Brauer
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: [SOLVED] (was: [BUG] org-persist [9.5 (release_9.5-194-gdb302d @ /home/oub/emacs/site-lisp/packages/org/)])
2021-12-28 13:53 ` [SOLVED] (was: [BUG] org-persist [9.5 (release_9.5-194-gdb302d @ /home/oub/emacs/site-lisp/packages/org/)]) Uwe Brauer
@ 2021-12-28 14:49 ` Ihor Radchenko
2021-12-28 17:28 ` [SOLVED] Uwe Brauer
0 siblings, 1 reply; 42+ messages in thread
From: Ihor Radchenko @ 2021-12-28 14:49 UTC (permalink / raw)
To: Uwe Brauer; +Cc: emacs-orgmode
Uwe Brauer <oub@mat.ucm.es> writes:
> I found the culprit, the recently installed org-real pkg.
>
> I uninstalled it and everything was back to normally.
Hmm. I suspect that org-real might not be the problem by itself. Rather
you may load it too early and pull-in built-in org.
Best,
Ihor
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: [SOLVED]
2021-12-28 14:49 ` Ihor Radchenko
@ 2021-12-28 17:28 ` Uwe Brauer
2021-12-29 5:11 ` [SOLVED] Ihor Radchenko
0 siblings, 1 reply; 42+ messages in thread
From: Uwe Brauer @ 2021-12-28 17:28 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 426 bytes --]
>>> "IR" == Ihor Radchenko <yantar92@gmail.com> writes:
> Uwe Brauer <oub@mat.ucm.es> writes:
>> I found the culprit, the recently installed org-real pkg.
>>
>> I uninstalled it and everything was back to normally.
> Hmm. I suspect that org-real might not be the problem by itself. Rather
> you may load it too early and pull-in built-in org.
Well I don't load anything, that is all done by the package system.
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: [SOLVED]
2021-12-28 17:28 ` [SOLVED] Uwe Brauer
@ 2021-12-29 5:11 ` Ihor Radchenko
2021-12-29 8:06 ` [SOLVED] Uwe Brauer
0 siblings, 1 reply; 42+ messages in thread
From: Ihor Radchenko @ 2021-12-29 5:11 UTC (permalink / raw)
To: Uwe Brauer; +Cc: emacs-orgmode
Uwe Brauer <oub@mat.ucm.es> writes:
>> Hmm. I suspect that org-real might not be the problem by itself. Rather
>> you may load it too early and pull-in built-in org.
>
> Well I don't load anything, that is all done by the package system.
I was just guessing. But do you really have init.el with no requires?
Best,
Ihor
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: [SOLVED]
2021-12-29 5:11 ` [SOLVED] Ihor Radchenko
@ 2021-12-29 8:06 ` Uwe Brauer
2021-12-29 8:18 ` [SOLVED] Ihor Radchenko
0 siblings, 1 reply; 42+ messages in thread
From: Uwe Brauer @ 2021-12-29 8:06 UTC (permalink / raw)
To: emacs-orgmode
>>> "IR" == Ihor Radchenko <yantar92@gmail.com> writes:
> Uwe Brauer <oub@mat.ucm.es> writes:
>>> Hmm. I suspect that org-real might not be the problem by itself.
>>> Rather you may load it too early and pull-in built-in org.
>>
>> Well I don't load anything, that is all done by the package system.
> I was just guessing. But do you really have init.el with no requires?
I have a lot of requires in my init file, but non for org-real besides I
have installed a lot of org addons from MELPA and none have caused me
any problem.
So if I understand you correctly. I do load my org package too late for
org-real?
Regards
Uwe
^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: [SOLVED]
2021-12-29 8:06 ` [SOLVED] Uwe Brauer
@ 2021-12-29 8:18 ` Ihor Radchenko
0 siblings, 0 replies; 42+ messages in thread
From: Ihor Radchenko @ 2021-12-29 8:18 UTC (permalink / raw)
To: Uwe Brauer; +Cc: emacs-orgmode
Uwe Brauer <oub@mat.ucm.es> writes:
> So if I understand you correctly. I do load my org package too late for
> org-real?
I think so. My speculation:
If the newest Org is not yet in load-path when you load org-real,
org-real's (require 'org) will pull-in built-in version of org-compat.
Later, when load-path points to the newest version of Org, you load
org-persist (org-persist does not exist in built-in version of Org),
which relies on org-file-name-concat to be defined in the newest version
of org-compat. However, built-in version of org-compat is already loaded
by emacs and (require 'org-compat) inside org-persist does not trigger
loading. Hence, you are getting
> Debugger entered--Lisp error: (void-function org-file-name-concat)
Best,
Ihor
^ permalink raw reply [flat|nested] 42+ messages in thread
end of thread, other threads:[~2021-12-29 8:17 UTC | newest]
Thread overview: 42+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-01 13:37 how do you compose mails in Gnus with org-mode Joseph Vidal-Rosset
2018-03-01 14:10 ` Eric S Fraga
[not found] ` <87vaef97ze.fsf@gmail.com>
2018-03-01 14:40 ` Fwd: " Joseph Vidal-Rosset
2018-03-01 15:10 ` Eric S Fraga
2018-03-01 15:29 ` Joseph Vidal-Rosset
2018-03-01 16:59 ` Eric S Fraga
2018-03-01 18:04 ` Joseph Vidal-Rosset
2018-03-01 18:17 ` Brian Shine
2018-03-01 18:46 ` Joseph Vidal-Rosset
2018-03-01 19:01 ` Brian Shine
2018-03-02 7:27 ` Roland Everaert
2018-03-02 7:25 ` Eric S Fraga
2018-03-03 11:57 ` Thorsten Jolitz
2018-03-06 9:58 ` [Error] (was: how do you compose mails in Gnus with org-mode) Uwe Brauer
2018-03-06 18:12 ` [Error] Thorsten Jolitz
2018-03-06 10:12 ` how do you compose mails in Gnus with org-mode Uwe Brauer
2018-03-06 18:24 ` Thorsten Jolitz
2018-03-06 18:38 ` Thorsten Jolitz
2018-03-06 19:02 ` Uwe Brauer
2018-03-06 19:01 ` Uwe Brauer
2018-03-06 19:36 ` Thorsten Jolitz
2018-03-07 9:57 ` Uwe Brauer
2018-03-07 17:46 ` Thorsten Jolitz
2018-03-08 8:50 ` Uwe Brauer
2018-03-08 16:58 ` Thorsten Jolitz
2018-03-09 18:44 ` Uwe Brauer
2018-03-09 22:58 ` Thorsten Jolitz
2018-03-09 21:49 ` [SOLVED] (was: how do you compose mails in Gnus with org-mode) Uwe Brauer
2018-03-09 22:59 ` [SOLVED] Thorsten Jolitz
2018-03-10 8:37 ` [a outline regexp problem] (was: [SOLVED]) Uwe Brauer
2018-03-07 21:10 ` how do you compose mails in Gnus with org-mode Tim Cross
2018-03-08 8:57 ` Uwe Brauer
2018-03-08 11:48 ` Tim Cross
2018-03-08 14:16 ` Uwe Brauer
-- strict thread matches above, loose matches on Subject: below --
2018-04-04 9:08 export table to html, don't display certain columns Uwe Brauer
2018-04-04 13:25 ` [SOLVED] (was: export table to html, don't display certain columns) Uwe Brauer
2018-04-04 13:29 ` [SOLVED] Uwe Brauer
2018-11-29 11:38 org babel: %% [removed source block] Uwe Brauer
2018-11-29 16:32 ` Berry, Charles
2018-11-29 17:27 ` [SOLVED] (was: org babel: %% [removed source block]) Uwe Brauer
2018-11-29 22:20 ` [SOLVED] Nick Dokos
2019-12-11 21:50 org-ref-insert-cite-link inserts citep Uwe Brauer
2019-12-11 21:58 ` [SOLVED] (was: org-ref-insert-cite-link inserts citep) Uwe Brauer
2019-12-11 22:20 ` John Kitchin
2019-12-12 8:13 ` [SOLVED] Uwe Brauer
2021-09-28 16:46 how to export checkboxes to odt? Uwe Brauer
2021-09-28 20:21 ` [SOLVED] (was: how to export checkboxes to odt?) Uwe Brauer
2021-09-29 4:07 ` Timothy
2021-09-29 6:30 ` [SOLVED] Uwe Brauer
2021-12-28 13:41 [BUG] org-persist [9.5 (release_9.5-194-gdb302d @ /home/oub/emacs/site-lisp/packages/org/)] Uwe Brauer
2021-12-28 13:53 ` [SOLVED] (was: [BUG] org-persist [9.5 (release_9.5-194-gdb302d @ /home/oub/emacs/site-lisp/packages/org/)]) Uwe Brauer
2021-12-28 14:49 ` Ihor Radchenko
2021-12-28 17:28 ` [SOLVED] Uwe Brauer
2021-12-29 5:11 ` [SOLVED] Ihor Radchenko
2021-12-29 8:06 ` [SOLVED] Uwe Brauer
2021-12-29 8:18 ` [SOLVED] Ihor Radchenko
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).