org-publish and folding ?

2023-11-29 Thread David Masterson
I keep a number of Org files in buffers when I'm working on Org stuff. I
try to keep them folded so that I get the overview when I switch to the
buffer. I have found that, when I org-publish the project with these Org
files, any Org file that is newly published will unfold the buffer as
publish does it's thing,  My problem is that it doesn't refold the
buffer when publish is done.

Is there a trick to get it to refold the buffer?
-- 
David Masterson



Re: Getting email from MS outlook into emacs

2023-11-29 Thread Presnell,Brett Douglas


I had to deal with this last spring.  I finally got things working again
with mbsync, msmtp, mu/mu4e, and for the oauth stuff, pizauth.  This
combination has worked well for me ever since.  Most of the details can
be found at

   https://brettpresnell.com/post/email/

I am still using an early version of pizauth, so it's possible that the
details of setting it up may have changed a bit.




Re: Citations and basic processor: examples of some things that don't work

2023-11-29 Thread William Denton

On 29 November 2023, Ihor Radchenko wrote:


William Denton  writes:


Attached (I think attachments work on this list) is a small Org file that has a
table that sets out all the various options possible with the basic processor
for citations.  Most work, but not the author style, and the caps and bare-caps
variants never do.


Seems to work for me on main. Unless I miss something:

ASCII export:


Huh!  I never tried ASCII export.  I see HTML works, too.

Try LaTeX or ODT.  My apologies, I should have specified that.  It should throw 
an error that starts like this:


Debugger entered--Lisp error: (wrong-type-argument char-or-string-p (raw nil 
#("van Dongen, M.R.C." 0 18 (:parent #3

  capitalize((raw nil #("van Dongen, M.R.C." 0 18 (:parent #1
  (if caps (capitalize a) a)
  (org-cite-concat p (if caps (capitalize a) a) ", " y s)
  (closure ((caps "c" "bc")) (p a y s) (org-cite-concat p (if caps (capitalize 
a) a) ", " y s))(nil (raw nil #("van Dongen, M.R.C." 0 18 (:parent #2))) "2012" 
nil)
  funcall((closure ((caps "c" "bc")) (p a y s) (org-cite-concat p (if caps 
(capitalize a) a) ", " y s)) nil (raw nil #("van Dongen, M.R.C." 0 18 (:parent 
#3))) "2012" nil)


I can reproduce this by running "make repro" on main and then loading in that 
basic.org file.



Thanks,

Bill

--
William Denton
https://www.miskatonic.org/
Librarian, artist and licensed private investigator.
Toronto, Canada
CO₂: 420.59 ppm (Mauna Loa Observatory, 2023-11-28)

Re: Citations and basic processor: examples of some things that don't work

2023-11-29 Thread Ihor Radchenko
William Denton  writes:

> Attached (I think attachments work on this list) is a small Org file that has 
> a 
> table that sets out all the various options possible with the basic processor 
> for citations.  Most work, but not the author style, and the caps and 
> bare-caps 
> variants never do.

Seems to work for me on main. Unless I miss something:

ASCII export:


 style  variant cite result 

:(van Dongen, M.R.C., 2012) 
b (bare)//b: van Dongen, M.R.C., 2012   
c (caps)//c: (Van Dongen, M.R.C., 2012) 
 a (author) /a:  van Dongen, M.R.C. 
 a (author) c (caps)/a/c:Van Dongen, M.R.C. 
 ft (note)  /ft: [1]
 ft (note)  b (bare)/ft/b:   [2]
 ft (note)  bc (bare-caps)  /ft/bc:  [3]
 ft (note)  c (caps)/ft/c:   [4]
 n (nocite) /n: 
 na (noauthor)  /na: (2012) 
 na (noauthor)  b (bare)/na/b:   2012   
 nb (numeric)   /nb: (1)
 t (text)   /t:  van Dongen, M.R.C. (2012)  
 t (text)   b (bare)/t/b:van Dongen, M.R.C. 2012
 t (text)   bc (bare-caps)  /t/bc:   Van Dongen, M.R.C. 2012
 t (text)   c (caps)/t/c:Van Dongen, M.R.C. (2012)  


-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 


Re: [Bug] org-in-src-block-p returns t when not in source block

2023-11-29 Thread Ihor Radchenko
Jens Schmidt  writes:

> On 2023-11-27  21:30, Ihor Radchenko wrote:
>
>> Fixed, on main.
>> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=6d7c7917a
>
> Which is currently my HEAD, and there are still edge cases that do not
> seem to be handled well.
> ...
> When I wrote my own inner-boundary function, I looked with envy at
> the elegance of the arithmetic done in `org-in-src-block-p' but thought
> that this probably would not always work ... or did I misunderstand
> something here?

You are right.
Fixed, on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=57b94f344

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 



Re: Org site is down

2023-11-29 Thread Ihor Radchenko
Bastien Guerry  writes:

>> I do see patches and requests being added after the update, but not
>> bugs. The latest registered bug report is from Nov 1 - see
>> https://tracker.orgmode.org/bugs?sorting-by=date
>
> Is it still a problem?  I have some time this week-end to look into
> this more closely, please report any oddity.  Thanks,

A few reports showed up in the tracker since my previous email.
However, not all the reports.
For example,
https://list.orgmode.org/caphku6m8d_kx3f9cfpiokdif8r1fo4vfkr51xceqq30lsza...@mail.gmail.com/T/#m61d3fb69fdd43e2849506d1811d725e514e05cd1
is not listed even though it is not yet closed.

P.S. EmacsConf is being held this weekend.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 



Re: Org site is down

2023-11-29 Thread Bastien Guerry
Ihor Radchenko  writes:

> Bastien Guerry  writes:
>
>> Let's see if Woof can track new patches and tasks, for example.
>> I'll monitor this, you don't need to worry about it right now.
>
> I do see patches and requests being added after the update, but not
> bugs. The latest registered bug report is from Nov 1 - see
> https://tracker.orgmode.org/bugs?sorting-by=date

Is it still a problem?  I have some time this week-end to look into
this more closely, please report any oddity.  Thanks,

-- 
 Bastien Guerry