Speed up adding footnotes?

2024-09-08 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512


I'm converting a website into org-mode, then latex, and finally a pdf file.

But I'm having problems adding articles in the middle of the main page, 
specifically adding footnotes. At its longest period it took almost 3 minutes 
to add one footnote!

(To insert a footnote I'm using this key sequence, 'C-c C-x f'.)
  
So, is it possible to speed up the process please?

Thanks
  Sharon Kimble.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 12.7, Fluxbox 1.3.7, emacs 31.0.50, org 9.7.11 
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmbduqUdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1uu1hAAr3A23kcFT+nwKfcJ
8irmiP5PctY6fwK8V4lsbf+UlULCs4NM6bIf/s+GHTQQn2C3cqNvlEFLO0Ad2NCi
As9sxmDwNbnWlxe3jr3zBTxfvPbkNDvw5PlQKg6upij3tCIDnH+sniE2RtnpI0jf
RIFo/9Oy7EV6I+r8T34KcE8MBs78u1U5kIfbjninj+WATgb87Kp3N7eWvvu5S27I
Dkgt0Ix7RcYNFyBHmHHdoqSNUKGW+XnqhecONSqRw/DMwpV42kBRo28Z9AhwuEvf
9Bq9mU/yaNrpY9MVD2RzQ0ijeL6J2dNBFEr7/qYFMuVY4/peMFqUKpqDr9KwZOzT
A2VChOvSiR7e8wgkOvQ7xXbinHsqWPm0ng32TSCfxKRn5OK52tJZj8YkxrmbYUXc
vV3u2D/Txwg82qPSyTJj9WHk5CFEDeazFDMAjnMyNnQ3MH1syyL6R5SoQpoPFz1A
CVDNoNKOVVwhzIAWk0wdgxscLzGwfQ65ebis3J1U9TSOrPScPO1B/NKTnpd4zLdq
tNUsEVLt62hr1/cniLSfTId4r4Yx2KC5zMsmEroF5/XFtEePCtUsYK0gCczYwAbZ
Lzu29AGxrCnMSq3QkIUTQ0ZH+EkTMsKyY8A74Pl4JBALhp/qWTV0YlYkU9zD2WHk
xvo3q0n8GrmXgRorg55wFS04Bls=
=CUIt
-END PGP SIGNATURE-



How to auto-renumber chapters

2024-08-28 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512


I'm writing a fiction book, and have just added several chapters from a 
previous draft to it.

As a result I now have

** Chapter 2
blah 

** Chapter 2
blah de blah

** Chapter 3
more blahing

How can I get these new chapters to autorenumber themselves please, so that 
they will show Chapter 2, Chapter 3 and Chapter 4?

Thanks
  Sharon.
- -- 
Debian 12.6, Fluxbox 1.3.7, emacs 31.0.50, org 9.7.10 
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmbO4qodHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1seWhAAmzZfon0n2x4cJI0L
jjT8fdzNLeDp5vEUA1u3EHEJdtMsufPNIJt3L8kLQaL0+7/WaEboy3N/u/3XyPQz
IioaonnBqO6TAWXoyelpLDof48XI88jEaop/pM5CAaVe7NuPNOI7tkzVcHk53qwE
Kpy1FTVPKx9CyHLC0vOCfwoVKOzUCNfYWIALvK7wWGs5z3BHAqrcYokOdzselPNm
7eoaJjmHvu+nOFQzUMSJdPgTLE4LfXqBY8Rc7QvodRia4KNe8oHwB1Vr/TqWHIio
ZWfryOyutxAEkCUQD+yYAGD8Fg8h6Gd1GJF6TFea9iJ/cnfnmZjjjY9XwUqHHrOU
jhW+oS8PmTqU1klKDt3PHf5odN0UuD1CEJQ5VvFjfYjmY6OCL36AILxz+WdPnUmg
cT6leq/xZKFLLXVr93irUgFgohzLHBBK4pW6Wv9XsIKSA3n9V1Oyzr2t4DPJjJaL
a5fgSKHGTDpip6mtTG7AS8tkSTamdhaPjDJ9anP1NYV2Lccgx2L4EFUkZcnnqeKq
h+b5zdOqV75z6oHZvWfMyAOi5fd469/pQ7IqYW2u/Gm/uXQ096Pw2q999+9howeA
3U6PGUgzP1GcynzhMCFSLUsyokBwJeVSfPmQep1+UAWxPuy9YJjeZ9k9S3smTk6Y
aSkmndz1ePMMdQYKS07BPJXhXu4=
=Y4K2
-END PGP SIGNATURE-



Re: Missing first and last numbers of the date when auto-creating checkboxes

2024-07-29 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Ihor Radchenko  writes:

> Sharon Kimble  writes:
>
>>>> ** 26 Friday
>>>> :PROPERTIES:
>>>> :CREATED:  [024-07-28 Sun 08:1]
>>>> :END:  
>>>> ===
>>>
>>> Thanks for reporting, but may you please provide more details?
>>> Ideally, may you explain step by step what you did, starting from emacs -Q?
>>>
>>> It is not clear to me what checkbox you are referring to.
>>
>> These are the ones that I'm referring to -
>>
>> ===  
>> - - [ ] blurb
>> - - [ ] 
>> ===
>>
>> Which I have entered after a paragraph of personal writing.
>
> May you please provide steps to reproduce the problem? I still do not
> understand what the problem is.

Enter this -

===
*** testing
  Mary had a little lamb,
  its fleece was black as soot,
  and everywhere that Mary went,
  Its mucky foot it put!
===

Using any text you want to enter, - then enter manually

===  
- - [ ] blurb one
===

Then press 'S-M-ENTER' which creates another checkbox, like this - 

===
- - [ ] 
===

And it also creates a drawer below '*** testing' which shows this -

===
*** testing 
:PROPERTIES:
:CREATED:  [024-07-29 Mon 12:4]
:END:
  Mary had a little lamb,
  its fleece was black as soot,
  and everywhere that Mary went,
  Its mucky foot it put! 
===  

Is this sufficient?

Thanks
  Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 12.6, Fluxbox 1.3.7, emacs 30.0.50, org 9.7.8 
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmanhI4dHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1viMRAAjCaEVBUj74sN5dk8
3EprjEerY525Qm/STzH6gpgA5+cx728pkAcSJblp+cyOJLsYmypqrkIGkxPKRZKg
+BG8FpgO3t0rx4aldocdXqBGrYF+oPKzQxk1ROo/nvdndS+tOHV5z7W2C2blexiT
v3C6bIx+tFijEnMpwbUPckiCwFxs9pTQ2Qrex5e+hJs7bjNLId7mU0wKzFYZuUFf
kk8qDnc+WahRi4hdmavjSJOv0NvXxdTJKu8ZiooOVWjDuP/t+5AYrjGbo7n/qe9n
B1oE3+h5Ao7JIumUun8ho/xFfPz6hH43YWgtk86ntFFiHUgDeZzYNeuTQYFF/hmK
IQX+F/opjiHlvG/sih1K5GQNeUkwX/zz9sSCnEFhSPmMQxpBEpclwQRE067/p67O
L/X+SbJWuD75IW9zkPSPGT2RlwjAZb9zvyAzOQjV0DoYT0/xCVWb6J8lvprUPNaO
ruJyc5X28SLK4ZnRrMQfeYrtUMtg/hrOEznZBBZSZTKRhCK5Rvf9ZgftNkbTdpKz
CozrMrvZlxa/MCkiQgDhprkgvTbcE7yPjRv9gSD4J9cZCgbEJiZ2exKcKRcBhn30
BdoihJEiAmX846PXz4Ivo23pUbEAcewBmVNZYFU+Vo7hGN22oXt3wySKCs8YKm/6
msE+bsHUXNK35FTZ7H06nGMDLfg=
=uyo5
-END PGP SIGNATURE-



Re: Missing first and last numbers of the date when auto-creating checkboxes

2024-07-28 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Ihor Radchenko  writes:

> Sharon Kimble  writes:
>
>> Using checkboxes, if you create manually your first checkbox, then 
>> auto-create your second and subsequent ones by pressing 'Left-Shift + Left 
>> Alt + Enter' you get the date just below your level-2 heading but with the 
>> first and last
>>   numbers of the date missing, like this -
>>
>> ===
>> ** 26 Friday
>> :PROPERTIES:
>> :CREATED:  [024-07-28 Sun 08:1]
>> :END:  
>> ===
>
> Thanks for reporting, but may you please provide more details?
> Ideally, may you explain step by step what you did, starting from emacs -Q?
>
> It is not clear to me what checkbox you are referring to.

These are the ones that I'm referring to -

===  
- - [ ] blurb
- - [ ] 
===

Which I have entered after a paragraph of personal writing.
  
Thanks
  Sharon.  
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 12.6, Fluxbox 1.3.7, emacs 30.0.50, org 9.7.8 
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmamLjAdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1vL9xAAtlUNowmCKIbZuOas
7OyVty8s3jss1bcgkbWQXuJhT20+rCBF94fkMbRDeCwO3/aExMnwuGnhv9TNIW4R
ngInJa5af7EWyjRx3kxkrBKDnUalqnFrwDEhVcqFPGnk2HUWIQL8s5hCcI7VZGiv
sTz82y7x1UqUhpI+TWD85zjkiRkNYUboj5PqHKhq/hBJf6Nlxak+h0pX6kj0N9WU
AcKk06iZSg4GxL9sy6onlY1UGJL0lvZzpqllOyeSdQgA8ybYWS0Hy5Iy81diHSPw
DPuO7zFaaZE6g9X8OgDqoYGCrO8umwAU8UUMQXczAa1u82IiCp/1RNk9bukiv7+c
SpDKz0K2OyUzU0jW3Hmg9HaUk812KD+YeLP72MnF8aRf2DuMCbt2eAFfkm9cU2dO
mQXzmHVmAVJJJlwvskmJ4BduR+bTGBom9YPN/8JApVoU4R5sVC88j1+9uWo0rRTT
fcL/XYqBhLgo5LbMKjowOr3bv8hKjXf4WpCxzj8pFdHKf41TBZbauVKetNLILr1i
r+yqDsZzUWMGVYrZeOpC+EqOjeY+ic+luD8BNVNfQLnrjEwXaOTdiQMxJqUZCLmu
RmFDY3qU6hLJMmri93KqI/LUhpWd5g69oX63XMXxizWyXap8y0m+7gx5xvy/w/yN
/7bT9l3M97cdiUYLnGAzpGy02/M=
=rgzZ
-END PGP SIGNATURE-



Missing first and last numbers of the date when auto-creating checkboxes

2024-07-28 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hello.

Using checkboxes, if you create manually your first checkbox, then auto-create 
your second and subsequent ones by pressing 'Left-Shift + Left Alt + Enter' you 
get the date just below your level-2 heading but with the first and last
  numbers of the date missing, like this -

===
** 26 Friday
:PROPERTIES:
:CREATED:  [024-07-28 Sun 08:1]
:END:  
===

Thanks
  Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 12.6, Fluxbox 1.3.7, emacs 30.0.50, org 9.7.8 
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmal88IdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1uTQBAAgBQSZylbAUMnSpSV
5X8VFajRYlfxuGVSSbDNFNlmgCn4EgWVM87ataYtKfWwUjn98Xi63wZbT6Vl+Y0k
kJg+1925jrofZV10d+5ESo7VNz7jD8GebtSEoRauPDqHdIRtDJugQT2KN6q1429r
vB/X8JWCCt7ei6qBPFb95LmMZmV4tiuQ5/VR5E13yxAN5QgEo0Y09WcsOL8VEq7N
9s9psH2XFUz9PDbLn6o3TSRxero5MxzssUzYapM2xykOV64AFHCb387Tl3AnQZXW
Wq8uycrzh1FrcUYUY4pkn2x1TxBfl/Ak4UnkFaylsRRF7gUpM1MvCiemBnH3036m
68wzMdy0WPxfeoNayJCb2ix8x5yJPRUmS8YhFCBO8XmYNNXitY7t2NKVjvyHtQyC
c6PkY2HWyTXsBJRGIcz7mFMzKIlgjgo0rBJPFJ/rlNJ7MoQ6gWaeqHcoyYDFlQY0
qol5WQMBLDuR6rVWd+/MnLi3yynlajI0kdDtsuMBxZNl/Ur4oLUXgpLgaQ4ETfkm
HS7I3zCJvg6ma2Ls78dGkcpa073AvPs1rps33sSW7rDFZOfCwnHmsO3fw4VYDojL
YY13yX5PUpjsBU3H196VoO3emnsoZpgDDZHTXg/ooe2B0CPdOF5vE2IDoElzeVNa
FSRoY70PXJI+qUF8lP4rQ9fZ874=
=Nit2
-END PGP SIGNATURE-



Re: 'org-latex-export-to-latex' consistently failing under org 9.7.5

2024-06-30 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Ihor Radchenko  writes:

> Sharon Kimble  writes:
>
>> I've tried my command on another project, and it works there, so I've
>>   gone back to the problematic file/project and then started splitting
>>   with the first chapter now working using my latex export command,
>>   and I gradually built it again till I've found where the problem
>>   lies. The upshot is that I've split the one file into three and its
>>   working again, albeit slowly.
>
> Any chance you can share the problematic part, so that we can diagnose
> what is off?

The problem was caused by the file/folder getting too big, and it was totalling 
584.35 mbs! It was all because of git, because when I totally removed and 
deleted the git subfolder, the total has become 21.38 mbs. I've since deleted
  the git subfolder from my working projects, and they're exporting a lot 
quicker and safer too! I was only using git to provide a compilation date in 
the footer of each page, and I've decided that I don't really need it as its far
  easier to provide that date on the title page. 

Thanks
  Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 12.5, TDE R14.1.1, emacs 30.0.50, org 9.7.5 
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmaBTHwdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1uOVQ//Xayi729GDX+TZ4/V
1BztdMbI43hThjsem5rNBsKdW+cPECoxVTOS5Gcg/2B5ECgQ9Mu3JTLo/1m4TyvR
eGUAbD3WJQO+0z1Is8DgKLWMIdPN6TgbyI0YYopuw24P335yLSGOAdiUKhqZAs+h
eX/X/t4AYSuNj12TWIz5bCtnl8i4ANuN6lsH2XcMiSGA7VMnCYcX+/XvO0vmEdpd
EjcYa9QCfgaK1n/3KWyzqsHZBAz/+yKws9Jo4QIGcdEW9cZY+wYxORkrDjq+1ki/
w6V4mAR936M+ZfzqWAZfhmfqG2iHmqK8w9MM0B3mZ2X/G4B3dm+nwIuruVtFiIzT
7MoOXvXFJBbaH+xkQZ6DPdrIQcvzRmW74sJfo+Yp8Gw8CFakLw5ddLLxlwMQxD3L
D9MUeIhWB3zmKLSMXJaBcnYCE+k7Tbhwe+m3sa90HtMcLUHREbdEHQ41iTCJ+yhM
0Kp+Uy14VZmeVe+GMeJg/zWhtHavbCMFkFLQwSNnA6lUHvgSIjqb0jVSNEeKFEYk
JHtaSbv3Ol8qya3uj1YQiArCp6Ltxuw5eaCMqyU59vwW36XeGLRIr6v6KRhrkW5f
sfs03YYrHpMDuSg33pJQG0AqaTc990NhDvewNVx3b3TviMuzfMSsb5PnE26NkWhL
JOzqBB067vyPBL/PYDU1EStF9Ms=
=iKG3
-END PGP SIGNATURE-



Re: 'org-latex-export-to-latex' consistently failing under org 9.7.5

2024-06-28 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Ihor Radchenko  writes:

> Sharon Kimble  writes:
>
>> Has exporting to latex changed in 'org 9.7.5' please?
>>
>> I'm using this to export to latex -
>> =
>> (global-set-key (kbd "s-#") 'org-latex-export-to-latex)
>> =
>>
>> And now its not working. I'm waiting about 15+ minutes for an export of one 
>> file of 2.8 mbs, but its just not exporting.
>>
>> If 'org-latex-export-to-latex' is not the right command now, what is please? 
>>  
>
> May you provide more details about what you have tried and what is not
> working? See https://orgmode.org/manual/Feedback.html#Feedback

I've tried my command on another project, and it works there, so I've gone back 
to the problematic file/project and then started splitting with the first 
chapter now working using my latex export command, and I gradually built it
  again till I've found where the problem lies. The upshot is that I've split 
the one file into three and its working again, albeit slowly. 

Thanks
  Sharon Kimble.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 12.5, TDE R14.1.1, emacs 30.0.50, org 9.7.5 
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmZ+pnodHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1vP5g/+Jrwc91qX+tRIe554
m8ycQN0YdN/iJ2YUsOltbuDv5v0IAEdtGy4c8Dej3DYirYnSbxJl18YHiLgZvH2/
PzsHZ1wdI1zbdzvuEvgG7ryC1n7ciZpPtxXca55zAfG/yB9wGu7UNP0E4fkmwnJF
YXDmG/W+Fim4niFgXfp68MRi1Zz792JrITInRsF6cuHEwLovqS8X3aXrVanwzj2O
gagW9gUQUwA8sACKsV/42++PK1MwfW7MtI213Pkzg+2CiwR0s7LvRY+JJPDagLzz
HmxepLu8/oa1kONQx3hXNCRKTGlTWFdaJySr9r8Q/dvWT4L3oMYdoWhiuuDGBwcj
babVOaSmfxQxh1IXB22TSTEZZYDWzmra5yhROia37wuBaIY5/BvS7MjgmscqFf6I
45Mk5Z60Fv7QnbU/7jfVwt+IAK+0tczlj2CnXggiVQ1XxHSKi+sGlhwIaWo3nrO0
3DdINmsD3/CvOR9OYmkdR8wqoOgbgvz+foUXa2+JH8O8PrY3HCOoRFa5fk3A6x9b
a24LghssNYNek9fDd46m3MvSLB3KB1PfkEDGKCD+Vs1Uqp5YU0zGwHAsHrRARssR
iA2+oCJhIcP1QkoDy7tEyt4fLLWqAH3+exCxoEMbDjUTcmZ0W7EusQME7jg3bryM
vcN0qFU6hncnehD1gk/uiokqhAI=
=qm0P
-END PGP SIGNATURE-



'org-latex-export-to-latex' consistently failing under org 9.7.5

2024-06-25 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Has exporting to latex changed in 'org 9.7.5' please?

I'm using this to export to latex -
=
(global-set-key (kbd "s-#") 'org-latex-export-to-latex)
=

And now its not working. I'm waiting about 15+ minutes for an export of one 
file of 2.8 mbs, but its just not exporting.

If 'org-latex-export-to-latex' is not the right command now, what is please?  

Thanks
  Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 12.5, TDE R14.1.1, emacs 30.0.50, org 9.7.5 
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmZ6tHEdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1vuPRAAl3TxonIrWGXYqJ6H
/Pz42GxoP9wVUw+61Z3aqHCzyeuTtHIugR3rC9CNyKzqQCiMf7OFSb/IBrdij/tN
Fx2N3RCKO6P6SONDIx+MgA6Gi60E1D1YpIZuA0aGIpwPrcM1iobpReTUOSok+4Wu
mpEm43xKqiNH2+C5wjr10jxjSENqRIip66qIEUArHiyDOeAdxArg/v3ItpX6ttx0
zJAIJLft4bdB/i1MWwk8WyyuHvqBNk7awweoJxxxB1J7cGExueQBdq71dSLnXBVI
rsNPLVZSQpz3gkgPAiGxOQL6tsur0GvGTlD1+qCXU6RvAjwkuXwmm9cqAZvl0Eoc
z/EOjisMDgcMfiD5iTi2mAbeTSutDW60u9NEmupEODBxuqXOSXNKBvLaRelS96B7
uwJ1Nbmp+4wop4feeGIn6pusJv9kstOhoOt8+08BBxh54mOeL2jTjdc9Ecv5sn/t
3isJQ+MWAXUf9qmm+AIYVJBgebPb5Oa8atG/gL9VglsfMYvg7fIPev/S2pV+BBcK
LAsVoYATTrL+Ewp5NXawiVdEah5VvNBUVqgigAJI9BlIk+/bRKjUzwMSWrSnl9FX
IrvEHu9eot21ceM7b2cH/d+lJ+BSX+1KFpVpIxY24MMwgskm8YiMBCu9NQ5VYoxG
zhHuAnQxZcp+uPndqrGTUh78V2Q=
=9q0f
-END PGP SIGNATURE-



Missing the first and last number of the date and time in the :CREATED: field.

2024-06-12 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

When creating a new task in my organiser file I find that this is showing up -


** TODO replace the battery on the wall clock above my monitor
SCHEDULED: <2024-06-12 Wed>
:PROPERTIES:
:CREATED:  [024-06-12 Wed 08:0]
:END:


As you can see, its missing the first and last number of the date and time in 
the :CREATED: field.
  
As far as I know its not affecting anything else.

Thanks
  Sharon.  
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 12.5, TDE R14.1.1, emacs 30.0.50, org 9.7.3 
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmZpSXkdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1v3Gw//S+7b6hpa+IE/pEVx
/HkTN8cDnTW/k8mwqZC+uWN6N0zPcXVLxJxKCLizJpxacOsxhbkCXp1ELB1kYq7Y
++2TKQlQ3Gd3NRbOIk/eY4RDCMCVmqocQPxULBhamQkwAFBl3Yog+K4hDhyzldx+
EfAa0YxpeWd1sRVYrqqD3kWWhf+0Bm7hNG3M8DcbdUbAZDviMACyyngMSajXvsHV
RTO4VQediKJYSHsy3+j6cqaLxXt3eOaekfdNl7uVa8P+V1FQZ0ggp3SJCHfpf6t5
3QkMJcscH6Iaiex4u4iP4gkT7+Kn7cu5k26vqaP75T6FXeVfqC5fufC8qsz1e+uY
6F7/BmE1doHNs0iRNqAV+/fJ/qWqrBpOzyZ2BtEF/t+m3ddCfRvdDwt/7lcn3SCr
H77k1kM7xKCWZz/OPsDmmnNcwAn+yzvLqJgc0UM1J8NP35YjPbeobHyXWEDD3IUb
QeZPKv8rGybyBd9W1UyklqXdmLy6lF8G38Ieqd8HcV01M411URVuUJ/5erv6zhdn
Laj7r/aKQwTlAuc6zFo2NwlM8KurFnfSjI0oYCf3MTBeSG9UIWrg1+AEt0OaIcsc
MzrZn381IECfutUl28VbPYPwcze99p3gFHM0VXEz+zvNDywlU4oe+rc2WOGJgOOy
CaJRCwUiSSAKbU/hrvdfWbUWq0Q=
=NWko
-END PGP SIGNATURE-



Org mode version 9.7.2 (release_N/A-N/A-88dd2c)

2024-06-05 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

  
I've just updated my elpa setup and got the new version of org-mode, which when 
I check the version shows up as -


Org mode version 9.7.2 (release_N/A-N/A-88dd2c @ 
/home/boudiccas/.emacs.d/elpa/org-9.7.2/)


And that doesn't look right!  

Thanks
  Sharon.  
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 12.5, TDE R14.1.1, emacs 30.0.50, org 9.7.2 
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmZgGSIdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1sW9hAAkozsJQ5N0MV5fAWn
qPmQGPqRzUIqRID6R2mQCFfW2WPVxL8jTpeLyNMVBc6+i8C4MhKiZ6/jrmke/DGg
94A/6LrU+bo0zo/nHs1EWRIpE5htaTSh50Yn+Dhy8zELHhxX+CMltn5rB+k8UPet
Lc/J/rCa8SwokIU1Fl+gTWfHDfFCQKVAGtjGMmP5mJO5lGWm/79NdMGTIJ8DvRRX
0fcZ8KHenpL5fXyBnAwWEaF/+lAxtblVmNUPPsVPa9TPN3e5Kxrlhltyz02WsV4/
gwRpmM8rVSBebo4x5k6ItnPYYjXBB4lUElVsvgFxkFLqClt/3w6ahVf6WScFdDKQ
AbMf/CsT3vvgfXTgTeJWA3PsBJX3qHIU0D8RRS0h0rbZVVoOAgYINMvXY5n0iEom
YDFQxa+2aeiMVdVFWGCwsOXf3ltsfUQEyAHb58HJc1JVws8PVrrSuzqCZZVhTtHi
SwKhaaCS8nNGQMy9QrZq4bPEWApifwKMmnl6w+yn4ekR9Rhu+zriiZQQLaJJwaFD
l1kpa/lX0Y9LqrLGL/bzEb7ScLr9AEUtlbXUQ6Pcy0/enq9RStT2WRBz+OI6LAko
oJ5cyCft/EJUZLvwinqDZQFg8yxAmuNjaQP8sx3HQol3EaUa4hcxTPeQDJ5Wb0+6
ruLNfLt54FuXBOhUVBSS3wKazko=
=219J
-END PGP SIGNATURE-



SMART goals and bolding the first letter

2024-05-27 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512


How can I bold the first letter of a word please? I'm trying to do this -
  

- - *S*pecific -  You don’t want a vague goal. 


Its part of a section explaining SMART goals.

Any ideas please?
  
Thanks
  Sharon.  
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 12.5, TDE R14.1.1, emacs 30.0.50, org 9.6.30 
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmZUob0dHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1sMLw/7Bl5FJ+t/UzKO3ULg
CF0mxdf7W7gUknRJ2ocy604wVjblXsnSrYISISWfuwFUnw27rthVx/ceUZWh47kA
Wme3rri83pHAx0QRJn3lkVvYidp7PiSig5FUYNtIeIQqqKGMU9p4T1p+ZLCMhce2
ntivOXE/UcHUULTNkqElXct05WNfitNUuIYmJnCyMO3kv/gahNQ0PSaRK5xVK6DM
IXU8O73ifktBCdL4zP8si+4HFVJoh58yidBdmY94RVuxBsSvS4z3LzCsaNn1h4EE
qxB+8wHmN18jXp6my3KaV25DYDf3SDONUxcg/dOv0ZUYa/Sy1XvbUMIOjorJy/8+
oVEDC5Ez1FuTDbmZHJr/XrZURM5uP8bIlwvyGeNtm25KFBqgNp4hxd9QlLEFqGhP
vYlxqIKr4pQs8FRqqDsA/dCoq+dVhg+uNBcMSqDmYAXnkYOpvI8a43kKvcZ9FD0E
RRvjUEsJTg2uQjrcCZxOotS8eAFaukkCV09F0+g2S8IoKUCaIJfBhNsK020so223
nPor0HvD9m8euYMs8YuAlG3Xny3LhYS3zRb47d93X4nLyeVSibQ7KS6y3TG3MmFD
1UbA92ybkpbzSxA0hDfXhSsoQ+dfLiWD84yJfz/5AgPqE5cU0d1mKns8qJ59yq6M
UA3jOkErn1V/Tqchmr2OJU7glV0=
=AdBb
-END PGP SIGNATURE-



Re: footnotes & #+STARTUP:

2024-02-19 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Ihor Radchenko  writes:

> Sharon Kimble  writes:
>
>> For various reasons I've recently changed my theme from a home-made one to 
>> 'naquadah' which seems to have some problem in that it forces all footnotes 
>> into the bottom of the file. How can I revert it back to my wanted inline, 
>> of this
>>   format `[fn:3]` and then just above the next heading `[fn:3] lorem ipso 
>> ductem.` I've tried setting this `#+startup: fninline` but it only allows 
>> this `[fn:450:Blind Io]`.
>
> There is no way that /theme/ changes how Org mode inserts footnotes.
> If that is the case, such theme is doing what it is not supposed to do.
>
> What is more likely is that you accidentally changed
> `org-footnote-section' value.
>
>> Second question, is it possible to 'nest' startups like below but into just 
>> one line, please?
>>
>> =
>> #+startup: showeverything
>> #+startup: fninline
>> #+startup: fnadjust
>> #+startup: noinlineimages
>> =
>
> #+startup: showeverything fninline fnadjust noinlineimages

Thanks for replying.

I've debugged my theme and got it working again, and footnotes have now been 
restored to their particular normal place. With regard to 
'org-footnote-section' I've set it to 'nil' on 2020-04-14. Org-footnote-section 
does not appear in
  my theme!

And that `#+STARTUP:' line is now being tested on my current working documents.

Thanks
  Sharon.  
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 12.4, fluxbox 1.3.7, emacs 30.0.50, org 9.7-pre 
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmXTZXcdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1u+Gg/+MlqO22P037PhTldP
sIWpHRmNT2P6YdaJUrRCYCYBRqcic6QZK2g8Yv5yvm9w0wskGuCsEP0TeQOtgx0A
wpEJJLrPuhP9rAGsAesZxIOZqTFP3G6FslcLSXL7RBli4PSjkNqRTb6Hk5SGad80
Kqg+HOPzoDsfKpv3SfWoaAJmBmDqKIkhJjUlSEbhdWYtJbVSG7jbaNT2+Z8+F5r2
i0XdogtlKpCWQG36MusDg3dnk1tXBullyjLyS1UEpKiHRxnYSWKFE/Qz5Wwshbqf
8ArB+PQ541RVWh3iYvYC5Ozop9ftcXhKbodvJAl5Z3/RCOALisE4MTsd7ixuQLjC
LNQxrUqRlEvpkskY2XSMf4eHP3p2axhppL4jH4dYKBu+//VaCjzWfnwWcyFcoPK3
hNeGXhMuOzmFuShnniiSFA2hNeeX8mJUzNakjd8mWO7R8EFVnyf0aVxYPHTaaVNp
JQgqJL/OLk7VCt38sQe4JtGwk2tAEN40vwR6Ek7MbnsSr9jmvdpzfkDGShmkbKqi
NfTvy6d3Skxg6kWfdYqRsHak3p+AY7TXNYRpzJe1RZUxpc6jY68gOmx+szoBbaSo
2s1cUJi2uSZZjPLuWUEficrZSSkX15ZtLZ3fMcVcH+H/+7hiy7Bmw58y1kT4SjE8
PDZZYyuIYgr8PNb5MpecFvJrDq0=
=1LAs
-END PGP SIGNATURE-



footnotes & #+STARTUP:

2024-02-18 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

For various reasons I've recently changed my theme from a home-made one to 
'naquadah' which seems to have some problem in that it forces all footnotes 
into the bottom of the file. How can I revert it back to my wanted inline, of 
this
  format `[fn:3]` and then just above the next heading `[fn:3] lorem ipso 
ductem.` I've tried setting this `#+startup: fninline` but it only allows this 
`[fn:450:Blind Io]`.

Second question, is it possible to 'nest' startups like below but into just one 
line, please?

=
#+startup: showeverything
#+startup: fninline
#+startup: fnadjust
#+startup: noinlineimages
=

This is also on 'Org mode version 9.7-pre (release_9.6.18-1207-gea487b @ 
/home/boudiccas/git/org-mode/lisp/)' and a brand new emacs, freshly built this 
morning.
  
Thanks
  Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 12.4, fluxbox 1.3.7, emacs 30.0.50, org 9.7-pre 
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmXSL/gdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1uMthAAsmNoAWDOXcxP/hNS
u+y0ifxuYIPWsDMqVZFZl48+ly3eWfEAkZOEPe5YIx3Rb24xyUGhx+YRugEeaySA
rZIiW2xv0Rt67bjjaMz7kgOGUoeWj+5kzWPJKG/JuuWsgNWqbFyI4Dc9iLIP5esr
+RrA3EUPuJSRMlxpmwyuL4LX9nvEhTbhA4b7u3YTZmpH74cE+t0jYu4ewfjyxP68
wkkyZN97kKHodHN1wIW3xd26ppH7Rac5Pd704C22f6IexylknY3RZ99AEEWP38It
n7ESehkS9ZVWykzRxoUkMWPqh5yEpwPMh0+FLweC7l5XCukz60VgU4WynPCjkcYj
Sj3Dp3waJCQds7FPzKkaxVbPp/36RQn+Elyww4L1ZFj1Czgjc2SAZW8NJWAMHxU7
g4ZUQFesNjpyDL91mOoi3OQRke/eEoVPgpo7Rjer0cdKA5oDGxs5huB1VA5+A7wV
clo/nDGTxQlU8/TYUx84RA5DXC2vGxeJj0UidCA8OPmN9T+B/rFGN6aU7In494/x
OyPj/JZz9QskwWNIDlQGtKFLvtxPRo1BFRXf7ZmeXBivXU0CtYVG1mCfBu5Adhl6
T8DRqVAoEMgWaAjpH7S01z7+XzQMXUuNu+WMDo0/ljlpdX4AZeCUp9oIdy+PUZ0B
0kDPpsGEEWXL2jSNTOcR3aBqlGc=
=HXRJ
-END PGP SIGNATURE-



Re: ox-docx?

2024-02-14 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Ihor Radchenko  writes:

> Sharon Kimble  writes:
>
>> I've just done a 'git pull' for updating my org-mode setup, and its throwing 
>> up the following error, which has also occurred in the past.
>>
>> =
>> Debugger entered--Lisp error: (file-missing "Cannot open load file" "No such 
>> file or directory" "ox-docx")
>>   require(ox-docx)
>>   #f(compiled-function () #)()
>>   eval-after-load-helper("/home/boudiccas/git/org-mode/lisp/ox.elc")
>>   run-hook-with-args(eval-after-load-helper 
>> "/home/boudiccas/git/org-mode/lisp/ox.elc")
>>   do-after-load-evaluation("/home/boudiccas/git/org-mode/lisp/ox.elc")
>
> ox-docx is not a part of Org mode. It appears to be requested by your
> personal `eval-after-load' or `use-package` configuration.

I've checked my config file and there is no mention of 'ox-docx' nor of 
'ox-doc'! So I've checked on my computer and there is no location of 'ox-docx' 
nor of 'ox-doc'! I've checked my lisp folders and again there is no file named
  'ox.docx' nor 'ox-doc', and I can't work out where its coming from.

But I've done git pull etc since and not found that problem so its not a 
problem!

Thanks
  Sharon.  
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 12.4, fluxbox 1.3.7, emacs 30.0.50, org 9.7-pre 
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmXM2YYdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1tiqw/+I7briZ+Y5sbIqvb0
BZa7XPeJ6sRNBbyuJwenY8xmDleIrdzYot2Mq9XEZQplSAccG4UNzDRwQZ7EX5YA
4LYQmCFYmvkBV5wUjGIIVCd84C8VMV8dKcqsfDsKPGUuWbgCWHHQccj0XAcfAFDf
MqD4UqnvWkE3GZLqxxGeLuOElowQCsFotuBYSVFHmDr7t8nht52arnF1bszXzLNA
o/Zli7wgUN9bp+nJ7hI7Xq29ZKS3C1OjWXQuDAW34Lo3f/8tl8YzR+fVrjOu0jZp
yNidZVdpu3GKPWJMa73dPDahcWG2DOOgJ+7I5Y8dvQAZz0mIFThGvYgiOm/VCNfK
K2EGKxsO0yXB5rhCd9rG+No1loDN8+SdqwcfWIPCULyt14nyPyqHfcOYrOSCHg+1
zT+HtDEWTtyqf/PE4iLnWw1l1Eokz8TQjowljwscxC6R/cFSgoPPt34bzy6C97HD
TJbCrpWJ/3dyVluTMCCjVwtXoNegVhjSC+bHHxTgsEdlq3x1Prnw8EU02pi2u0eX
60IQT3DPzaj63QfionBufLxtu0tpj2Mb6X//Y+bPGcRdJI/RBEANVm1RbEIkUP3L
bELa79mUx8s5f3XFPhKF6c5FPz3pAvq3yGeocH4ISby8KId0b+imDUOhp1bAUU3z
7D9Yw0+lAkr5x95Od6zjund10GI=
=5KMS
-END PGP SIGNATURE-



ox-docx?

2024-02-14 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

  
I've just done a 'git pull' for updating my org-mode setup, and its throwing up 
the following error, which has also occurred in the past.

=
Debugger entered--Lisp error: (file-missing "Cannot open load file" "No such 
file or directory" "ox-docx")
  require(ox-docx)
  #f(compiled-function () #)()
  eval-after-load-helper("/home/boudiccas/git/org-mode/lisp/ox.elc")
  run-hook-with-args(eval-after-load-helper 
"/home/boudiccas/git/org-mode/lisp/ox.elc")
  do-after-load-evaluation("/home/boudiccas/git/org-mode/lisp/ox.elc")
  load("/home/boudiccas/git/org-mode/lisp/ox" noerror nil nil mustsuffix)
  #f(compiled-function (f) #)("ox")
  mapcar(#f(compiled-function (f) #) ("ob" "ob-C" 
"ob-awk" "ob-clojure" "ob-comint" "ob-core" "ob-emacs-lisp" "ob-eval" "ob-exp" 
"ob-java" "ob-latex" "ob-lob" "ob-python" "ob-ref" "ob-ruby" "ob-sh" "ob-table" 
"ob-tangle" "obarray" "oc" "oc-basic" "oclosure" "ol" "ol-bbdb" "ol-bibtex" 
"ol-docview" "ol-doi" "ol-eww" "ol-gnus" "ol-info" "ol-irc" "ol-mhe" "ol-rmail" 
"ol-w3m" "olivetti-autoloads" "org-agenda" "org-agenda-property" 
"org-agenda-show-deadlines" "org-alert-autoloads" "org-autolist" 
"org-bookmark-heading-autoloads" "org-books-autoloads" "org-bullets" 
"org-capture" "org-checklist" "org-cliplink" "org-cliplink-string" 
"org-cliplink-transport" "org-clock" "org-clock-budget" ...))
  org-reload(nil)
  funcall-interactively(org-reload nil)
  call-interactively(org-reload nil nil)
  command-execute(org-reload)
=

I did 'git pull', then when its completed, I did a 'make' followed by 'make 
docs'.

I then upgraded org-mode within org in emacs, and I have this version running 
at the moment - Org mode version 9.7-pre (release_9.6.18-1149-gb26745 @ 
/home/boudiccas/git/org-mode/lisp/).  

Thanks
  Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 12.4, fluxbox 1.3.7, emacs 30.0.50, org 9.7-pre 
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmXMnxgdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1sc7Q//ddiCSoW+uSvrXiRB
afTP6S4C9GkefRjQnu1T5lE61Dn3Ezynw3ZMAkFqHZvcIvo7iJKhtA10CNqKuTrH
hLAOzM7KWGIJcr4tPO1RmxfDZCkotOGu0uZ0pynAF8JE66tzBkmGoch4WM+cBANc
PHYgViirFHeA9wyol7GiKKS/gGyhVUcaOmhisocU8v6Ne6yINvJHKo8h+8Wo4F6O
zkUxiLlyTyOOCQcFWQcpvpZ0TIPYpGE4tgd1nR8vgRu2vQO1evAZs+UCV54x5oyi
N8I6Bhm05zbe7bQiSaj2ZIqUTYUQjfO8tXe8MgPa/kMx3RLHKwlKa8I9Lf+S1FeQ
cavuv5B5yWnCzjSBJQNEchc3vhBbRDlOAhP5ijBgHbEC4vVL4iWjMM96yHAyn7ls
M35eIpkhZ2jQWTozVgoBhBhb28bAJg3v0Qcu1X5d30Piw6g0P6IETLCXM4n8T6xq
NF4qh6bldpwT47lAZyR233vIWPcsYvQiVRYwY2qxUY0RXy3UljiTZti+4xNULPlE
l6LoyVMYGiBXqqu/Cplh2rMxYY7tDhfYE7Ycq75PPcPVX934YMjKWkNC68DLayHk
kKQoi5bB+KntmVd9CjVYttMGZCMU9Jxda3WVMCbESyoomSw5XmtMR4hX6zIFFyXk
GlZPXeoP6rJ7nZot7KggjKS/0KE=
=4Bp4
-END PGP SIGNATURE-



[BUG] or-element-cache [9.5.5 ( @ /home/boudiccas/git/org-mode)]

2023-12-16 Thread Sharon Kimble



Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 https://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.


 ■  Warning (org-element-cache): org-element--cache: Org parser error in 
today.org::65284. Resetting.
 The error was: (wrong-number-of-arguments ((t) (element) "Return type of 
ELEMENT.

The function returns the type of the element or object provided.
It can also return the following special value:
  `plain-text'   for a string
  `org-data' for a complete document
  nilin any other case." (cond ((not (consp element)) (and 
(stringp element) 'plain-text)) ((symbolp (car element)) (car element 2)
 Backtrace:
"  backtrace-to-string(nil)
  (progn (backtrace-to-string (backtrace-get-frames 'backtrace)))
  (if (and (fboundp 'backtrace-get-frames) (fboundp 'backtrace-to-string)) 
(progn (backtrace-to-string (backtrace-get-frames 'backtrace
  (format \"Org parser error in %s::%S. Resetting.\\n The error was: %S\\n 
Backtrace:\\n%S\\n Please report this to Org mode mailing list (M-x 
org-submit-bug-report).\" (buffer-name (current-buffer)) pom err (if (and 
(fboundp 'backtrace-get-frames) (fboundp 'backtrace-to-string)) (progn 
(backtrace-to-string (backtrace-get-frames 'backtrace)
  (let* ((format-string (format \"Org parser error in %s::%S. Resetting.\\n The 
error was: %S\\n Backtrace:\\n%S\\n Please report this to Org mode mailing list 
(M-x org-submit-bug-report).\" (buffer-name (current-buffer)) pom err (if (and 
(fboundp 'backtrace-get-frames) (fboundp 'backtrace-to-string)) (progn 
(backtrace-to-string (backtrace-get-frames ...)) (format-string (if (or 
(not org-element--cache-diagnostics-ring) (not (eq 'backtrace 
org-element--cache-self-verify))) format-string (prog1 (concat (format 
\"Warning(%s): \" (buffer-name ...)) format-string \"\\nBacktrace:\\n  \" 
(mapconcat #'identity (ring-elements org-element--cache-diagnostics-ring) \"\\n 
 \")) (setq org-element--cache-diagnostics-ring nil) (if (and (boundp 
'org-batch-test) org-batch-test) (error \"%s\" (concat \"org-element--cache: \" 
format-string)) (display-warning 'org-element-cache (concat 
\"org-element--cache: \" format-string
  (condition-case err (org-element--parse-to pom) (error (let* ((format-string 
(format \"Org parser error in %s::%S. Resetting.\\n The error was: %S\\n 
Backtrace:\\n%S\\n Please report this to Org mode mailing list (M-x 
org-submit-bug-report).\" (buffer-name (current-buffer)) pom err (if (and ... 
...) (progn ... (format-string (if (or (not 
org-element--cache-diagnostics-ring) (not ...)) format-string (prog1 (concat 
... format-string \"\\nBacktrace:\\n  \" ...) (setq 
org-element--cache-diagnostics-ring nil) (if (and (boundp 'org-batch-test) 
org-batch-test) (error \"%s\" (concat \"org-element--cache: \" format-string)) 
(display-warning 'org-element-cache (concat \"org-element--cache: \" 
format-string (org-element-cache-reset) (org-element--parse-to pom)))
  (if cached-only (if (and (org-element--cache-active-p) (or (not 
org-element--cache-sync-requests) (< pom (aref (car 
org-element--cache-sync-requests) 1 (progn (org-element--cache-find pom))) 
(condition-case err (org-element--parse-to pom) (error (let* ((format-string 
(format \"Org parser error in %s::%S. Resetting.\\n The error was: %S\\n 
Backtrace:\\n%S\\n Please report this to Org mode mailing list (M-x 
org-submit-bug-report).\" (buffer-name ...) pom err (if ... ...))) 
(format-string (if (or ... ...) format-string (prog1 ... ... (if (and 
(boundp 'org-batch-test) org-batch-test) (error \"%s\" (concat 
\"org-element--cache: \" format-string)) (display-warning 'org-element-cache 
(concat \"org-element--cache: \" format-string (org-element-cache-reset) 
(org-element--parse-to pom
  (setq element (if cached-only (if (and (org-element--cache-active-p) (or (not 
org-element--cache-sync-requests) (< pom (aref (car 
org-element--cache-sync-requests) 1 (progn (org-element--cache-find pom))) 
(condition-case err (org-element--parse-to pom) (error (let* ((format-string 
(format \"Org parser error in %s::%S. Resetting.\\n The error was: %S\\n 
Backtrace:\\n%S\\n Please report this to Org mode mailing list (M-x 
org-submit-bug-report).\" ... pom err ...)) (format-string (if ... 
format-string ...))) (if (and (boundp ...) org-batch-test) (error \"%s\" 
(concat \"org-element--cache: \" format-string)) (display-warning 
'org-element-cache (concat \"org-element--cache: \" format-string 
(org-element-cache-reset) (org-element--parse-to pom)
  (let (element) (if (org-element--cache-active-p) (progn (if (not 
(save-current-buffer (set-buffer (or ... ...)) org-element--cache)) 
(org-element-cache-reset) (if cached-only nil (org-element--cache-sync 
(current-

[BUG] or-element-cache [9.6.13 ( @ /home/boudiccas/.emacs.d/elpa/org-9.6.13/)]

2023-12-16 Thread Sharon Kimble



Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 https://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.


 ■  Warning (org-element-cache): org-element--cache: Org parser error in 
today.org::65284. Resetting.
 The error was: (wrong-number-of-arguments ((t) (element) "Return type of 
ELEMENT.

The function returns the type of the element or object provided.
It can also return the following special value:
  `plain-text'   for a string
  `org-data' for a complete document
  nilin any other case." (cond ((not (consp element)) (and 
(stringp element) 'plain-text)) ((symbolp (car element)) (car element 2)
 Backtrace:
"  backtrace-to-string(nil)
  (progn (backtrace-to-string (backtrace-get-frames 'backtrace)))
  (if (and (fboundp 'backtrace-get-frames) (fboundp 'backtrace-to-string)) 
(progn (backtrace-to-string (backtrace-get-frames 'backtrace
  (format \"Org parser error in %s::%S. Resetting.\\n The error was: %S\\n 
Backtrace:\\n%S\\n Please report this to Org mode mailing list (M-x 
org-submit-bug-report).\" (buffer-name (current-buffer)) pom err (if (and 
(fboundp 'backtrace-get-frames) (fboundp 'backtrace-to-string)) (progn 
(backtrace-to-string (backtrace-get-frames 'backtrace)
  (let* ((format-string (format \"Org parser error in %s::%S. Resetting.\\n The 
error was: %S\\n Backtrace:\\n%S\\n Please report this to Org mode mailing list 
(M-x org-submit-bug-report).\" (buffer-name (current-buffer)) pom err (if (and 
(fboundp 'backtrace-get-frames) (fboundp 'backtrace-to-string)) (progn 
(backtrace-to-string (backtrace-get-frames ...)) (format-string (if (or 
(not org-element--cache-diagnostics-ring) (not (eq 'backtrace 
org-element--cache-self-verify))) format-string (prog1 (concat (format 
\"Warning(%s): \" (buffer-name ...)) format-string \"\\nBacktrace:\\n  \" 
(mapconcat #'identity (ring-elements org-element--cache-diagnostics-ring) \"\\n 
 \")) (setq org-element--cache-diagnostics-ring nil) (if (and (boundp 
'org-batch-test) org-batch-test) (error \"%s\" (concat \"org-element--cache: \" 
format-string)) (display-warning 'org-element-cache (concat 
\"org-element--cache: \" format-string
  (condition-case err (org-element--parse-to pom) (error (let* ((format-string 
(format \"Org parser error in %s::%S. Resetting.\\n The error was: %S\\n 
Backtrace:\\n%S\\n Please report this to Org mode mailing list (M-x 
org-submit-bug-report).\" (buffer-name (current-buffer)) pom err (if (and ... 
...) (progn ... (format-string (if (or (not 
org-element--cache-diagnostics-ring) (not ...)) format-string (prog1 (concat 
... format-string \"\\nBacktrace:\\n  \" ...) (setq 
org-element--cache-diagnostics-ring nil) (if (and (boundp 'org-batch-test) 
org-batch-test) (error \"%s\" (concat \"org-element--cache: \" format-string)) 
(display-warning 'org-element-cache (concat \"org-element--cache: \" 
format-string (org-element-cache-reset) (org-element--parse-to pom)))
  (if cached-only (if (and (org-element--cache-active-p) (or (not 
org-element--cache-sync-requests) (< pom (aref (car 
org-element--cache-sync-requests) 1 (progn (org-element--cache-find pom))) 
(condition-case err (org-element--parse-to pom) (error (let* ((format-string 
(format \"Org parser error in %s::%S. Resetting.\\n The error was: %S\\n 
Backtrace:\\n%S\\n Please report this to Org mode mailing list (M-x 
org-submit-bug-report).\" (buffer-name ...) pom err (if ... ...))) 
(format-string (if (or ... ...) format-string (prog1 ... ... (if (and 
(boundp 'org-batch-test) org-batch-test) (error \"%s\" (concat 
\"org-element--cache: \" format-string)) (display-warning 'org-element-cache 
(concat \"org-element--cache: \" format-string (org-element-cache-reset) 
(org-element--parse-to pom
  (setq element (if cached-only (if (and (org-element--cache-active-p) (or (not 
org-element--cache-sync-requests) (< pom (aref (car 
org-element--cache-sync-requests) 1 (progn (org-element--cache-find pom))) 
(condition-case err (org-element--parse-to pom) (error (let* ((format-string 
(format \"Org parser error in %s::%S. Resetting.\\n The error was: %S\\n 
Backtrace:\\n%S\\n Please report this to Org mode mailing list (M-x 
org-submit-bug-report).\" ... pom err ...)) (format-string (if ... 
format-string ...))) (if (and (boundp ...) org-batch-test) (error \"%s\" 
(concat \"org-element--cache: \" format-string)) (display-warning 
'org-element-cache (concat \"org-element--cache: \" format-string 
(org-element-cache-reset) (org-element--parse-to pom)
  (let (element) (if (org-element--cache-active-p) (progn (if (not 
(save-current-buffer (set-buffer (or ... ...)) org-element--cache)) 
(org-element-cache-reset) (if cached-only nil (org-element--cache-sync 
(current-

Re: Broken numerical ordered list when exported to latex

2023-01-02 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Ihor Radchenko  writes:

> Sharon Kimble  writes:
>
>> My org file is attached, and the original source was a web-page, a straight 
>> copy and paste, so its inheriting the same list structure as the original. 
>
> This is expected. Lists are numbered from 1. all the time unless you
> explicitly state otherwise. See
> https://orgmode.org/manual/Plain-Lists.html
>
> You need something like
>
> 10. [@10] Life and/or death. There's little else of such significance. Have 
> you had a near-death experience? What is your experience of witnessing birth 
> or death?
>
> in your Org source.

Brilliant, thank you Ihor, it works a treat!

Could the manual be amended to show how to use it with an example like the one 
you showed above please?  

Thanks
  Sharon.  
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11.5, fluxbox 1.3.7, emacs 29.0.60, org 9.5.5 
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmOy1JcdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1t5xQ//YQbbox9yMN35KxBB
lq7OuA7BVozedxhI8QtjFOdkViF5qiCl+IL7Ge/DW8UccOpQn7FeV/PEHaKS9Zc9
TXbI787WoseimfCB3M6mHyDUFt+ty+xKEcEu2GZFYjlFjBoF5ixgwAlbVHA95EeT
GxU3lWOLGQa56c5KqLIE+H/UiUkJw1tSr89FD6IBeX/VDomsGKQcMDEtduSMcKp1
9Rmuo47xgW3WiY+w5xUvPutRA9G9UHEeVLmx0mC/beuBjA9c6zs4iQyCucVXsXbb
jiiVMGHMDp86yd9xeGdC+jUIo+bSEGCbPiUx5VnfaJcmmTkCMO59N/DD73mKBBs7
RB5+Dw8k2EPJU43etgzkXq5C6dgjVX0vEiVJgb9+tGtazQn83JCXgkEWHzkqDmow
JrDw4ZiamIGD/xsdSkMz19TzmLVDF2AGuHdYybl6+0/1olPQxi5CZ6g5DzkKfWxF
63yPavbjgwtNZH148+OdCLjjys6PhCb33TRRsHhKUyGv+4e6RRm2PYPuCMAE0rMW
7HJ01u6NUWAdobd/tQL0wCDaqjt0kSJEr0qqjFkRN3r6H0yKavinRelRd+HJagpj
WznRYr906mrFoadR9UAfQyssSUxklILVCNvzPEPPRYhSREWW/Yby/FQ7m2z5NP32
pNclfAeiqvUePpGbHgPNuvF1qQw=
=Ajfl
-END PGP SIGNATURE-



Re: Broken numerical ordered list when exported to latex

2023-01-01 Thread Sharon Kimble

Ihor Radchenko  writes:

> Sharon Kimble  writes:
>
>> I have a long-standing problem with a numerical ordered list which is broken 
>> by sub-headings, and exported to latex.
>>
>> On looking at the org manual, the most recent one that I have, on page 12, 
>> it shows something like '[@20]' which when exported shows exactly the same, 
>> and hasn't continued the numerical numbering.
>>
>> So how can I have a continuing numerical ordered list please when exported 
>> to latex?  
>
> Could you please provide an example Org file, explain what you do to
> export it, describe what you expect and what you get instead?
> See https://orgmode.org/manual/Feedback.html#Feedback

My org file is attached, and the original source was a web-page, a straight 
copy and paste, so its inheriting the same list structure as the original. 

And this is the command that I'm using to export to latex - '(global-set-key 
(kbd "s-#") 'org-latex-export-to-latex)'.

The second file, a pdf file is showing what it appears when built into a pdf 
file. And I'm using 'pdfbuild' from my 'taste of linux' website, to perform the 
'build'.  

Thanks
  Sharon.
  

  

mwe.org
Description: application/vnd


mwe.pdf
Description: Adobe PDF document

   
-- 
A taste of linux = http://www.sharons.org.uk
Debian 11.5, fluxbox 1.3.7, emacs 29.0.60, org 9.5.5 


Broken numerical ordered list when exported to latex

2022-12-30 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512


I have a long-standing problem with a numerical ordered list which is broken by 
sub-headings, and exported to latex.

On looking at the org manual, the most recent one that I have, on page 12, it 
shows something like '[@20]' which when exported shows exactly the same, and 
hasn't continued the numerical numbering.

So how can I have a continuing numerical ordered list please when exported to 
latex?  

Thanks
  Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
Debian 11.5, fluxbox 1.3.7, emacs 29.0.60, org 9.5.5 
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmOvJusdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1uezw//VGtV0aOt28kBaQvb
wD+FTdbNIrd4zem042gFsQqD906nIWLefcxwFiYke1NNKorvLD8sSnfb8ENsyb2x
q1OTHC9b5DePhatfeRz6l4v/dNdlasK8QjPm2pq+aXZQ5/t68E4WcVCbbxVETBph
bvC/jslsGFlWu25etndTFJWDAX2vxZoEsD1f5Ufm29Fg5aF6hl7lXvUhS+WPVJHY
qe3wjwkyryp8u0u+7maBwN/eg+IeSBYeVZgN6RoWDZckWkEECmyzVtnkCT3rzA8h
WJfSdjQHZoWdRhFdxbVze7pAfKyjhmi7DSfsOwhus2nW9LY57AKESQ9VD2D/DBQj
G1Lc+vL3Ahs55X9viVix2nwM+8IsOL46wCoxBJPAs5Gbd3VggeJ4TefkopKDUpaF
Zzg/lGtF4Ga9/rTC/XrOe3tLw6RnErTFNiDeqOt41GkuHfWBvd1K1ROrXg4Fvi/w
yOD03QdM8pCa5lp/5z9YJHTMMRmW5rYgqyloVjQ6Rai6Wg/wqUps65s95MIRi8AI
kEbwOg/lHyyR80PLUAI2ZVWM36i84+u1TwzOz5l2kuZezPW8l75TgOlVL0Itd82q
Oo61FMHlRGiDY0OzmJo49RZiYqAjr2/V0a/qSSCuOh/enWiA5NP3ICa6KoA0hul7
P98wewfIKgxX4BDTFZ444I4w+8g=
=gKSC
-END PGP SIGNATURE-



Re: Failing to load, showing this 'Symbol's function definition is void: defvar-1'

2022-12-18 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Tim Cross  writes:

> Sharon Kimble  writes:
>
>> I unfortunately upgraded this morning to emacs-30.0.50, and since then I 
>> can't get into my usual emacs of 29.0.50. 
>>
>> When I'm loading emacs-29.0.50 from /usr/local/bin/ it is consistently 
>> failing to load
>> saying "Symbol's function definition is void: defvar-1".
>>
>> My init.el is this -
>> 
>> ;;; init.el --- sharon's config -*- eval: (read-only-mode 1) -*-
>> ;; Make sure that Git version of Org mode is being loaded instead of the 
>> built-in version.
>> (add-to-list 'load-path (expand-file-name 
>> "/home/boudiccas/.emacs.d/elpa/org-9.5.5"))
>> ;;;(add-to-list 'load-path (expand-file-name 
>> "/home/boudiccas/.emacs.d/elpa/org-9.6"))
>> (add-to-list 'load-path (expand-file-name 
>> "/home/boudiccas/git/org-contrib/lisp"))
>>
>> (require 'package)
>> (setq package-enable-at-startup nil)
>> (package-initialize)
>>
>>
>> (require 'ob-tangle)
>> (org-babel-load-file "/home/boudiccas/.emacs.d/config22-2.org")
>> 
>>
>> It seems to be baulking at the last 2 lines, can somebody help please?
>>
>> Thanks
>>Sharon.
>
> Emacs 30.0.50 is the bleeding edge of the development tree. It will be
> unstable by definition. The error you are getting looks like an internal
> Emacs error unrelated to org mode.
>
> I would wait a day or so and pull new sources and re-build to see if the
> issue is fixed. If not, log a bug report.
>
> If a working Emacs is critical to your activities, I would revert back
> to 28.2 or maybe 29, which is in pre-release state, so a little more
> stable than the bleeding edge dev code. Note that there is an Emacs 29
> branch, so you can checkout emacs-29 to get the most recent release
> candidate for Emacs 29.
>
> In general, org mode won't attempt to fix issues introduced in the HEAD
> soruces of Emacs as these sources tend to be in flux and issues will
> often be resolved by other non-org specific changes. Issues at this
> level tend to be a 'wait and see'. 

Thanks for replying Tim, and as you can see I'm back in emacs.

I know that building emacs isn't part of org-modes mailing list setup, but it 
looked like '(require 'ob-tangle)' was causing the problem, hence I asked the 
org-mode mailing list.
  
For the benefit of the archives these are the steps I took -
  
  
make clean
make distclean
sudo make clean
sudo make distclean
delete /home/foo/git/emacs
git clone -b master git://git.sv.gnu.org/emacs.git
cd git/emacs
git checkout origin
git checkout emacs-29
/autogen.sh
configure
make
src/emacs -Q ;;; if this works, then try loading emacs, and if that works, then 
bobs your uncle!
sudo make install
  

This is because I'd got a failed build and install, so it all needed clearing 
out before I could delete the failed emacs git download, so it needed a fresh 
download.

Anyway, I've learnt from my mistake and have documented it all just in case I 
do it again.

Thanks
  Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11.5, fluxbox 1.3.7, emacs 29.0.60, org 9.5.5 
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmOfHKMdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1ttMg//YqH3l+FBRjrZySmW
OEE4YPEqCh4vDCoRhXd9iiybpvMHCDlqk1lWlR6cEqL9Fd0487N9VCFqRNHSvbtt
2La7rsVhholHVCYGuu9EIl20ogpty8O1IQgMMySm+v7pKu1Wch1djAzLcT1bxdAX
v2BC8M6aNRimA67/cGO+xav8m7fhrtRXPXCjMTXzCp5Bb9qzvrMnt6sIU+r88+QW
W1znPB2NOHxexHoXDxJZXWXqVVlXIUOlYAFmK0hQ079z2w7tveuDlBVcLFXOYbbR
2J9a0dRbE/bSJVFDUDs7BLRZdEXOLyjy9ijdK2KBH5RfbDoO3zfqpZfbLXZlcy5R
ONhqRQvxQzV6Chkc5cYq3HLQlrmzbIU2SGZeZ4lQxPCBlCuWagtr94QTVScFNudj
ufyqtmm4zcOuFBKrQ5MSiqXfNv3XGAnNj2cgQ8M1XaPiVUl6oMQtWNWtkJ0kurZD
5UDAliqWMoefjl0T+p23VIKvwwiPdc4YCAxCi0PgvoTQGx/FxBSgecDh9a/6fZjm
XCzn7TQr90GGYA7VkNy0tUiW/8shqQBQaRmhNLQ03/ZIBxBB10IgX63xc9HK32ev
CBfRZubfjUWKJ4vRxvha149bCcg9FQy9rsCSN4OCYxXh95nUhJJlr6PD30jnnHY1
E4zflSI+cLcpB9p6l3d7Z86uvOk=
=5Wpq
-END PGP SIGNATURE-



Failing to load, showing this 'Symbol's function definition is void: defvar-1'

2022-12-17 Thread Sharon Kimble


I unfortunately upgraded this morning to emacs-30.0.50, and since then I can't 
get into my usual emacs of 29.0.50. 

When I'm loading emacs-29.0.50 from /usr/local/bin/ it is consistently failing 
to load saying "Symbol's function definition is void: defvar-1".

My init.el is this -

;;; init.el --- sharon's config -*- eval: (read-only-mode 1) -*-
;; Make sure that Git version of Org mode is being loaded instead of the 
built-in version.
(add-to-list 'load-path (expand-file-name 
"/home/boudiccas/.emacs.d/elpa/org-9.5.5"))
;;;(add-to-list 'load-path (expand-file-name 
"/home/boudiccas/.emacs.d/elpa/org-9.6"))
(add-to-list 'load-path (expand-file-name 
"/home/boudiccas/git/org-contrib/lisp"))

(require 'package)
(setq package-enable-at-startup nil)
(package-initialize)


(require 'ob-tangle)
(org-babel-load-file "/home/boudiccas/.emacs.d/config22-2.org")


It seems to be baulking at the last 2 lines, can somebody help please?

Thanks
   Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11.5, fluxbox 1.3.7, emacs 29.0.5.0, Org mode 9.5.5



Re: Multiple versions of Org in load-path problem

2022-12-09 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Tim Cross  writes:

> David Masterson  writes:
>
>> Tim Cross  writes:
>>
>>> David Masterson  writes:
>>>
 "Michel Schinz"  writes:

> Just for the record, I also ran into problems when installing Org 9.6
> using Emacs' package system on top of an older version that came with
> Emacs. If I tried to install it as usual (M-x list-packages, then
> install the package from there), I had errors during compilation related
> to `org-assert-version`, and then if I restarted Emacs, I would get a
> fatal error in an unrelated package.
>
> I managed to solve that problem by:
> 1. uninstalling Org 9.6 and exiting Emacs,
> 2. starting Emacs with -q,
> 3. installing Org 9.6 from there (using M-x list-packages as usual),
> 4. restarting Emacs.

 Interesting!  I tried this (essentially) and it worked for my case.  In
 my case, I had a built-in Org-9.3 and I was trying to use list-packages
 to install Org-9.6. I checked that using -q still added Org-9.3 to
 the
 load-path, but, since Org wasn't loaded, the install via list-packages
 worked.

 The question is what's the proper way of doing this without '-q'?

This is what is in my 'init.el' file -

=
;;; init.el --- sharon's config -*- eval: (read-only-mode 1) -*-
;; Make sure that Git version of Org mode is being loaded instead of the 
built-in version.
;;; (add-to-list 'load-path (expand-file-name 
"/home/boudiccas/.emacs.d/elpa/org-9.5.5"))
(add-to-list 'load-path (expand-file-name 
"/home/boudiccas/.emacs.d/elpa/org-9.6"))
(add-to-list 'load-path (expand-file-name 
"/home/boudiccas/git/org-contrib/lisp"))

(require 'package)
(setq package-enable-at-startup nil)
(package-initialize)

(require 'ob-tangle)
(org-babel-load-file "/home/boudiccas/.emacs.d/config22-2.org")
=

And the first thing that is loaded is org-9.6 *before* anything else! And you 
could equally have org-mode loading from a git repository on your hard drive, 
just by changing the filepath.

Super-easy without having to faff about with 'emacs -q' etc.

And as you can see I'm using org-9.6 from elpa, and I didn't move over to it 
until this morning, so far so good.  

Thanks
  Sharon.  
  
>>
>> [...]
>>
>>> I don't think there is any safe way to install an updated version of
>>> org-mode other than
>>>
>>> 1. Use the -q approach outlined above
>>
>> Thinking about it, this only works if Org is in elpa as melpa (etc.) are
>> not added to package-archives.  You'd have to do some handwritten elisp
>> out of *scratch* to setup package-archives if Org-9.6 was still coming
>> out of melpa. That's why this can only be labeled as a hack and not a
>> solution.
>>
>
> Well, yes, if your going to use this technique to load a package which
> is not in the default package archives you would need to add that
> archive first. People who use this technique often just have a
> 'update.el' file which they load/evaluate when starting Emacs with -q. 
>
>
>>> 2. Craft your init.el file such that org functionality is only loaded
>>> when explicitly requested and always update as the first action after
>>> starting emacs.
>>
>> In this case, something happened in package-install when trying to
>> install Org-9.6 with a built-in Org-9.3.  During the compilation check
>> (.el -> .elc) many files failed because the new 'org-assert-version'
>> macro was not defined.  Sort of like, after package-install started
>> working on Org-9.6, org-macs.el (where org-assert-version should be) got
>> loaded *before* the new load-path had been set causing it to load the
>> old one from 9.3.  Thereafter, everything went awry. 
>>
>
> You must have some custom code in your init.el or are using something
> like use-package as package.el doesn't try to install or upgrade
> packages during init by default.
>
> Where people can come undone is when they are using use-package and set
> the :ensure t option. In this case, use-package will not know about the
> bundled version and will attempt to install org from ELPA. If use
> package runs after org has already been loaded (possibly because some
> other package has been loaded which depends on/requires org mode and has
> loaded the bundled version) then things will break because you will end
> up with a mixed version install. This is why I always ensure org is the very
> first use-package in my init.el and it comes before any other code which
> loads or initialises anything.  
>
>>> The first approach is actually the easiest. The second is hard to get
>>> right and very fragile because packages like use-package and more
>>> specifically, other packages with leverage off org functionality, make it
>>> impossible to reliably know exactly when org is loaded.
>>
>> Using ':after" in use-package is supposed to help that, but I'm not sure
>> it is reliable.  Packages are often incomplete about what other packages
>> it depends on.
>>
>
> You cannot rely on :aft

Re: [BUG] org-element-cache [9.5.4 (release_9.5.4-766-gf3f60e @ /home/boudiccas/git/org-mode/lisp/)]

2022-09-04 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Ihor Radchenko  writes:

> Sharon Kimble  writes:
>
>>> Can you please check if you are using some third-party package that are
>>> modifying the buffer on save?
>>
>> I've found this, but I don't know if this is what you're meaning?
>>
>> ===
>> #+BEGIN_SRC emacs-lisp
>> (defun force-backup-of-buffer ()
>>   (setq buffer-backed-up nil))
>>
>> (add-hook 'before-save-hook  'force-backup-of-buffer)
>> #+END_SRC
>> [2017-02-07 Tue 05:46]
>> http://stackoverflow.com/questions/6916529/how-can-i-make-emacs-backup-every-time-i-save
>> http://www.tonyballantyne.com/EmacsWritingTips.html
>> === 
>>
>> If this isn't the cause of the problem, can you give me any hints as to what 
>> I should be looking for please?
>
> This should not be culprit.
>
> You can then try:
> 1. Run clean Emacs version by running "make repro" from Org repository
>and try to reproduce the issue.

This created a new instance of emacs, which showed this in its '*compile-log*' -

=== 
lisp/org-macs.el: Warning: ‘buffer-string’ is an obsolete generalized
variable.
lisp/org-macs.el: Warning: ‘buffer-string’ is an obsolete generalized
variable.
lisp/org.el: Warning: ‘buffer-substring’ is an obsolete generalized variable.
===

and also -

===
For information about GNU Emacs and the GNU system, type C-h C-a.
Org mode version 9.5.5 (release_9.5.5-756-g1f1d8f.dirty @ 
/home/boudiccas/git/org-mode/lisp/)
Mark set
Beginning of buffer [4 times]
===


> 2. If you cannot reproduce, you can try to bisect your config using
>https://github.com/Malabarba/elisp-bug-hunter
>Also, see
>https://open.tube/videos/watch/4d819114-43bf-42df-af94-f94fc53dd0d9

I used 'bug-hunter-file' on my main config and also my init file and it found 
no problems with either.

Thanks
Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11.4, fluxbox 1.3.7, emacs 29.0.50, org 9.5.4 
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmMU1rYdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1vSPRAAyisgGvRcY5ZBlcoT
LoWJuDokqKcBxlqwHBoWgWg3XIdXAJY09UiCfrna/i8L5Tz+zLyXVF8qnUoeEnpJ
6Cnq9xrpp+Heigl2tISCSCjUiO67D79IkPkIp0/WRpH7rV7lt1oxg77h+Ynx3Yjl
TtvaN2qpjBC1W3PLElPeupbaofRTXI08BwaL1IQ5R6hduWI4Oq1TpwLKj7vTW7l4
wvuTHedfsJH/rE5b3Rc9T8mVjLZ9HQmtKx4pUkLwR8z923SSeuO4ZgqqPWJOui+U
i5EKifJLTmR8Q3ocVLVRmspCNL/VdUta3/8YUCV4qIVQQjdAFoiDyaabZP3GesbO
JKMzyufOpgwoPcdcFjYWPJaD4pn7beUo3wT55g+pxCb16KvVOtAMO8+91ZXeldgV
ANmmgckf0zgjJtpDRezsTBaQMm0pc2PgNEQs1Y56Ae8Y9Iq52UNqiWv7Q6OOPMee
jUSL6DnwfozGRNyl0IrrlJAph6jg/LNsG4tdIR/kFJJCJKd+Oosjslmds0YuXRBC
pSip6nxcOPoMKfcMpI1vnAEJpqpl81MkUhMvWzhshmAS+MUQd9LqZ9EpdzXX8xm/
v+G6/4kck1BG0XD0xR+I+xnKRPx55eOwGGe/AjkO3R1JJU/X/pqMzvYnCEnBRDNa
PGe9rdM9gJIaEGKOs5fpVFhPncA=
=pNpZ
-END PGP SIGNATURE-



Re: [BUG] org-element-cache [9.5.4 (release_9.5.4-766-gf3f60e @ /home/boudiccas/git/org-mode/lisp/)]

2022-09-04 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Ihor Radchenko  writes:

> Sharon Kimble  writes:
>
>>> Could you please add
>>>
>>> (setq org-element--cache-self-verify 'backtrace
>>>   org-element--cache-self-verify-frequency 1.0)
>>>
>>> to your config and then try to reproduce the issue.
>>> Then, report the backtrace.
>>
>> As follows but rather long I'm afraid.
>
> Thanks! It is supposed to be that long. 
>
> From the logs, I can see that you have some kind of hook that is running
> before saving(?) buffer. That hook is doing something under
> (with-silent-modifications ...) and hence Org caching code is missing
> some buffer modifications.
>
> Can you please check if you are using some third-party package that are
> modifying the buffer on save?

I've found this, but I don't know if this is what you're meaning?

===
#+BEGIN_SRC emacs-lisp
(defun force-backup-of-buffer ()
  (setq buffer-backed-up nil))

(add-hook 'before-save-hook  'force-backup-of-buffer)
#+END_SRC
[2017-02-07 Tue 05:46]
http://stackoverflow.com/questions/6916529/how-can-i-make-emacs-backup-every-time-i-save
http://www.tonyballantyne.com/EmacsWritingTips.html
=== 

If this isn't the cause of the problem, can you give me any hints as to what I 
should be looking for please?

Thanks
Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11.4, fluxbox 1.3.7, emacs 29.0.50, org 9.5.4 
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmMUxnIdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1u9rxAAk2QOc9VjGWwAugYU
P0/ijtTptWk/Ij8wJdfzB+8Gs3nOtn9d8OsuhCYSjRJToDKxAFtxg079RW0AiJDJ
RErThMc9aC8EuEiBpP/0iDeAYOYDDFKFSAx6aS6kUIqQNGeu82/2+13hhM+aMq1f
+dQXP+Dc1CXkbotwr9aD4J5SfJnm3yol+1J0h10ayCG4+e6lZHrCv+/ziy2Z9oqq
LNAImZMNmm52Hd7pW89g0XfXERVxq8wm3o3mYXMP0W/qiTzG64Muy9EtN5MjG27Y
6Lixdjx3K8oEoC1gRjuKpu9BxfmjmXUqRgwL+7Tary9Fiul0odfykpJDyNGLQPrE
qML9YGaFrwrEOJAWE2WpRUFjza38W7tmIiKHOZfwRQGnvpZzuU4910wJff5S+o5l
EymGBnkoTHnMYgwH8q+cAGdJ5Sxn0drmuWExPlTrjpdd+KSM8Ni3jKBieDXhbzO4
JsOhjIlVO0H1qFxHGS81v2d5OoDYCYDq58AEwGaE/AfBd6q1sQ2zqY9FxUXpS0fy
mRSjjspfdzDjpoHbTO4C7DQl0msTC51OeNsca3gkovlJJ7YNDUYvU/l8NaNOsBLi
nKQon2rry0owuM2PLaWg1DGF+HFnmVu7HiIwrhKCENzFWhT9IoSzJ2QBMhMbzFCu
EFEhRNQRElfIuYH0FqvFZR1IGgo=
=223J
-END PGP SIGNATURE-



[BUG] org-element-cache [9.5.4 (release_9.5.4-766-gf3f60e @ /home/boudiccas/git/org-mode/lisp/)]

2022-09-04 Thread Sharon Kimble
007 :robust-end 723057 :level 4 :priority nil :tags nil :todo-keyword nil 
:todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp 
nil :post-affiliated 721959 :title \"How Do You Identify A Central Conflict?\" 
:mode nil :granularity element :org-element--cache-sync-key (847 . 721959) 
:cached t :parent (headline ...)"
 The parent is: "(headline (:raw-value \"How Do You Identify A Central 
Conflict?\" :begin 721959 :end 723060 :pre-blank 0 :contents-begin 722005 
:contents-end 723059 :robust-begin 722007 :robust-end 723057 :level 4 :priority 
nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 
:footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 721959 
:title \"How Do You Identify A Central Conflict?\" :mode nil :granularity 
element :org-element--cache-sync-key (847 . 721959) :cached t :parent (headline 
(:raw-value \"Frequently Asked Questions\" :begin 721509 :end 723060 :pre-blank 
0 :contents-begin 721541 :contents-end 723059 :robust-begin 721543 :robust-end 
723057 :level 3 :priority nil :tags nil :todo-keyword nil :todo-type nil 
:post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil 
:post-affiliated 721509 :title (#(\"Frequently Asked Questions\" 0 26 ...)) 
:parent (headline ...) :cached t :org-element--cache-sync-key (848 . 
721509)"
 The real parent is: "(headline (:raw-value \"Frequently Asked Questions\" 
:begin 721509 :end 723060 :pre-blank 0 :contents-begin 721541 :contents-end 
723059 :robust-begin 721543 :robust-end 723057 :level 3 :priority nil :tags nil 
:todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil 
:archivedp nil :commentedp nil :post-affiliated 721509 :title (#(\"Frequently 
Asked Questions\" 0 26 (:parent #0))) :mode nil :granularity nil))"
 ■  Warning (org-element-cache): org-element--cache: Cached element has wrong 
parent in jwm-1.org. Resetting.
If this warning appears regularly, please report the warning text to Org mode 
mailing list (M-x org-submit-bug-report).
The element is: "(headline (:raw-value \"Learn Your Craft.\" :begin 1082885 
:end 1083425 :pre-blank 0 :contents-begin 1082908 :contents-end 1083424 
:robust-begin 1082910 :robust-end 1083422 :level 4 :priority nil :tags nil 
:todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil 
:archivedp nil :commentedp nil :post-affiliated 1082885 :title \"Learn Your 
Craft.\" :mode nil :granularity element :cached t :parent (headline (:raw-value 
\"Get Your Rights Right\" :begin 1082660 :end 1083699 :pre-blank 0 
:contents-begin 1082686 :contents-end 1083698 :robust-begin 1082688 :robust-end 
1083696 :level 3 :priority nil :tags nil :todo-keyword nil :todo-type nil 
:post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil 
:post-affiliated 1082660 :title (#(\"Get Your Rights Right\" 0 21 ...)) :parent 
(headline ...) :cached t :org-element--cache-sync-key (4122 . 1001534)"
 The parent is: "(headline (:raw-value \"Get Your Rights Right\" :begin 1082660 
:end 1083699 :pre-blank 0 :contents-begin 1082686 :contents-end 1083698 
:robust-begin 1082688 :robust-end 1083696 :level 3 :priority nil :tags nil 
:todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil 
:archivedp nil :commentedp nil :post-affiliated 1082660 :title (#(\"Get Your 
Rights Right\" 0 21 (:parent ...))) :parent (headline (:raw-value \"Book 
Translation Rights: Everything You Need To Know\" :begin 1065423 :end 1085777 
:pre-blank 0 :contents-begin 1065479 :contents-end 1085776 :robust-begin 
1065481 :robust-end 1085774 :level 2 :priority nil :tags nil :todo-keyword nil 
:todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp 
nil :post-affiliated 1065423 :title \"Book Translation Rights: Everything You 
Need To Know\" :mode nil :granularity element :org-element--cache-sync-key 
(4122 . 984297) :cached t :parent (headline ...))) :cached t 
:org-element--cache-sync-key (4122 . 1001534)))"
 The real parent is: "(headline (:raw-value \"How I Got A Publishing Deal: 
Philippa East\" :begin 1076494 :end 1084725 :pre-blank 0 :contents-begin 
1076540 :contents-end 1084724 :robust-begin 1076542 :robust-end 1084722 :level 2
 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 
:footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 1076494 
:title (#(\"How I Got A Publishing Deal: Philippa East\" 0 42 (:parent #0)))
 :mode nil :granularity nil))"
===

Thanks
Sharon Kimble.

Emacs  : GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, 
cairo version 1.16.0)
 of 2022-08-28
Package: Org mode version 9.5.4 (release_9.5.4-766-gf3f60e @ 
/home/boudiccas/git/org-mode/lisp/)



Re: Selection owner couldn’t convert: STRING

2022-08-28 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Ihor Radchenko  writes:

> Sharon Kimble  writes:
>
>> I've found a problem with Imenu and org-mode, and the error report says -
>>
>> =
>> Selection owner couldn’t convert: STRING
>> Error in menu-bar-update-hook (imenu-update-menubar): (wrong-type-argument 
>> char-or-string-p nil)
>> =
>
> Are you able to reproduce starting from emacs -Q?
> See https://orgmode.org/manual/Feedback.html

No, the problem doesn't occur when using 'emacs -Q -l 
/home/boudiccas/.emacs.d/minimal-org.el'.

>
>> And its locking all of the menu-bar up such that nothing on it can be used!
>>
>> I've rebuilt emacs twice, which also included deleting my git repo of it, 
>> and re-downloading emacs from git and rebuilding. But its made no 
>> difference!
>
> Does it mean that you are using Emacs 29 (master branch)? Does the same
> problem appear in Emacs 28?

The problem seems to only occur when using the master branch.

>
>> I've also re-downloading org-mode and rebuilt it, still with no solution!
>
> Are you using main branch? bugfix? ELPA version?

Org mode version 9.5.4 (release_9.5.4-763-g06373a @ 
/home/boudiccas/git/org-mode/lisp/)

I don't know how to show the org-version as per the line above in my signature, 
can anyone advise please?

Thanks
Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11.4, fluxbox 1.3.7, emacs 29.0.50, org 9.5.4 
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmMLboIdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1uZjA/+OU/rOtfgcTD+OEJd
DHUVIgGTqGn1WrYM0wqXa/8pR26xuhWjklJrs7lr6FMaPEJc3cS7Tyy+xbt+B/wP
uMIVjwNaMS218sgqP0mLanCk/XFGRIly0OV4akHTp/GjeOxbbeXGwwQwrVFEl5Og
4+ld11z5p7Qxxx0Nf6pl4krjPSsONRqUoxiBOxeflQIJhRA7xek3MIMWzJ0/szQE
f6xu58B483I/VAYtBzOOLAyZOWDeOSu+NKv+lOALAJuFgCp7oCpjWXX22vEmu33b
Z1ODiezSXKCjuvfZmUw5Qvul1xlmocIihse7DgW6OM0EY8kiWRVijyc5ENg0IUNa
xmyJRgrjgBZ5n057BK6DFtqd/Ew/ZjgBEwAiLe2U7oI4IK2At1JaP6A/PFCoMKhY
yHtcshSRtdFLo1lYJ60dCsvU3A8QEBjfVDbvi+ABBfvfE2HQCWWLMP+uxISCkpwk
EdpDGxws8lRlNp/mtaPK0jisSgxZ5XDqwfHphaFsqJDBDeG1sMrnI4cxyLF+4iWR
dwLr7VeqqoBcBPFjqDSHw/bhe8BdRcWFQbNDbB6oxA8te/NP4ZGKWEv4qh7Y8xUv
KsG7VGVO627Guol1+y4N02lrIJ+yC6KAqZTQgPQFxXFWPfK7eSor/tSgEvvRGkE7
Iv8joI29RzWrBUJ456sFPIFrD5Y=
=o6xX
-END PGP SIGNATURE-



Selection owner couldn’t convert: STRING

2022-08-27 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512


I've found a problem with Imenu and org-mode, and the error report says -

=
Selection owner couldn’t convert: STRING
Error in menu-bar-update-hook (imenu-update-menubar): (wrong-type-argument 
char-or-string-p nil)
=

And its locking all of the menu-bar up such that nothing on it can be used!

I've rebuilt emacs twice, which also included deleting my git repo of it, and 
re-downloading emacs from git and rebuilding. But its made no difference!   
 

I've also re-downloading org-mode and rebuilt it, still with no solution!

My Imenu configuration hasn't changed since January 2021, so please, how can I 
get Imenu working properly again?

(I'm sending this to the org-mode mailing list because the problem only occurs 
in org-mode.)

Thanks
Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11.4, fluxbox 1.3.7, emacs 29.0.50, org 9.5.4 
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmMKEbEdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1v8lA/7Bbx2+nYCyZHO520H
gx01ZbIp5K/LsMNrxqH29k3TWCBLiBTqYIzrtUP2hr6HFj+a0rnYGWrfRs05kEi5
t2vCroDX4To3LevTZk0owVL7LUcLf4BhtPhVGrnS4njtkuGNwI6BCv8pqdICjnSC
5WVI3I8pCu+EBHFrQdVDvDPFgaZBPflgr/3BN7eiM8mb4LFBbWEuPm4DEiLWynlU
XaFc3Jbq1z4+ofuJYq7QESlmzEoYxzh+/8VMZ5nT6WDT7U/Nxt/Jx8sl67HdIpFJ
j8RAlyjZZ6ub56+GsPzOSV+LQ4dlcc3kwfPrtJkp/hculpVGXolHiEnqEVxySk0c
b69unbZ5wYZQMKkBuRrYKQdWDs8UnWEwhuqBOskr/qWTzKGsErO5uZyw24Z2mo5B
/AbN4FcU0mWsCKXWCeFcqi4Rq5l37aTsyryp+tMAtLrRHtKu5gKrWNeR+zmg87Xh
wd6hyiD3k3yh6Cqd4D6vjn7osJZYXnHDHDGP2x9q52jbqxWcr+O4FDLUfW4l2ZgA
ukQT4dAgtn3aNsXOu5SAMOaXyY1SVZweSgT/PQg03SGtTdPr59v8S4UpVWXzf5ME
umJ09V/XBjXUZmf04UsKs8e7UzfsaGmuDPzJPxa0u3dfueI0CCbH6tWgvKl3/XW3
vlARRULFDadZh+3mbXSZJrcm0cM=
=yXvu
-END PGP SIGNATURE-



[SOLVED] Re: ?bug in org-fold-core

2022-08-05 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Ihor Radchenko  writes:

> Sharon Kimble  writes:
>
>>> I am not sure if I understand what you mean. Can you explain in more 
>>> details?
>>
>> Sure. This is one entry where 'org-lint' shows as '533 Link to non-existent 
>> local file ":~/path/to/directory/"'
>>
>> =
>> *** dired
>> # [[file+emacs:~/path/to/directory/]] ;;; opens dired at that directory
>> [[file::~/path/to/directory/]] ;;; opens dired at that directory
>> =
>>
>> This is the full org-lint for my 'instructions.org' file -
>>
>> =
>>533 low   Link to non-existent local file ":~/path/to/directory/"
>
> This is nothing wrong on Org side. Just an indication for you that you
> have issues with Org markup in your Org file. I suggest fixing them, for
> your own safety - Org may behave incorrectly on incorrect Org documents.
>
>>>> Is it possible for it to have a file-only way of reverting to the old way 
>>>> of 'file-local variables' please? As it currently stands, no org-headings 
>>>> are
>>>> shown in the colours that other org-files are showing them, and its 
>>>> giving the appearance of org-mode not reading and displaying it!
>>>
>>> If you have no fontification, please update Org. This issue has been
>>> fixed in a yesterday's commit.
>>>
>> 
>> I'm now running using 'Org mode version 9.5.4 (release_9.5.4-706-g4702a7 @ 
>> /home/boudiccas/git/org-mode/lisp/)'. Is this the most recent version 
>> please? Git pull says that its up-to-date.
>
> This is some very strange Org version - we have no commit 4702a7. I
> suggest removing your local copy and re-fetch Org from our official
> repo. See https://orgmode.org/
>
>> I'm not sure what you mean by 'no fontification'? The instructions file has 
>> the usual org-headings, and the occasional drawer. Can you elucidate please?
>
> I probably misunderstood you. I do not understand what you mean by
>
>>>> ... no org-headings are shown in the colours that other org-files
>>>> are showing them, and its giving the appearance of org-mode not
>>>> reading and displaying it!"
>

Thanks Ihor, the reversion of the local variables change has worked through its 
pipelines and I can confirm that 'Org mode version 9.5.4 
(release_9.5.4-707-g215de6 @
/home/boudiccas/git/org-mode/lisp/)' now works perfectly and my file that I 
was having problems with is now back to working as before, with no problems. 
Although I do intend to sort out the
problems shown in org-lint, in due course.

Thanks
Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11, fluxbox 1.3.7, emacs 29.0.50, org 9.5.4
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmLtCOcdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1tTXhAAqj5evrfY2H6iwXRu
TTpFLnSzVMcuCprxFuXY5ozKyFJ17YrN1BSoA9/DOznVedg5/aikr3HtzTBkkOfB
muFN1+c4rqgb5qwvCdhNQmcWKbJeWsxcfFHkq+56a6u/vcjpgyxg+q8jTJDuMDZx
y0WhPeXO535zZ9omXsfyeAHfud+sZvZtF/rBAJtLUxLzN8o4irKH9u8iieZbI55n
+nSIn9XRNjMwrvpHpHbAfXavcRSEALtix+mDrvCMgfMfDntexahvbfkdJ+avT2C/
iAIysxC0T6ObelU6r8pbncj5fyib5hwuGXF/7FjKe0epniBE4h+F9ev6NF2FbyNK
9y/jkPSSCwZ0x5uBAMVhcrr2FPhS/P6SpMqQFpdcOjuWo/lVWqSsJg4MOJWtug7C
NhvbPE5sz1im5pXTreamjL47chU4QXjiU1DBCYL9u0c34woLKn8HFGhY3dpDt1sI
aYbAouY/mjCw6Bcnq5LeAlo8SYXqC9o4NUXr6tIjPjrtv7GSqgdHcK+/OWfVI8/v
eMDkTPcpPGFZsSXyGxOLC8yoPwvSu6oE3yPYJ14n/FYD5FBNVHjXtK1qX6g05atc
ltaSYM0f8FGmN3TaMftq5N+1HOPuA5z3RK9NAHq0yOBgrkAvCVCiy8zS4w04tlMk
HFdcQFl5ZhS/LuuEq+Yw3zDdpSw=
=WJWv
-END PGP SIGNATURE-



Re: ?bug in org-fold-core

2022-08-04 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Ihor Radchenko  writes:

> Sharon Kimble  writes:
>
>> I now have this showing in my 'instructions.org'
>> =
>> # -*- coding: utf-8; mode: org -*-
>> #+STARTUP: show2levels
>>
>> # #+STARTUP: overview 
>> =
>>
>> This file seems to be showing most of the problems, and looking at it in 
>> 'org-lint' there are many problems. But this file is just some problems that 
>> I've found and their solutions, so it shows the wrong way
>> to do something and then the correct way.
>
> I am not sure if I understand what you mean. Can you explain in more details?

Sure. This is one entry where 'org-lint' shows as '533 Link to non-existent 
local file ":~/path/to/directory/"'

=
*** dired
# [[file+emacs:~/path/to/directory/]] ;;; opens dired at that directory
[[file::~/path/to/directory/]] ;;; opens dired at that directory
=

This is the full org-lint for my 'instructions.org' file -

=
   533 low   Link to non-existent local file ":~/path/to/directory/"
  3736 low   Possible incomplete block "#+BEGIN_SRC bash -n   ;; then put in 
code which will have line numbering done automatically, and end with"
  3737 low   Invalid block closing line "#+END_SRC ;; use '>
 14597 nil   Duplicate target <>
 14631 nil   Duplicate target <http://www.cesar.umd.edu/cesar/drugs/cocaine.asp)>>
 14636 nil   Duplicate target <http://www.thegooddrugsguide.com/cocaine/drugtests.htm)>>
 14644 nil   Duplicate target <http://www.thegooddrugsguide.com/cocaine/drugtests.htm)>>
 14652 nil   Duplicate target <http://www.cesar.umd.edu/cesar/drugs/cocaine.asp)>>
 14893 nil   Unknown fuzzy location " $(uname) == 'Darwin' "
 14905 nil   Unknown fuzzy location " -f "$venv/bin/activate" && -z 
"$VIRTUAL_ENV" "
 14929 nil   Unknown fuzzy location " $2 =~ $re "
=


>
>> Is it possible for it to have a file-only way of reverting to the old way of 
>> 'file-local variables' please? As it currently stands, no org-headings are
>> shown in the colours that other org-files are showing them, and its 
>> giving the appearance of org-mode not reading and displaying it!
>
> If you have no fontification, please update Org. This issue has been
> fixed in a yesterday's commit.
>

I'm now running using 'Org mode version 9.5.4 (release_9.5.4-706-g4702a7 @ 
/home/boudiccas/git/org-mode/lisp/)'. Is this the most recent version please? 
Git pull says that its up-to-date.

I'm not sure what you mean by 'no fontification'? The instructions file has the 
usual org-headings, and the occasional drawer. Can you elucidate please?

Thanks
Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11, fluxbox 1.3.7, emacs 29.0.50, org 9.5.4
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmLromkdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1uNYw//Yw1j9FtpRzQDKd/p
zseXcqZqfsQi6QeOHjtcpV9Mg2lNOa1kU0Ox/AJLS+4GCra3n/wOEJSyrqpHeNBA
TokS4J4FPowazROxCrlWU/PxSUN7y2MMOK++o3K6X6UG/l+m2xcZ0OqTsbQAxKgS
bEwQnvRr7kdD7FNMVtX18WUWjOvL+Ko2o7YylmlmR5W6q7z+J8dIapb7q2wYiD4u
7VQh9SdBQ4MY8rrOVJEhLqQY0hWXyr84fO2mE/jM8KLwQCdQN3fLw8E7d5Gc8gSV
BFMEltCAG5Go0/xxuJyuGZpNjw0Eeyib+J8DhocRoqQ3PIX/cNRIDOu2xe3QjO5A
eH2eDcSDegUvQvzY2CKOrLhfFiNkT3jdz6qnn8mM7j4aqtJc/xqjCIHp5xu37jcn
8EJ3M20rlA6g5lAYi6GeceUhYgqRoJeMZL9SLKODmsZU+zAwFzC7aW11YgCq8S5A
Iq4X1oOBX4Xx58Mzw/m8fRSsnh3wu1rWEgwqrLF0xdY6ctXFO8JKiSsMJ2iD535X
geLVFQV0bOW8YI0WO8WxwpML5jOD4zCl7KnxCk2kqRQmiVm/7vy4pHi87K61kyfp
caASYq96bedKQjdVyzGpf7wtfzMqSO4nQI7d6lh9K7oc9maIxplb7tDP8SQinRBe
OCi1dgS21t2aEEoCCAwS0Hlhbh0=
=uq5L
-END PGP SIGNATURE-



Re: ?bug in org-fold-core

2022-08-04 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Ihor Radchenko  writes:

> Sharon Kimble  writes:
>
>> I've just updated to 'Org mode version 9.5.4 (release_9.5.4-706-g4702a7 @ 
>> /home/boudiccas/git/org-mode/lisp/)' and I'm getting this error report from 
>> org-fold-core (I think) -
>>
>> =
>> Debugger entered--Lisp error: (error "Calling ‘org-fold-core-region’ with 
>> missing SPEC")
>>   signal(error ("Calling ‘org-fold-core-region’ with missing SPEC"))
>>   error("Calling `org-fold-core-region' with missing SPEC")
>>   org-fold-core-region(652018 652093 t outline)
>>   org-cycle-content--text-properties(2)
>>   org-content(2)
>>   eval((org-content 2) t)
>>   #f(compiled-function (var val) "Set local variable VAR with value VAL.\nIf 
>> VAR is `mode', call `VAL-mode' as a function unless it's\nalready the major 
>> mode." #)(eval (org-content 2))
>>   apply(#f(compiled-function (var val) "Set local variable VAR with value 
>> VAL.\nIf VAR is `mode', call `VAL-mode' as a function unless it's\nalready 
>> the major mode." #) (eval (org-content 2)))
>>   hack-one-local-variable(eval (org-content 2))
>>   hack-local-variables-apply()
>>   hack-local-variables(ignore-mode-settings)
>>   org-mode()
>
> This is not a bug. This is a changed behaviour of file-local variables.
> Now, they are loaded early before most of the Org setup is done in the
> buffer; before folding is configured. Hence, the error.
>
> Note that a proper setting of startup visibility should be done via
> #+startup keyword:
>
> #+STARTUP: show2levels
>
Thanks for replying.

I now have this showing in my 'instructions.org'
=
# -*- coding: utf-8; mode: org -*-
#+STARTUP: show2levels

# #+STARTUP: overview 
=

This file seems to be showing most of the problems, and looking at it in 
'org-lint' there are many problems. But this file is just some problems that 
I've found and their solutions, so it shows the wrong way
to do something and then the correct way. Is it possible for it to have a 
file-only way of reverting to the old way of 'file-local variables' please? As 
it currently stands, no org-headings are
shown in the colours that other org-files are showing them, and its giving 
the appearance of org-mode not reading and displaying it!

Thanks
Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11, fluxbox 1.3.7, emacs 29.0.50, org 9.5.4
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmLrk6kdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1sVEg/+P8SaFo8ahnpmiaIX
5Ckv5gS8KFIQOPE3cEX0pHs5d9RTHPJiHhGQ2CodgnqhAExU0ppvK3z4uIkmw6ln
YJoHhd/eLWAt2BpnktJ6TDHDIohdtG8ih8U1re5DqZMASSTPRBgsKhvadYMGHCU3
q5nYgfd26A0TB3i6qRgVPrlaUzGfMTM4TozI0KnuAoOa8IDh7dSRHMusZDsjNpuN
Z8TJN79rXxAkz6lSL5C1cgkykJqm1nG7zPdq09tdPIwuartBrnPsrHmAA6EFDOv2
hYpSh91AORaAV8/sSffyy7IX58DWDL6AQ+HBvWGtuR5f3xLV4mP3MnP3YF44DpTr
HeTdZt4KjPlpZSqcuv36Zko9k2idX1BNWHZCc0e7ZpTAGVP0j+s7qqycejrerZfR
R8L07O4uJ1sSZJJ8tupp9NnQMVpznvF5xxjfq7uG8pbIvM7eKbqpbJWMzea8949P
YM2zxcLa08fk6SeV27riK0Bm4R37ERuaPfZefFyxxsIWD4xH4elQqDQSvxQr7TZl
bv3R9Jm72jM+tEcWzh4dr1re/lErpvKJuWiTcuf5TtUwujY7wOIBSH8oPDxReeWE
GMMrybHjO7dk5TArCMkSGfYrDvgW6M8MB2BFeMeqJxZa8WJFnRkq3/Va1FQkLhGt
eDJF7uaJkx9e2t+OmcWxsI9MT5U=
=4yAA
-END PGP SIGNATURE-



?bug in org-fold-core

2022-08-04 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

I've just updated to 'Org mode version 9.5.4 (release_9.5.4-706-g4702a7 @ 
/home/boudiccas/git/org-mode/lisp/)' and I'm getting this error report from 
org-fold-core (I think) -

=
Debugger entered--Lisp error: (error "Calling ‘org-fold-core-region’ with 
missing SPEC")
  signal(error ("Calling ‘org-fold-core-region’ with missing SPEC"))
  error("Calling `org-fold-core-region' with missing SPEC")
  org-fold-core-region(652018 652093 t outline)
  org-cycle-content--text-properties(2)
  org-content(2)
  eval((org-content 2) t)
  #f(compiled-function (var val) "Set local variable VAR with value VAL.\nIf 
VAR is `mode', call `VAL-mode' as a function unless it's\nalready the major 
mode." #)(eval (org-content 2))
  apply(#f(compiled-function (var val) "Set local variable VAR with value 
VAL.\nIf VAR is `mode', call `VAL-mode' as a function unless it's\nalready the 
major mode." #) (eval (org-content 2)))
  hack-one-local-variable(eval (org-content 2))
  hack-local-variables-apply()
  hack-local-variables(ignore-mode-settings)
  org-mode()
  set-auto-mode-0(org-mode nil)
  set-auto-mode()
  normal-mode(t)
  after-find-file(nil t)
  find-file-noselect-1(# 
"~/.emacs.d/org/instructions.org" nil nil "~/.emacs.d/org/instructions.org" 
(34277755 2068))
  find-file-noselect("/home/boudiccas/.emacs.d/org/instructions.org")
  desktop-restore-file-buffer("/home/boudiccas/.emacs.d/org/instructions.org" 
"instructions.org" nil)
  byte-code("\10\11\236A\206\10\0\305\n\13\f#\207" [desktop-buffer-major-mode 
desktop-buffer-mode-handlers desktop-buffer-file-name desktop-buffer-name 
desktop-buffer-misc desktop-restore-file-buffer] 4)
  desktop-create-buffer(206 "/home/boudiccas/.emacs.d/org/instructions.org" 
"instructions.org" org-mode (auto-fill-mode abbrev-mode visual-line-mode 
override-global-mode anzu-mode auto-complete-mode TeX-PDF-mode 
highlight-symbol-mode global-auto-revert-mode org-indent-mode flyspell-mode 
yas-minor-mode undo-tree-mode hi-lock-mode guide-key-mode hungry-delete-mode 
which-key-mode flx-ido-mode ivy-mode wrap-region-mode google-this-mode 
org-autolist-mode project-persist-mode super-save-mode ivy-explorer-mode 
counsel-mode auto-capitalize) 13221 (13959 nil) nil nil ((indent-tabs-mode) 
(buffer-display-time 25316 54568 39118 551000) (buffer-file-coding-system . 
utf-8-unix) (truncate-lines)))
  eval-buffer(# nil 
"/home/boudiccas/.emacs.d/desktop/emacs.desktop" nil t)  ; Reading at buffer 
position 24870
  load-with-code-conversion("/home/boudiccas/.emacs.d/desktop/emacs.desktop" 
"/home/boudiccas/.emacs.d/desktop/emacs.desktop" t t)
  load("/home/boudiccas/.emacs.d/desktop/emacs.desktop" t t t)
  desktop-read()
  eval-buffer(# nil 
"/home/boudiccas/.emacs.d/config22.el" nil t)  ; Reading at buffer position 
478700
  load-with-code-conversion("/home/boudiccas/.emacs.d/config22.el" 
"/home/boudiccas/.emacs.d/config22.el" nil nil)
  load("/home/boudiccas/.emacs.d/config22.el" nil nil t)
  load-file("~/.emacs.d/config22.el")
  org-babel-load-file("~/.emacs.d/config22.org")
  eval-buffer(# nil "/home/boudiccas/.emacs.d/init.el" nil t)  
; Reading at buffer position 471
  load-with-code-conversion("/home/boudiccas/.emacs.d/init.el" 
"/home/boudiccas/.emacs.d/init.el" t t)
  load("/home/boudiccas/.emacs.d/init" noerror nomessage)
  startup--load-user-init-file(#f(compiled-function () #) #f(compiled-function () #) 
t)
  command-line()
  normal-top-level()
=

I've attempted to run bug-hunter-file against it, and its says that there are 
no problems with it, so I'm puzzled as to what's going on?

Is it a bug against org-fold-core, or something in my file, please?

Thanks
Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11, fluxbox 1.3.7, emacs 29.0.50, org 9.5.4
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmLrfdQdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1vsXg/9ENnsH0lYkYud0xkG
xnPVO8tvhky02beb0vXU8EEnEdz9Kl0xOnh8Jl0x7/Jfc4MG4dWjfEXSq2Axd4Pp
g83CH76gOYZvd+93X8RbzyoSr6QFtfH76o5i/RMh71LD9C1OpBKYasYuGjsKhyQy
lRBnYDL0UCGGbnm4OVI3iHUDhtPZBd248lRfTzDSpSW4Pn1RzjexTgRuyXwa7s01
Nqd/9u1/ihyZaxkRAuUA8eR2tpFSP/AyHdtf8U/7cy5afBhNj+mgrT3G8s1NjPAM
3ChowAt9ZgxVmQaTrxbSVHsh0HONJuOZtUARCJoOu7HAyb5imTSG5XqSZbALD6yF
OmrfA5c8VywXw738oiYCc3el8AvC3gVI6lrLDcQWGy7GFVUV+t7PjSf3MixeWY7p
9wLlthpMl3g6mL9On7+cZx4HTdeu+032PpsvaPdjvQLC3btnDBi3qf+/b/ym6bOs
mjI/T4YilYTbZQYSPILPX94j4MDWrb6U4N5iWbLFrZjAqsURJiIi5OG99nsRfcau
pY8bJDfJWDs9C5UrdYvMQxj0L2z0dAfmaufFi6thuhf5bG64QvE/37UwihxYczT8
YsXI7H2GtjIxzKQBLYy1NJRTI8l7b0NaoP8oa/P9jAT3ZLcn5EcUIiX3fgYUiDjW
ckOssPZPNISplNF3IARIOEAhfrs=
=O87p
-END PGP SIGNATURE-



[SOLVED] Re: Something has happened such that I can't export to latex

2022-07-30 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Ihor Radchenko  writes:

> Sharon Kimble  writes:
>
>> foo$ git pull
>> - From https://git.savannah.gnu.org/git/emacs/org-mode
>>5be0c709b3..d37c0ee5fa  main   -> origin/main
>> Updating 5be0c709b3..d37c0ee5fa
>> Fast-forward
>>  lisp/org.el  | 2 +-
>>  lisp/ox-latex.el | 7 +--
>>  mk/org-fixup.el  | 2 +-
>>  3 files changed, 7 insertions(+), 4 deletions(-)
>> 
>> foo$ make autoloads
>
> Considering that you have a questionable local.mk, I suggested trying
> cloning the Org repo from scratch. Just in case.
>
> If that does not work, I suspect that you have some peculiar Emacs
> installation. The error you are getting appears like Emacs compilation
> wrongly set the environment somehow. It is the first time I am seeing
> such a strange error.
>

Thank you to all who've been trying to sort out my problem, but I think that 
I've found the solution.

I have now rebuilt emacs with this bog-standard setup -

===
/autogen.sh
/configure
make
sudo make install
===

and it then builds org-loaddefs with zero problems.

My previous build was using this setup -

===
/autogen.sh
/configure
make bootstrap
make
===

And I suspect that the lone 'make' caused the problems, but I haven't done a 
test build to try it out.

I don't know where I got the bootstrap build mantra from, I must've found it 
online somewhere some time ago.

But thank you to all who tried to find a solution.

Thanks
Sharon.  
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11, fluxbox 1.3.7, emacs 29.0.50, org 9.5.4
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmLk3PodHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1s0fRAAwe3SJQjVZ0p+yxke
2FMin2cC6d2qoRlO3rIAimQ5irlvDY7JRD6rZU4pSLWb0MBvJv8bzvcKDGlfDpxy
W40abdsi1A0Pha1RyBAcGppaIlaHXLJMZ5qi+yIfiWX4/G1D219KRftaSKuO2WE9
T+UDaMRBhzIyMpGH5QB/L8sdgkw59YRPa5INj/c4B+oxpvjPxwp6+gCJpepyopzW
Skj/BXbywn1viM9Zce1e9SrAd83Sw6DbAVWERStl+4A5FI9nsD7j+U+g+pS1CAbU
I2+Ywgll8HAAqZAQLRsVq52EpLX4Mjc26lg2oz3/4iIAYPnTRl21VeLKvJ31frrs
ZfW7VatNGixXs6PV0OvlTIpvufT2cbiHx7OjZOj3hJY9fmVMci17eL8ZRBuyqpzb
GN2aZNYeaeDG8mBxy+qXdcOv9yqHLFfiqrByjhcfU15hQnvZfx7Dr6o6EuOfNjXU
lSp/Wn9R6G9Hh7XHoZBq5o1WmkKhvw2PWJondadJGgcId589vjw/89R83j7GzY3U
HnjW0MaFuOJRYFb9wD004gi7loPxGw0PPuLlPxs6scVSubX//RBNkBjf+JxIc31l
0Tnv1d+PX44J6XEB9HYIMVw4uhWnjRZHgGHOoEPXR6Ui7GvwZInoBLnE15KCrw5m
H98RE6esSb98lzqSFC6rBfEv+W0=
=DbuR
-END PGP SIGNATURE-



Re: Something has happened such that I can't export to latex

2022-07-29 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Robert Pluim  writes:

>>>>>> On Fri, 29 Jul 2022 09:48:09 +0100, Sharon Kimble 
>>>>>>  said:
>
> Sharon> Morning all.
> 
> Sharon> =
> Sharon> foo$ git pull
> Sharon> From https://git.savannah.gnu.org/git/emacs/org-mode
> Sharon>5be0c709b3..d37c0ee5fa  main   -> origin/main
> Sharon> Updating 5be0c709b3..d37c0ee5fa
> Sharon> Fast-forward
> Sharon>  lisp/org.el  | 2 +-
> Sharon>  lisp/ox-latex.el | 7 +--
> Sharon>  mk/org-fixup.el  | 2 +-
> Sharon>  3 files changed, 7 insertions(+), 4 deletions(-)
> 
> Sharon> foo$ make autoloads
> Sharon> make -C lisp autoloads
> Sharon> make[1]: Entering directory '/home/boudiccas/git/org-mode/lisp'
> Sharon> rm -f org-version.el org-loaddefs.el org-version.elc 
> org-loaddefs.elc org-install.elc
> Sharon> org-version: 9.5.4 (release_9.5.4-684-gd37c0e)
> Sharon> Warning: Lisp directory '/usr/local/share/emacs/29.0.50/lisp': No 
> such file or directory
> Sharon> Cannot open load file: No such file or directory, loadup.el
> Sharon> make[1]: *** [Makefile:72: org-version.el] Error 255
> Sharon> make[1]: Leaving directory '/home/boudiccas/git/org-mode/lisp'
> Sharon> make: *** [mk/targets.mk:133: autoloads] Error 2
> Sharon> =
>
> What does your local.mk contain? I donʼt think the default org
> makefile references loadup.el anywhere.
>
Thanks for replying Robert.

=

# Remove "oldorg:" to switch to "all" as the default target.
# Change "oldorg:" to an existing target to make that target the default,
# or define your own target here to become the default target.
oldorg: # do what the old Makefile did by default.

##--
##  CHECK AND ADAPT THE FOLLOWING DEFINITIONS
##--

# Name of your emacs binary
EMACS   = emacs

# Where local software is found
prefix  = /usr/local/share

# Where local lisp files go.
lispdir= $(prefix)/emacs/site-lisp/org

# Where local data files go.
datadir = $(prefix)/emacs/etc/org

# Where info files go.
infodir = $(prefix)/info

# Define if you only need info documentation, the default includes html and pdf
#ORG_MAKE_DOC = info # html pdf

# Define which git branch to switch to during update.  Does not switch
# the branch when undefined.
GIT_BRANCH = 

# Where to create temporary files for the testsuite
# respect TMPDIR if it is already defined in the environment
TMPDIR ?= /tmp
testdir = $(TMPDIR)/tmp-orgtest

# Configuration for testing
# add options before standard load-path
BTEST_PRE   =
# add options after standard load path
BTEST_POST  =
  # -L /ert  # needed for Emacs23, Emacs24 has ert 
built in
  # -L /ess  # needed for running R tests
  # -L /htmlize  # need at least version 1.34 for source 
code formatting
BTEST_OB_LANGUAGES = awk C fortran maxima lilypond octave perl python
  # R # requires ESS to be installed and 
configured
  # ruby  # requires inf-ruby to be installed and 
configured
# extra packages to require for testing
BTEST_EXTRA =
  # ess-site  # load ESS for R tests
# See default.mk for further configuration options.
=

Does this help? Its been a very long time since I looked at it, and I don't 
think that I changed anything in it then.

Thanks
Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11, fluxbox 1.3.7, emacs 29.0.50, org 9.5.4
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmLj0Y4dHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1v3YQ//YZIRrIqIZjSdW9pe
SuTFsgZDYJD2w6M0+3sT2qiFrtN1PdeNvDZXshbVMEHX3ozyMB5GA0ioctAtiiD0
ohUID7oeZCwxBf/qMadRQ66vxiliw86AHdk0vEH72HdOFb0EPTD4ggUlIdYg8Agm
pHyG62ZKA6yEgwamnfd5gtxQtI+L4dqr3UbvoqBXgh4RBgvXX8OianrRDZHMgVp7
HwbTLEmeOFYuc8De+bzgLSkMrHBUzOFxtCmeFmIAraJ8KnJ5d0wUJBZOl1H0zhLH
UigeVK7WEJar8pjpSmEttyNYYo8ibJYe6wJZgtKtLHxDWhlG/HFCww3vLDu15tyl
iqpEWzqNhgL1cPYguDwRyIPi1s/s0ox6q2h5sXhCNHWsUVXq+x9WDYtBKM9P29Zk
y/0uh7qfUd3B783AOUPQ5YKPtzJBVqYZ1jFDwKI/GNDMPsKPiATJHTTSkU0ZVmEX
lpOrvvSNqd97+MBZE3xQ80HgnprN2/a4jS6sWr6hS7tcmmzrnFIABhiFZrDyKw5G
Sn0WzV+FtcScdlqvDneSL7Lte7xtYRXJc0RuRQDT33bTK9nNpcYNZKePwUww5rkx
n/21K1v59u1hTSTxkjva8Qie5pT/rXNBcRi8xqdu8nxtjFawjrGdoqwbsJ+vpM7D
8tW/OqkNALB16c9ybCH3TIbcJFw=
=Ut1g
-END PGP SIGNATURE-



Re: Something has happened such that I can't export to latex

2022-07-29 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Ihor Radchenko  writes:

> Sharon Kimble  writes:
>
>> But, I'm unable to 'make autoloads' in the git version because its
>> trying to connect to /usr/share/emacs and looking for something
>> there which isn't there and just ends up deleting org-loaddefs, and the 
>> only way that
>> I can get round it is by restoring git/org-mode from backup. 
>>
>> Can you advise please as to how I can surmount that obstacle?
>
> I am not sure. make autoloads should have nothing to do with
> /usr/share/emacs
>
> What exactly happens when you run make autoloads?
>
> Best,
> Ihor

Morning all.

=
foo$ git pull
- From https://git.savannah.gnu.org/git/emacs/org-mode
   5be0c709b3..d37c0ee5fa  main   -> origin/main
Updating 5be0c709b3..d37c0ee5fa
Fast-forward
 lisp/org.el  | 2 +-
 lisp/ox-latex.el | 7 +--
 mk/org-fixup.el  | 2 +-
 3 files changed, 7 insertions(+), 4 deletions(-)

foo$ make autoloads
make -C lisp autoloads
make[1]: Entering directory '/home/boudiccas/git/org-mode/lisp'
rm -f org-version.el org-loaddefs.el org-version.elc org-loaddefs.elc 
org-install.elc
org-version: 9.5.4 (release_9.5.4-684-gd37c0e)
Warning: Lisp directory '/usr/local/share/emacs/29.0.50/lisp': No such file or 
directory
Cannot open load file: No such file or directory, loadup.el
make[1]: *** [Makefile:72: org-version.el] Error 255
make[1]: Leaving directory '/home/boudiccas/git/org-mode/lisp'
make: *** [mk/targets.mk:133: autoloads] Error 2
=

Does this help please?

Thanks
Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11, fluxbox 1.3.7, emacs 29.0.50, org 9.5.4
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmLjnskdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1u8LQ/6AyONH3DgnIBaCgHb
hX64gc4AmydhXDLCRHt5rAE3zBhgEUXtXOWaKmNIDaeLyiBcuqwPic5VEINrRVGF
Rb8VVEaShQTbF93w8N+m5QaGwbYabJ+3Iw7bcO8kmq1kxKIW+P812R1fHQyVdWeC
dq8EHbdZWoF2M2zROgVZxl6Vg8r+tBfk6vl9EZOjvUNrAeLKnMkZjJy9xgdCCJdE
Qt49rHnIVqSgfUMhOpDK6VFPx28ogC6627m+H2KMggXffKo/93W10EqxB2HEFPrd
UFrm0FW3U66AxwiZzpj1Zpe6KmRjl1FbgBsYoLIj+qG9QaQl07/0J8ltejN4V6m0
14r6VtGq+llafu+HMNBimyGmHlFKgh/cUwbjPns88aoxl/pZImTr8rlrfJKGuRSV
LNuQL0jiEbBvzO1G4lnOhYhbV3JzJaTZoigeZDffPgWRaRdsXE1/b9Vu3EMfYv7W
IMjrifgc5tD5r1GdhYSoQZg85bO+WjoauRv7+J3xzNVW4CWea5OrDQWAs3r1TfoW
vuikoGTIRkFVi2LujEFhmcl6ic97MYDth7DSIIZcjGplpeKDrJCYirpsNgjyrTJA
8B5MUWHfX9Jf5lgXZGOaNJ4tR0YA9O5OQXkk/xt2gUx7PaxlFA4GdcS6/cRecoAf
Lq/t3zewIk/oU4aPo83PorMoOMY=
=S0sG
-END PGP SIGNATURE-



Re: Something has happened such that I can't export to latex

2022-07-28 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Ihor Radchenko  writes:

> Sharon Kimble  writes:
>
>> After several rebuilds of emacs I'm now getting this line showing for
>> org-version -
>>
>> Org mode version 9.5.4 (release_9.5.4-17-g6e991f @ mixed installation!
>> /home/boudiccas/git/emacs/lisp/org/ and
>> /home/boudiccas/git/org-mode/lisp/)
>>
>> I want to stay with the git version of org-mode if possible, so how do I
>> stop the emacs org from operating please? 
>
> Try
>
> #+BEGIN_SRC emacs-lisp :tangle "~/.emacs.d/init.el" :exports code :results 
> silent
> ;;; init.el --- sharon's config -*- eval: (read-only-mode 1) -*-
> (require 'package)
> (setq package-enable-at-startup nil)
>
> ;; Make sure that Git version of Org mode is being loaded instead of the
> ;; built-in version.
> (add-to-list 'load-path (expand-file-name 
> "/home/boudiccas/git/org-mode/lisp"))
> (add-to-list 'load-path (expand-file-name 
> "/home/boudiccas/git/org-contrib/lisp"))
>
> (package-initialize)
>
> (require 'ob-tangle)
> (org-babel-load-file "~/.emacs.d/config22.org")
> #+END_SRC
>
> Hope it helps.
>

Thanks Ihor, its working well.

But, I'm unable to 'make autoloads' in the git version because its
trying to connect to /usr/share/emacs and looking for something
there which isn't there and just ends up deleting org-loaddefs, and the 
only way that
I can get round it is by restoring git/org-mode from backup. 

Can you advise please as to how I can surmount that obstacle?

Thanks
Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11, fluxbox 1.3.7, emacs 29.0.50, org 9.5.4
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmLij0wdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1us7w/5AQntDTO/GQ0+VUH1
KQc/s5MHt7lq7FvIUpNpP9PyPPe19FHEeUJJgS+HV+MegcvEKQ6m5lhnSv1puy7Z
9iiT5RW4K/hf4fhbL8CDcDFxgJZNqJoIyOX/8VibEbLRw7DDrr4LypvjoYGhBM+k
ClQgTj8yOyrdzGwF7f0xkjrdYMEwaaxV41mmFI55VcUVIiT3S4GTea3bQGMNIE5h
LgX3WIPQqZnl72l4qW3xw0CmG+apkzLplLiXyXSaRweJI+uUba3qWZ1ADW7SJg97
/Xg/844VutYNTi/4xUgif6jShG2tEmfzNTqgjA677Gna/T33opdKT8uwxORmsIG+
SSQzLf3wsMVPHyxzeqOV8QzhGfhwIrhFTr03L6FXveLWlqEV1GOp40np8Lk3kSjX
NobJuglT1uf9qFg7OOpsu/Yh2qke5umTdMAoMEsUxzUNX24gfu18PrfC2ai9mpfe
VS6pJK2vW9PvNPm5drTX33uBJZ3ixS8sed0voxK4f5olwEYgxXSfi6CZzcno95SC
y4Bv/1v7kDP475B4ZmXrVer+41Pd07lS6Akq4r8DpXiw0maN37B1b/3YZfcJ7rZB
TLXFlNboBYhIPrb/s7URQNVtntcLbxDwZyjaef0YlyyjZ0TJjKpsoxK7NT/kmV4C
P3n5NKlwRAu52/dcri46mf8ih64=
=N9BT
-END PGP SIGNATURE-



Re: Something has happened such that I can't export to latex

2022-07-28 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Ihor Radchenko  writes:

> Sharon Kimble  writes:
>
>> Despite git pulling, etc, and restarting emacs, the problem still
>> remains.
>>
>> This is on org-mode 'Org mode version 9.5.2 (release_9.5.2-25-gaf6f12 @
>> /home/boudiccas/git/org-mode/lisp/)'
>>
>> Any ideas please?
>
> Org 9.5.2 is a relatively old Org version. However, the error you are
> getting was introduced in development version of Org (9.5.4+).
> I suspect that you are loading some part of Org distribution from other
> place. Not the Git folder you fetched.
>
> Please make sure that you set the load-path for Org correctly early in
> your config before you load Org or any package depending on Org.
>
> Best,
> Ihor

After several rebuilds of emacs I'm now getting this line showing for
org-version -

Org mode version 9.5.4 (release_9.5.4-17-g6e991f @ mixed installation!
/home/boudiccas/git/emacs/lisp/org/ and
/home/boudiccas/git/org-mode/lisp/)

I want to stay with the git version of org-mode if possible, so how do I
stop the emacs org from operating please? 

Thanks everyone
Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11, fluxbox 1.3.7, emacs 29.0.50, org 9.5.4
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmLiW/kdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1sZpA/9EpnIpSiBGvytEZ7A
B+pSO29oQoVx/OoexFb3vQabZk1WTrH01Jjy+6xynxwIgy4DB044yg5CzW4P5yfC
Bp9RA32T+RFJjD2l4TLPs64cjzu2EC6wp9Jy8v0dVEIcl8KVopfRR5+j9HCSC16q
051qusl4VPrKmVX6h8/Yt3HmZ/dAVTh49p5aZeFeATdK8Fdtyj1HMfV/gv8hcvgi
WlyqBKToXGl57JLOhPhphkcH9j8TSeL5GwLFo4YKOcwGT6Y1Sb1EyZ23kiohuoth
uLKPoOlufkIiKSkPBion/pSk3OXzN6Gnc7hypdr/Y72nU2RntAA/tnft9kxHbc8R
byUFnPNDhP54b1LgjqxCBN1v6bzmb+5ZnPwu5UkyMu7uiNOGO8otM54Nv2XedJ8J
JklT0gLBvBK5X3CUr0oit+z+K1qEX/HpPfIFdmioxqKtZr7ivBfiGNQ5wegIbWIZ
lPJYLBDzHcvcBseQMDbfJ1SkDvESuAsIJVrfalOO2xjPfCKpALyxA8S7UHCCvLfm
SKOlxqjZm3rTaN0kIWZYXIhhNnURgVmSqRNcJ/8NXf/FF6aS7aeGYG3+51Dz514c
YovLXfAPQ2Ob6cadVX6hoMIHnm5LSUslMLvaTBvNkFBr3zPe2iiJZtj7t6tnzMwq
2mU8wlQXACey4+XmDJKqfpb2uZg=
=gwXa
-END PGP SIGNATURE-



Re: Something has happened such that I can't export to latex

2022-07-27 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Ihor Radchenko  writes:

> Sharon Kimble  writes:
>
>> Despite git pulling, etc, and restarting emacs, the problem still
>> remains.
>>
>> This is on org-mode 'Org mode version 9.5.2 (release_9.5.2-25-gaf6f12 @
>> /home/boudiccas/git/org-mode/lisp/)'
>>
>> Any ideas please?
>
> Org 9.5.2 is a relatively old Org version. However, the error you are
> getting was introduced in development version of Org (9.5.4+).
> I suspect that you are loading some part of Org distribution from other
> place. Not the Git folder you fetched.
>
> Please make sure that you set the load-path for Org correctly early in
> your config before you load Org or any package depending on Org.
>
> Best,
> Ihor

Thanks Ihor.

I eventually tracked down that I was loading org-mode from 
'/usr/local/share/emacs/29.0.50/lisp/org/'.

So I've done a 'make clean', and then configured and built emacs to run from 
bootstrap, and now my org-version shows as 'Org mode version 9.5.2 
(release_9.5.2-25-gaf6f12 @ /home/boudiccas/git/org-mode/lisp/)'.

However, if I build org-mode from git it shows as 'org-loaddefs: 9.5.4 
(release_9.5.4-682-g5be0c7).

So I've rebooted and now emacs is showing my org-version as still 'Org mode 
version 9.5.2 (release_9.5.2-25-gaf6f12 @ /home/boudiccas/git/org-mode/lisp/)'.

So I've looked at my config file, and the first time that org is mentioned is -
=
** installation
#+BEGIN_SRC emacs-lisp :tangle "~/.emacs.d/init.el" :exports code :results 
silent
;;; init.el --- sharon's config -*- eval: (read-only-mode 1) -*-
(require 'package)
(setq package-enable-at-startup nil)
(package-initialize)

(require 'ob-tangle)
(org-babel-load-file "~/.emacs.d/config22.org")
#+END_SRC
=
and the first time that org-mode is mentioned is - 
=
** set pathways

#+begin_src emacs-lisp
;;(setq load-path (cons "~/.emacs.d/lisp" load-path))
;; This sets up the load path so that we can override it
(package-initialize nil)
;; Override the packages with the git version of Org and other packages
;;(add-to-list 'load-path (expand-file-name "/home/boudiccas/git/org-mode/"))
(add-to-list 'load-path (expand-file-name "/home/boudiccas/git/org-mode/lisp"))
(add-to-list 'load-path (expand-file-name 
"/home/boudiccas/git/org-contrib/lisp"))
;; Load the rest of the packages
(add-to-list 'load-path (expand-file-name "/home/boudiccas/.emacs.d/lisp"))
;; (add-to-list 'load-path "/home/boudiccas/.emacs.d/personal-elisp")
;; (add-to-list 'load-path "/home/boudiccas/.emacs.d/test")
(add-to-list 'load-path (expand-file-name "/home/boudiccas/.emacs.d/elpa"))
;; (add-to-list 'load-path "/home/boudiccas/git")
(setq custom-file "/home/boudiccas/.emacs.d/lisp/custom.el")

(load custom-file)
#+end_src
=

So how can I load the correct org-mode please?

Thanks
Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11, fluxbox 1.3.7, emacs 29.0.50, org 9.5.2
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmLhV6kdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1se5g//bhQw5DnHJs4QxJtU
dnIXs9A33Q8561XvkUd9rmUf1fRhfitj+dIX9m7lYCr5CoeFzzBDHd/N+Me/nkAo
FbGGjVTEeQ1ypqoHe9w4w4U9Dv4vKKUVbmGFpA4svdrKnDgDXlAWckvNf7okjJin
qjbq7Y0gysrfW/hgtvWIq0AVdCoG9HzRXP1GV8aysRwqMhBCyGefNpj5noRAd6z/
0q4poqDMxozLZJvgkN20tbsrg/XVuHvEKkcyyMEyJNmyFUviY3iiUZ0X99Zp/S2F
MOUs/+h4RjqA3CLE6+RX2UUzYydD+ifosDWgO6uhWaHAqBxmcuK/Bo/Hlu4apVrC
s6lrNde7T3ub+s7Xxd8Goq+ARiuwtGU5df7Sb/8k+4PjU1mfUr61ySayGvHpaRVm
GLNURlG2RbNUijd0he7zXnXANcymHCKLkh4VXMOKETtLqP2vG7p2IKKX2iv9pztA
VomZscAL+stmEKSt6zr0jg3f1rCdkltG5VYKG0ZwJSdhwEuBjugOgYBXEKe6QXqy
GEi+FediBlbMiOAbOMvuLvWAdH16fYLegKoVLCbClhchRdeUztkCyAA2TeEZsaX7
sgVAb4ckFYST0lLBTLcl3i2x1rKTT4r0quf8pwMryeI+/UIhuHsvA4wpH9KEbD6X
+d/TwvxzbUt7pGTFjCwi7zfCW80=
=VvU8
-END PGP SIGNATURE-



Re: Something has happened such that I can't export to latex

2022-07-26 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Ihor Radchenko  writes:

>  Just trying to export to latex this afternoon and this showed in the
>  mini-buffer -
>  - 
>  | (void-variable org-latex-babel-language-alist) in org-latex-template
>  - 
>
> Please update again. The bug has been introduced recently, but should be 
> fixed on main already.
>
> Best,
> Ihor

Despite git pulling, etc, and restarting emacs, the problem still
remains.

This is on org-mode 'Org mode version 9.5.2 (release_9.5.2-25-gaf6f12 @
/home/boudiccas/git/org-mode/lisp/)'

Any ideas please?

Thanks
Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11, fluxbox 1.3.7, emacs 29.0.50, org 9.5.2
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmLg23AdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1th0A//cIMGlUf3XMc7CC/t
BuFtjfBODkom2n6fSnE5jPBIGCTd7mv3LJfviRWC6ZVW9K7OXuozoRV289yr7VBg
c0390rDglg6xyqjHcc6WEcnu0vWKus4H9LoW11jaVizXjugETM9rmtnVpmyf5dfx
U18YIkYxNngOMrYP3TDk1+39kPZEeRpXQOHfiUm8hNNbd/HG56+sq0H38RuHGcGU
sGX0ybduZb3QWmsUEnC6n4TteUK6mYk1jDeGWm6u+oau1u+d9NYwhFZsRWQugb3t
oWomBheUBIl+l8TzuStMfA59VV4so21hkNPrkQZvce5AabISCamI33IcrK4ZSBhE
Kk0GVXPjSgLQQVFMikjJBwBM9NdfGYkU6x/pGGxYrzTAcevWG5xrdjZsQv1dQXfX
Ijl+3QIUyJEDJtcZQjWApQ1E5f0CU7mC8KVzSdWVh3itmHX62hX6sZ7dOJFtZAgD
92eyIJ7sZDdwKjjZueq+E0CKbD4fxlq/unBF7dXNCOIFhPqONOPQRaIGTSKJ2kNz
z/ZHlxsS9gyNsI5KDt35+CbDuMDjac//o2AwXDKghoIm2ZsM1tq3Mm4OE5hufhHj
iHoJG4P44Symu7+/1Wdmdn4qOpdHzMykdlfJoPtVbLaJHcr60X/gcfflpg1Xx04E
sIRdd3ww1ShTEHCJtmMaRKhOlX4=
=1N2y
-END PGP SIGNATURE-



Re: Something has happened such that I can't export to latex

2022-07-26 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Ihor Radchenko  writes:

>  Just trying to export to latex this afternoon and this showed in the
>  mini-buffer -
>  - 
>  | (void-variable org-latex-babel-language-alist) in org-latex-template
>  - 
>
> Please update again. The bug has been introduced recently, but should be 
> fixed on main already.
>
> Best,
> Ihor
Sorry, I forgot that I can do it from the menu. Now I've updated I get this 
error message -

- 
|   Debugger entered--Lisp error: (void-variable 
org-link--description-folding-spec)
|  org-fold-initialize(" ▶▶▶")
|  org-mode()
|  #f(compiled-function () #)()
|  org-export-copy-buffer()
|  org-export-as(latex nil nil nil (:output-file "kpe.tex"))
|  org-export-to-file(latex "kpe.tex" nil nil nil nil nil)
|  org-latex-export-to-latex()
|  funcall-interactively(org-latex-export-to-latex)
|  call-interactively(org-latex-export-to-latex nil nil)
|  command-execute(org-latex-export-to-latex)   
-    

Any ideas please?

Thanks
Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11, fluxbox 1.3.7, emacs 29.0.50, org 9.5.4
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmLgGNUdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1vA2w//ZvrfqUW3C2BrlPDh
E1K4OZrC8TC4AsyqFpsVWs3P8ByVv21wi8Rhgo7iSpxx/+nE//oPjGm7kk6nXwna
DWDou8edxBIdHc6HXCRlCS3YbHtfzxr8D/k46JFN+JwrgbocMQtIM6a2AwYW7eV6
zccAPQ/TVyW5fRp9ew/N17Jg/yhqI2SrG5G0NpZMLCbIx/crtYxXGg5N80ouz7JD
pvgmQThz06tiU//Zoct8VGB7ubzBmta96ixV0gIOhQ6dplZ+FCyiBpbfG9wSUHTY
4dwa/ArZHDSFpAk2m5ylF8hyYdy2C+dKDyIjpV/nfTuHyXznJvka6Sc7TfN3Xw5b
5itrp4elz8iGrNr7ENehmplOwfPanqETibeOpC+GHkDGls1hgmCfn6cl35dcAJQ7
YobvHJhlnYwFNAALCp28KXZGdOY0m9J+y3txeTBEQPKGNIX/SRFfJCpOiEUP28Q+
Snw441U75tCcq1xvYvT7aopxOLBnUmSqEc01CAZYEMRx1fqdtRd9IS3ObgtbZaru
5L0raAFh3YRqnQvJY3a+T9tpvZYEm0GG/bOP4lOsSrZbVXy+OtTeKq7SFDETSK1n
KPD0a+uGsalIVjO3e/IotRDftgiS1oz6IfJ4GNs3et8pijZ+B9ViLcA6VTXFOAS6
bVcAXSlUDaLJ19WVVmD7ea7MQHE=
=YtLj
-END PGP SIGNATURE-



Re: Something has happened such that I can't export to latex

2022-07-26 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Ihor Radchenko  writes:

>  Just trying to export to latex this afternoon and this showed in the
>  mini-buffer -
>  - 
>  | (void-variable org-latex-babel-language-alist) in org-latex-template
>  - 
>
> Please update again. The bug has been introduced recently, but should be 
> fixed on main already.
>
> Best,
> Ihor

Thanks Ihor.

How can I install my new org-mode setup from git please? The only way
that I know of is to close emacs down, and then start it again.

So can you advise please?

Thanks
Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11, fluxbox 1.3.7, emacs 29.0.50, org 9.5.2
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmLgF0cdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1vZMhAAyPWGvoRn9TkxiDrs
GTa188ybcGuDQoRbRlcdncXeLdmFB7ijJT89QNiJdO52Ni2GPHRS76akwocmdUSJ
vriQX7wneOMqF29FYrkUwmt5V5TOEAHflIRD/YIfONqOCf9zi8TI+0AZOhFsZh3f
m+PkHlNmiwJftF/QnUMJDqf858CB0CYz6qO/ghRDQXrpQYCPNFF7iyqYp4enEiwY
V+VWtJXaP7RiKU6+E2cBzLlU4OkdzsAKBiVmqiosF52n3yNPNeUJgpzswedVitkU
Jwhc7KBI6NwEhYIx10EXhoZUi4h/OChDmfStbsmGXtjsieR846RjDb0MVifJx+7p
Yb5Ofio52V/B2qzJROrCPkJ0+OiH/Ty6sKDQnS3uCpdAUCy+5yQ2YoA9e3w5D9zc
nhN2fkRr/6buMGLadfgZ8tF7LBOyNgbIHmEIKmne+pP3kYv2wtuVYERSW/nyjk/D
3Hu2YyvGk8ixC2X3P75AAnJlhDx4RL4r5kbIyXB8ahdF7xktCJQPSW2DI18W0ozW
CjytZgescYst2v5FaV/G7tJjGw2Bc72KUhlzjTWCciwFXS9t1x5PY1XT/yULcWCH
8T0n9NzaPIn2KFboO0ZvdszdxfePHBXjLFjGOjm9cVi18T5lw2T/y20Qwz7y2FXI
99BPaoSKowyBvdmzzLqEI18uLyA=
=IYKy
-END PGP SIGNATURE-



Something has happened such that I can't export to latex

2022-07-26 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512


Just trying to export to latex this afternoon and this showed in the
mini-buffer -

- 
| (void-variable org-latex-babel-language-alist) in org-latex-template
- 

and this showed in the debugger -

- 
|Debugger entered--Lisp error: (void-variable org-latex-babel-language-alist)
|  org-latex--format-spec((:export-options nil :back-end #s(org-export-backend 
:name latex :parent nil :transcoders (... ... ... ... ... ... ... ... ... ... 
... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) :options 
(... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... 
... ... ... ... ... ... ... ...) :filters (... ... ... ...) :blocks nil :menu 
(108 "Export to LaTeX" ...)) :translate-alist ((bold . org-latex-bold) 
(center-block . org-latex-center-block) (clock . org-latex-clock) (code . 
org-latex-code) (drawer . org-latex-drawer) (dynamic-block . 
org-latex-dynamic-block) (entity . org-latex-entity) (example-block . 
org-latex-example-block) (export-block . org-latex-export-block) 
(export-snippet . org-latex-export-snippet) (fixed-width . 
org-latex-fixed-width) (footnote-definition . org-latex-footnote-definition) 
(footnote-reference . org-latex-footnote-reference) (headline . 
org-latex-headline) (horizontal-rule . org-latex-horizontal-rule) 
(inline-src-block . org-latex-inline-src-block) (inlinetask . 
org-latex-inlinetask) (italic . org-latex-italic) (item . org-latex-item) 
(keyword . org-latex-keyword) (latex-environment . org-latex-latex-environment) 
(latex-fragment . org-latex-latex-fragment) (line-break . org-latex-line-break) 
(link . org-latex-link) (node-property . org-latex-node-property) (paragraph . 
org-latex-paragraph) ...) :exported-data # :input-buffer "kpe.org" :input-file 
"/home/boudiccas/research/w..." :latex-class "my-report" :latex-class-options 
"[a4paper,11pt,twoside,open..." :latex-header "\\input{/home/boudiccas/res..." 
:latex-header-extra nil :description nil :keywords nil :subtitle nil ...))
|  org-latex-template(#("\n\n\\chapter{Boo..." 11 25 ... 90 94 ... 96 138 ... 
249 253 ... ...) (:export-options nil :back-end ... :translate-alist ... 
:exported-data # :input-buffer 
"kpe.org" :input-file "/home/boudicca..." :latex-class "my-report" ...))
|  org-export-as(latex nil nil nil (:output-file "kpe.tex"))
|  org-export-to-file(latex "kpe.tex" nil nil nil nil nil)
|  org-latex-export-to-latex()
|  funcall-interactively(org-latex-export-to-latex)
|  call-interactively(org-latex-export-to-latex nil nil)
|  command-execute(org-latex-export-to-latex)
- 

I just updated my emacs's packages, and also my org-mode installation,
but its still failing such that I cannot export to latex like I have
been able to.

Thanks
Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11, fluxbox 1.3.7, emacs 29.0.50, org 9.5.2
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmLgCP0dHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1tuwxAAnGf+OjubV45Bl9dq
ZJvm1YaSSq0N9XCtOF3eqF1kWpldXWuHxPlVa//4lsfU747m1UPorqj6a5mw7zPx
RmQf65uxAxPqAjrSekAc7MSOJ1+OqfvyFSeVwHjQzeDV18pMtayfl4FRF7fz1kwD
thHfZY+61h+y+ePuJhhlzAIX4++HpwYELq6SGHAhOHAN1CIQ9yaL11AK27SDE8Ey
H1wv3C7M2e8AeaZ4I4irXCOjDfCiSG1kQGOTs3g42FGBj5ykSkihC4tOgECdOCrP
RKebJQWtbSP4Mu8OmvrorD0Xf5Rt6ZSZXQT/x62nAcT3dbgA+RIqn0FB5zyX31vd
epsi1aYZoZlMzlcc+R4XZQNh3wfZB2/U7t9/mQfnQHiRFnItztzXe6DHo6EcfC7H
VfmADk3Gada8qI8nVWKfuImDiwvy/naQbNSzWSOCRDBRTJ6y0wJlxnvNbbr9puQP
CXflxGFWb5nlnRI+qVSALgeT4gLG1mdHUtuXEjavRUhFMg2DNxUs2cGStb0BijEN
KaXelNeFk//G34w0IM3OPtf2l16AWqBKv5BGiJg8TpNc0ck1+SryLJ4KflT/S/Iq
rfDOKDJdDR3r1EwVknAMseK3r0/6A5jLldpwjJWSuF3NmtGS9mfp60DNtJGBfp6D
wejP4v7PzB1s/OkqZeQiQWv6z1Y=
=HjWD
-END PGP SIGNATURE-



org-capture-templates failing

2022-07-12 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512


Using this template culled from the org-mode manual

- --8<---cut here---start->8---
#+BEGIN_SRC emacs-lisp
(setq org-capture-templates
  '(("t" "Todo" entry (file+headline "~/.emacs.d/org/scratch.org" "Tasks")
 "* TODO %?\n %i\n %a")
("o" "Journal" entry (file+datetree "~/.emacs.d/org/scratch.org")
 "* %?\nEntered on %U\n %i\n %a")))
#+END_SRC
[2022-07-12 Tue 16:24]
- --8<---cut here---end--->8---

and selecting either of the 2 keys from my org-capture setup, this is displayed 
in a debugger *backtrace*

- --8<---cut here---start->8---
Debugger entered--Lisp error: (error "Capture template ‘t’: Symbol’s value as 
variable i...")
  signal(error ("Capture template ‘t’: Symbol’s value as variable i..."))
  error("Capture template `%s': %s" "t" "Symbol’s value as variable is void: 
org-fold-core-...")
  #f(compiled-function (&optional goto keys) "Capture 
something.\n\\\nThis will let you select a template from 
`org-capture-templates', and\nthen file the newly captured information.  The 
text is immediately\ninserted at the target location, and an indirect buffer is 
shown where\nyou can edit it.  Pressing `\\[org-capture-finalize]' brings you 
back to the previous\nstate of Emacs, so that you can continue your 
work.\n\nWhen called interactively with a `\\[universal-argument]' prefix 
argument GOTO, don't\ncapture anything, just go to the file/headline where the 
selected\ntemplate stores its notes.\n\nWith a `\\[universal-argument] 
\\[universal-argument]' prefix argument, go to the last note stored.\n\nWhen 
called with a `C-0' (zero) prefix, insert a template at point.\n\nWhen called 
with a `C-1' (one) prefix, force prompting for a date when\na datetree entry is 
made.\n\nELisp programs can set KEYS to a string associated with a template\nin 
`org-capture-templates'.  In this case, interactive selection\nwill be 
bypassed.\n\nIf `org-capture-use-agenda-date' is non-nil, capturing from 
the\nagenda will use the date at point as the default date.  Then, a\n`C-1' 
prefix will tell the capture process to use the HH:MM time\nof the day at point 
(if any) or the current HH:MM time." (interactive "P") #)(nil nil)
  ad-Advice-org-capture(#f(compiled-function (&optional goto keys) "Capture 
something.\n\\\nThis will let you select a template from 
`org-capture-templates', and\nthen file the newly captured information.  The 
text is immediately\ninserted at the target location, and an indirect buffer is 
shown where\nyou can edit it.  Pressing `\\[org-capture-finalize]' brings you 
back to the previous\nstate of Emacs, so that you can continue your 
work.\n\nWhen called interactively with a `\\[universal-argument]' prefix 
argument GOTO, don't\ncapture anything, just go to the file/headline where the 
selected\ntemplate stores its notes.\n\nWith a `\\[universal-argument] 
\\[universal-argument]' prefix argument, go to the last note stored.\n\nWhen 
called with a `C-0' (zero) prefix, insert a template at point.\n\nWhen called 
with a `C-1' (one) prefix, force prompting for a date when\na datetree entry is 
made.\n\nELisp programs can set KEYS to a string associated with a template\nin 
`org-capture-templates'.  In this case, interactive selection\nwill be 
bypassed.\n\nIf `org-capture-use-agenda-date' is non-nil, capturing from 
the\nagenda will use the date at point as the default date.  Then, a\n`C-1' 
prefix will tell the capture process to use the HH:MM time\nof the day at point 
(if any) or the current HH:MM time." (interactive "P") #) nil)
  apply(ad-Advice-org-capture #f(compiled-function (&optional goto keys) 
"Capture something.\n\\\nThis will let you select a 
template from `org-capture-templates', and\nthen file the newly captured 
information.  The text is immediately\ninserted at the target location, and an 
indirect buffer is shown where\nyou can edit it.  Pressing 
`\\[org-capture-finalize]' brings you back to the previous\nstate of Emacs, so 
that you can continue your work.\n\nWhen called interactively with a 
`\\[universal-argument]' prefix argument GOTO, don't\ncapture anything, just go 
to the file/headline where the selected\ntemplate stores its notes.\n\nWith a 
`\\[universal-argument] \\[universal-argument]' prefix argument, go to the last 
note stored.\n\nWhen called with a `C-0' (zero) prefix, insert a template at 
point.\n\nWhen called with a `C-1' (one) prefix, force prompting for a date 
when\na datetree entry is made.\n\nELisp programs can set KEYS to a string 
associated with a template\nin `org-capture-templates'.  In this case, 
interactive selection\nwill be bypassed.\n\nIf `org-capture-use-agenda-date' is 
non-nil, capturing from the\nagenda will use the date at point as the default 
date.  Then, a\n`C-1' prefix will tell the capture process to use the HH:MM 
time\nof the day at point (if any) or t

diary-countdown

2022-04-16 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512


In the past this worked

%%(diary-countdown 4 18 2022 7) Easter Monday Bank Holiday

But now it doesn't.

Can somebody help me get it working again please?

Thanks
Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11, fluxbox 1.3.7, emacs 29.0.50, org 9.5.2
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmJa2h0dHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1vcag/+PIKngagL+JJLkwmc
oPElrDdIRVw2yEXUIzO5TSOt0oQLKIxnvSaiGY3zEKXsw8x8mzvq/1xVedk1Xndz
hhhVkR8TVBQCDyxnrtFiSQFlHJbi5/GdXsBdcfoNamjgckuS9s66vAS9afSkXh3+
2pCqs3PUOlAEOi8T3yXwEEap3dHhdppeN+6AXYRjWYSnsoz80BgkuQVRUol2K9r1
TDic5OuISs+8C1lzE6sWtiVcjhzPYL/PhHi1dsk5rrFtOCVZ0XF5GUIF39ZZzHzk
lrKYICoXb1wlZZRF5Ou6wfHlo61AKbb1U3EcxV9M55J3eKX0Dka7eJOUOFXPdT3A
AhY7uUGmhhNBcwYoYorKckxGe14Gw4JZZPlOKqugvlwuUvhudSL/YrY6WEh7U8dM
+DYSgAdp0w2iHO3+OiSCiKAiEKfhLzM4Dss3fyyuSFd0GBn+UYBnT0mUQzDlcFcT
u4At2p6qRIuW0tsjuNsNfeewmk8/oMwnFGgvkgPkZfmGxFBKmKXiuv1LuX+TNDrS
Mmu1wKdnXyyKHLsMN7MFh1QiNr+Wd9V0aLBoFVPdkq+rCrnhhXyKc9DsJdSYqm8U
ltmVI+o4fQ8/XAy5XbGDBd2++NDHR4exHs89zkX/vDD/dKi8qtkT/vyhbDDE9Bg2
ELVFoLhF3jviNHoxhTc8vgSyTOY=
=Ey3h
-END PGP SIGNATURE-



Export from org-mode to latex from the commandline

2022-02-10 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

When you build the documentation from the org-mode git repository,
something is calling emacs to build the documents in the background, but
what? Where can I find that command please, because I want to try and
use it to export org-mode to latex and then build a pdf file in the
background, all from the commandline.

Seeing the thread 'RE: Unable to get current or via use-package',
Malcolm Cook suggests to use 'emacs -Q -batch -eval "(progn (require
'package) (package-initialize) (package-refresh-contents)
(package-install 'org))"'.

Could this be customised to export from org-mode to latex, and then
subsequently I build the pdf file from the already converted latex using
my program 'pdfbuild'?

Thanks
Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
Debian 11, fluxbox 1.3.7, emacs 29.0.50, org 9.5.2
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmIE7iIdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1tTvxAAxZJA5r+OqQyBanqF
LBxkXug+xFaV/eGoxF5aK/2mSvVMM0iF2G57C6B61liTZuqD19dilPZ9dxoR/tZT
iBI0MiXGSX+wvDRhbIQA3cb43hkZbR/5PlgYctO0i1KysBgpHyxXBeM+QUpIB1eg
YDq0f3SbI7YsidKnFwiRp5RLWGZS5hDjXxYRecnCav/jBEl+p2E3HppqN0DEkGGp
S0gbQ0vrpoDw2w5RaEr7UAlwX/oOZSJdthTHZQlQo9K6Wq8NaRtf3a/bOfXiLywZ
kxFeLfLHXJsaTNlChnV6nkJqgTJIp1ZpaoD9j8juf3YYHKCw5lzLBXSOku4rKYRF
+R3cz0sZXf3XQw2kcsQ+wS4TVAVCN7KJESderqaMT7ZNp0eKPxbkzFEuOYhC+okr
UAO8XDYbuKb20RxUN452Vz8BtedXwTjyXT4K8C/91AvnWKMVDqLPdp38yHAbRFb3
jh4bra1cQgso0ba5hWTIxE8UV0RcjwkU7pi1Kto33CwI4YALmvRQ1r9rBeT6RQSk
m8RlI/q2lzRZpbEl6jR8yMmkkSg66lnqtGGEbNNInVk4talsC7VaWCCsWKcnprKL
JDiR5SSRQGnu1aGnbVGl1+k/wdA88jsZo4rq3boYmM2CwcSz9NAYYtlT92fdfZ2p
oY2usvkM/LBUkpr+JrZvM6O25e4=
=cT7U
-END PGP SIGNATURE-



Re: Missing the second '}'

2022-01-27 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

> John Kitchin  writes:

> depending on the file, you may be able to use M-x check-parens. I say 
> depending on the file because it matters how the open/close
> marker syntax is defined in the file.

I was able to use M-x check-parens on 3 passes to finally get the
document working properly again. Thanks very much for it.

Thanks
Sharon.

> Or go to the beginning, and run M-x forward-sexp repeatedly until you get an 
> error?
>
> John
>
> ---
> Professor John Kitchin (he/him/his)
> Doherty Hall A207F
> Department of Chemical Engineering
> Carnegie Mellon University
> Pittsburgh, PA 15213
> 412-268-7803
> @johnkitchin
> http://kitchingroup.cheme.cmu.edu
>
> On Mon, Jan 24, 2022 at 11:02 AM Sharon Kimble  
> wrote:
>
>  -BEGIN PGP SIGNED MESSAGE-
>  Hash: SHA512
>
>  Hi folks.
>
>  In a document that I'm compiling I seem to have failed to close the '{'
>  and '}', and the second one isn't in the document. If I write '\label{}'
>  then it succeeds, but at a couple of places in the document this show
>  '\label{'.
>
>  How can I find where I've failed to close the brackets please, so that I
>  can then achieve normality please?
>
>  Thanks
>  Sharon.
>  - -- 
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11, fluxbox 1.3.7, emacs 29.0.50, org 9.5.2
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmHyl6MdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1tzHQ//fxGDBMWFHO7VTjr6
V6MoU4viVZgoM+cYIKmEmrPqsmIRyisjTkthvgSdme7fE34fnVstIsiXzEvnrc5C
Si+OcbrX/MjSytOfpRcYD1yBZY50MnNy6MyUtWridnGFiU3NfRlwVrkMV3IUPIvr
6fGD/gNkttvThxJzY578mTYNk2VylbyJJmZh2ys7ZwP9/F1E8RSrerO4cFg8/Fw/
KbjqxjazMxkBwIBCottIAyBVucUlbleyNReMzYHzI/OGLn/b0AEgEuDmrH08P8At
IJ2ofIgYz1AdACxL3M3+VZ1vUqNQ+mRIdoxUJ6wS30VMhwL7J8eT8CwW5M6EetAv
pyHxfb9n+wH7KAWKP7lzs+B09eZytETB7W4w6SeN3iU09DWgm6w6Dcu/9bVeqb/m
ie8lS1nO69Cwqgvky9Q1jPv6//J3bJ7khwN4y6Ct9loAEc24Ua6H92cPGWwMAzsa
rEy22KKjkJ1KgRxwtR21xU+IQ3O0Z3OkM+lWESzq5K1I3U40L9iMi5hcU1EQM4cS
gz/HVDemQC7/lWlAS0bIw5WQ4mzrXEiVwkCGpvOJbEr1R7ynmwnivu67Q5dFYKaF
3O1XcDlJLYuZykl0RovhafusLkBT/UUKV3CqkM7gayOeOzpU48IRKdpztDGlU9E0
NE67AP6KkkFiJlZebitmHEBV0hQ=
=Af6r
-END PGP SIGNATURE-



Missing the second '}'

2022-01-24 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi folks.

In a document that I'm compiling I seem to have failed to close the '{'
and '}', and the second one isn't in the document. If I write '\label{}'
then it succeeds, but at a couple of places in the document this show
'\label{'.

How can I find where I've failed to close the brackets please, so that I
can then achieve normality please?

Thanks
Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11, fluxbox 1.3.7, emacs 29.0.50, org 9.5.2
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmHuzPAdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1vLKA//Y298U9Rb+t+VYvhy
PepzASzFj+HDFbUUhnCouODx0fQbIxEZvi0EzRM6HgxUTTkgxOqy8puGI+XUJPdm
ncbWyVqqA7M5xjl/w9HMX08dwd/0pIRIUmODP2IDBO2HdwyOA8QNW2Nab6/+UlMU
leJh0263TCfpv54Dsjg1RDhNulHubKr5TNadHJDqy50dT87wSRJC2RdKFJ71ljQZ
4zlUzEwulvgRB+6KbxGdoEQJW61c3qM7NKz2OQSa8p3EKT/t0LZGF7ToJevZzarJ
cunE7dbnuDPGsmNVberc572xBrqgFH7iVW3zcYwTLc2JRDL4/2BFdH1UoGaAsjyk
9fpgYuqLP5dgJMwBmRCYtCsvKN4VFuyk8k4zYqJx19bJIxobKuYniZtVr5joFUfV
+jgr0ss+ZqLoQPanrrCOPycn0aVxteDVUdN+V37b1iVdDPQuanF/fkL7x59LV3pp
C1r5N9bX3X+5bBGaO4XF5p5UnUyg19luULdIONpC94MbsxWNmUF1XWZJvR2Oh/tj
YI5Ctw7POFITHo92TEny6kdpjtLag2+5INQajl6oQ19Lm+fmhu7/Vm4PSSm/Rybh
KatZgvdgBHd0veollwOqwGSvopNMYPPJ6s5uT5Sop8+gM6bc1guddqdApezVB0WD
i/fweF+vFfk7Ot14Kw8S3efgYm8=
=XMFk
-END PGP SIGNATURE-



How to jump from one spelling mistake to the next?

2021-03-19 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512


When I'm writing in org-mode I very often make spelling mistakes which I
can go back to later to correct. So how can I jump from one mistake to
the next please?

For example -

- --8<---cut here---start->8---
John likes applles but Sarah likes orangies.
- --8<---cut here---end--->8---
  
So in that example how do I jump, using the keyboard only, from the
misspelled apples to the misspelled oranges so that I can correct them?

Thanks
  Sharon.  
- -- 
Debian 10.7, fluxbox 1.3.7, emacs 28.0.50, org 9.4.4
-BEGIN PGP SIGNATURE-

iQJPBAEBCgA5FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmBVVysbHGJvdWRpY2Nh
c0Bza2ltYmxlLnBsdXMuY29tAAoJEDaBgBkK+INbDuYP/1mj5JcjTcK9+lxrNveB
AE2AtlU52JgdakCCnFTZ9cIUM3qdLelpP4uZkKUiLkmaqK3va9fD9Bp7DdlsolJy
Z/YbJv8xXSdeXJPXUW0kZMFJlUsMpJClcGELnwv1Vvy1XrEeZR4nz7VaVgOMtGzT
x2bWp+Njv70a/C6hJC0bhQ2JfERGg0A6QM0ihe8kWPrfNoIA9q0vYRxpnex0wzJW
6bn1Jf8e+t/a1sSiKiWwnny6mUv17dJr/H0WXkFcl6Dna80Hy6zyfrElelMSoR//
Jkh0vRKN3wu/N7yWzPgsWB+gSC6J8VoBRZSePvLI8rDAzVu1P4ovepHJeKGpwh7w
Azt1gg4j9Zdr6WikpVfzLKaSnWsLK/IOHuHTF3xWmF9GUygxr3MkE7DtvD43T88j
0InvCK1Ha/pQAE3R8THJAXIzhAc88QSV8WuAlEX7CpHaIpkRFHsCedN16w6Noxlm
jst1AZzaiPHWBtqssuox/kPF3s9w8ZScUjxP57xTNFY0PB3ZRKQCdfQxfC0O0hf1
+lBY9uZVluTfJNPiyJ0rwrOftJx6K65+//QgJf2wO4kBceNG8EPci9fVeV8wE/GN
qYOK3OjeO9Ay7hTnNvv3PcXZoo20hCPUNIW3wLe7I5U5HSPoogE0QoYakLhdKQWw
iwK/WTeQPMWtuvhEqsifbTdS
=+Ws4
-END PGP SIGNATURE-



Re: word counts and org-mode drawers

2021-02-04 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512


Hi Juan.

Thanks very much for this code, it fits my purpose very well, thanks
again.

Thanks
Sharon.

>   Juan Manuel Macías  writes:
>
> Hi,
>
> Sharon Kimble  writes:
>
>> How can I exempt an org-mode drawer, and its contents, from word counts
>> please. I am using 'wc-mode' but I can't see how to do it.

>
> #+begin_src emacs-lisp
> (defun my-count-words-in-org-buffer ()
>   (interactive)
>   (let ((words 0))
> (save-excursion
>   (save-restriction
>   (narrow-to-region (point-min) (point-max))
>   (goto-char (point-min))
>   (while (forward-word-strictly 1)
> (if (org-at-drawer-p)
> (re-search-forward ":END:")
>   (setq words (1+ words))
> (message "Org buffer has %d word%s."
>words (if (= words 1) "" "s"
> #+end_src
>

> Juan Manuel 
>

- -- 
Debian 10.7, fluxbox 1.3.7, emacs 27.1.50, org 9.4.4
-BEGIN PGP SIGNATURE-

iQJPBAEBCgA5FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmAb+6sbHGJvdWRpY2Nh
c0Bza2ltYmxlLnBsdXMuY29tAAoJEDaBgBkK+INbKfcP/i/rVfnnXUSViX7dD2Rm
Gu2+mvzfwv+lzyRMUsbZoEMi2hYDQ/5CkBChFVtgrG84KqF9+wmxjikCG9q2hL0b
BMYrZ60XNfwMsJ1nd7Q/CHypPgr7//cn6r89B29w2ez0/noWID9OiTDS+dfJFoQQ
8MFv32TeLQtlYiONsiO0Z38iqkyQDGn5aSOtQjMjIxOJ5fiAVAsO/GBiwrNunwbN
yeCrOJQhiooZB/dOQgYwZkd9yDOQ3C/jPfRflLxIBGWUJ3EgCuFqBCuKin+JBnhJ
JUghkoX1BSDfs72QDq5yyzezHTgDnq0IdKBdqz0GVrMH6tkHFxfLDdUbxJgY2KcF
uW/GX17A23EXLT11MhI0C+W3VnG68HWvqZc/x4kY0SKy9pxUbXy9y2BGJFdGl+no
CPMyEn3tA+E8klDVDWe6DSJj2JUxarAT0gaizs7KOJpHCDeHja2i+rN1S0eLZ+t8
PmY32zYHoe5w8yzdwm43V3+mZp6kvusK6SODNalRCIykqPrCeeYMmzolfwXpi6qW
va5g4OigBHmY165SfVdLr8iGzi96VqLlTWkzBN3bCiu9F/fJGqUiPdgDEAR8A2f0
/nFaEbYBNq4h1I8OMAMNhfA2PMeo0qn7vmBsmwboIXn6G+4yaTnQk9R80hb/7JFv
SN043NVKF1XKT5lcjxfDEIWr
=hiQu
-END PGP SIGNATURE-



word counts and org-mode drawers

2021-02-01 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512


Hi folks.

How can I exempt an org-mode drawer, and its contents, from word counts
please. I am using 'wc-mode' but I can't see how to do it.

Thanks
Sharon.
- -- 
Debian 10.7, fluxbox 1.3.7, emacs 27.1.50, org 9.4.4
-BEGIN PGP SIGNATURE-

iQJPBAEBCgA5FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmAYG6cbHGJvdWRpY2Nh
c0Bza2ltYmxlLnBsdXMuY29tAAoJEDaBgBkK+INbCiMP+wU4WdnwbY9FEji4Ns56
5nHDTCFolp1zvG3uuTWz2UIQl3dfyDiJeOHejFP/G77xNBXJrYFWXNb52TpvL436
lvGGDsKewPaY+fRryxcXAq8EcOdI0AE3E62GJpX7iMAGXOGVGTjQY0Cpwi3owyHs
R05UOiDcJJfNg+2oEK0sVL7HFk1Sg1o2vzbVI5Lxfj5/KR1ZuTJXkSvTiT1FgZBq
j6+aXqlsqQvImINYxRHZ/oynU7PhuUFG5v8Gk6XHjERi2ia+BZWUev0AvrbYwCx0
r0Zb5JPBg2gqBQ+Vk4PVd1cdz+n4jNGn+gZpJnxMF7rP4yzLjBKAwPzwnRiPgaEl
OMfnn0x1NzdejLm3B363dOusTG/cwCIABFap9y3xgoRLpord+xBWywtJqgZhEqAs
yAfE9erl0ON9UZD3gI2xspfsuRwIAkcjMQDQR8Ej2SAG1IClGVOEkECGV+tu7kSN
lHWd/PCXXWQTaE9LR1QePUj6naRNqZCY1JfM2upoBXhcSB31r0v9K4zfnYM14qu3
jS5NQasGKR74oSyboIlUyX+5M3r6Iowg57dGVM0JR3nB5O7XenFQv67iqWojYM4L
jxCxFgflgh0ebRqxCEzMV5NiJiGfGAuGliwerB8l/lXkIjLuQ8ZxyjV0MbQe7BUk
ngEgy0ZeKO8dG1z0GAgZfYkx
=Ri0D
-END PGP SIGNATURE-



'documentation.org' now being required

2020-11-29 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512


I have just updated my packages using the paradox package manager and
then restarted emacs. And these were the packages that were updated -
org-special-block-extras, binder, clojure-mode, helm, magit, esxml,
org-ref, fountain-mode, link-hint, org=ql, org-cliplink, perspective,
projectile, pyvenv, restart-emacs, smartparens, treemacs, transient,
w3m.

Every org-mode buffer now requires it to have a 'documentation.org' file
to being its folder before 'imenu' will run and show in the taskbar.

And then I got this message in the minibuffer, 'Current desktop was not
loaded from a file. Overwrite this desktop file? (y or n)' for 906
times!

How can I get emacs to not require 'documentation.org' in all my
org-mode folders please? And for emacs to behave itself again please.

Thanks
  Sharon.
- -- 
Debian 10.6, fluxbox 1.3.7, emacs 27.1.50, org 9.4
-BEGIN PGP SIGNATURE-

iQJPBAEBCgA5FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAl/DfmsbHGJvdWRpY2Nh
c0Bza2ltYmxlLnBsdXMuY29tAAoJEDaBgBkK+INbfkkQAIZan8QFUS7mHBdaGhVl
5GwZ3VQNfASQJa2KBCxA7YtC1baqU0PZurss+TW2IIATGAbkCz6zg1J9hSIyrV4q
VeFx5mR9UQMrxLVbwa1GhQywGu6PGxoBElU8DoHNrR0aGlYuTgXUbe7jlmhozwYV
lgePGKon2tmVHnggBj9O9bpoOGeQj78Zxs9S+rT6RtgYm4g/LAtwh7Cp5IRjUc3L
LF7hGLjXH4Up8jzm88G2NPSPoBWBP5yZEKgDXo5Z4Ut8qcasTzg+QSAqu8MPWf2Z
1YyfmeKzRNDAYvBiUlyTLYJNhAiQnYCOJRE+S/c8PwFY+qGwuAyi41AVMRDgj06K
f9YPX/xNOzjoELAhUo3A5OtcvWl2B2tiZojNb3ME+p+nGlwUGJPN7zRYoEIqyFOK
3XmR5F4EtK5aZapvo28/5bIsws9lewrxGiFIKBnDL396z33l+z88CxZiiJJdEpP8
UACvElRcjlx8uCUXUoqheVktOlAbVT0T2Q3Ul7DmoTRGwQwTU3Fl6lHaSoa7DaOF
MOhrtWzilG1rioFu5SMt41swaoJAU0ZTyMtC4JwWBTpea6DoptzRK9XTyGXv1M9s
pBq24XR1NMXL2HH5Vsu+wC0P+ZGBs+HNMZejhdsUwhLl9QVeoTeyqapXM1rNgx53
JVYSKqS4nD/xtjY5kgVLZYPW
=Tc7e
-END PGP SIGNATURE-



Re: Bug: Italicised text in between quotes

2020-09-14 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512


> I think that I've found a bug in the new org-mode version released
> today.
>
> If you have this in your document (or any italicised text in between
> quotes),
>
> --8<---cut here---start->8---
> #+BEGIN_QUOTE
> /In the previous versions of org-plus, you can plainly see that it is bright 
> green and italicised./
> #+END_QUOTE
> --8<---cut here---end--->8---
>
> then it doesn't show the text in between the quotes showing as italics
> (it should show as bright green in my theme of 'darkest-midnight').
>
> In the previous versions of org-plus, you can plainly see that it is
> bright green and italicised.

Following up on this I've also noticed that its occurring in my config
file, which is an org-mode file.

Every single '#+BEGIN_SRC' seems to be faded out, and its occurring with
any command that starts '#+'. As soon as you start typing '#+' the
command appears faded out. And the same still applies with the zenburn
theme as well.

Thanks
  Sharon.   
- -- 
Debian 10.5, fluxbox 1.3.7, emacs 27.1.50, org 9.3.8
-BEGIN PGP SIGNATURE-

iQJPBAEBCgA5FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAl9fe2gbHGJvdWRpY2Nh
c0Bza2ltYmxlLnBsdXMuY29tAAoJEDaBgBkK+INbJQ4QAKfnrPaEb9OfCt31uSzn
ppdlS6Hq16gM2V55R6wTNaEbaJkzAztFQOirjBeFPkKVoHa1Czmlt7ufCyLlCWMx
UvcT3IagUjxAfSg5EguRqAKtTw7gzDOyjKVlRucWGuqjfX7teooC9izVXtyvjn8/
zmw9lVqqrEL04QCkMypzVTZMi8ixKgRnxqH4ngu6rWXrLueY1mQnaI/pDq6CglNK
G8D5Frttu3pr9Yv8CIxqpoyFK+CTbb6fK3tFa84Ad5nWKZHgUFR0rr3+EedfiYcX
/mxr8Trx79SSi7Ssp4cGHj3ZZfXqa9lkpNkcwi4Q5Eqzg80H90CoxsIsk8dlP5Qp
AR3EvCZckS1hRRzBAhtTLST5BGddWG/CMc3/VkyzreFPkyMvv7pfnHrjUSa7jPft
Z4/qlTclnYF9POaX6FuCw6XxM97Re93n+lqxfAa/oMUP0rqFKJE7ZtIciZsT0yk/
TuRexWIZslrk0ddz+iLeG0trRamO3xtqPwVOeZD+ebwpzvwUrm6F5ylODF6wEUJo
O7f63gEbyRtLVqAaIBPexc/zbHnzHQWxWZR0w76KIoaa5NEg/le6D6tHSj0CaHeK
zlVVVbSpfSdYTqaEqMxcZn2UvM0QGWMSq6c/CW/hMb07mbEKzHnCoRwUd7XHaqKE
AgwwgSpmHnCcpdrAxML0x/Kh
=eM1Y
-END PGP SIGNATURE-




Bug: Italicised text in between quotes

2020-09-14 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512


I think that I've found a bug in the new org-mode version released
today.

If you have this in your document (or any italicised text in between
quotes),

- --8<---cut here---start->8---
#+BEGIN_QUOTE
/In the previous versions of org-plus, you can plainly see that it is bright 
green and italicised./
#+END_QUOTE
- --8<---cut here---end--->8---

then it doesn't show the text in between the quotes showing as italics
(it should show as bright green in my theme of 'darkest-midnight').

In the previous versions of org-plus, you can plainly see that it is
bright green and italicised.

Thanks
  Sharon Kimble.
- -- 
Debian 10.5, fluxbox 1.3.7, emacs 27.1.50, org 9.3.8
-BEGIN PGP SIGNATURE-

iQJPBAEBCgA5FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAl9fK30bHGJvdWRpY2Nh
c0Bza2ltYmxlLnBsdXMuY29tAAoJEDaBgBkK+INbH7wP/R6foDOQEOzW6ORuk0K3
z2zIMJgxMa40o7GV5Ws30oCeoWSXMzZ+Q0N9e83nrhasdonaY34QsY9mTpCK/zH2
4d6VirfAfygHq1SQgTnzHmsu6Wm0IWjYw6moI2FwYzsnFTZT7t8lpFCoKPFrnRUv
8wWZYZhMZF9zMf5IzgOOtOK/5cDEr++5edSmfWeMDVY5vsr5iHSp4iJkLKwuE19x
KENbtt8AQGhd2FG7oxjqwSOaQctFz4Z6xuBsqyB2CEUvtJc6BRkqhXQLcFIVPeMG
LUG6jvVTNTKBZCmSC90zPL9nnrcnRrWz6c5v58eJPC6TI3UyuK97nhdeqJbzOPrZ
j+H6Y6FEUi70XXXO/kv16EW5OvaNeEQLqQbDXX6n7hp0TAyd3AJu7IdenNv2N8+c
0rxvnNSKJY2Ya6PQP6aStGthB/6ElyUns67VsAn4cld54x8YMjKST5pptFnKx1SF
nMQwtAU1yAeCmXWB27KOSs0hp8A0s9no5nUCL4Ihn/7pQBxfrOsALBVZI5Lan/6X
c8x/EdoreVMmxm7J6YZlw1R2si54qXZqpRoUVNQVEVJ9O+y6ircnokBE4ecUHTQo
zmiGLmeQdmrEb4Uqqb/UZ1ydWz0JSBRgs30NnuZ7tor62A9zwVlnBKPgIxpGIGSs
f6pR/RcDTP6ZgfFEgasbaEPX
=yKvF
-END PGP SIGNATURE-



Re: setting up 'imenu'

2020-09-11 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Jeremie Juste  writes:

> Hello Sharon,

Hi Jeremie.
  
> Unfortunately I cannot reproduce your issue. I created a list of 56 sub 
> heading and I
> can view the heading Still a sample 0 until Still a sample 56.
>
>
> ** TODO * etc and onwards
> ** TODO * and another one
> ** Still a sample 0
> ** Still a sample 1
> ** Still a sample 2
> ** Still a sample 3
> ** Still a sample 4
>
> It might be because I am using [1] this  modification from  emacswiki
> https://www.emacswiki.org/emacs/ImenuMode.

This is my imenu setup from my config file -

- --8<---clip one---start->8---
** Imenu

#+BEGIN_SRC emacs-lisp
(require 'imenu+)
(global-set-key (kbd "C-x 2") 'imenu-add-to-menubar)
#+END_SRC
[2020-09-10 Thu 18:29]

Make sure auto automatically rescan for imenu changes

#+BEGIN_SRC emacs-lisp
(set-default 'imenu-auto-rescan t)
#+END_SRC
[2015-12-19 Sat 04:55]
[2017-01-16 Mon 23:39]

#+BEGIN_SRC emacs-lisp
;; Jump to a definition in the current file. (This is awesome.)
;; (global-set-key (kbd "M-i") 'prelude-ido-goto-symbol)
;; (require 'imenu)
;; (set-default 'imenu-auto-rescan t)
;; (defun prelude-ido-goto-symbol (&optional symbol-list)
;;   "Refresh imenu and jump to a place in the buffer using Ido."
;;(interactive)
;;(unless (featurep 'imenu)
;;  (require 'imenu nil t))
;;   (cond
;; ((not symbol-list)
;;  (let ((ido-mode ido-mode)
;;(ido-enable-flex-matching
;; (if (boundp 'ido-enable-flex-matching)
;; ido-enable-flex-matching t))
;;name-and-pos symbol-names position)
;;(unless ido-mode
;;  (ido-mode 1)
;;  (setq ido-enable-flex-matching t))
;;(while (progn
;; (imenu--cleanup)
;;(setq imenu--index-alist nil)
;; (prelude-ido-goto-symbol (imenu--make-index-alist))
;; (setq selected-symbol
;;   (ido-completing-read "Symbol " symbol-names))
;; (string= (car imenu--rescan-item) selected-symbol)))
;;(unless (and (boundp 'mark-active) mark-active)
;;  (push-mark nil t nil))
;;(setq position (cdr (assoc selected-symbol name-and-pos)))
;;(cond
;; ((overlayp position)
;;   (goto-char (overlay-start position)))
;; (t
;;  (goto-char position)
;; ((listp symbol-list)
;;  (dolist (symbol symbol-list)
;;(let (name position)
;;  (cond
;;   ((and (listp symbol) (imenu--subalist-p symbol))
;;(prelude-ido-goto-symbol symbol))
;;   ((listp symbol)
;;(setq name (car symbol))
;;(setq position (cdr symbol)))
;;   ((stringp symbol)
;;(setq name symbol)
;;(setq position
;;  (get-text-property 1 'org-imenu-marker symbol
;; (unless (or (null position) (null name)
;; (string= (car imenu--rescan-item) name))
;;   (add-to-list 'symbol-names name)
;;   (add-to-list 'name-and-pos (cons name position
#+END_SRC
[2014-11-16 Sun 16:09]
[2017-01-16 Mon 23:49]
[2020-09-10 Thu 18:35]

#+begin_src emacs-lisp
(require 'popup-imenu)
#+end_src
[2015-12-29 Tue 13:37]
[2017-01-17 Tue 10:39]

 imenu

#+BEGIN_SRC emacs-lisp
;; setting up 'imenu'
;; (local-set-key "\C-x\C-a" 'show-all)
(add-hook 'org-mode-hook
(lambda () (imenu-add-to-menubar "Imenu")))
(setq org-imenu-depth 6)

(add-hook 'rst-mode-hook
(lambda () (imenu-add-to-menubar "Imenu")))
(setq adoc-imenu-depth 6)

(add-hook 'markdown-mode-hook
(lambda () (imenu-add-to-menubar "Imenu")))
(setq adoc-imenu-depth 6)

(add-hook 'LaTeX-mode-hook
(lambda () (imenu-add-to-menubar "Imenu")))
(setq latex-imenu-depth 6)
#+END_SRC
[2015-04-08 Wed 23:54]
[2017-01-17 Tue 11:04]

 FIXIT imenu-anywhere

#+BEGIN_SRC emacs-lisp
(require 'imenu-anywhere)
(global-set-key (kbd "C-+") 'imenu-anywhere)
#+END_SRC
[2014-11-14 Fri 11:15]
[2015-05-23 Sat 02:34]
[2017-01-17 Tue 11:05]
fails with - helm-build-sync-source is void
[2020-09-10 Thu 18:37]

 dired-imenu

#+begin_src emacs-lisp
;;(require 'dired-imenu)
#+end_src
[2015-05-04 Mon 13:54]
[2017-01-17 Tue 13:24]
[2020-09-10 Thu 18:38]

 FIXIT imenu-list

#+BEGIN_SRC emacs-lisp
(require 'imenu-list)
(global-set-key (kbd "M-g 1") #'imenu-list-smart-toggle)
(setq imenu-list-focus-after-activation t)
(setq imenu-list-auto-resize t)
#+END_SRC
[2017-08-10 Thu 12:07]
https://github.com/bmag/imenu-list


#+BEGIN_SRC emacs-lisp
(defun ido-goto-symbol (&optional symbol-list)
  "Refresh imenu and jump to a place in the buffer using Ido."
  (interactive)
  (unless (featurep 'imenu)
(require 'imenu nil t))
  (cond
   ((not symbol-list)
(let ((ido-mode ido-mode)
  (ido-enable-flex-matching
   (if (boundp 'ido-enable-flex-matching)
   ido-enable-flex-matching t))
 

setting up 'imenu'

2020-09-10 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512


I'm having major problems with my imenu setup, and its like this.

- --8<---code one---start->8---
* Outlining and Plotting
  ** Level 2 heading
  ** etc and onwards
- --8<---cut here---end--->8---
  
- - 'Outlining and Plotting' is a level one header

- - 'Level 2 heading' is, not surprisingly, a level 2 header

Now, if the 'level 2 heading' has 50 items, it only actually shows 46
and does not show the remaining 4!

- --8<---code two---start->8---
* Outlining and Plotting
  ** Level 2 heading
  ** TODO * etc and onwards
  ** TODO * and another one
  ** Still a sample
- --8<---cut here---end--->8---

In the code snippet shown as 'code two', those showing as a 'TODO *
item' are articles that are unwritten, and all other items are written.

- - In the imenu it is very easy to see what articles are unwritten due to
  them showing with a beginning ' * '.

- - In the imenu unwritten articles show as 'From: * etc and onwards'
  where there are 10 or more items, they are folded.

So how can I get the imenu to show *all* the imenu items of written
articles please?

I've been looking in all the 'Customize group: imenu' buffers, but I
can't see where I can set it up as I want. Any ideas please?

Thanks
  Sharon.  
- -- 
Debian 10.5, fluxbox 1.3.7, emacs 27.1.50, org 9.3.7
-BEGIN PGP SIGNATURE-

iQJPBAEBCgA5FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAl9Z/+gbHGJvdWRpY2Nh
c0Bza2ltYmxlLnBsdXMuY29tAAoJEDaBgBkK+INbiJsQAMP33tO8LSDTi/4/bxVb
rjA/eInifeHdgHGv10Jc+3/X4xzIGadv5JpN9ZtKEju1yp5PXcJWSQftnQSxqIQU
lLLx5uyMDZC7ZI2476aZZl3+KYhPaFaWnFs9JaPP+8zxff0WMrofw+YIGUzDdk4J
O9JIDNLH8/Lwsi7aNWdgM2guL3RlLuTsZzHaDPeC1dlp2zKEJY7/cA15EFp2MqGa
+RRbUYcGNUZLLqiLtZYdhIWzbEJNirj4ZuOQEKAYrfd3gChsILflwlwtwrCnDX/L
m4T62oftYC9a1xY8dS9G9rrJ9hn2Cy7fDV2vLK3q8gH4CrS66TTsiITv5rkYd2oR
frmncOM9dYwxjHvdpzA7/97NZkbsffNHvgolqLoUJDOZpA3/2N956OE+ewL8ZxFF
SzrH9ms4/XUcg2rHZizCNpovFmlJiyHFNEVBHg9iMe9FKFVvkXioEEY2Bt7ZEjvG
eg4G82OgP9INTspBVeMKl/j48iYP5Y6CqZvnzcKBxaqMfBIHlLDEs1s+wZERt9Ri
IEwQfO+/zU46dPQ4Ekf0vRxs5kp9ydSaF6H3zkn3yhpk0j5a+6JYOVvrEOvl0Vfb
iN8OoxkMMiCKXo5tSCXkV0pKt1HJm3RV8PFmK/GjLh39ePGA+nVZcUzXp4VwbM8H
QA1lWiy3oBWklRwnJKvpG/46
=oaoQ
-END PGP SIGNATURE-



Re: Mass conversion of items

2020-09-01 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Thanks for replying Tomas.
   writes:

> On Tue, Sep 01, 2020 at 04:09:27PM +0100, Sharon Kimble wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA512
>> 
>> I'm hoping that someone can help with this problem I have.
>> 
>> I have several org-mode files which have some specific formatting in
>> individual items, specifically -
>> 
>> - --8<---cut here---start->8---
>> \uuline{foo}
>> - --8<---cut here---end--->8---
>> 
>> This gives a double-underling of 'foo' when exported to latex and built
>> into a pdf file.
>> 
>> I'm now in the situation when the double underlining also needs to be
>> italicised, and in org-mode its showing as -
>> 
>> - --8<---cut here---start->8---
>> /\uuline{foo}/
>> - --8<---cut here---end--->8---
>>   
>> This gives a double-underling and italicised of 'foo' when exported to
>> latex and built into a pdf file.
>> 
>> I would like to change about 150+ 'foos' and possibly using
>> 'replace-string' to do it. Also, 'foo' is lots of different words which
>> includes spaces between some of them. So how can I do it please?
>
> Hm. From your description it's unclear what exactly are you
> after. A couple of questions to try to zoom into that:
>
>  - You want to change the text in the curly braces, i.e. what
>you call 'foo' above? Is this text always different? Is it
>possible to state a rule describing how this text looks like
>and by what you want to replace it? Or is the process going
>to be manual?
>  - All that stuff: is it in one file or scattered across multiple
>files?

Okay, being very specific, all of '\uuline{foo}' remains, but with a
forward slash at the beginning and end of '\uuline{foo}' to achieve this
'/\uuline{foo}/'

Thanks
  Sharon.
>
> I'm sure there are a couple of other questions I just forget now,
> But we'll get there :)
>
> Cheers
>  - t
>
- -- 
Debian 10.5, fluxbox 1.3.7, emacs 27.1, org 9.3.7
-BEGIN PGP SIGNATURE-

iQJPBAEBCgA5FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAl9OgzobHGJvdWRpY2Nh
c0Bza2ltYmxlLnBsdXMuY29tAAoJEDaBgBkK+INb0cYP/iJ65wP+ZIA2nPXnxZLK
OZebw3ghKx1xTFQvCXc3m5UXCjkDUgAk9sJpGdpx/FvzzHWvpmpkQkPybnyRXBwM
Ogc1PlEJRjhXMbAwyocvNmpoBMzF90c5xa3ge7qmbn9ogNr61l4oD0ZMaIjwA30k
Rsz2lzuv4GRCv3R7r6W1Y3H11ks9bt0QE3vZKgnUb7veKW50bZcJMqRwL1xGIYB4
HnuG7GNOAnTuf2dGF1BMco2NBONEYQhhL5WUksGb5nqLKDqa664BhTPHT1L6jPay
TeBfSc3gSQHU2hPp2/iiaYlvkiQFKsS6Q7wQ1+IwrYKNkbaszkRvjS9wmzV6CMc9
so4N/Dbx9LsTXlA/8YbjYbYWUGDuCBot5MJc9OjX27+uP0BqhoIux93UsjpWKAFB
e721RTLewXDtQLV/uoVxEfWGUxOKBEw7VDhyPOZ72Gxk8c7EhUQC3bLRLHDe3mZi
Y99JKXYbfL0Mcfl+5/wbD91L1BJt29+KZAqzvrYRKaU8AAHrBZcStgn1en/m5JS0
fPTXDOvTHedIdpqLz3oQIU7FAQs+RD/PbbVf+8vXcaq6k8MZeuNki2E0lBxVo/cu
FHJBnbY7o3vUDwDXMyV23IUBMLLDy4ug0dK2+NBGTM7SosJazNq4mWdMgAtWVfYi
0ARNlhp4bixDDlOwtfTkS3lQ
=kqHe
-END PGP SIGNATURE-




Mass conversion of items

2020-09-01 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

I'm hoping that someone can help with this problem I have.

I have several org-mode files which have some specific formatting in
individual items, specifically -

- --8<---cut here---start->8---
\uuline{foo}
- --8<---cut here---end--->8---

This gives a double-underling of 'foo' when exported to latex and built
into a pdf file.

I'm now in the situation when the double underlining also needs to be
italicised, and in org-mode its showing as -

- --8<---cut here---start->8---
/\uuline{foo}/
- --8<---cut here---end--->8---
  
This gives a double-underling and italicised of 'foo' when exported to
latex and built into a pdf file.

I would like to change about 150+ 'foos' and possibly using
'replace-string' to do it. Also, 'foo' is lots of different words which
includes spaces between some of them. So how can I do it please?

Thanks  
  Sharon.
- -- 
Debian 10.5, fluxbox 1.3.7, emacs 27.1, org 9.3.7
-BEGIN PGP SIGNATURE-

iQJPBAEBCgA5FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAl9OZCcbHGJvdWRpY2Nh
c0Bza2ltYmxlLnBsdXMuY29tAAoJEDaBgBkK+INbIKoP/jPRMgczyaMVbAYxoBco
1xnfZk6LNX3kdXxBgyFMDJIkkwGeBsPoLeC6zsW42uDe6N+Hr0+1bTI/E2uSg/I4
PybZLDAtKlWyFqjOVQASo1DC3CqHCzfr0Z66JkMj05qBJTGbIPm88PZxBSxs5ieQ
PluJYNHjcNO78AeQrY1IrrDaNco5HAqVi0pWOCjykkCQHmmTB3wrY4S4YvOmeGAF
m4SF6713o7VB2+VMgmWITSge6iHCwxHGqlabT6wRNhiZDSJHQQuEzxdg1SxaFsfe
BH7YECjDmaAP60sXbOcbLnU882QtH2qXiCFwTUchjpmQ5fGH7fUE/kKPQnnjjD7W
vq91skF1I0BMVoLuTT5FkNucMOpzxAw4RuHLZ4yWnXcrflXZPaurFnDlRTYFaA88
VkCkhxWf7WtbmcnSg3YNfP6T/nq4XLVu3zuE0DBjmRXobzULmM/ptSoydpnleawz
G7HQmSrUyBPMGX9kX7ggTWY5IvkF27CclEQL0tAR8Cui1GNBiQj9xEnWzVFcmTww
wIP3RoCAloa1RnF2OIOBlXY0w38EI+O5/F8uNogoUpHQTGWD8eSE6uhjSIXzhyC7
RtlZLSsVttpJv3uxIXOcfUFXTOMKr7wmBij9RsKSkkAbi7SabgWpeL6W+aJzR70J
Hqxr914+M4k3eEOSw197TEiJ
=WUuK
-END PGP SIGNATURE-



imenu and drop-downs

2020-08-22 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512


I am using 'imenu' as a drop-down for giving an easy way to jump among
different headings in an org file.

But, I'm finding that level 2 headings are not showing all of the list
of available headings once the list is bigger than the screen!

So how can I get my list of headings under control please, and to regain
its usefulness?

Thanks
  Sharon.  
- -- 
Debian 10.5, fluxbox 1.3.7, emacs 27.1, org 9.3.7
-BEGIN PGP SIGNATURE-

iQJPBAEBCgA5FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAl9BsS8bHGJvdWRpY2Nh
c0Bza2ltYmxlLnBsdXMuY29tAAoJEDaBgBkK+INb+2EQALZyNQxz5R0Zdx0Io4RK
3j+Ct3EcrLkhiNd4/qKuIekPBLvk6NKJd1rkA9IOU0NAD6fs6r5yHo6sWyIMzen/
oUK2y8XPPLFCNfOWoXbu7hEf+d1GDMpdEyzOLCQsayuwQuqcurxlMpy0w0Fe1OsS
/J3jaha+kL1bCXXKu6nnVcBHIcKJtimodBHCI8ewxhol6Ge69O2MdwlBxyR7FYU2
NGMgdy7YYRYPBKYvIqbL0HQJxBb1s8MZQ5dUd7wjhv09RiarCeFUPq+kFCM97t74
WP85rMYP9y+98V3Uze4/n0O9Wb/PQAphE3UxeTl7skOGrRMzJjbUbufGBg5l552C
OK8UuvKhDk0WY5OCPFW4wQsXLTimgxPGtbo8GMEN7uDxhxyT+PWjbEEkm0qXjVg9
OuDTKguLvP3zw41WMn4n+1t7GB4w0TV4lIJSmfL4dz0Qj8ozKS/aJ26jgHl1yxZ/
03F6jYr6nD1i9wAYVRnY0nrE6pLyKT8eVKkavPLQAy5nQthErVVkCEr+YccyG3gI
fcGcZGHY8ePiRK5xIcwFqcmimA1dFBKxNHSFyEjmOsd+pJspy1qVQN5s9IPiYvUi
r7UEMJ3kGVBQTHHYpw+qjnUrB4InqJsL5Cp5QVX5/UnqJIVY0OcupBx3ZtZ9GOtI
roKw23JvJqV8/vPAUP+fCm7Z
=exGt
-END PGP SIGNATURE-



Re: Document containing different text colours?

2020-08-06 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512


Thanks for replying Diego.

The text of the book will not be exported into latex or any other
forward-type document. I need the coloured text purely for my own
interest and usage. When, and if, I do export it to latex, LibreOffice
doc or whatever, it will just have the standard coloured text of black
text on a white background. But I need different coloured texts in
org-mode to show me graphically where I added in new text to the book,
and at what stage of the drafting.

For instance - first draft is white text, second draft is lime-green,
third draft is light-blue, fourth draft is pale-red, etc.

So in the above instance I would have white text, lime-green text,
light-blue text, pale-red text, etc ... all in the same document.

Is that clearer?

Thanks
  Sharon.
  
Diego Zamboni  writes:

> Hi Sharon,
>
> I'm not sure I understand what is it that you are trying to do. But color (or 
> any other visual) is a feature of the exporter you use rather than of 
> Org-mode itself. For example, if you are exporting to HTML, you can use the 
> following
> at the top of the document:
>
> #+html_head_extra: body { color: white; background-color: black; 
> }
>
> For LaTeX export, you should be able to add the correct settings using 
> #+LATEX_HEADER_EXTRA.
>
> Hope this helps,
> --Diego
>
> On Wed, Aug 5, 2020 at 2:37 PM Sharon Kimble  
> wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
>
> In a book that I am writing, the text is white on black background which
> I like. But this is only the first draft, when its ready I shall go onto
> the second draft and then third draft, as many as necessary to polish
> the book before it goes to the beta-readers.
>
> So the first draft is white text on a black background, is it possible
> for all the second draft text to be in a different colour that I assign
> to it? And ditto third draft onwards?
>
> I envisage something like setting the text with 'M-x second-draft-text'
> which will then display the new text with its assigned colour. Which
> will also mean that the document will have multi-coloured text in it?
>
> Is this possible?     
>
> And if it is possible, how do I do it please?
>
> Thanks
>   Sharon. 
> - --
> Debian 10.2, fluxbox 1.3.7, emacs 27.1, org 9.3.7
> -BEGIN PGP SIGNATURE-
>
> iQJPBAEBCgA5FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAl8qp/YbHGJvdWRpY2Nh
> c0Bza2ltYmxlLnBsdXMuY29tAAoJEDaBgBkK+INbXdsP/RWZdu+1N1V+ZCXUmnX3
> deLkWS5APBK1zltakwg4Mm7ZxgkTLjEaXrVvpm4i8zMcTXqT38U7HUiUW870hTAC
> aH9bEDku+R/F79ibBOZxasEl8S5DnLhK7skplbKBHp8OftV3GWPDTntBr8+F6cre
> /tQvVxkd/GDeGZxDvKRuRNEAZN1a05dnfmv6/O0XJ2PpI7rAqMOAEigxpV8G3elk
> fFbBmqObJLcJdTOlHu3b3MljnVbo2ePv7q/6Xwgez0g0Q0+Bj6ZW01IMfTr5aRd2
> 9He+l+ds64M8m2M5NZAME2O7PutgM4IjF6ccp7MAfAkHCWy9t+H1BG6u7xxcT4Oh
> ys9wEb2PW6bxl3YPjsx3ByNPup0dZpufudDvNqk2IX4t6qIea/1v6AEwqfic1s5O
> DrWX3A6TDj9RcLZN5sPHXC9e4WMfGkbngGwdNo5nkquULwUg91ySBAWEJ3z2TohZ
> 9/U6W8eV0rvm12GTe3wNssNcrDSfvXXT70Bm8ii94u4w44zBCWiq/puLqgFivutl
> u5sNPIedyULbdj+n8SKfmpRZFnfClQA1cVLl6wiTOZx1WubZR++C9IsJhhaLp7kP
> ZaLh1Q2zIVYJxp7OolUsdJ40AFrcDI8Y6ra6YWYnpuq7Cgza+l2UI7YFWSXfJLMC
> RDz4BPP61uqJQqQ9GKq09EMd
> =3YW5
> -END PGP SIGNATURE-

- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.2, fluxbox 1.3.7, emacs 27.1, org 9.3.7
-BEGIN PGP SIGNATURE-

iQJOBAEBCgA5FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAl8r7N0bHGJvdWRpY2Nh
c0Bza2ltYmxlLnBsdXMuY29tAAoJEDaBgBkK+INbjvoP+PDQef4JGrdKVAP+DOHy
C47ndjTK21CJUxVtkdoZneSQmqh4jXoX4j0grJ1cGk8nsGxXW9wMhtDTfHoR8+IR
MbDOglB/i9jzDGMP9R4Z3cmOblfytHOraVeyp7gZLUPbqCfFtjNrT1AG0alZHid8
53iXEIF8t6b/c3ZXfMf6xNBbpnFNfPS6UsO3GIMgiW1q5dBrJA5aNxWfAzzvWGQG
a/+beOf+q+DP/bJc0u4h9yLlsDQ08akDZdrj9Y+nzTnbmfNbm0RvfmI04zUankc+
3CO0GK+nnaCKtM9Oy1UNi3Vc+1vd8XyeDWiuE5aRE42Nz3tmwA5soAHQjToovmaB
hqQg1tu2DdsCNs8DvlI4cYVRjnw629RCbgJBm9y73wTS2h+9rH+c+L9vePt8TgEx
IToqu8nGTvsHD6cG5JyUOpfCySv+NMvl3owXCEDZ5SdInR6TOw2qf4n39XUDT/dd
niwAjJmeM3S7VQQCtc90mQEIoIkbahk7g5DAcpkta2/g8KoP+3ESc+GT9L6UNHLh
uXdNEJ8oSXkI4nC4nCdAp6fKuYiWeEBZXCtuodBehg97PEwEJ45YERz5nD2iuAra
vBfoyvNUIYjXCcKvSx9UZlPfWVYPWA/vSsZ+ys2+s5T+xXCymGumjoUvmfgQdIR1
9hHGxHm1fofbVjbdtigkgXc=
=GIRg
-END PGP SIGNATURE-



Document containing different text colours?

2020-08-05 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512


In a book that I am writing, the text is white on black background which
I like. But this is only the first draft, when its ready I shall go onto
the second draft and then third draft, as many as necessary to polish
the book before it goes to the beta-readers.

So the first draft is white text on a black background, is it possible
for all the second draft text to be in a different colour that I assign
to it? And ditto third draft onwards?

I envisage something like setting the text with 'M-x second-draft-text'
which will then display the new text with its assigned colour. Which
will also mean that the document will have multi-coloured text in it?

Is this possible?  

And if it is possible, how do I do it please?

Thanks
  Sharon.  
- -- 
Debian 10.2, fluxbox 1.3.7, emacs 27.1, org 9.3.7
-BEGIN PGP SIGNATURE-

iQJPBAEBCgA5FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAl8qp/YbHGJvdWRpY2Nh
c0Bza2ltYmxlLnBsdXMuY29tAAoJEDaBgBkK+INbXdsP/RWZdu+1N1V+ZCXUmnX3
deLkWS5APBK1zltakwg4Mm7ZxgkTLjEaXrVvpm4i8zMcTXqT38U7HUiUW870hTAC
aH9bEDku+R/F79ibBOZxasEl8S5DnLhK7skplbKBHp8OftV3GWPDTntBr8+F6cre
/tQvVxkd/GDeGZxDvKRuRNEAZN1a05dnfmv6/O0XJ2PpI7rAqMOAEigxpV8G3elk
fFbBmqObJLcJdTOlHu3b3MljnVbo2ePv7q/6Xwgez0g0Q0+Bj6ZW01IMfTr5aRd2
9He+l+ds64M8m2M5NZAME2O7PutgM4IjF6ccp7MAfAkHCWy9t+H1BG6u7xxcT4Oh
ys9wEb2PW6bxl3YPjsx3ByNPup0dZpufudDvNqk2IX4t6qIea/1v6AEwqfic1s5O
DrWX3A6TDj9RcLZN5sPHXC9e4WMfGkbngGwdNo5nkquULwUg91ySBAWEJ3z2TohZ
9/U6W8eV0rvm12GTe3wNssNcrDSfvXXT70Bm8ii94u4w44zBCWiq/puLqgFivutl
u5sNPIedyULbdj+n8SKfmpRZFnfClQA1cVLl6wiTOZx1WubZR++C9IsJhhaLp7kP
ZaLh1Q2zIVYJxp7OolUsdJ40AFrcDI8Y6ra6YWYnpuq7Cgza+l2UI7YFWSXfJLMC
RDz4BPP61uqJQqQ9GKq09EMd
=3YW5
-END PGP SIGNATURE-



Re: org-footnote renumbering

2020-04-08 Thread Sharon Kimble
Kyle Meyer  writes:

> Sharon Kimble  writes:
>
>> In the org manual v9.3 on page 139 it explains how to renumber the
>> footnotes. I am presuming from reading it that it requires me to C-c
>> C-x r.
>
> I don't spot any mention of 'C-c C-x r'.  The table in the footnote
> section that lists keys is describing the menu that org-footnote-action
> (bound to 'C-c C-x f' by default) shows when it's called with a prefix
> argument.  So, the full sequence to get to 'r' listed in that table
> would be 'C-u C-c C-x f r`.

Thanks for replying Kyle.

I'm using 'C-u C-c C-x f r' and it isn't changing the footnote
numbering! I am adding file-2 to file-1 and then using the key mantra,
but the footnotes are not changing. In file-1 the last footnote is 756,
and in file-2 the first footnote is 670 (I've no idea why it suddenly
starts at 670, but it does.)

So where should the cursor be when using the key mantra please? On the
new chapter heading? On the first [fn:670]? Or where please?

Thanks
  Sharon.  
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.2, fluxbox 1.3.7, emacs 27.0.90, org 9.3.6



org-footnote renumbering

2020-04-07 Thread Sharon Kimble


In the org manual v9.3 on page 139 it explains how to renumber the
footnotes. I am presuming from reading it that it requires me to C-c
C-x r.

But in my case that isn't working because I did have that key
combination set to 'org-mark-ring-goto'.

I have since reconfigured 'org-mark-ring-goto' to use 'C-c C-c r', but
how do I find what the default code-string for 'C-c C-x r' is please?
And then, how do I show it in my config please?

Thanks
  Sharon.  
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.2, fluxbox 1.3.7, emacs 27.0.90, org 9.3.6



Re: tabbar or .... ?

2020-04-07 Thread Sharon Kimble
Eric S Fraga  writes:

Thanks for replying Eric.
  
> On Tuesday,  7 Apr 2020 at 10:49, Sharon Kimble wrote:
>> But, I'm using 'tabbar' and I've had to break the file up into 3
>> separate org-mode files because otherwise the buffer I'm working on
>> drops out of tabbar into its own frame. (File 1 is 1.5mbs, 2 is 1.1mbs,
>> and 3 is 413kbs.)
>
> Can you please explain this in more detail?  How does a buffer "drop out
> of tabbar"?

I can't explain it, but suddenly the buffer that I'm using loses its
separate tab in tabbar, as if its suddenly created a frame for itself.
It was most disturbing when it happened.
  
>
> Are you using the old tabbar.el implementation or the new tab-bar
> implementation available since Emacs v27?

I'm using tabbar from MELPA. I have tried Emacs-27 tab-mode but it
seemed to me that it wouldn't fit my case, where my tabbar groups all
org-mode buffers, and ditto my gnus mail buffers.
  
>
>> I have 'vlf' acting in my setup, but how can I avoid the file dropping
>> out of tabbar please?
>
> Ah, maybe it is the fault of vlf.  Your files are not that large so do
> you really need to use vlf?

I'm not convinced that I am actually using vlf. I'm configured to use
files up to 20mbs, and if necessary I could include a greater amount,
after all I do have 64gigs of ram available!
  
>
> In any case, I'm not sure this is an org issue (but that could be
> because I've not understood your problem) so you may have better luck in
> the emacs help group.

I think that I've found a way round the problem, where I use just one
file for my converted website to org-mode buffer, but I can toggle
tabbar off, so I only show the buffer that I'm working on, and when
necessary I'll call the bibliography to the right of buffer, and also
the glossary underneath my main buffer. And then when I need to I can
just toggle tabbar back on again, and it all works nicely again.

Thanks
  Sharon.  
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.2, fluxbox 1.3.7, emacs 27.0.90, org 9.3.6



tabbar or .... ?

2020-04-07 Thread Sharon Kimble


I'm converting a website (Romance University's site, where the original
site has closed and gone offline.), so I'm converting it to org-mode and
then building it with latex into a PDF file for my own interest. So far
I've converted 447 web-pages, into 843 pages of a PDF file. 

But, I'm using 'tabbar' and I've had to break the file up into 3
separate org-mode files because otherwise the buffer I'm working on
drops out of tabbar into its own frame. (File 1 is 1.5mbs, 2 is 1.1mbs,
and 3 is 413kbs.)

I have 'vlf' acting in my setup, but how can I avoid the file dropping
out of tabbar please?

I would prefer to keep using tabbar so that I can then have the
bibliography file alongside the file I'm working on whilst I'm adding to
it.

Any advice please?  

Thanks
  Sharon.  
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.2, fluxbox 1.3.7, emacs 27.0.90, org 9.3.6



'org-structure-template-alist' is only partially working...

2020-04-01 Thread Sharon Kimble


I'm having great difficulty in getting 'org-structure-template-alist' to work 
properly.

This is what I'm using -  

--8<---cut here---start->8---
#+BEGIN_SRC emacs-lisp
;(require 'org-tempo)
(setq org-structure-template-alist
   '('("s" . "src emacs-lisp")
;("e" . "example")
'("q" . "quote")
'("v" . "verse")
'("C" . "comment")
'("b" . "src latex")
;("m" "#+begin_src latex-mode\n?\n#+end_src" "\n?\n")
;("t" "#+latex: " "?")
;("x" "#+BEGIN_SRC latex\n?\n#+END_SRC" "\n?\n")
;("h" "#+begin_html\n?\n#+end_html" "\n?\n")
;("a" "#+begin_ascii\n?\n#+end_ascii")
;("s" "#+BEGIN_SRC sh\n?+\n#+END_SRC" "\n?\n")
'("l" . "emacs-lisp")
;("u" "#+begin_src emacs-lisp\n\(use-package %0\n\:ensure 
t)\n\#+end_src")
'("i" . "index")
;("p" "#+BEGIN_COMMENT\n?\n#+END_COMMENT" "\n?\n")
'("f" . "src file")))
#+END_SRC
--8<---cut here---end--->8---

http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.2, fluxbox 1.3.7, emacs 27.0.90, org 9.3.6



Re: Bibliography entry in the menu-bar

2020-02-28 Thread Sharon Kimble
Nick Dokos  writes:

> Sharon Kimble  writes:
>
>> Simon Butler  writes:
>>
>>> Hi Sharon
>>>
>>> the menu is part of BibTeX-mode (https://www.emacswiki.org/emacs/BibTeX)
>>
>> Thanks Simon, I've now been able to provide a key-sequence for 'Online
>> Resource' like so -
>>
>> (global-set-key "\C-c C-e C-o" 'bibtex-Online)
>>
>>
>> however, it is shown in the drop-down-menu of bibtex commands as
>>
>> Online Resource   C-c SPC C-e SPC C-o
>>
>> How can I lose the 'SPC' in the drop-down list of commands please, so it
>> looks very similar to all the others?
>>
>
> IIUC, you want to say
>
>(global-set-key (kbd "C-c C-e C-o") 'bibtex-Online)

Thanks Nick, this works :)

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.2, fluxbox 1.3.7, emacs 26.3, org 9.3.6


signature.asc
Description: PGP signature


Re: Bibliography entry in the menu-bar

2020-02-28 Thread Sharon Kimble
Simon Butler  writes:

> Hi Sharon
>
> the menu is part of BibTeX-mode (https://www.emacswiki.org/emacs/BibTeX)

Thanks Simon, I've now been able to provide a key-sequence for 'Online
Resource' like so -

--8<---cut here---start->8---
(global-set-key "\C-c C-e C-o" 'bibtex-Online)
--8<---cut here---end--->8---

however, it is shown in the drop-down-menu of bibtex commands as

--8<---cut here---start->8---
Online Resource   C-c SPC C-e SPC C-o
--8<---cut here---end--->8---

How can I lose the 'SPC' in the drop-down list of commands please, so it
looks very similar to all the others?

Thanks
Sharon.

> hth
>
> Simon
>
> On 2020-02-26 17:14, Sharon Kimble wrote:
>> I'm hoping that someone can help, but when I'm in a buffer of my
>> bibliography, there is a drop-down list in the menu-bar, of buffer
>> commands titled 'Entry-Types'. But what program puts it there?
>>
>> I want to create a new command to an entry in it, but I don't know what
>> the originating program is. Can anyone help please?
>>
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.2, fluxbox 1.3.7, emacs 26.3, org 9.3.6


signature.asc
Description: PGP signature


Bibliography entry in the menu-bar

2020-02-26 Thread Sharon Kimble

I'm hoping that someone can help, but when I'm in a buffer of my
bibliography, there is a drop-down list in the menu-bar, of buffer
commands titled 'Entry-Types'. But what program puts it there?

I want to create a new command to an entry in it, but I don't know what
the originating program is. Can anyone help please?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.2, fluxbox 1.3.7, emacs 26.3, org 9.3.6


signature.asc
Description: PGP signature


TODO status in a drop-down list of buffers contents

2020-02-20 Thread Sharon Kimble

In an imenu drop-down list of a buffers contents, how can I get it to
show just the TODO status, and just show the sections title once the
TODO is removed, please?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.2, fluxbox 1.3.7, emacs 26.3, org 9.3.6


signature.asc
Description: PGP signature


Re: Glacial file operation!

2020-02-04 Thread Sharon Kimble
Bastien  writes:

> Hi Sharon,
>
> Sharon Kimble  writes:
>
>> So how can I either remove it, or negate its showing its effects in
>> every org-mode file please?
>
> Can you use `org-mode-hook' to deactivate whatever is getting in your way?

Thanks for replying.

I actually solved it after I'd emailed you ... I had a file containing
50+ org-mode links to various files, documents, and shell scripts. Once
I'd dumped it out of emacs, everything suddenly worked as normal! My
final thoughts on it is that wc-mode was trying to count the number of
words and stuff in all of the files after following the links!

Sorry
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.2, fluxbox 1.3.7, emacs 26.3, org 9.3.2


signature.asc
Description: PGP signature


Glacial file operation!

2020-02-04 Thread Sharon Kimble

I'm working with a series of files (its actually a website that I'm converting 
into a pdf, and exporting it from org-mode), and its becoming positively 
glacial in operation! And I think that 'wc-mode' is the culprit. And wc-mode is 
shown as a dependency in the paradox package-manager system.

So how can I either remove it, or negate its showing its effects in every 
org-mode file please?

I've commented it out in my config, but I'm still feeling its effects somehow.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.2, fluxbox 1.3.7, emacs 26.3, org 9.3.2


signature.asc
Description: PGP signature


org-word-count exemptions

2020-01-24 Thread Sharon Kimble

If I have a drawer titled 'mydrawer', how can I exempt it and its
contents from word-count please? This is using wc-mode and also in
org-word-count too.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.2, fluxbox 1.3.7, emacs 26.3, org 9.3.1


signature.asc
Description: PGP signature


Re: alpha sort of TODO flagged tasks

2019-12-23 Thread Sharon Kimble
Nicolas Goaziou  writes:

> Hello,
>
> Sharon Kimble  writes:
>
>> How can I sort alphabetically some of my org-mode tasks which are in the
>> format of [1] please? I can sort them once the TODO flag is removed, but
>> I would like to sort them before then.
>
> I think you can do it the usual way, with `org-sort-entries'. Have you
> tried it? It works here.
>
> Regards,

Thanks Nicolas for replying.

I wasn't aware of 'org-sort-entries' and it does work extremely well, thanks.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.1, fluxbox 1.3.7, emacs 26.3, org 9.3


signature.asc
Description: PGP signature


alpha sort of TODO flagged tasks

2019-12-23 Thread Sharon Kimble

How can I sort alphabetically some of my org-mode tasks which are in the
format of [1] please? I can sort them once the TODO flag is removed, but
I would like to sort them before then.

Thanks
Sharon.

[1]
--8<---cut here---start->8---
** TODO foo
** TODO delta
** TODO oxymoron
** TODO clueless
--8<---cut here---end--->8---
-- 
A taste of linux = http://www.sharons.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.1, fluxbox 1.3.7, emacs 26.3, org 9.3


signature.asc
Description: PGP signature


backup of abbrev_defs

2019-12-18 Thread Sharon Kimble

This is slightly off topic but I really need some help.

How can I reliably backup my abbrev_defs file along with my usual
backups of my org files, every time that it is saved with a new addition
please?

I've tried using a symlink to the file held in another directory, but
when I restarted emacs the symlink wasn't followed and it created a new
abbrev_def file from somewhere, I don't know where. The new file was
only 5.7kbs, whereas the correct one is 10.4kbs! I had to copy over all
my savings to the new file so that it was able to be read and used.

Hopefully, thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.1, fluxbox 1.3.7, emacs 26.3, org 9.3


signature.asc
Description: PGP signature


Re: 'org-dynamic-block-define' is a void-function?

2019-12-08 Thread Sharon Kimble
Thanks for getting back to me Nicolas.

The problem seems to be resolved by closing emacs completely, rebooting,
and everything worked perfectly again.

Thanks
Sharon.

Nicolas Goaziou  writes:

> Hello,
>
> Sharon Kimble  writes:
>
>> On loading the most recent version of org-mode (yesterdays, being
>> 2019-12-03) I am consistently getting this occurring in debugger.
>>
>> --8<---cut here---start->8---
>> Debugger entered--Lisp error: (void-function org-dynamic-block-define)
>>   (org-dynamic-block-define "clocktable" (quote org-clock-report))
>
> This looks like a FrankenOrg. Your installation is suspicious. I don't
> know what is "paradox", but you may want to check if all loaded
> libraries are correct (e.g., by looking at `load-path').
>
> Regards,

-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.1, fluxbox 1.3.7, emacs 26.3, org 9.3


signature.asc
Description: PGP signature


'org-dynamic-block-define' is a void-function?

2019-12-04 Thread Sharon Kimble

On loading the most recent version of org-mode (yesterdays, being
2019-12-03) I am consistently getting this occurring in debugger.

--8<---cut here---start->8---
Debugger entered--Lisp error: (void-function org-dynamic-block-define)
  (org-dynamic-block-define "clocktable" (quote org-clock-report))
  load("/home/boudiccas/.emacs.d/elpa/org-plus-contrib-20191203/org-clock" 
noerror nil nil mustsuffix)
  #f(compiled-function (f) #)("org-clock")
  mapcar(#f(compiled-function (f) #) ("ob" "ob-C" "ob-awk" 
"ob-clojure" "ob-comint" "ob-core" "ob-emacs-lisp" "ob-eval" "ob-exp" "ob-java" 
"ob-keys" "ob-latex" "ob-lob" "ob-octave" "ob-ref" "ob-ruby" "ob-sh" "ob-table" 
"ob-tangle" "obarray" "org-agenda" "org-agenda-property" "org-archive" 
"org-attach" "org-autolist" "org-bibtex" "org-bullets" "org-capture" 
"org-checklist" "org-cliplink" "org-cliplink-string" "org-cliplink-transport" 
"org-clock" "org-clock-budget" "org-clock-convenience" "org-compat" 
"org-cookbook" "org-crypt" "org-dashboard" "org-duration" "org-eldoc" 
"org-element" "org-entities" "org-faces" "org-footnote" "org-gcal" "org-habit" 
"org-id" "org-indent" "org-index" ...))
  org-reload(nil)
  funcall-interactively(org-reload nil)
  call-interactively(org-reload nil nil)
  command-execute(org-reload)
--8<---cut here---end--->8---

I have removed the 3/12 version, and then reinstalled it through
paradox, and its come up with the same problem each time I've done it.

I'm aware of [1] and this below, but I'm not inserting a new dynamic
block, just reloading org-mode after the update!

--8<---cut here---start->8---

Add a dispatcher command to insert dynamic blocks

You can add new dynamic blocks with function org-dynamic-block-define. All such 
dynamic blocks can be used by org-dynamic-block-insert-dblock command.

--8<---cut here---end--->8---

So the next question is, how do I fix it at this end please?

Thanks
Sharon.

[1] https://orgmode.org/Changes.html
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.1, fluxbox 1.3.7, emacs 26.3, org 9.2.6


signature.asc
Description: PGP signature


Re: how to highlight the background of my current paragraph?

2019-11-01 Thread Sharon Kimble
Diego Zamboni  writes:

> (sorry, further hijacking this thread)
>
> Eric: I made a slight improvement to your code (see the =setq e=) so that the 
> empty space at the end of the line gets highlighted as in the default 
> behavior instead of only highlighting the part of the line that contains text:
>
> #+begin_src emacs-lisp
> (defun esf/get-visual-line-range ()
>     (let (b e)
>       (save-excursion
>         (beginning-of-visual-line)
>         (setq b (point))
>         (end-of-visual-line)
>         (setq e (+ 1 (point)))
>         )
>       (cons b e)))
> #+end_src

Thanks Eric and Diego.

I've used Diego's script from above with a slight adjustment to achieve
my need for the highlighted line to show as 'gray' in the
face-background line.

#+begin_src emacs-lisp
  (defun esf/get-visual-line-range ()
(set-face-background 'hl-line "gray30")
(let (b e)
  (save-excursion
(beginning-of-visual-line)
(setq b (point))
(end-of-visual-line)
(setq e (+ 1 (point)))
)
  (cons b e)))
  (setq hl-line-range-function #'esf/get-visual-line-range)
#+end_src

Thanks both.
Sharon.

>
> --Diego
>
> On Thu, Oct 31, 2019 at 5:03 PM Diego Zamboni  wrote:
>
> Hi Eric,
>
> Nice! Thanks for the tip :)
>
> --Diego
>
> On Thu, Oct 31, 2019 at 4:56 PM Fraga, Eric  wrote:
>
> On Thursday, 31 Oct 2019 at 08:52, Diego Zamboni wrote:
> > Since I use =visual-line-mode= as well in my org documents, the 
> effect is
> > to highlight the whole current paragraph (which is a single line in 
> the
> > file).
>
> In case you find this useful, I found that highlighting the whole
> paragraph was too much; I want just the actual "physical" line where
> point is highlighted, whether it continues on or not.  I do this:
>
> #+begin_src emacs-lisp
>   (defun esf/get-visual-line-range ()
>     (let (b e)
>       (save-excursion
>         (beginning-of-visual-line)
>         (setq b (point))
>         (end-of-visual-line)
>         (setq e (point))
>         )
>       (cons b e)))
>   (setq hl-line-range-function #'esf/get-visual-line-range)
> #+end_src
>
> Of course, this is not what the OP wanted so excuse the diversion.
>
> --
> Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-552-g8c5a78

-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.1, fluxbox 1.3.7, emacs 26.3, org 9.2.6


signature.asc
Description: PGP signature


how to highlight the background of my current paragraph?

2019-10-31 Thread Sharon Kimble

How can I set the background of my current paragraph to 'dark gray',
i.e. to highlight it, and the highlighting to follow whichever paragraph
I'm currently viewing/writing please?

I've been googling it but haven't found anything suitable so far.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.1, fluxbox 1.3.7, emacs 26.3, org 9.2.6


signature.asc
Description: PGP signature


Re: [O] M-x org-footnote-renumber ?

2019-08-13 Thread Sharon Kimble

Thanks John, but I've tried this and several other permutations as
suggested on Page 16 of the org manual, and I haven't found anything
that really works, so far!

Some background information - this is in the file header '#+startup:
showeverything fnadjust' and the footnotes are inline.

The latest footnote immediately before the parachuted section is
'[fn:73]', and the parachuted sections started footnote is '[fn:141]',
and that is what I'm trying to achieve, the footnote renumbered so that
they flow from '[fn:73]' to '[fn:74]' in the parachuted section, and
then onwards.

Thanks
Sharon.

--8<---cut here---start----->8---

Maybe (org-footnote-renumber-fn:N)?

Sharon Kimble  writes:

> I am converting a website into a pdf file, article by article, currently
> 1,190 A4 pages with 2,882 footnotes and its not finished yet. The main
> file has 4 additional files linked to it by '#+include:
> /home/boudiccas/research/writing/book/file-1.org :minlevel 1' just
> before I generate the glossary, bibliography, and index.
>
> In 'file 5' I am actively converting/writing sections some of which need
> to be parachuted (meaning dropped into their alphabetical place) into
> some of the other files, but I know that when I do that the footnotes
> will not be renumbered.
>
> So how can I trigger a footnote renumber please?
>
> Is there something like 'M-x org-footnote-renumber' that I can run
> periodically in each sub-file to renumber the footnotes?
>
> Thanks
> Sharon.
--8<---cut here---end--->8---
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.0, fluxbox 1.3.7, emacs 26.2, org 9.2.5


signature.asc
Description: PGP signature


[O] M-x org-footnote-renumber ?

2019-08-13 Thread Sharon Kimble
I am converting a website into a pdf file, article by article, currently
1,190 A4 pages with 2,882 footnotes and its not finished yet. The main
file has 4 additional files linked to it by '#+include:
/home/boudiccas/research/writing/book/file-1.org :minlevel 1' just
before I generate the glossary, bibliography, and index.

In 'file 5' I am actively converting/writing sections some of which need
to be parachuted (meaning dropped into their alphabetical place) into
some of the other files, but I know that when I do that the footnotes
will not be renumbered.

So how can I trigger a footnote renumber please?

Is there something like 'M-x org-footnote-renumber' that I can run
periodically in each sub-file to renumber the footnotes?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.0, fluxbox 1.3.7, emacs 26.2, org 9.2.5


signature.asc
Description: PGP signature


[O] M-x org-footnote-renumber ?

2019-08-12 Thread Sharon Kimble

I am converting a website into a pdf file, article by article, currently
1,190 A4 pages with 2,882 footnotes and its not finished yet. The main
file has 4 additional files linked to it by '#+include:
/home/boudiccas/research/writing/book/file-1.org :minlevel 1' just
before I generate the glossary, bibliography, and index.

In 'file 5' I am actively converting/writing sections some of which need
to be parachuted (meaning dropped into their alphabetical place) into
some of the other files, but I know that when I do that the footnotes
will not be renumbered.

So how can I trigger a footnote renumber please?

Is there something like 'M-x org-footnote-renumber' that I can run
periodically in each sub-file to renumber the footnotes?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.0, fluxbox 1.3.7, emacs 26.2, org 9.2.5


signature.asc
Description: PGP signature


Re: [O] Resize an org-table

2019-05-02 Thread Sharon Kimble
William Denton  writes:

Thanks for replying Bill.

I did try shortening the column widths in the manner that you suggested but it 
took so long for the table to be displayed, that I gave up, hence me wanting to 
try some other possible solution.

Thanks
Sharon.

> On 1 May 2019, Sharon Kimble wrote:
>
>> How can I resize an org-mode table that was created on a desktop machine but 
>> is now needed on a
>> laptop with a much smaller screen? The desktop uses a 25-inch monitor, 
>> whereas the laptop screen
>> is only 16-inch, so I need to find some way of 'shrinking' the table to fit 
>> the smaller screen.
>
> With a bit of experimenting you might find some column widths, like <40>, 
> that work to make it fit,
> as explained here:
>
> https://orgmode.org/org.html#Column-Width-and-Alignment
>
> Bill
> --
> William Denton :: Toronto, Canada   ---   Listening to Art: 
> https://listeningtoart.org/
> https://www.miskatonic.org/ ---   GHG.EARTH: https://ghg.earth/
> Caveat lector.  ---   STAPLR: http://staplr.org/
>

-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 9.9, fluxbox 1.3.7, emacs 26.2, org 9.2.3


signature.asc
Description: PGP signature


Re: [O] Problem with including file

2019-05-02 Thread Sharon Kimble
"Andreas Kiermeier"  writes:
Andreas.

Just a very quick glance at your problem, and in the tex output you've shown 
there is a double closing bracket on 'pdflang={English}}'. If you correct that 
then your output might be better, I don't know, but its certainly worth a try.

Thanks
Sharon.

> Hi,
>
> I’ve just run into a problem with exporting a file to latex.
>
> In a nutshell, my org files usually contain various analyses and output in R.
>
> I generally don’t include the source in the file, but instead tangle all 
> source blocks at the end and include the source code file in an Appendix. 
> This has worked in
> the past, but now the included file is not actually include.
>
> An example (close to minimal) consist of the two files below - test.org and 
> test.R (both in the same folder).
>
> When exporting test.org to PDF, the source block is correctly exported, while 
> the included file does not appear to be included at all (see also test.tex 
> below).
>
> Any thoughts would be greatly appreciated.
>
> Thanks,
>
> Andreas
>
> --- begin test.org 
>
> #+STARTUP: content indent hidestars fninline
>
> #+PROPERTY: header-args:R :session *R* :cache no
>
> #+PROPERTY: header-args+ :results output
>
> #+PROPERTY: header-args+ :exports results
>
> #+PROPERTY: header-args+ :eval never-export
>
> #+PROPERTY: header-args+ :tangle yes
>
> #+OPTIONS: toc:nil H:5
>
> #+LATEX_HEADER: \usepackage{minted}
>
> * Intro
>
> #+begin_src R :results none :exports code
>
> ls()
>
> #+end_src
>
> * Data Analysis Source Code  
>
> #+INCLUDE: "test.R" src R
>
> --- end test.org 
>
> --- begin test.R 
>
> ls()
>
> --- end test.R 
>
> --- begin test.tex 
>
> % Created 2019-05-02 Thu 14:08
>
> % Intended LaTeX compiler: pdflatex
>
> \documentclass[11pt]{article}
>
> \usepackage[utf8]{inputenc}
>
> \usepackage[T1]{fontenc}
>
> \usepackage{graphicx}
>
> \usepackage{grffile}
>
> \usepackage{longtable}
>
> \usepackage{wrapfig}
>
> \usepackage{rotating}
>
> \usepackage[normalem]{ulem}
>
> \usepackage{amsmath}
>
> \usepackage{textcomp}
>
> \usepackage{amssymb}
>
> \usepackage{capt-of}
>
> \usepackage{hyperref}
>
> \usepackage{here}
>
> \usepackage{color}
>
> \usepackage{fancyhdr}
>
> \usepackage{fancybox}
>
> \usepackage{xspace}
>
> \usepackage{minted}
>
> \author{Andreas Kiermeier}
>
> \date{\today}
>
> \title{}
>
> \hypersetup{
>
> pdfauthor={Andreas Kiermeier},
>
> pdftitle={},
>
> pdfkeywords={},
>
> pdfsubject={},
>
> pdfcreator={Emacs 25.3.1 (Org mode 9.2.3)},
>
>  pdflang={English}}
>
> \begin{document}
>
> \section{Intro}
>
> \label{sec:org6eb9726}
>
> \begin{minted}[]{r}
>
> ls()
>
> \end{minted}
>
> \section{Data Analysis Source Code}
>
> \label{sec:org98a88b4}
>
> \end{document}
>
> --- begin test.text 
>

-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 9.9, fluxbox 1.3.7, emacs 26.2, org 9.2.3


signature.asc
Description: PGP signature


[O] Resize an org-table

2019-05-01 Thread Sharon Kimble

How can I resize an org-mode table that was created on a desktop machine but is 
now needed on a laptop with a much smaller screen? The desktop uses a 25-inch 
monitor, whereas the laptop screen is only 16-inch, so I need to find some way 
of 'shrinking' the table to fit the smaller screen.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 9.9, fluxbox 1.3.7, emacs 26.2, org 9.2.3


signature.asc
Description: PGP signature


Re: [O] Open drawers ...

2019-03-19 Thread Sharon Kimble
Eric S Fraga  writes:

> On Monday, 18 Mar 2019 at 18:26, Sharon Kimble wrote:
>> Is it possible to open all drawers of a file from one command please?
>>
>> Or to have them opened when the file is loaded up, either on restart
>> of emacs or be manually opened, please?
>
> Put
>
> #+startup: showeverything

Thank you Eric, this is working a treat, and will shortly become my 'de facto' 
standard for certain files :)

Thanks
Sharon.
>
> and all drawers will be open when you visit the file and if you type C-u
> C-u TAB when already in the file.  In the info manual at Document
> Structure -> Visibility Cycling -> Initial visibility (section 2.2.2).

-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 9.8, fluxbox 1.3.7, emacs 26.1.92, org 9.2.2


signature.asc
Description: PGP signature


[O] Open drawers ...

2019-03-18 Thread Sharon Kimble

Is it possible to open all drawers of a file from one command please?

Or to have them opened when the file is loaded up, either on restart of emacs 
or be manually opened, please?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 9.8, fluxbox 1.3.7, emacs 26.1.92, org 9.2.2


signature.asc
Description: PGP signature


[O] SOLUTION - Re: How to colorize text in square brackets?

2019-02-14 Thread Sharon Kimble
Sharon Kimble  writes:

> How can I colorize text within square brackets please, like [fu] ?
>
> I need them colorized as they will hold reminders for myself at that position 
> whilst I'm writing.
>

When I posted this question I knew that the answer would probably lie somewhere 
within font-lock-add-keywords, but I was unable to find it until I started 
googling for 'font-lock-keyword-face' which I was already using. This search 
then lead me to these two pages [1] and [2].

And that lead to this code which achieves what I was trying to accomplish, the 
text within the square boxes to be coloured totally different from its 
surrounding text, meaning that now I can write my book and leave myself 
reminders of various questions, which when I've found the answers can then be 
deleted.

--8<---cut here---start->8---
#+BEGIN_SRC emacs-lisp
(font-lock-add-keywords 'org-mode
'(("\\[\\(.*\\)\\]"
 1 font-lock-type-face prepend)))
#+END_SRC
--8<---cut here---end--->8---

Thanks
Sharon.

[1] - 
https://stackoverflow.com/questions/7401787/emacs-mode-how-to-specify-that-thing-in-square-brackets-should-be-colored
[2] - 
https://www.gnu.org/software/emacs/manual/html_node/elisp/Faces-for-Font-Lock.html
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 9.5, fluxbox 1.3.7, emacs 26.1.91, org 9.2.1


signature.asc
Description: PGP signature


[O] How to colorize text in square brackets?

2019-02-11 Thread Sharon Kimble

How can I colorize text within square brackets please, like [fu] ?

I need them colorized as they will hold reminders for myself at that position 
whilst I'm writing.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 9.5, fluxbox 1.3.7, emacs 26.1.91, org 9.2.1


signature.asc
Description: PGP signature


[O] How to reference a page number from file 2 but in file 1?

2019-01-28 Thread Sharon Kimble

This is the reference in file 2 -

--8<---cut here---start->8---
* Testing
** Testing number one
:mydrawer:
See \uline{Testing number one} on page 
\pageref{2c2a0555-27a4-4ac1-b124-ffb60ee2af00}
:END:
\label{2c2a0555-27a4-4ac1-b124-ffb60ee2af00}
--8<---cut here---end--->8---

And I'm looking to see this in file 1 'See \uline{Testing number one} on page 
\pageref{2c2a0555-27a4-4ac1-b124-ffb60ee2af00}' where the pageref shows the 
page number.

Can it be done please, and if so, how?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 9.5, fluxbox 1.3.7, emacs 26.1.91, org 9.2


signature.asc
Description: PGP signature


[O] A section in file 2 being referenced in file 1, then exported to latex and built into a PDF?

2019-01-27 Thread Sharon Kimble

How can I, in org-mode, reference another heading in a different file in the 
same directory please?

For example -

--8<---cut here---start->8---
* Testing
** Testing number one
:mydrawer:
See \uline{Testing number one} on page 
\pageref{fu2:2c2a0555-27a4-4ac1-b124-ffb60ee2af00}
:END:
\label{2c2a0555-27a4-4ac1-b124-ffb60ee2af00}
--8<---cut here---end--->8---

Is in /home/boudiccas/research/writing/fu/fu2.org

and I want the reference to appear in the org-mode file in 
'/home/boudiccas/research/writing/fu/fu.org'

And show as -

--8<---cut here---start->8---
* Testing
** testing one

# See \uline{Testing number one} on page 
\pageref{{fu2.org}:{2c2a0555-27a4-4ac1-b124-ffb60ee2af00}

# See \uline{Testing number one} on page 
\pageref{{fu2.org}:2c2a0555-27a4-4ac1-b124-ffb60ee2af00}

# See \uline{Testing number one} on page 
\pageref{fu2.org:2c2a0555-27a4-4ac1-b124-ffb60ee2af00}

# See \uline{Testing number one} on page 
\pageref{fu2:2c2a0555-27a4-4ac1-b124-ffb60ee2af00}

# See \uline{Testing number one} on page 
\pageref{2c2a0555-27a4-4ac1-b124-ffb60ee2af00}

--8<---cut here---end--->8---

Both files are exported to latex and built into a pdf file.

In the second example I have tried various things, including

--8<---cut here---start->8---
# #+latex_header: \include{/home/boudiccas/research/writing/fu/fu2}

# #+latex_header: \input{/home/boudiccas/research/writing/fu/fu2.org}
--8<---cut here---end--->8---

but none were successful.

So everything that I have tried, and fails, is commented out.

So how can I do it please? Is it actually possible to do it?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 9.5, fluxbox 1.3.7, emacs 26.1.91, org 9.2


signature.asc
Description: PGP signature


Re: [O] Org Elpa deployment failing for past 2 weeks

2019-01-22 Thread Sharon Kimble
Kaushal Modi  writes:

> Hello,
>
> The Org Elpa deploys a new release every week on Mondays.
>
> But it looks like that release has been failing for past 2 weeks.
>
> Here's the log file from yesterday that shows the error during make cleanall: 
> https://orgmode.org/elpa/build-org-pkg.txt
>
> --
> Kaushal Modi
>

And I confirm that it is still failing, with the last update available of 
2018-12-30.

Can someone fix it please, so that we can stay up to date?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 9.5, fluxbox 1.3.7, emacs 26.1.91, org 9.2


signature.asc
Description: PGP signature


Re: [O] exporting to latex and docx not honouring carriage returns to tabbing

2018-10-11 Thread Sharon Kimble
Tim Cross  writes:

> Sharon Kimble  writes:
>
>> Eric S Fraga  writes:
>>
>>> On Tuesday,  9 Oct 2018 at 12:06, Sharon Kimble wrote:
>>>> Brilliant, thanks very much Robert, you've saved the project as I didn't
>>>> fancy having to work with the document in LibreOffice. These are the
>>>> settings that I've finally gone with -
>>>>
>>>> #+LaTeX_Header: \parskip=0pt
>>>> #+LaTeX_Header: \parindent=2em
>>>
>>> This is close to the default behaviour for the LaTeX article class.  Did 
>>> you have something setting these to different values?
>>
>> Yes, I have a custom class called 'my-report' which has no packages
>> outlined in it, here it is.
>>
>> --8<---cut here---start->8---
>> #+begin_src emacs-lisp
>> (with-eval-after-load 'ox-latex
>> (add-to-list 'org-latex-classes
>>  '("my-report" "\\documentclass{report}
>>[NO-DEFAULT-PACKAGES]"
>>;;[EXTRA]"
>>;;("\\part{%s}" . "\\part*{%s}")
>>("\\chapter{%s}" . "\\chapter*{%s}")
>>("\\section{%s}" . "\\section*{%s}")
>>("\\subsection{%s}" . "\\subsection*{%s}")
>>("\\subsubsection{%s}" . "\\subsubsection*{%s}")
>>("\\paragraph{%s}" . "\\paragraph*{%s}")
>>("\\subparagraph{%s}" . "\\subparagraph*{%s}"
>>   (custom-set-variables '(org-export-allow-bind-keywords t))
>> #+end_src
>> [2016-04-14 Thu 08:47]
>> [2016-09-09 Fri 00:54]
>> [2017-01-17 Tue 13:17]
>> http://orgmode.org/worg/org-tutorials/org-latex-export.html
>> --8<---cut here---end--->8---
>>
>>
>>>> except for the first paragraph in a new chapter.
>>>
>>> Yes, the first paragraph after any heading will not be indented.  That is 
>>> also default and is actually what most books use.
>>
>> Yes, I'm learning, and checking with the book that I'm currently reading :)
>>
>> Thanks
>> Sharon.
>
> While Eric and Robert have provided some really useful tips on some
> ad-hoc tweaks you can make to latex/pdf output, I would also encourage
> you to look at the many other document styles. As Eric points out, the
> tweaks look to be changing the 'report' class to be more like the
> 'article' class. Have you tried just using the article class instead of
> report? Note also there is a 'book' class as well, which may well
> produce something more in line with what your after if you are wanting
> output which looks more like a published book. Then there are all the
> other 'publishers' styles to consider as well as other style packages
> like KomaScript, HiTec etc. 
>
> While these tweaks are often very useful, they really should be used
> sparingly as they can have unforeseen consequences, especially when you
> begin to use other packages. It is important to remember that some org
> features rely on some of these additional packages to produce good
> export results. Once you start 'tweaking' the output, it can quickly
> spiral out of control. You fix one thing only to create two new issues.
>
> One of the most common mistakes I see when people start using latex as
> the basis for document generation is ad hoc tweaking of the style. This
> is an unfortunate consequence of most of us being exposed to traditional
> word processors such as MS Word or Libre Office. Producing good quality
> documents is a very complex topic and Donald Knuth spent a lot of time
> researching all the aspects of type setting and layout to produce a
> consistently good and reliable system with TeX. Things have evolved and
> we have new requirements (such as on-line documents which are read
> electronically and not printed in hard copy). Additional packages have
> been added to address these types of enhancements. 
>
> The real trick with TeX/LaTeX is to work with the system and not against
> it. If you find it necessary to constantly tweak indent, paragraph
> spacing, line height, line breaks,  etc, then you are probably using the
> wrong document style. Try other styles and look for one which meets the
> majority of your requirements and only then consider tweaking it. As you
> will probably need more than one, you will likely end up with a number
> of custom definition

Re: [O] exporting to latex and docx not honouring carriage returns to tabbing

2018-10-09 Thread Sharon Kimble
Eric S Fraga  writes:

> On Tuesday,  9 Oct 2018 at 12:06, Sharon Kimble wrote:
>> Brilliant, thanks very much Robert, you've saved the project as I didn't
>> fancy having to work with the document in LibreOffice. These are the
>> settings that I've finally gone with -
>>
>> #+LaTeX_Header: \parskip=0pt
>> #+LaTeX_Header: \parindent=2em
>
> This is close to the default behaviour for the LaTeX article class.  Did you 
> have something setting these to different values?

Yes, I have a custom class called 'my-report' which has no packages
outlined in it, here it is.

--8<---cut here---start->8---
#+begin_src emacs-lisp
(with-eval-after-load 'ox-latex
(add-to-list 'org-latex-classes
 '("my-report" "\\documentclass{report}
   [NO-DEFAULT-PACKAGES]"
   ;;[EXTRA]"
   ;;("\\part{%s}" . "\\part*{%s}")
   ("\\chapter{%s}" . "\\chapter*{%s}")
   ("\\section{%s}" . "\\section*{%s}")
   ("\\subsection{%s}" . "\\subsection*{%s}")
   ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
   ("\\paragraph{%s}" . "\\paragraph*{%s}")
   ("\\subparagraph{%s}" . "\\subparagraph*{%s}"
  (custom-set-variables '(org-export-allow-bind-keywords t))
#+end_src
[2016-04-14 Thu 08:47]
[2016-09-09 Fri 00:54]
[2017-01-17 Tue 13:17]
http://orgmode.org/worg/org-tutorials/org-latex-export.html
--8<---cut here---end--->8---


>> except for the first paragraph in a new chapter. 
>
> Yes, the first paragraph after any heading will not be indented.  That is 
> also default and is actually what most books use.

Yes, I'm learning, and checking with the book that I'm currently reading :)

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 9.4, fluxbox 1.3.7, emacs 25.3.4, org 9.1.14


signature.asc
Description: PGP signature


Re: [O] exporting to latex and docx not honouring carriage returns to tabbing

2018-10-09 Thread Sharon Kimble
Robert Klein  writes:

> On Mon, 08 Oct 2018 16:54:39 +0100
> Eric S Fraga  wrote:
>
>> On Monday,  8 Oct 2018 at 10:56, Sharon Kimble wrote:
>> > My finished output in the pdf will have every line indented/tabbed
>> > to 4 spaces and have a carriage-return at the end of each
>> > paragraph, with no spacings in between paragraphs.
>> >
>> > I can get it how I want in org-mode, but when its exported to latex
>> > and converted into a pdf file, the whole section comes out in one
>> > block of text!  
>> 
>> Both LaTeX and org define new paragraphs by a blank line.   Spaces at
>> the start of a line only have meaning, in org, if the lines are part
>> of a list (and never mean anything in LaTeX).
>> 
>> I am not sure exactly what you want to achieve so it is difficult to
>> suggest anything.  Try separating your paragraphs with empty lines to
>> see how much closer this gets you to what you want.
>> 
>
> What Eric says.
>
> Then try to add to the org-file a line
>
> #+LaTeX_Header: \parskip=0pt
>
> so the spacing between paragraphs is 0.  Then add
>
> #+LaTeX_Header: \parindent=0pt
>
> so the first line of a paragraph isn't indented.
>
> If you want to get /all/ the text indented by “4 spaces”, put a line
>
> #+LaTeX: \setlength{\leftskip}{2em}
>
> at the top of your document.
>
>
> If you want only parts indented, put the line before the beginning of
> the part to be indented and put this line after it:
>
> #+LaTeX: \setlength{\leftskip}{0em}
>
> Does this help?

Brilliant, thanks very much Robert, you've saved the project as I didn't
fancy having to work with the document in LibreOffice. These are the
settings that I've finally gone with -

--8<---cut here---start->8---
#+LaTeX_Header: \parskip=0pt
#+LaTeX_Header: \parindent=2em
--8<---cut here---end--->8---

and I've found that having that parindent of 2em gives a very close
approximation of each paragraph beginning with four spaces, except for
the first paragraph in a new chapter. Weird, but true! Just part of what
my finished document has to look like, open any fiction book and you see
what its supposed to look like. When it works right, its beautiful, but
when its wrong, its a right mare!

Thank you very much, and now I've learnt how to do it, it'll make the
whole thing much easier.

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 9.4, fluxbox 1.3.7, emacs 25.3.4, org 9.1.14


signature.asc
Description: PGP signature


[O] exporting to latex and docx not honouring carriage returns to tabbing

2018-10-08 Thread Sharon Kimble

I have a problem in an org-mode file which is then exported to latex and
then converted into a pdf. And the file is the draft of my fiction book.

My finished output in the pdf will have every line indented/tabbed to 4
spaces and have a carriage-return at the end of each paragraph, with no
spacings in between paragraphs.

I can get it how I want in org-mode, but when its exported to latex and
converted into a pdf file, the whole section comes out in one block of
text!

Its as if something isn't honouring a carriage return and neither
recognising the 4 spaces!

So how can I achieve my goal please?

I've tried manually doing a return and then deleting the space it
creates for the next line to then have its obligatory 4 spaces of
indentation but its not working as I want, so how can I do it please?

I've also tried exporting the file to docx using pandoc, and its not
recognising any carriage-returns in its output either.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 9.4, fluxbox 1.3.7, emacs 25.3.4, org 9.1.14


signature.asc
Description: PGP signature


Re: [O] One column TOC?

2018-08-13 Thread Sharon Kimble
Robert Klein  writes:

> Hi,
>
> On Sun, 12 Aug 2018 13:25:34 +0200
> Eric S Fraga  wrote:
>
>> On Sunday, 12 Aug 2018 at 06:49, alain.coch...@unistra.fr wrote:
>> > Sharon Kimble writes on Sun 12 Aug 2018 00:36:  
>> >  > 
>> >  > I've been puzzling over this for several weeks now, how can I
>> >  > get the  
>> >  
>> >  > TOC of a document, written in org-mode and exported as latex and
>> >  > then built into a PDF, have just one column of its TOC, instead
>> >  > of what seems to be its default of 2 columns, please?  
>> >
>> > That is funny, for me it has always been one column.  How do you do
>> > two columns?
>> 
>> It might depend on the LaTeX class used.  It's not an org issue.
>
> Indeed.  I remember looking for a way to make the Toc two column.  My
> LaTeX export now sports a line
>
> \usepackage[toc]{multitoc}
>
> plus some configurations.
>
> If you don't find a “#+LaTeX_Header: ” line \usepackaging some toc
> package or stuff, you might want to look at your emacs initialization
> file.  In particular look for a modification of the
> “org-latex-packages-alist” variable.
>
> Best regards
> Robert

Thanks Eric and Robert.

I had a look and found that I too had multitoc loaded in, and when I
commented it out my TOC became one only column, which is what I want.

Many thanks both

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 9.4, fluxbox 1.3.7, emacs 25.3.3, org 9.1.13


signature.asc
Description: PGP signature


[O] How to get <

2018-08-11 Thread Sharon Kimble

I'm not sure if this is an org-mode problem or a general emacs one, so if its 
in the wrong place, sorry, and if you can tell me where it should be placed for 
a better result, then great. :)

Anyway, I'm writing something that has interspersed things like <>
or <<10-08-2018>> or <<2018-08-11>>, so there's no set pattern except
they're all prefaced with <<, but how can I show these in possibly a
Imenu menu to help in moving about in the document, please.

Or is there some other simpler or easier way of getting these to show in
a drop-down menu from the menubar please?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 9.4, fluxbox 1.3.7, emacs 25.3.3, org 9.1.13


signature.asc
Description: PGP signature


[O] One column TOC?

2018-08-11 Thread Sharon Kimble

I've been puzzling over this for several weeks now, how can I get the
TOC of a document, written in org-mode and exported as latex and then
built into a PDF, have just one column of its TOC, instead of what seems
to be its default of 2 columns, please?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 9.4, fluxbox 1.3.7, emacs 25.3.3, org 9.1.13


signature.asc
Description: PGP signature


[O] Headings in a TOC but not exported to latex, but how?

2018-07-20 Thread Sharon Kimble

I've just learnt how to do table of contents for an org-mode file.

I'm working on one file that is exported to latex and then built into a
pdf document, where I've got several level 1 headings that I don't want
to export to latex so I've tagged them as :NOEXPORT:. However I do want
to include them in the org-mode TOC, so how can I do it please?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 9.4, fluxbox 1.3.7, emacs 25.3.2, org 9.1.13


signature.asc
Description: PGP signature


  1   2   3   4   >