Question Regarding Routinely Importing Phone Note Org File Into Other Org File Under Subheadings

2023-08-20 Thread Samuel Banya
Hey there,

So I'm in the process of figuring out how I can sync my phone notes to my local 
file server with Syncthing occasionally. Basically 'phonenotes.org' from one 
machine to another. That being noted, I have another file called notes.org on 
my file server that basically lists completed tasks under a following format:

```

*COMPLETED TASKS 2023

** Week of 08-14-2023

*** Date

Completed task summary

```

In my actual phone notes file, I have this for an example:

```

Title: 08-15-2023

Recorded music

```

With this in mind, how do I facilitate the ability to routinely ingest any of 
the notes that are date based on the phone note title itself from Orgzly so 
that it automatically determines the Monday of the given week, creates a 'Week 
of (Starting Monday of that week)' subheading in the 'notes.org' file and slams 
that new note in there?

Sorry if it sounds complicated but I do this manually all the time and I wanted 
an easier way to do this programatically with Org Mode.

Thanks!





Re: Taking notes of videos in Emacs

2022-07-08 Thread Samuel Banya
Totally separate user, but this is so dang cool. Thanks for the links, Juan. 
Looks awesome!

On Fri, Jul 8, 2022, at 9:25 AM, Juan Manuel Macías wrote:
> Gerardo Moro writes:
> 
> > Hi, 
> >
> > I recently discover the Obsidian Media Extended plugin
> > (https://www.youtube.com/watch?v=GQXVWtNkeZw) to take notes while
> > watching videos / listening to audios with keybindings to stop the
> > video and create timestamps with link to the specific moment of the
> > video, etc.
> >
> > Is there something similar in Emacs?
> 
> See org-media-note: https://github.com/yuchen-lea/org-media-note
> 
> And, for something simpler, I shared here days ago this code:
> 
> https://list.orgmode.org/871qvmt4xr@posteo.net/
> 
> Best regards,
> 
> Juan Manuel 
> 
> 


Re: Moving to a literate file for .emacs

2022-07-04 Thread Samuel Banya
I have a literate Emacs config here that you can look at:
https://github.com/SamuelBanya/SamsEmacs/blob/main/configuration.org
https://github.com/SamuelBanya/SamsEmacs/blob/main/init.el

Take a look at the Emacs config links to other people's 'literate' Emacs 
configs, and you might get some ideas to steal from as well, look under 'Emacs 
Config Links (Custom User Configs, Emacs Distributions, etc.)':
https://apps.musimatic.xyz/webring.html

Also, Uncle Dave's Emacs YouTube tutorial is the best one for making an Emacs 
config based upon a 'config.org' file, would recommend this 100x:
https://www.youtube.com/playlist?list=PLX2044Ew-UVVv31a0-Qn3dA6Sd_-NyA1n

Hope this helps!

Sincerely,

Sam

On Mon, Jul 4, 2022, at 9:44 AM, Stephen Eglen wrote:
> I see many users are switching to using a 'literate programming'
> approach to tangling their .emacs file from an org file.
> 
> Has anyone solved the following problem though?  If I have a file called
> config.org containing:
> 
> * test
> 
> #+begin_src emacs-lisp
>   (defun quick-test ()
> "interactive"
> (* 3 9)
>   )
> #+end_src
> 
> 
> and then in my .emacs file I do:
> 
> (org-babel-load-file "~/config.org")
> 
> quick-test is indeed defined, but when I do C-c f RET quick-test RET it
> takes me to config.el (a tangled file, suitable for computers, not
> humans), rather than config.org.  Is it possible instead to get the
> editor to jump to the definition in config.org?
> 
> Stephen
> 
> 
> 


Re: Links to javascript-based websites from orgmode.org: Paypal and Github

2022-07-01 Thread Samuel Banya
My two cents on this:
 * Why not just have a single fallback person that takes the hit of having to 
use a JS based payment method in the meantime?
 * Or why not just keep the address and encourage mailing donations themselves 
to a single location (probably FSF office, no?)
I might not know anything about how wiring money works in the context of 
requiring JS for the transactions, but I feel like if it were just one person 
to receive payment, or a single address, you could probably remove half of the 
problems as a result while Librepay becomes more readily available and less 
dependent on JS based payment APIs.

Sincerely,

Sam

On Fri, Jul 1, 2022, at 1:54 PM, Michael Powe wrote:
> 
> On 6/30/2022 23:53, Tim Cross wrote:
> > Richard Stallman  writes:
> >
> > I agree that links to liberapay might someday work without the donor's
> > running nonfree software.  But that is not likely to occur this year,
> > and for it to occur in this decade is a long shot.
> >
> > So please don't put links to liberapay into GNU package web pages.
> >>
> >> Please explain how you can argue that position when the FSF has such a
> >> link on their web page? Why is it OK for the FSF to do this to raise
> >> funds, but not acceptable for projects to do the same?
> 
> Why are there interstate highways in Hawaii? Why ask why?
> 
> (I suspect that RMS doesn't have final say over that decision.)
> 
> Thanks.
> 
> mp
> 
> -- 
> "Do not neglect to do good, and to share what you have." - Hebrews 13:16a
> Michael Powe
> Naugatuck CT USA
> po...@ctpowe.net
> 
> 
> 


Re: [PATCH] Re: [BUG] Adding note to heading without newline at the end

2022-06-27 Thread Samuel Banya
So I went through the same steps as before:
1. Pulled the latest Emacs Org Mode

2. Ran the following command in a terminal to get a clean Emacs without a 
config:
emacs -Q -L ./lisp -l org

3. Create a new org file

4.. Type (literally) the following:
* test

5. You will get a file containing "* test" exactly, no newline at the
   end

6. Do __not__ save the file

7. I then set the 'org-log-into-drawer' variable to true by evaluating the 
following environment variable with 'M-:':
'M-:' (setq org-log-into-drawer t)

This returned 't' in the minibuffer.

8.  I then used C-c C-c, and received the following example output:
```
* tes
:LOGBOOK:
- Note taken on [2022-06-27 Mon 22:38] \\
  Adding note with org-log-into-drawer enabled
:END:
t
```

Let me know if this is the desired output in that respect, or if this fulfills 
the weird edge case present.

Thanks,

Sam


On Mon, Jun 27, 2022, at 6:18 AM, Ihor Radchenko wrote:
> "Samuel Banya"  writes:
> > I checked 'org.el' which has the related 'org-add-note' function present.
> >
> > This appears to call the 'org-add-log-setup' function, and passes the 
> > 'note' argument to it.
> >
> > I then took a look at the 'org-add-log-setup' function.
> >
> > From the bug's nature itself, it most likely is moving the cursor 
> > incorrectly to the previous line above it, when it should be really doing 
> > it on the line AFTER it.
> >
> > This to me is probably the 'moving' section that should be modified:
> > ```
> >   (move-marker org-log-note-marker (point))
> > ```
> >
> > It's probably the position that needs to be recalculated or adjusted 
> > accordingly. 
> 
> The offending function is different. This piece of code is admittedly
> slightly tricky - org-add-log-setup does not determine where the note
> will be inserted. It defers note taking to org-add-log-note, which, in
> turn defers saving the note text to the time user presses C-c C-c in the
> note buffer.
> 
> The function doing the actual insertion is org-store-log-note and the
> function determining where to insert the note is org-log-beginning.
> 
> Note that the patch I attached in my earlier message contains the fix.
> What is left is studying a similar edge case reported in the reply to my
> patch:
> 
> Tor Kringeland :
> >> Thanks!  This fixes the bug (which was present in both Org 9.5 and 9.6)
> >> for me.  However, my original bug, which is only present in Org 9.6, is
> >> still there.  Do the same thing but set org-log-into-drawer to t.  Then
> 
> That is, you need to follow the same steps, but set org-log-into-drawer
> to t before creating a note.
> 
> Best,
> Ihor
> 


Re: [PATCH] Re: [BUG] Adding note to heading without newline at the end

2022-06-26 Thread Samuel Banya
Gotcha, after this great advice, I am also able to get the following result:
```
- Note taken on [2022-06-26 Sun 22:31] \\
  Adding test note
* test
```

However, even after toggling 'M-x toggle-debug-on-error', it didn't enter the 
debugger since I guess this would be considered a 'user error' according to the 
'*Messages*' buffer present:
```
user-error: Before first headline at position 43 in buffer orgModeNoteBug.org
```
I checked 'org.el' which has the related 'org-add-note' function present.

This appears to call the 'org-add-log-setup' function, and passes the 'note' 
argument to it.

I then took a look at the 'org-add-log-setup' function.

>From the bug's nature itself, it most likely is moving the cursor incorrectly 
>to the previous line above it, when it should be really doing it on the line 
>AFTER it.

This to me is probably the 'moving' section that should be modified:
```
  (move-marker org-log-note-marker (point))
```

It's probably the position that needs to be recalculated or adjusted 
accordingly. 

I used 'C-h f' and found that 'move-marker' is just an alias for 'set-marker' 
which is in the Emacs codebase itself.

I think the issue is HOW we are calling it here.

Can you give me a few pointers in terms of how we can maybe force it to go to 
the next line instead of adjusting it based on the point present?

Thanks,

Sam


On Sun, Jun 26, 2022, at 7:32 PM, Samuel Banya wrote:
> Hey everyone,
> 
> I'm using Emacs 28.1 on Manjaro, and pulled the latest version of Org Mode 
> from the git repo.
> 
> I'm still unable to reproduce this as I basically just opened up a new .org 
> file and did Tom's exact steps. I was able to add a blank note without 
> receiving an error at the exact cursor point that was mentioned.
> 
> Ihor, can you take a look at the .mkv video I attached of my test and let me 
> know what you did to be able to reproduce this because I'm not observing any 
> errors on my machine.
> 
> Thanks,
> 
> Sam
> 
> On Thu, Jun 23, 2022, at 11:59 AM, Samuel Banya wrote:
>> Hey Ihor,
>> 
>> I can check it out on the weekend, sounds like fun.
>> 
>> Will step through the debugger to see what's up and get back to you on this, 
>> thanks for tagging me on this.
>> 
>> On Wed, Jun 22, 2022, at 10:28 AM, Tor Kringeland wrote:
>>> Ihor Radchenko  writes:
>>> 
>>> > Confirmed.
>>> >
>>> > Samuel, do you want to try fixing this?
>>> > It should be fairly easy to debug.
>>> 
>>> Nice.  But these are distinct bugs, it seems like.  The one you sent a
>>> patch for earlier fixes the former bug (which is also present in Org
>>> 9.5).  While my original problem is only present in Org 9.6.
>> 
> 
> 
> *Attachments:*
>  * orgAddNoteBugVideo-2022-06-26_19.25.54.mkv


Re: [PATCH] Re: [BUG] Adding note to heading without newline at the end

2022-06-23 Thread Samuel Banya
Hey Ihor,

I can check it out on the weekend, sounds like fun.

Will step through the debugger to see what's up and get back to you on this, 
thanks for tagging me on this.

On Wed, Jun 22, 2022, at 10:28 AM, Tor Kringeland wrote:
> Ihor Radchenko  writes:
> 
> > Confirmed.
> >
> > Samuel, do you want to try fixing this?
> > It should be fairly easy to debug.
> 
> Nice.  But these are distinct bugs, it seems like.  The one you sent a
> patch for earlier fixes the former bug (which is also present in Org
> 9.5).  While my original problem is only present in Org 9.6.


Re: Org and Hyperbole

2022-06-23 Thread Samuel Banya
I'll be honest, every time I've ever seen Hyperbole attempted to be explained, 
it goes over my head in 2 seconds.

It seems like something akin to Acme where its mouse driven button events that 
trigger other things to occur.

Could never find a single solid video that dumbed down Hyperbole to make it 
useful for the average person though unfortunately. Seems neat though.

Sincerely,

Sam

On Thu, Jun 23, 2022, at 1:22 AM, indieterminacy wrote:
> On 23-06-2022 06:04, David Masterson wrote:
> > Samuel Wales  writes:
> > 
> >> i am interested in whether hyperbole can inspire org.  or maybe spin
> >> off stuff that is useful for org.
> > 
> > Hyperbole is loaded and activated in your .emacs file.  Therefore, it's
> > features are available in any file you work on (including Org
> > files). Many of the features may be useful to you as a replacement to a
> > feature in Org or something to work along side Org.  Dig into the
> > Hyperbole manual...
> 
> any buffer!
> 
> so it works inside emacs teminal emulators too!
> -- 
> Jonathan McHugh
> indieterminacy@libre.brussels
> 
> 


Re: [BUG] Editing link hides text

2022-06-20 Thread Samuel Banya
Confirmed with 'emacs -Q -L ./lisp/ -l org' on latest version of Org.

@Ihor, can you help push me in the right direction in terms of where in the 
codebase this issue might lie, so that I can examine the related section 
myself, and also bug a related maintainer about this?

Thanks,

Sam

On Mon, Jun 20, 2022, at 10:14 PM, Tor Kringeland wrote:
> Using Org 9.6 with Emacs 29, write a link:
> 
>   [[123][test]]
> 
> Most of the text will then be hidden, with "test" showing as a link, as
> expected.  However if I remove the last ], the link highlighting
> disappears and only "test" is shown like regular text (/i.e./ instead of
> "[[123][test]" as would be expected).  If I insert a character at the
> end or move the text, it is updated and "[[123][test]" shows as
> expected.
> 
> (This bug does not occur in Org 9.5 for me.)
> 


Re: Newbie Question With Responding To Bug Threads

2022-06-20 Thread Samuel Banya
Forgot to mention that utilizing the 'mail to' link worked just fine.

On Mon, Jun 20, 2022, at 10:09 PM, Samuel Banya wrote:
> Nevermind, it just took some time to send out. It totally worked, super cool:
> https://list.orgmode.org/orgmode/87fsjyzsm6@fastmail.com/
> 
> First bug touched, but couldn't confirm it actually exists lol :/ 
> 
> Got to start somewhere :)
> 
> Sincerely,
> 
> Sam
> 
> On Mon, Jun 20, 2022, at 10:08 PM, Samuel Banya wrote:
>> So I finally got around to watching Igor's great video on how to try to 
>> reproduce Emacs bugs using a minimal configuration, etc:
>> 
>> With this in mind, I took a look at the related list:
>> https://list.orgmode.org/orgmode
>> 
>> I then found this particular bug:
>> https://list.orgmode.org/orgmode/m2ilowp4br@ntnu.no/
>> 
>> I then went through the motions as dictated by Igor's video. Ultimately, I 
>> was unable to reproduce the bug. I noted the instructions with the 'Reply 
>> Instructions' section.
>> 
>> I clicked the link which opened up a related Emacs buffer to which I pretty 
>> much replied that I couldn't reproduce the issue.
>> 
>> I then hit C-c C-c which apparently sent the email. However, I checked the 
>> bug itself, but cannot find my reply message present, and am wondering if it 
>> actually was sent at all. I personally had 'gnus' configured at one point 
>> but barely use it because I found it to be super awkward and clunky, and 
>> just not friendly to use in comparison so I just use the GUI client for 
>> Fastmail these days.
>> 
>> Here is my output of my '*Messages*' buffer in relation to this issue:
>> Sending...
>> Sending via mail...
>> Sending email  
>> Sending email done
>> Sending...done
>> 
>> Questions:
>> Q1. Is it possible to reply to bug threads like this within a GUI email 
>> client like Fastmail? 
>> 
>> Q2. Or is this only possible to directly reply to email threads if you're 
>> using mail clients like 'mu-4e', 'notmuch' etc?
>> 
>> I ask because I'll work on my email setup accordingly if that is the case 
>> where just a GUI client isn't sufficient as I was planning to use 'notmuch' 
>> eventually anyway, but wanted to confirm this before putting in the effort 
>> to do so.
>> 
>> The only thing I found was this article by Fastmail, but don't know if this 
>> would actually work with just the web browser client of Fastmail I use in 
>> Firefox:
>> https://www.fastmail.help/hc/en-us/articles/360058753594-Import-your-mail
>> 
>> Thanks,
>> 
>> Sam
> 


Re: Newbie Question With Responding To Bug Threads

2022-06-20 Thread Samuel Banya
Nevermind, it just took some time to send out. It totally worked, super cool:
https://list.orgmode.org/orgmode/87fsjyzsm6@fastmail.com/

First bug touched, but couldn't confirm it actually exists lol :/ 

Got to start somewhere :)

Sincerely,

Sam

On Mon, Jun 20, 2022, at 10:08 PM, Samuel Banya wrote:
> So I finally got around to watching Igor's great video on how to try to 
> reproduce Emacs bugs using a minimal configuration, etc:
> 
> With this in mind, I took a look at the related list:
> https://list.orgmode.org/orgmode
> 
> I then found this particular bug:
> https://list.orgmode.org/orgmode/m2ilowp4br@ntnu.no/
> 
> I then went through the motions as dictated by Igor's video. Ultimately, I 
> was unable to reproduce the bug. I noted the instructions with the 'Reply 
> Instructions' section.
> 
> I clicked the link which opened up a related Emacs buffer to which I pretty 
> much replied that I couldn't reproduce the issue.
> 
> I then hit C-c C-c which apparently sent the email. However, I checked the 
> bug itself, but cannot find my reply message present, and am wondering if it 
> actually was sent at all. I personally had 'gnus' configured at one point but 
> barely use it because I found it to be super awkward and clunky, and just not 
> friendly to use in comparison so I just use the GUI client for Fastmail these 
> days.
> 
> Here is my output of my '*Messages*' buffer in relation to this issue:
> Sending...
> Sending via mail...
> Sending email  
> Sending email done
> Sending...done
> 
> Questions:
> Q1. Is it possible to reply to bug threads like this within a GUI email 
> client like Fastmail? 
> 
> Q2. Or is this only possible to directly reply to email threads if you're 
> using mail clients like 'mu-4e', 'notmuch' etc?
> 
> I ask because I'll work on my email setup accordingly if that is the case 
> where just a GUI client isn't sufficient as I was planning to use 'notmuch' 
> eventually anyway, but wanted to confirm this before putting in the effort to 
> do so.
> 
> The only thing I found was this article by Fastmail, but don't know if this 
> would actually work with just the web browser client of Fastmail I use in 
> Firefox:
> https://www.fastmail.help/hc/en-us/articles/360058753594-Import-your-mail
> 
> Thanks,
> 
> Sam


Newbie Question With Responding To Bug Threads

2022-06-20 Thread Samuel Banya
So I finally got around to watching Igor's great video on how to try to 
reproduce Emacs bugs using a minimal configuration, etc:

With this in mind, I took a look at the related list:
https://list.orgmode.org/orgmode

I then found this particular bug:
https://list.orgmode.org/orgmode/m2ilowp4br@ntnu.no/

I then went through the motions as dictated by Igor's video. Ultimately, I was 
unable to reproduce the bug. I noted the instructions with the 'Reply 
Instructions' section.

I clicked the link which opened up a related Emacs buffer to which I pretty 
much replied that I couldn't reproduce the issue.

I then hit C-c C-c which apparently sent the email. However, I checked the bug 
itself, but cannot find my reply message present, and am wondering if it 
actually was sent at all. I personally had 'gnus' configured at one point but 
barely use it because I found it to be super awkward and clunky, and just not 
friendly to use in comparison so I just use the GUI client for Fastmail these 
days.

Here is my output of my '*Messages*' buffer in relation to this issue:
Sending...
Sending via mail...
Sending email  
Sending email done
Sending...done

Questions:
Q1. Is it possible to reply to bug threads like this within a GUI email client 
like Fastmail? 

Q2. Or is this only possible to directly reply to email threads if you're using 
mail clients like 'mu-4e', 'notmuch' etc?

I ask because I'll work on my email setup accordingly if that is the case where 
just a GUI client isn't sufficient as I was planning to use 'notmuch' 
eventually anyway, but wanted to confirm this before putting in the effort to 
do so.

The only thing I found was this article by Fastmail, but don't know if this 
would actually work with just the web browser client of Fastmail I use in 
Firefox:
https://www.fastmail.help/hc/en-us/articles/360058753594-Import-your-mail

Thanks,

Sam

Re: [BUG] Adding note to heading without newline at the end

2022-06-20 Thread Samuel Banya
Unable to reproduce this bug with 'emacs -Q -L ./lisp -l org' on the
latest version of Org Mode



Re: Question Regarding Easier Issues To Help With

2022-05-25 Thread Samuel Banya
Appreciate the offer for Saturday, but I have to take care of something on 
Saturday. What time slots were you thinking in EDT?

Thanks for this note though, will put this in my notes as well.

On Tue, May 24, 2022, at 9:26 PM, Ihor Radchenko wrote:
> "Samuel Banya"  writes:
> 
> > Its kind of funny since all I do at work doing tech support is reproducing 
> > stuff for Devs, but I guess that works in this context too. I just didn't 
> > want to have to do more tech support, and wanted to get into the nitty 
> > gritty of Elisp to be honest. More so, to get Dev experience so that I can 
> > finally move away from tech support and into a Dev job later (after I 
> > finish my web dev bootcamp first though).
> 
> If you prefer to do something programming-related, some of the provided
> links also offer such possibility. Or you can reproduce a bug and then
> also fix it ;)
> 
> Further, you can contribute to Org testing suite. Just look at testing/
> folder and look at the existing tests. You can add some new edge cases
> to the tests or create new tests for interactive Org functions not yet
> covered by the tests (there are plenty). Also, See
> https://orgmode.org/list/874k81bsvz.fsf@localhost
> 
> Finally, I may host another meetup this Saturday where we can discuss
> Org development/bug fixes live, possibly with screen sharing.
> 
> Best,
> Ihor
> 


Re: Question Regarding Easier Issues To Help With

2022-05-24 Thread Samuel Banya
Thanks Tim and Ihor, that really puts the "What" to focus on into perspective.

I put this in my Org notes and will take a look at the items you mentioned.

Its kind of funny since all I do at work doing tech support is reproducing 
stuff for Devs, but I guess that works in this context too. I just didn't want 
to have to do more tech support, and wanted to get into the nitty gritty of 
Elisp to be honest. More so, to get Dev experience so that I can finally move 
away from tech support and into a Dev job later (after I finish my web dev 
bootcamp first though).

However, both posts are really really good, and I will use them to my advantage 
when I get some free time on the weekend to gauge what issues are easiest to 
tackle.

Most likely, I will bother the mailing list when I get a shortlist of like 3 of 
them if I come across any issues though I'll try to find what I can given the 
codebase itself first.

Thanks so much again for this, gives me the motivation to really do it.

Sincerely,

Sam

On Mon, May 23, 2022, at 5:03 AM, Ihor Radchenko wrote:
> "Samuel Banya"  writes:
> 
> > Hey there,
> > So I took a look at the following link recently as I finally have had time 
> > again over the past couple of months since I've been dealing with a lot of 
> > personal family stuff, and got some time back again.
> 
> Thanks for your interest in contributing!
> 
> > Can anyone lead me in the right direction for some beginner tier issues to 
> > take a look at, as well as hand holding for any workflow on how to actually 
> > work on the related issue / source code accordingly:
> > https://updates.orgmode.org/#help
> 
> Here is a list that might be helpful. Not all the issues are easy there.
> Mostly, something I quickly judged as easy/important or unanswered.
> Also, there are not only bug reports, but also patches that someone
> needs to test with various edge cases.
> 
> https://orgmode.org/list/UT6T2iOXtO0dMWc5QA4ZPbG0yh-4wOprgsHAe91c_wf7DwDKdLoJilTWK50rJuz8cNxtwrlTc_CpQIGBpQixTjDPnCJfq-WQKhk4oFLed_I=@protonmail.com
> https://orgmode.org/list/ty2pr0101mb3693187b93665e208637f6c8da...@ty2pr0101mb3693.apcprd01.prod.exchangelabs.com
> https://orgmode.org/list/ca+3amhehg_tgcmz1mmy0hpsaw3hqokpnfcjboaozzaxnjcz...@mail.gmail.com
> https://orgmode.org/list/87imnypcvk@iki.fi
> https://orgmode.org/list/87mu3djf4u@gmail.com
> https://orgmode.org/list/87woky8sam@norang.ca
> https://orgmode.org/list/cajcao8t_sfascks4fovnbt5rrsivfr1z15jemh2rgonz_ha...@mail.gmail.com
> https://orgmode.org/list/lotcjav--...@keemail.me
> https://orgmode.org/list/87sfxiw2jp@posteo.net
> https://orgmode.org/list/dd0ae51d-7d56-0ff6-5eb1-3786464ad...@arfer.net
> https://orgmode.org/list/5a1cb629-8437-41f5-fd75-674c949ea...@gmx.at
> https://orgmode.org/list/CAOn=hbefyj7edw6gsobqgkofm65bx1cdc_inxaisdpv74kw...@mail.gmail.com
> https://orgmode.org/list/87v91vle4u@gmail.com
> https://orgmode.org/list/87wnl53cq4.fsf@localhost
> https://orgmode.org/list/so2fh1$10kj$1...@ciao.gmane.io
> https://orgmode.org/list/041ca43d-2efb-db1e-76ab-7c15af088...@posteo.eu
> https://orgmode.org/list/CAJr1M6d=0qtynpwabwbnciq2fm4mcybrxoer_hr-va4tj1k...@mail.gmail.com
> https://orgmode.org/list/20171014123248.51568eec@Tourifreet
> https://orgmode.org/list/paxpr06mb7760da356c7c27045beb64f6c6...@paxpr06mb7760.eurprd06.prod.outlook.com
> https://orgmode.org/list/87a6gdaa9i.fsf@tsdye.online
> https://orgmode.org/list/cab14nk88cyihdgkdqzxhnjyekp_bzz_1j73p-y2fgsk_7jt...@mail.gmail.com
> https://orgmode.org/list/cafyqvy3mxi4drts+w-ax7bfelvujqh4dodeypy3hygrrume...@mail.gmail.com
> https://orgmode.org/list/87mthrtb5u@alphaville.usersys.redhat.com
> 
> > I ask because I'm a bit of an Elisp newbie. I'm assuming the first step is 
> > to try to reproduce the bug given the user's info, and then attempt to look 
> > at the codebase to see what might be causing it?
> 
> Without elisp, you can
> 1. Try to reproduce bugs and give detailed instructions for maintainers
>to fix (it is much easier to fix bugs with detailed steps how to
>reproduce them)
> 2. Try submitted patches and see if they work on your customized Org.
>Then, report any issues
> 3. Monitor websites like stackexchange and reddit and transfer bug
>reports from there to the mailing list.
> 
> Also, I recorded a video explaining how to reproduce Org mode bugs in
> https://open.tube/videos/watch/4d819114-43bf-42df-af94-f94fc53dd0d9
> 
> Best,
> Ihor
> 


Question Regarding Easier Issues To Help With

2022-05-22 Thread Samuel Banya
Hey there,
So I took a look at the following link recently as I finally have had time 
again over the past couple of months since I've been dealing with a lot of 
personal family stuff, and got some time back again.

Can anyone lead me in the right direction for some beginner tier issues to take 
a look at, as well as hand holding for any workflow on how to actually work on 
the related issue / source code accordingly:
https://updates.orgmode.org/#help

I ask because I'm a bit of an Elisp newbie. I'm assuming the first step is to 
try to reproduce the bug given the user's info, and then attempt to look at the 
codebase to see what might be causing it?

Thanks,

Sam

Question About Low Level Issues To Fix

2022-03-16 Thread Samuel Banya
Hey there,

So I received SourceHut access which is awesome. I took a look at the Git repo 
last weekend, and boy was I impressed by the team who works on Org Mode. 

One day, I hope to get half of the credentials for most of the people listed 
there :)

On a related note, I took a look at what's present, but was kind of lost in 
terms of what to necessarily fix.

I saw the general TODO list present, but wasn't sure if there are any low level 
issues that should be looked at.

Or should I primarily focus on what's been reported directly on the Source Hut 
repo itself?

Asking because its been a while since I contributed efforts to open source 
stuff, and didn't know the best workflow of how to approach this.

Excited to help out though :) 

Thanks,

Sam

Re: [Script] Firefox Bookmarks To Org Buffer Importer

2022-03-02 Thread Samuel Banya
Sweet idea, you should make this into a MELPA project.

On Wed, Mar 2, 2022, at 5:50 AM, Sai Karthik wrote:
> Hello group! I have started exploring org mode since a while &  I just 
> want to share this small tool i made in org mode for my use case. It 
> parses the firefox bookmarks json file to urls in the org buffer with 
> their respective sections.
> 
> May be this could be useful for anyone of you.
> 
> Source: https://gitlab.com/kskarthik/fox2org/-/blob/main/fox2org.org
> 
> Regards,
> 
> Karthik
> https://kskarthik.gitlab.io/
> 
> 


Re: Question Regarding Creating HTML Style Buttons With Org Mode

2022-02-22 Thread Samuel Banya
Hey Juan,

Just wanted to let you know that this works beautifully!

I wish I was as good at Elisp to make this in the first place, but this really 
helps since I wanted to have some minimum overhead for 2 separate websites to 
be able to just write in Org Mode but include ideas for buttons, with classes 
and ID values.

This helps a ton, thanks so much as it totally worked! :)

Sincerely,

Sam

On Sun, Feb 20, 2022, at 7:38 PM, Samuel Banya wrote:
> Thanks for this, will try this for my Emacs config.
> 
> On Sat, Feb 19, 2022, at 4:51 AM, Juan Manuel Macías wrote:
>> Juan Manuel Macías writes:
>> 
>> > If you want to pass the class or id 'manually' to each link, and thus
>> > have more control, you can evaluate this other version, where the class
>> > or id would be added at the end of the link description, after (for
>> > example) "!style":
>> 
>> PS: Sorry, this is the correct code:
>> 
>>   (org-link-set-parameters "button"
>>:face '(:foreground "green4" :underline t)
>>:follow (lambda (path) (browse-url path))
>>:export (lambda (path desc backend)
>>  (when (eq backend 'html)
>>(let ((style (if (string-match "\\(!style\\)\\(.+\\)" desc)
>> (match-string 2 desc)
>>""))
>>   (desc (replace-regexp-in-string "\\(!style .+\\)" "" desc)))
>> (format ">formaction=\"%s\">%s" style
>>path desc)
>> 
>> 
>> Example:
>> 
>> [[button:http://www.sambanya.com/artgallery.html][Art Gallery Page Link 
>> !style class="mybutton"]]
>> 
>> == HTML ==>
>> 
>> 
>> > formaction="http://www.sambanya.com/artgallery.html";>Art Gallery Page Link 
>> 
>> 
>> 
>> 
> 


Re: Question Regarding Creating HTML Style Buttons With Org Mode

2022-02-20 Thread Samuel Banya
Thanks for this, will try this for my Emacs config.

On Sat, Feb 19, 2022, at 4:51 AM, Juan Manuel Macías wrote:
> Juan Manuel Macías writes:
> 
> > If you want to pass the class or id 'manually' to each link, and thus
> > have more control, you can evaluate this other version, where the class
> > or id would be added at the end of the link description, after (for
> > example) "!style":
> 
> PS: Sorry, this is the correct code:
> 
>   (org-link-set-parameters "button"
>:face '(:foreground "green4" :underline t)
>:follow (lambda (path) (browse-url path))
>:export (lambda (path desc backend)
>  (when (eq backend 'html)
>(let ((style (if (string-match "\\(!style\\)\\(.+\\)" desc)
> (match-string 2 desc)
>""))
>   (desc (replace-regexp-in-string "\\(!style .+\\)" "" desc)))
> (format "formaction=\"%s\">%s" style
>path desc)
> 
> 
> Example:
> 
> [[button:http://www.sambanya.com/artgallery.html][Art Gallery Page Link 
> !style class="mybutton"]]
> 
> == HTML ==>
> 
> 
>  formaction="http://www.sambanya.com/artgallery.html";>Art Gallery Page Link 
> 
> 
> 
> 


Re: Is It Possible To Target ID And Classes With Org Mode Exports?

2022-02-19 Thread Samuel Banya
Hey there,

I used 'C-h r' and found the man page for this under '13.9.12 CSS support' for 
the Org Mode manual.

Here's the section:
*   In order to add styles to a sub-tree, use the ‘HTML_CONTAINER_CLASS’**
*
*property to assign a class to the tree.  In order to specify CSS styles**
*
*for a particular headline, you can use the ID specified in a ‘CUSTOM_ID’**
*
*property.  You can also assign a specific class to a headline with the**
*
*‘HTML_HEADLINE_CLASS’ property.*

Thanks for providing this, as I had no idea you can do this, great to know!

Will use this to create some 'flexbox' elements using containers with this in 
mind :)

Thanks again,

Sam

On Sat, Feb 19, 2022, at 8:22 AM, Ihor Radchenko wrote:
> "Samuel Banya"  writes:
> 
> > I'm curious, is it possible to specify a 'ID' or 'Class' attribute for a 
> > specific header, or link that you create in Org Mode?
> >
> > Asking since I'm in the process of modifying a CSS stylesheet for a site, 
> > but would want more granular control to possible make containers with ID or 
> > classes, but it doesn't look possible in Org Mode by default.
> 
> For headline class attribute, see Org manual -> Exporting -> HTML Export -> 
> CSS
> support (HTML_HEADLINE_CLASS property). For headline ID, you can set
> CUSTOM_ID property.
> 
> Links are discussed in
> https://list.orgmode.org/87mtinb2vq@posteo.net/T/#t
> 
> Best,
> Ihor
> 


Is It Possible To Target ID And Classes With Org Mode Exports?

2022-02-18 Thread Samuel Banya
Hey there,

I'm curious, is it possible to specify a 'ID' or 'Class' attribute for a 
specific header, or link that you create in Org Mode?

Asking since I'm in the process of modifying a CSS stylesheet for a site, but 
would want more granular control to possible make containers with ID or 
classes, but it doesn't look possible in Org Mode by default.

Thanks,

Sam

Re: Question Regarding Creating HTML Style Buttons With Org Mode

2022-02-18 Thread Samuel Banya
To clarify, did you evaluate that code block on the org mode docs itself?

I ask because if I try to evaluate it, aka 'C-c C-c' on the '#begin_src' block, 
nothing happens.

And after I export the Org Doc to HTML, it still gives me that same error as 
before.

On Fri, Feb 18, 2022, at 3:51 PM, Juan Manuel Macías wrote:
> Juan Manuel Macías writes:
> 
> > If you evaluate the `org-ling-set-parameters' expression that I gave
> > you, you should get when exporting to html:
> >
> > 
> >  > formaction="http://www.sambanya.com/artgallery.html";>Art Gallery Page 
> > Link
> > 
> 
> P.S.: I forgot to tell you that if you want to visit the link also from the
> Org file itself, you must add this parameter to org-link-set-parameters:
> 
> :follow (lambda (path) (browse-url path))
> 
> Best regards,
> 
> jm
> 


Re: Question Regarding Creating HTML Style Buttons With Org Mode

2022-02-18 Thread Samuel Banya
Also, how could you possible add an 'id' or 'class' attribute to an existing 
lOrg mode style hyperink?

I ask because I like your approach to just modify the stylesheet, but am 
unaware of how to actually utilize HTML's concept or 'id' or 'class' in an Org 
doc itself when using basic Org mode style hyperlinks [[link address][link 
description]]

Also, I ask because I found a similar video to just style the hyperlink in a 
similar fashion but would need to somehow assign a class or id value to the 
HTML element that's exported from the hyperlink itself:
Styling HTML Anchor Tag (Link) To Look Like A Button | CSS Tutorial 
(https://www.youtube.com/watch?v=p5nogm7ul6A) 

Thanks,

Sam

On Fri, Feb 18, 2022, at 2:59 PM, Samuel Banya wrote:
> I tried to use this idea, but I'm not sure how to set the 'target' in your 
> example:
> [[button:some target][This is a button]]
> 
> For example, I tried this:
> [[button:http://www.sambanya.com/artgallery.html][Art Gallery Page Link]]
> 
> But received this error:
> user-error: Unable to resolve link: 
> "button:http://www.sambanya.com/artgallery.html";
> 
> Thanks,
> 
> Sam
> 
> On Thu, Feb 17, 2022, at 5:10 PM, Juan Manuel Macías wrote:
>> Hi Samuel:
>> 
>> Samuel Banya writes:
>> 
>> > Is it possible to create HTML style buttons using Org Mode itself?
>> 
>> One possibility is to use a custom link. For example:
>> 
>> #+begin_src emacs-lisp
>>   (org-link-set-parameters "button"
>>:face '(:foreground "green" :underline t)
>>:export (lambda (path desc backend)
>>  (when (eq backend 'html)
>>(format "> formaction=\"%s\">%s" path desc
>> #+end_src
>> 
>> #+HTML_HEAD:  
>> .mybutton{background-color:#4CAF50;border:none;color:white;padding:15px32px;text-align:center;text-decoration:none;display:inline-block;font-size:18px;margin:4px2px;cursor:pointer;
>> 
>> [[button:some target][This is a button]]
>> 
>> NB: I have borrowed the style from here: 
>> https://www.w3schools.com/csS/css3_buttons.asp
>> 
>> Best regards,
>> 
>> Juan Manuel 
>> 
> 


Re: Question Regarding Creating HTML Style Buttons With Org Mode

2022-02-18 Thread Samuel Banya
I tried to use this idea, but I'm not sure how to set the 'target' in your 
example:
[[button:some target][This is a button]]

For example, I tried this:
[[button:http://www.sambanya.com/artgallery.html][Art Gallery Page Link]]

But received this error:
user-error: Unable to resolve link: 
"button:http://www.sambanya.com/artgallery.html";

Thanks,

Sam

On Thu, Feb 17, 2022, at 5:10 PM, Juan Manuel Macías wrote:
> Hi Samuel:
> 
> Samuel Banya writes:
> 
> > Is it possible to create HTML style buttons using Org Mode itself?
> 
> One possibility is to use a custom link. For example:
> 
> #+begin_src emacs-lisp
>   (org-link-set-parameters "button"
>:face '(:foreground "green" :underline t)
>:export (lambda (path desc backend)
>  (when (eq backend 'html)
>(format " formaction=\"%s\">%s" path desc
> #+end_src
> 
> #+HTML_HEAD:  
> .mybutton{background-color:#4CAF50;border:none;color:white;padding:15px32px;text-align:center;text-decoration:none;display:inline-block;font-size:18px;margin:4px2px;cursor:pointer;
> 
> [[button:some target][This is a button]]
> 
> NB: I have borrowed the style from here: 
> https://www.w3schools.com/csS/css3_buttons.asp
> 
> Best regards,
> 
> Juan Manuel 
> 


Question Regarding Creating HTML Style Buttons With Org Mode

2022-02-17 Thread Samuel Banya
Hey there,

So I'm in the process of creating an art portfolio site, but am wondering if 
the following idea is possible:

Is it possible to create HTML style buttons using Org Mode itself?

Would I need to do this via a '#begin-src' block in order to create the button 
itself?

I ask because I'm aware on how to force custom stylesheets for a given Org Mode 
doc that's converted to an HTML page, but didn't know if I could populate some 
buttons so that I can stylize them accordingly.

Thanks,

Sam

Re: Request For Approval To Contribute To Org Mode

2022-02-11 Thread Samuel Banya
Hey Bastien,

Sounds good!

I'll take a look at the current issues to see if there are any low hanging 
fruit.

Also, I'll try looking on the page for any guides for how to submit patches as 
I have never done anything like that before, but I have seen it done in terms 
of related emails being sent to the org mailing list and the main Emacs mailing 
list.

Probably is built into Emacs so it should be cool to learn.

Thanks again Bastien :)

~ Sam

On Fri, Feb 11, 2022, at 3:30 AM, Bastien wrote:
> Hi Samuel,
> 
> sorry for the late answer.  
> 
> To contribute to Org, you can send patches to the mailing list:
> maintainers will review and hopefully accept them.
> 
> Once you have several patches accepted and are comfortable pushing
> changes directly to the Org repository, we will consider giving you
> write access.  But for occasional bug fixing, this is not needed.
> 
> See https://orgmode.org/worg/org-contribute.html for more and let
> us know if this answers your question.
> 
> Best,
> 
> -- 
> Bastien
> 


Re: Request For Approval To Contribute To Org Mode

2022-02-08 Thread Samuel Banya
Thanks Corwin :)

On Sun, Feb 6, 2022, at 2:35 PM, Corwin Brust wrote:
> On Sun, Feb 6, 2022 at 1:28 PM Samuel Banya  wrote:
> >
> > Hey there,
> >
> > I can't find my previous email thread, but I asked if anyone could approve 
> > my Sourcehub registration to be able to make commits to Org Mode's repo 
> > going forward.
> >
> > I wasn't sure if Bastien was around to do this though, so I wanted to check 
> > in about this.
> >
> 
> AFAIK only Basiten can approve this, added to this thread.
> 


Request For Approval To Contribute To Org Mode

2022-02-06 Thread Samuel Banya
Hey there,

I can't find my previous email thread, but I asked if anyone could approve my 
Sourcehub registration to be able to make commits to Org Mode's repo going 
forward.

I wasn't sure if Bastien was around to do this though, so I wanted to check in 
about this.

Thanks,

Samuel Banya

Re: Question Regarding CSS Stylesheets For Art Gallery Webpage Made With Org Mode

2022-01-21 Thread Samuel Banya
Hey Kaushal,

Thanks a ton for these ideas.

Yeah, the 'Art Gallery' page itself will be just the JS based project I will 
deploy, but I'll keep that in mind to just maybe roll with custom template 
static generated sites for the other sections since I think the only way to get 
close to that look and feel is to run with one of the ideas you mentioned.

Thanks again :)

Sam

On Fri, Jan 21, 2022, at 10:11 AM, Kaushal Modi wrote:
> Hi Samuel,
> 
> On Sun, Jan 16, 2022 at 12:06 PM Samuel Banya  wrote:
> >
> > I am planning to use Emacs to create Org Mode files for the few main 
> > sections of my site that aren't the Art Gallery page itself.
> >
> > I'm trying to figure out how to get a modern Wordpress looking Org 
> > generated HTML page that rivals pages like this:
> >
> > https://karlkopinski.com/
> > https://wyliebeckert.com/
> > http://www.brucepennington.co.uk/
> > https://turnislefthome.com/
> > https://davidmattingly.com/sketches/
> > https://www.mathewborrett.com/
> > https://www.stephenfabian.com/gallery
> 
> Here's my personal opinion: Org mode is great at concisely formatting
> content, so I format my blog content in Org. But then I leave it up to
> static site generator giants like Hugo to make the site look good. The
> kind of look you want on your website could be achieved by one of the
> themes: https://themes.gohugo.io/
> Static site generators have tons of other benefits like putting the
> right meta data, easily creating RSS, ATOM feeds, integrating
> pre-generated search index, post-processing images, etc. before
> uploading to the server, minifying CSS, JS, HTML, etc.
> 
> [ I am giving examples of using Hugo because that's what I use. You
> can pick any static site generator and a compatible theme. ]
> 
> > Would be curious to know everyone's thoughts on this if there's a cool way 
> > to do this via Org Mode :)
> 
> I would focus on:
> 
> 1. Content writing in Org mode
> 2. Rendering/prettifying the website using CSS, templating, etc in a
> static site generator.
> 
> Of course you can do everything in Org mode and many people do it, but
> then you need to design CSS, JS, etc yourself.
> ( I am not a web designer, so I took the static site generator
> approach and started learning more about CSS and templating from
> available themes. )
> 
> 
> 
> Kaushal
> 


Re: Yet another browser extension for capturing notes - LinkRemark

2022-01-17 Thread Samuel Banya
Not sure if it helps, but you could also use the w3m browser's mentality of 
just keeping an HTML file that contains all of your bookmarks. I'm sure there's 
probably even a way to use 'eww' in the same fashion too.

Maybe even making your own personal wiki of a webring of sorts would help too.

I don't personally bookmark anything anymore but just store links on a webring 
on my site.

Hope this helps.

Sam

On Mon, Jan 17, 2022, at 8:03 PM, Samuel Wales wrote:
> my amazon example was silly and confusing.  the point isn't shopping
> for something; it's anything.  science papers, news outlets, nerd
> blogs.
> 
> On 1/16/22, Samuel Wales  wrote:
> > more below.
> >
> > On 12/26/20, Maxim Nikulin  wrote:
> >> On 26/12/2020, Samuel Wales wrote:
> >>
> >>> [... i can imagine great things possible with such extensions. for
> >>> example, you could have sets of tabs, selected by right click in
> >>> firefox, to save to a bunch of org entries.  then you could load that
> >>> particular set of entries into firefox whenever you want.  and you
> >>> could keep notes on each page and move the entries wherever you want.
> >>> this would be useful for such things as "i am researching rice
> >>> cookers; these are my tabs, but i don't want them cluttering firefox
> >>> and i want them with my org notes and to make notes on them and will
> >>> re-load them into firefox when i want to revisit".]
> >>
> >> It should be possible since some tab management extension were used in
> >> mozilla to evaluate if webextensions are mature enough and if support of
> >> XUL add-ons could be dropped. On the other hand do not expect such
> >> feature soon. A kind of semi-blocker is absence of automatic tests to
> >> run before every release, and it will require a lot of time.
> >
> > interesting.  i do note tab selection features in recent firefox-esr
> > and i was just assuming something like that.
> >
> >>
> >> In the meanwhile, have you looked at the following comment?
> >> https://github.com/sprig/org-capture-extension/issues/12#issuecomment-323569334
> >> alphapapa commented Aug 20, 2017
> >>
> >>> You can do this with the "Copy all URLs" extension (ID:
> >>> djdmadneanknadilpjiknlnanaolmbfk). Use this as the custom format (note
> >>> the linebreak):
> >>>
> >>> [[$url][$title]]
> >>
> >> I am almost sure that similar extension should exist for Firefox as well.
> >
> > i think this is for copying all tabs, not selected ones.  so a
> > workaround for my idea would be to have a fresh firefox window
> > dedicated to rice cookers and then save them all.  bit it does not
> > save over existing canonical location for each url or similar.
> >
> > which would be needed for my idea so as to not have duplicates etc.
> >
> > also i think this extension does not exist any more in firefox.  i
> > used to use it for storing as org links.  but it was just to store
> > links in case firefox screwed up session restore.  which it usually
> > does.  for that purpose, i use one that does not save as orglinks.
> >
> >>
> >> Some points should be clarified in my opinion
> >>
> >> - Do you expect that metadata should be captured in addition to URLs and
> >> titles? Browsers can unload some tabs making page content unavailable.
> >
> > i wouldn't need this i think.  i'd want page title, just as in
> > ordinary org links, but in principle that can be assumed from the
> > existing org entry if exists, and if not exists and you are capturing,
> > the page is already loaded.  so i think not a metadata issue.
> >
> >> - Are you going to capture reviews of "rice cookers" that could be
> >> considered as ordinary pages or you are going to save items from online
> >> stores? I do not current state of affairs but I have heard about some
> >> activity for special metadata that allows search engines to display
> >> products in a special way. Could you inspect head element of pages in
> >> your favorite stores contains desired metadata using page source or
> >> inspect element tools?
> >
> > my web knowledge is too limited to understand your question, but i am
> > just hoping it would capture ordinary amazon links, review sites, and
> > so on.  and i never use js if i can avoid it so i'm expecting pretty
> > normal website stuff i think.  so i'm flexible.
> >
> > [of course, amazon per se links might need cleaning or uniquification
> > of some type for finding the version in org maybe, or maybe for
> > improving privacy by removing amazon's data about you in the url, but
> > that might not even need any special amazon link knowledge.
> > [fanciness might look for the amazon id, if implementer willing or
> > somethign exists for that.]]
> >
> >> - Should tab group be captured as single Org heading or it should be a
> >> tree with a section per tab? I am not sure that capture will have no
> >> problem with subtree. Certainly Emacs interface for org-protocol +
> >> capture are not suitable for sending each tab as a separate link.
> >> Another option is to create nested l

Re: Request To Contribute To 'Worg' Project

2022-01-16 Thread Samuel Banya
Hey Timothy,

I logged into my "Sourcehut" account but don't see the 'Worg' repo present.

I checked my email but don't see the invite for the 'Worg' repo.

Can you lead me in the right direction? I ask because I haven't used this 
platform before.

Thanks,

Sam

On Sun, Jan 16, 2022, at 11:08 AM, Timothy wrote:
> Hi Samuel,
> 
> If you’ve been invited to the worg repo, you can just push to in 🙂. It’s 
> basically intended as a community wiki. There isn’t an explicit approval 
> process like there is with contributions to the org-mode codebase.
> 
> 
> All the best,
> *Timothy*
> 
> 
> *From*: Samuel Banya <mailto:"Samuel Banya" >
> * Subject*: Re: Request To Contribute To 'Worg' Project
> * To*: Charles Berry <mailto:"Charles Berry" >
> * Date*: Mon, 17 Jan 2022 00:03:39 +0800
> 


Question Regarding CSS Stylesheets For Art Gallery Webpage Made With Org Mode

2022-01-16 Thread Samuel Banya
Hey there,

I deployed a new personal art portfolio website:
 * https://www.sambanya.com

I am planning to use Emacs to create Org Mode files for the few main sections 
of my site that aren't the Art Gallery page itself.

I'm trying to figure out how to get a modern Wordpress looking Org generated 
HTML page that rivals pages like this:
 * https://karlkopinski.com/
 * https://wyliebeckert.com/
 * http://www.brucepennington.co.uk/
 * https://turnislefthome.com/
 * https://davidmattingly.com/sketches/
 * https://www.mathewborrett.com/
 * https://www.stephenfabian.com/gallery

I tried researching on my own about this, but most of the CSS stylesheets I've 
seen pretty much pertain to making Org generated HTML pages look like 'Read The 
Docs", solarized pages, or academic reports.

Anyway, would be curious if anyone happened to know of a good workflow, or if I 
should just rip apart the initial pages I like and see how I can match the 
styling via CSS alone.

Wanted to see if I could get away with having minimal JS involved as I'm only 
chasing the look, not really the functionalities of Wordpress (zoom etc).

Would be curious to know everyone's thoughts on this if there's a cool way to 
do this via Org Mode :)

Here are the links I tried to no avail though for anyone's reference:
 * https://github.com/gongzhitaao/orgcss
 * https://github.com/fniessen/org-html-themes
 * https://gist.github.com/mowen/326524
 * https://github.com/thomasf/solarized-css
 * https://demo.thi.ng/org-spec/
 * http://doc.norang.ca/org-mode.html
 * https://olmon.gitlab.io/org-themes/
 * https://github.com/c4710n/org-html-style
 * https://thomasf.github.io/solarized-css/
 * https://news.ycombinator.com/item?id=23130104
 * https://orgmode.org/manual/JavaScript-support.html
 * https://github.com/marsmining/ox-twbs
 * https://github.com/cosmicexplorer/org-info-js
 * https://orgmode.org/manual/CSS-support.html
 * https://juanjose.garciaripoll.com/blog/css-style-org-mode/
 * https://lepisma.xyz/2017/10/28/ricing-org-mode/
 * https://jnboehm.gitlab.io/blog/tufte-css/
 * https://gongzhitaao.org/orgcss/

The closest I've seen is MAYBE This:
 * https://olmon.gitlab.io/org-themes/darksun/darksun.html


Thanks,

Sam



Re: Request To Contribute To 'Worg' Project

2022-01-16 Thread Samuel Banya
Hey there,

I got the Sourcehut invitation, but wanted to know, what else do I do from this 
point?

Am I still waiting on Bastien to approve my contributions going forward?

Just wanted to make sure I'm doing everyone on my end :)

Thanks,

Sam

On Sun, Jan 9, 2022, at 1:47 PM, Samuel Banya wrote:
> Hey Timothy!
> 
> I made a Sourcehut account with 'samuelbanya' already, forgot to mention that 
> in my previous post.
> 
> I'm guessing in that case, I would have to wait for Bastien then to approve 
> this via this email thread, or should I make a different request email?
> 
> Thanks,
> 
> Sam
> 
> On Sun, Jan 9, 2022, at 1:25 PM, Timothy wrote:
>> Hi Samuel,
>> 
>> Great to hear from you!
>> 
>> Worg is a great place to improve the community documentation/guides of Org.
>> 
>> If you’d like access, have a look at 
>> https://orgmode.org/worg/worg-about.html “Who can participate in the editing 
>> of Worg?”. The short version is you need to create a sourcehut account and 
>> ask Bastien to be added as a contributer :)
>> 
>> If you’d like to contribute to Org “directly”, check out 
>> https://orgmode.org/worg/org-contribute.html.
>> 
>> 
>> 
>> All the best,
>> *Timothy*
>> 
>> 
>> 
>> 
>> *From*: Samuel Banya <mailto:"Samuel Banya" >
>> *Subject*: Request To Contribute To 'Worg' Project
>> *To*: Charles Berry <mailto:"Charles Berry" >
>> *Date*: Mon, 10 Jan 2022 01:23:18 +0800
>> 
>> 
> 


Re: Question Regarding Creating Workflow For Automatic Formulas For Finance Based Org Spreadsheet

2022-01-16 Thread Samuel Banya
Actually, to end this thread, I actually used Eric Fraga's idea to just use 
separate sections for each month, since this solves this problem indefinitely, 
so thanks for the ideas in this thread as my workflow is definitely improved 
for my finance spreadsheet.

Cool stuff, will include his quote to wrap it up:

> I would suggest the following:
> 
> |+-+---+--|
> | 01/03/2022 | Example Rent Expense|   | 
> -1061.67 |
> | 01/04/2022 | Example Food Expense|   | 
> -1061.67 |
> |+-+---+--|
> || January expenses| 0 | 
> -2123.34 |
> |+-+---+--|
> | 02/05/2022 | Example Utility Expense |   | 
> -2061.67 |
> | 02/06/2022 | Example Random Expense  |   | 
> -2061.67 |
> |+-+---+--|
> || February expenses   | 0 | 
> -4123.34 |
> |+-+---+--|
> #+TBLFM: 
> @3$3=vsum(@-I..@-II)::@3$4=vsum(@-I..@-II)::@6$3=vsum(@-I..@-II)::@6$4=vsum(@-I..@-II)

On Sun, Jan 16, 2022, at 10:19 AM, Samuel Banya wrote:
> 
>> In that case, would a running csv where you paste in each month's new
>> pull work? You could even keep the totals to the side, so that as you
>> paste new data in e.g. cols A-D, your totals (in E and beyond) can sit
>> right there happily? I alluded to this with respect to the request to
>> automate csv -> org; without knowing which things must be org and why,
>> it's hard to comment on these kinds of inquiries. Maybe org is just
>> more fun, maybe it's mandatory because there's some other aspect of
>> this we don't know.
> 
> How would you able to keep the running totals in Column E?
> 
> Can you provide me with an example of this?
> 
> On Sun, Jan 16, 2022, at 10:15 AM, Samuel Banya wrote:
>> Hello,
>> 
>> I appreciate the enthusiasm for Ledger, but I really just don't like the 
>> double posting idea period.
>> 
>> I just need totals spreadsheet style, that's about it. I think the whole 
>> idea behind bean count is tedious.
>> 
>> I just don't think like a mathematician in this respect, too brainy for me.
>> 
>> I'll take a look at the Org Mode way to solve this problem via the previous 
>> posts, thanks.
>> 
>> Sincerely,
>> 
>> Sam
>> 
>> On Fri, Jan 14, 2022, at 2:54 PM, Quiliro Ordóñez wrote:
>>> El 2022-01-09 22:42, Samuel Banya escribió:
>>> > Ah, Ledger is way too complicated for what it's worth. I've seen
>>> > videos on YouTube about it, and every person who's praised it is
>>> > pretty much too smart enough to be able to explain it in simple terms.
>>> 
>>> It is very easy.  I made a video for EmacsConf 2019
>>> https://emacsconf.org/2019/talks/12/ .   I wish someone had showed me
>>> examples like these when I started with it.  
>>> 
>>> My fiancee is a preschool teacher (programming is not her area of
>>> expertize).  But she quickly learned how to use it.  She keeps about
>>> 3700 per year with 4500 lines.  It takes her about 10 minutes per day. 
>>> With that investment, she can even tell how much we have spent on apples
>>> or on all fruits (as detailed or general as she wants).  On these two
>>> years, she has saved us about half our budget and has us living much
>>> better thanks to the knowledge of what we want to invest on.  (We now do
>>> not think of how to spend money, but how to invest it.  That changes the
>>> point view completely.)
>>>   
>>> There are complicated reports as well as very simple ones that can be
>>> generated.  And you can always customize them to the last bit.  There is
>>> also a website http://plaintextaccounting.org .  There is plenty of
>>> information there.  You can also use org-babel to include formulas for
>>> Ledger reports.
>>> 
>>> Just ask away!  :-)
>>> 
>>> 
>> 
> 


Re: Question Regarding Creating Workflow For Automatic Formulas For Finance Based Org Spreadsheet

2022-01-16 Thread Samuel Banya

> In that case, would a running csv where you paste in each month's new
> pull work? You could even keep the totals to the side, so that as you
> paste new data in e.g. cols A-D, your totals (in E and beyond) can sit
> right there happily? I alluded to this with respect to the request to
> automate csv -> org; without knowing which things must be org and why,
> it's hard to comment on these kinds of inquiries. Maybe org is just
> more fun, maybe it's mandatory because there's some other aspect of
> this we don't know.

How would you able to keep the running totals in Column E?

Can you provide me with an example of this?

On Sun, Jan 16, 2022, at 10:15 AM, Samuel Banya wrote:
> Hello,
> 
> I appreciate the enthusiasm for Ledger, but I really just don't like the 
> double posting idea period.
> 
> I just need totals spreadsheet style, that's about it. I think the whole idea 
> behind bean count is tedious.
> 
> I just don't think like a mathematician in this respect, too brainy for me.
> 
> I'll take a look at the Org Mode way to solve this problem via the previous 
> posts, thanks.
> 
> Sincerely,
> 
> Sam
> 
> On Fri, Jan 14, 2022, at 2:54 PM, Quiliro Ordóñez wrote:
>> El 2022-01-09 22:42, Samuel Banya escribió:
>> > Ah, Ledger is way too complicated for what it's worth. I've seen
>> > videos on YouTube about it, and every person who's praised it is
>> > pretty much too smart enough to be able to explain it in simple terms.
>> 
>> It is very easy.  I made a video for EmacsConf 2019
>> https://emacsconf.org/2019/talks/12/ .   I wish someone had showed me
>> examples like these when I started with it.  
>> 
>> My fiancee is a preschool teacher (programming is not her area of
>> expertize).  But she quickly learned how to use it.  She keeps about
>> 3700 per year with 4500 lines.  It takes her about 10 minutes per day. 
>> With that investment, she can even tell how much we have spent on apples
>> or on all fruits (as detailed or general as she wants).  On these two
>> years, she has saved us about half our budget and has us living much
>> better thanks to the knowledge of what we want to invest on.  (We now do
>> not think of how to spend money, but how to invest it.  That changes the
>> point view completely.)
>>   
>> There are complicated reports as well as very simple ones that can be
>> generated.  And you can always customize them to the last bit.  There is
>> also a website http://plaintextaccounting.org .  There is plenty of
>> information there.  You can also use org-babel to include formulas for
>> Ledger reports.
>> 
>> Just ask away!  :-)
>> 
>> 
> 


Re: Question Regarding Creating Workflow For Automatic Formulas For Finance Based Org Spreadsheet

2022-01-16 Thread Samuel Banya
Hello,

I appreciate the enthusiasm for Ledger, but I really just don't like the double 
posting idea period.

I just need totals spreadsheet style, that's about it. I think the whole idea 
behind bean count is tedious.

I just don't think like a mathematician in this respect, too brainy for me.

I'll take a look at the Org Mode way to solve this problem via the previous 
posts, thanks.

Sincerely,

Sam

On Fri, Jan 14, 2022, at 2:54 PM, Quiliro Ordóñez wrote:
> El 2022-01-09 22:42, Samuel Banya escribió:
> > Ah, Ledger is way too complicated for what it's worth. I've seen
> > videos on YouTube about it, and every person who's praised it is
> > pretty much too smart enough to be able to explain it in simple terms.
> 
> It is very easy.  I made a video for EmacsConf 2019
> https://emacsconf.org/2019/talks/12/ .   I wish someone had showed me
> examples like these when I started with it.  
> 
> My fiancee is a preschool teacher (programming is not her area of
> expertize).  But she quickly learned how to use it.  She keeps about
> 3700 per year with 4500 lines.  It takes her about 10 minutes per day. 
> With that investment, she can even tell how much we have spent on apples
> or on all fruits (as detailed or general as she wants).  On these two
> years, she has saved us about half our budget and has us living much
> better thanks to the knowledge of what we want to invest on.  (We now do
> not think of how to spend money, but how to invest it.  That changes the
> point view completely.)
>   
> There are complicated reports as well as very simple ones that can be
> generated.  And you can always customize them to the last bit.  There is
> also a website http://plaintextaccounting.org .  There is plenty of
> information there.  You can also use org-babel to include formulas for
> Ledger reports.
> 
> Just ask away!  :-)
> 
> 


Re: Question Regarding Creating Workflow For Automatic Formulas For Finance Based Org Spreadsheet

2022-01-10 Thread Samuel Banya
Very true, my config would scare the average Emacs user as its too complex :)

On Mon, Jan 10, 2022, at 7:41 PM, John Hendy wrote:
> On Mon, Jan 10, 2022 at 6:32 PM Samuel Banya  wrote:
> >
> > The double reporting thing still doesn't apply to me.
> >
> > Even if you pay with credit cards, ultimately it comes out of your regular 
> > bank account to pay off.
> >
> > To me, its easier to just focus on the single bank account, and obtain the 
> > latest .csv from the current week (Last Saturday to current Saturday), and 
> > treat the entire list as a list of negative value expenses, and positive 
> > income items to keep it super simple.
> >
> > The simpler it is, the better for me, because I honestly hate doing 
> > finances, and only do them to make sure I'm ontop of everything as its the 
> > last thing I want to do on a given week.
> >
> > Hope that helps give some background, since I don't want to appear to be 
> > difficult, but would rather just "keep it in a spreadsheet".
> >
> > To kind of back it up just a slight bit, even the average Excel user would 
> > say the same exact thing, especially ones that try to avoid having to use 
> > Quicken or more complicated pieces of software (which I know, there DOES 
> > exist GNU Cash, etc).
> >
> > But yeah, keep it simple, keep it Emacs, keep it Org Mode, and keep it fun 
> > :) No need for Ledger.
> 
> I totally get the resistance to ledger from having tried it myself for
> a bit, but that last line made me chuckle out loud. No one using emacs
> and org-mode is keeping it *that* simple :p
> 
> The simplest answer is probably Mint.
> 


Re: Question Regarding Creating Workflow For Automatic Formulas For Finance Based Org Spreadsheet

2022-01-10 Thread Samuel Banya
The double reporting thing still doesn't apply to me.

Even if you pay with credit cards, ultimately it comes out of your regular bank 
account to pay off.

To me, its easier to just focus on the single bank account, and obtain the 
latest .csv from the current week (Last Saturday to current Saturday), and 
treat the entire list as a list of negative value expenses, and positive income 
items to keep it super simple.

The simpler it is, the better for me, because I honestly hate doing finances, 
and only do them to make sure I'm ontop of everything as its the last thing I 
want to do on a given week.

Hope that helps give some background, since I don't want to appear to be 
difficult, but would rather just "keep it in a spreadsheet".

To kind of back it up just a slight bit, even the average Excel user would say 
the same exact thing, especially ones that try to avoid having to use Quicken 
or more complicated pieces of software (which I know, there DOES exist GNU 
Cash, etc).

But yeah, keep it simple, keep it Emacs, keep it Org Mode, and keep it fun :) 
No need for Ledger.

On Mon, Jan 10, 2022, at 2:04 PM, Marcin Borkowski wrote:
> 
> On 2022-01-10, at 18:01, Samuel Banya  wrote:
> 
> > The 'double reporting' idea might have been why I just flat out shook my 
> > head when I saw the one presentation on 'ledger' in Emacs on YouTube a 
> > while ago as its a bit too complicated and unnecessary for a layman.
> >
> > I just don't need that kind of over-thinking when it comes to my finances 
> > since I just need a spreadsheet that listed expenses, and to count totals. 
> > That's about it.
> 
> You may think it's overthinking... unless you encounter one of the many
> /real-world problems/ the double-accounting system was /designed/ to
> solve.
> 
> A classic example is when you buy something on day X (expense) but pay
> for it on day Y (cash outflow), and you want to be able to record both
> dates.
> 
> Or you have some irregular costs (like paying for a car insurance once
> a year) and you want to spread them more evenly over a longer period, so
> that your /cash outflow/ is recorded once a year, but the associated
> /cost/ is recorded every month.  (This may help tremendously with
> budgeting.)
> 
> Or you decide to transfer money between two bank accounts (both yours),
> but money going from account A arrives at account B after one day (or
> even later).
> 
> Or you buy something for someone and he pays you back a few days (or
> weeks, or months) later, or not at all (which may happen).
> 
> 
> As you might notice, the first two examples are situations when the
> /expense/ and /cash outflow/ are detached in time - something
> /extremely/ common in business, but also pretty common in personal
> finance.  You might say that you don't care - and I understand that -
> but it is actually very useful to track /both/ expenses (so that you
> know your cost of living etc.) and cash in- and outflows (so that you
> can reconcile your ledger with your cash/bank account etc., to ensure
> you didn't make any mistake).  (If you - like most people, I assume -
> barely have liquidity, tracking cash flows may become even more
> important.)  Also, the difference in time between income/expenses and
> cash flow may become /extremely/ important when calculating taxes.
> 
> The third example is also connected with things happening at different
> moments in time, though to be fair, if you're only interested in actual
> /expenses/, you probably wouldn't even want to record that.
> 
> The last example is similar to the third one - it's not an /expense/ per
> se, but again - tracking cash is useful, tracking your assets and
> liabilities (in that case, money you owe to other people and money other
> people owe to you) is /extremely/ useful, even just as an individual,
> and if that guy /doesn't/ pay you back (mind you, this may happen for
> /legitimate/ issues, like death), it can actually /become/ an expense.
> 
> Also, using accounting software makes things like calculating your net
> worth trivial.  And there are other issues which can quickly become
> pretty hairy when you try to wrap you head around them with a simple
> spreadsheet (like dealing with various currencies/stock/commodities with
> varying prices, for instance), but which have standard, well-known
> solutions in the world of accounting.
> 
> 
> Actually, I'd argue that learning the basics of accounting could help
> a /layman/ better manage their finances.  While the technicalities of
> bookkeeping are not relevant to that, the general ideas like cash flow,
> income and expenses, balance sheet, assets and liabilities, liquidity,
> compou

Re: Question Regarding Creating Workflow For Automatic Formulas For Finance Based Org Spreadsheet

2022-01-10 Thread Samuel Banya
The 'double reporting' idea might have been why I just flat out shook my head 
when I saw the one presentation on 'ledger' in Emacs on YouTube a while ago as 
its a bit too complicated and unnecessary for a layman.

I just don't need that kind of over-thinking when it comes to my finances since 
I just need a spreadsheet that listed expenses, and to count totals. That's 
about it.

I will take a look at the other suggestions with specific Org Mode formulas, 
looked awesome, thanks.

On Mon, Jan 10, 2022, at 10:31 AM, Greg Minshall wrote:
> > I'm wondering if your opinion about Ledger isn't influenced by the fact
> > that it uses basic accounting principles, like the idea of double-entry
> > accounting.  For me, it's /very/ simple and intuitive, but I graduated
> > in economics many years ago and had a (basic, but still) course on
> > accounting.  If that is your problem, I'd suggest spending some time on
> > understanding that - even if you don't end up using Ledger but some
> > other software, you might find learning about accounting useful.  (Also,
> > it's fascinating.  No, really!  It's an extremely clever abstract
> > system with a real-life use-case.)
> 
> i agree that learning the principles of double-entry is worthwhile,
> actually interesting, and of a very interesting history!
> 


Re: Question Regarding Creating Workflow For Automatic Formulas For Finance Based Org Spreadsheet

2022-01-09 Thread Samuel Banya
Ah, Ledger is way too complicated for what it's worth. I've seen videos on 
YouTube about it, and every person who's praised it is pretty much too smart 
enough to be able to explain it in simple terms.

I don't like how manual and frequent it is, and for my use case, I just 
download .csvs from my bank.

For what I use it for, Org Mode gets close.

I just needed to figure out how I can make those formulas actually work in this 
scenario using Emacs with Elisp itself.

There's gotta be a way to do this, since its weird how the individual rows 
don't have individual formulas. 

That's the big weird thing for me personally.

Sincerely,

Sam

On Sun, Jan 9, 2022, at 5:37 PM, Neil Jerram wrote:
> 
> On Sun, 9 Jan 2022, 17:18 Samuel Banya,  wrote:
>> __
>> Hey there,
>> 
>> So I've been managing my finances via an org doc that basically has tables 
>> that list all the expenses from my bank account, which has been awesome on 
>> some respects.
> 
> I also save and process my bank account transactions with Org, and I agree 
> that it's awesome.  The bank's own website and analysis capabilities are 
> rubbish in comparison.
> 
> For what it's worth, my approach is:
> 
> - Periodically download transactions when available (in OFX format, but 
> that's not important).
> 
> - Use Org and Babel with Scheme code to run arbitrary analyses over those, 
> with the results displayed in Org tables.
> 
> - Sometimes there are cases when I need an additional computation on one of 
> the output tables, and I can do that with an Org spreadsheet formula.  But if 
> it was anything useful in the longer term, I'd add the logic to the Scheme 
> coding instead.
> 
> 
> So I'd agree with the response that this kind of thing is a bit too complex 
> for Org table formulas alone.
> 
> Best wishes,
>  Neil
>> 


Re: Request To Contribute To 'Worg' Project

2022-01-09 Thread Samuel Banya
Hey Timothy!

I made a Sourcehut account with 'samuelbanya' already, forgot to mention that 
in my previous post.

I'm guessing in that case, I would have to wait for Bastien then to approve 
this via this email thread, or should I make a different request email?

Thanks,

Sam

On Sun, Jan 9, 2022, at 1:25 PM, Timothy wrote:
> Hi Samuel,
> 
> Great to hear from you!
> 
> Worg is a great place to improve the community documentation/guides of Org.
> 
> If you’d like access, have a look at https://orgmode.org/worg/worg-about.html 
> “Who can participate in the editing of Worg?”. The short version is you need 
> to create a sourcehut account and ask Bastien to be added as a contributer :)
> 
> If you’d like to contribute to Org “directly”, check out 
> https://orgmode.org/worg/org-contribute.html.
> 
> 
> All the best,
> *Timothy*
> 
> 
> *From*: Samuel Banya <mailto:"Samuel Banya" >
> * Subject*: Request To Contribute To 'Worg' Project
> * To*: Charles Berry <mailto:"Charles Berry" >
> * Date*: Mon, 10 Jan 2022 01:23:18 +0800
> 


Request To Contribute To 'Worg' Project

2022-01-09 Thread Samuel Banya
Hey there,

Long time Emacs Org Mode user here, and think its the best thing I've ever 
used. Helped me in my multiple tech support jobs, and think its wonderful.

I wanted to see if there is anything I could contribute to for this project.

I read this page, and noted that you have to request access for this repo:
https://git.sr.ht/~bzg/worg

After the approval process is completed, can anyone point me to "How" exactly 
contributions are made?

Are they done through 'patch' based emails sent through to the mailing list 
itself?

Or are they done directly through git pushes?

I ask because I'm pretty much a hobbyist with projects, so I wanted to make 
sure I went through the required process in this scenario.

Thanks again, hope everyone is doing well :)

Sincerely,

Samuel Banya

Question Regarding Creating Workflow For Automatic Formulas For Finance Based Org Spreadsheet

2022-01-09 Thread Samuel Banya
Hey there,

So I've been managing my finances via an org doc that basically has tables that 
list all the expenses from my bank account, which has been awesome on some 
respects.

The only annoying thing I want to somehow figure out this year is how to make 
the process of updating the formula for a given month less tedious, so I am 
wondering if anyone could help me figure out a better workflow for doing this.
*
*
*Here's My Current Workflow*
 * Download .csv from banking website
 * Convert .csv to .org file via file manager (with 'ranger' in 'vterm')
 * Change over to Dired Mode in the same directory and view the same .org file, 
and convert the data into an org table by using 'C-x h' to highlight 
everything, and use 'C-c |' to convert the range into an org table
 * Open up the existing running total org mode spreadsheet in a separate buffer
 * Copy over the converted org mode table data from the new .csv buffer and 
paste it into the running org mode spreadsheet
 * Use 'C-c }' to show all formulas row and column values in the spreadsheet
 * Find the existing formula row line for the given month's totals at the 
bottom of the spreadsheet, and manually delete the values for the 3rd and 4th 
row respectively
 * Re-enter the formula manually for each cell and hit tab
 * Enter the same formulas on the next line to double check my work to make 
sure I entered them in correctly.
*
*
*After Reading The Online Manual, I Figured This Out:*
 * `I tried using the 'org-table-edit-formulas' function via the "C-c ' (single 
quote)" (Obtained this formula via the docs, 
'`https://www.gnu.org/software/emacs/manual/html_mono/org.html#Formula-syntax-for-Lisp')``
 * I then accepted the mini buffer's changes with 'C-c C-c' which goes back to 
the spreadsheet.
 * I then hit 'C-c *' to update the tables present.
 * The problem with this is that when I attempt to do this function for each 
separate calculation row, both of the bottom calculation rows now only refer to 
a single formula for some reason.

*For Reference, Here's A Modified Version Of My Running Finance Spreadsheet 
(Modified Without Actual Values Or Records For Personal Reasons) (NOTE: Sorry 
that the paste is terribly aligned --> I blame email formatting for this, also, 
note that I also put a note for myself as to what the formulas involved are for 
a given month since I can never remember the syntax personally since its 
flipped from typical Excel syntax of using row and column --> it uses column 
then row like an older calculator)*

|+--+---+--|
| 01/03/2022 | Example Rent Expense |   | 
-1061.67 |
| 01/04/2022 | Example Food Expense |   | 
-1061.67 |
| 02/05/2022 | Example Utility Expense  |   | 
-2061.67 |
| 02/06/2022 | Example Random Expense   |   | 
-2061.67 |
|+--+---+--|
|| EXPENSES JAN 2022 vsum(@1$3..@2$3) vsum(@1$4..@2$4)  | 0 | 
-2123.34 |
|| EXPENSES Feb 2022 vsum(@3$3..@4$3) vsum(@3$4..@4$4)  | 0 | 
-4123.34 |
|+--+---+--|

*Formulas Presented In the 3rd and 4th columns for Row 5:**
*
# Column Formulas
$3 = vsum(@1$3..@2$3)
$4 = vsum(@1$4..@2$4)

*Formulas Presented In The 3rd And 4th Columns For Row 6 (**NOTE**: Notice how 
I can't make them unique for each row for some reason):*
# Column Formulas
$3 = vsum(@1$3..@2$3)
$4 = vsum(@1$4..@2$4)
*
*
*Main Questions Regarding Formula Issues:*
 * Why can't I use individual row formulas in this scenario?
 * Why is it that when I use "C-c ' (single quote)" the row formulas are the 
same for completely separate rows

*My Main Workflow Questions Include The Following:*
 * Is there a way I can maybe automate the initial steps of converting that 
.csv into an .org mode doc, and to paste them into the existing org spreadsheet?
 * Is there a way I can also update the existing formula for the given month if 
Emacs would somehow know the current date time stamp and figure out the month's 
row at the bottom of the spreadsheet accordingly to update the correct row?

Anyway, I know my question might be a bit ambiguous and most likely will 
involve using 'F3' to record macros, but I figured i would ask to maybe make it 
easier since one of my goals for the new year is to make recording finances an 
easier process. 

I felt like I've been over complicating this, and figured someone probably is 
doing org finance spreadsheets better than me to figure this out.

Sincerely,

Sam


Re: C-c C-, in a terminal?

2021-12-28 Thread Samuel Banya
Hey Annsi,

Awesome reply, just was lurking in this thread, and wanted to actually provide 
a link to what you mentioned since it looks like a cool package I might even 
want to try as well:
- https://melpa.org/#/free-keys

Reason being is that I actually wanted to explore running Emacs in purely a 
terminal setup since I actually don't use images that much compared to most 
people.

I know there are benefits to maybe inserting screenshots in notes, or viewing 
images via 'eww' but I don't really actually need it for my workflow, so 
running Emacs in 'xterm' or even something as heavy as Cool Retro Term sounds 
mega fun.

Anyway, didn't know about that package above, thanks for mentioning that one!

I also agree though that the exact replacement for the default keybinding is a 
hard topic.

I'm not sure if this helps, but I'm including a bunch of links I was able to 
research on this topic just in case this helps you out:
- https://aliquote.org/post/emacs-in-terminal/
- https://x86blog.com/emacs-an-ide-for-the-terminal/
- 
https://www.quora.com/Whats-the-best-way-to-use-Emacs-as-a-GUI-application-or-running-in-the-terminal?share=1
- 
https://www.linuxquestions.org/questions/linux-software-2/emacs-in-a-terminal-problems-with-ctrl-815964/
- https://github.com/purcell/exec-path-from-shell

Not sure if this totally relates, but since you're trying to use your terminal 
as an all-in-one, you might even want to check out 'Twin' as well since it can 
act as a Desktop Environment:
- https://github.com/cosmos72/twin

Sincerely,

Sam

On Tue, Dec 28, 2021, at 6:58 PM, Tim Cross wrote:
> 
> Anssi Saari  writes:
> 
> > Hi all, while it's not an ORG mode question exactly, I have a problem
> > with org-insert-structure-template and it's default shortcut, C-c C-, in
> > terminals.
> >
> > As C-, isn't usually a control character in a terminal, terminals send
> > just the comma if I hit C-,. Some terminals (at least wsltty) do send
> > some kind of control sequence but I don't know if mapping other
> > terminals to do the same (Konsole and urxvt at least) and changing the
> > keys for Emacs makes sense. I'd have to do it for every terminal I ever
> > use.
> >
> > Alternatively, any suggestions for a more terminal friendly key
> > combination for org-insert-structure-template in Emacs?
> 
> It is almost impossible to suggest an alternative key binding because
> there are just too many variables involved. What you can use will depend
> on what window manager you use and the key shortcuts it uses (which will
> 'steal' keys before Emacs get to see them) and on the terminal emulator
> and the remote access protocol (i.e. ssh, telnet, tmux, screen etc) you
> use. Then there is differences depending on what Emacs packages you are
> using and what (if any) key bindings you have already defined and
> whether they are global or local definitions etc.
> 
> My suggestion would be to use something like the free-keys (available in
> melpa) package to identify what key bindings are available when in an
> org buffer and select one of those. It may also be worthwhile
> considering using something like hydra. You could define an org specific
> hydra and associate all your preferred bindings to that hydra. Org can
> be particularly challenging because it already has some complex key
> bindings, so avoiding unexpected side effects when adding/changing
> bindings can be a challenge. 
> 
> 
> 


Re: Question About Nuking The Priority Of A Task After Its Been Marked As 'DONE'

2021-12-17 Thread Samuel Banya
Rather, thanks Samuel Loury! :)

Good to know great Sam's exist that like Emacs out there ;)

I tried it today, and this totally worked in my config.

Thanks a ton for this, very cool function, and SUPER useful for me as I mark 
stuff as 'DONE' a ton within my workflow for tickets at work.

Thanks again!

Sam

On Sat, Dec 11, 2021, at 12:51 PM, Samuel Banya wrote:
> Hey Konibunix!
> 
> Thanks a ton for this, this looks fun as heck to implement :)
> 
> I'll have to try this on my config sometime next week. Thanks a ton for this, 
> bookmarking this post for now.
> 
> Love it :)
> 
> On Sat, Dec 11, 2021, at 7:49 AM, Samuel Loury wrote:
>> "Samuel Banya"  writes:
>> 
>> > I often change states of my todo list items to 'DONE', 'CANCELLED', etc.
>> >
>> > However, one thing I would want to know is this:
>> > - Is it possible to automatically delete the '#' priority value of a task 
>> > after a task has been marked as 'DONE', 'CANCELLED', etc?
>> >
>> > Is this done via a hook function?
>> 
>> To do it globally:
>> 
>> --8<---cut here---start->8---
>> (defun my/org-trigger-hook (change-plist)
>>   (let* ((type (plist-get change-plist :type))
>>  (pos (plist-get change-plist :position))
>>  (from (substring-no-properties (or (plist-get change-plist :from) 
>> "")))
>>  (to (substring-no-properties (or (plist-get change-plist :to) "")))
>>  )
>> (when (and
>>(eq type 'todo-state-change)
>>(member to org-done-keywords)
>>(member from org-not-done-keywords)
>>)
>>   (org-priority (string-to-char " "))
>>   )
>> )
>>   )
>> 
>> (add-hook #'org-trigger-hook
>>   #'my/org-trigger-hook)
>> --8<---cut here---end--->8---
>> 
>> 
>> But if, like me, you want to define this behavior per task, this is one
>> of the purposes of org-edna. I suggest you try it.
>> 
>> I your particular example, you would simply set the TRIGGER property of
>> the task for which you want to delete the priority to this content
>> 
>> --8<---cut here---start->8---
>> * NEXT [#B] some task
>> :PROPERTIES:
>> :TRIGGER: self() set-priority!(" ")
>> :END:
>> --8<---cut here---end--->8---
>> 
>> Closing it would result in
>> 
>> --8<---cut here---start->8---
>> * DONE some task
>>   CLOSED: [2021-12-11 Sat 13:38]
>> :PROPERTIES:
>> :TRIGGER: self() set-priority!(" ")
>> :END:
>> --8<---cut here---end--->8---
>> 
>> Of course, it also work for repeated task or any complicated scenario
>> I have tried so far.
>> 
>> I hope that helps,
>> -- 
>> Konubinix
>> GPG Key: 7439106A
>> Fingerprint: 5993 BE7A DA65 E2D9 06CE  5C36 75D2 3CED 7439 106A
>> 
>> 
>> *Attachments:*
>>  * signature.asc
> 


Re: Video: Org for Non-Users

2021-12-13 Thread Samuel Banya
Good point about the docs.

I actually wish it were more like a giant wiki page instead of a page menu 
system where you have to keep clicking next on similar topics. Might be 
difficult to implement without a huge loading time.

To be fair though Eduardo, have you checked out Rainer's videos on Org Mode on 
YouTube?
https://www.youtube.com/playlist?list=PLVtKhBrRV_ZkPnBtt_TD1Cs9PJlU0IIdE

I feel that anyone who doesn't know Org Mode should go through these first, and 
THEN check out the documentation / built-in manual page in Emacs.

Worth a try :)

Sam

On Mon, Dec 13, 2021, at 7:33 AM, Byung-Hee HWANG wrote:
> Eduardo Ochs  writes:
> 
> > Hi all,
> >
> > A few months ago I finally understood why I have always found Org so
> > difficult to learn, and I started to work on a way to use eev - a
> > package that I wrote - to create notes on Org that would complement
> > the official docs "exactly in the way that I needed". I recorded a
> > video about that, and it is here:
> >
> >   http://angg.twu.net/2021-org-for-non-users.html
> >
> > TL;DR: I discovered that I am a "non-user" and recorded a video on how
> > I am now documenting Org for "non-users" like me. Initially I am
> > writing the docs in that format for myself, but I hope that they will
> > inspire other people...
> 
> Thanks, i did enter at org mode two days ago.
> 
> Sincerely, Gnus fan Byung-Hee
> 
> -- 
> ^고맙습니다 _布德天下_ 감사합니다_^))//
> 
> 


Re: Question About Nuking The Priority Of A Task After Its Been Marked As 'DONE'

2021-12-11 Thread Samuel Banya
Hey Konibunix!

Thanks a ton for this, this looks fun as heck to implement :)

I'll have to try this on my config sometime next week. Thanks a ton for this, 
bookmarking this post for now.

Love it :)

On Sat, Dec 11, 2021, at 7:49 AM, Samuel Loury wrote:
> "Samuel Banya"  writes:
> 
> > I often change states of my todo list items to 'DONE', 'CANCELLED', etc.
> >
> > However, one thing I would want to know is this:
> > - Is it possible to automatically delete the '#' priority value of a task 
> > after a task has been marked as 'DONE', 'CANCELLED', etc?
> >
> > Is this done via a hook function?
> 
> To do it globally:
> 
> --8<---cut here---start->8---
> (defun my/org-trigger-hook (change-plist)
>   (let* ((type (plist-get change-plist :type))
>  (pos (plist-get change-plist :position))
>  (from (substring-no-properties (or (plist-get change-plist :from) 
> "")))
>  (to (substring-no-properties (or (plist-get change-plist :to) "")))
>  )
> (when (and
>(eq type 'todo-state-change)
>(member to org-done-keywords)
>(member from org-not-done-keywords)
>)
>   (org-priority (string-to-char " "))
>   )
> )
>   )
> 
> (add-hook #'org-trigger-hook
>   #'my/org-trigger-hook)
> --8<---cut here---end--->8---
> 
> 
> But if, like me, you want to define this behavior per task, this is one
> of the purposes of org-edna. I suggest you try it.
> 
> I your particular example, you would simply set the TRIGGER property of
> the task for which you want to delete the priority to this content
> 
> --8<---cut here---start->8---
> * NEXT [#B] some task
> :PROPERTIES:
> :TRIGGER: self() set-priority!(" ")
> :END:
> --8<---cut here---end--->8---
> 
> Closing it would result in
> 
> --8<---cut here---start->8---
> * DONE some task
>   CLOSED: [2021-12-11 Sat 13:38]
> :PROPERTIES:
> :TRIGGER: self() set-priority!(" ")
> :END:
> --8<---cut here---end--->8---
> 
> Of course, it also work for repeated task or any complicated scenario
> I have tried so far.
> 
> I hope that helps,
> -- 
> Konubinix
> GPG Key: 7439106A
> Fingerprint: 5993 BE7A DA65 E2D9 06CE  5C36 75D2 3CED 7439 106A
> 
> 
> *Attachments:*
>  * signature.asc


Question About Nuking The Priority Of A Task After Its Been Marked As 'DONE'

2021-12-10 Thread Samuel Banya
Hey there,

I often change states of my todo list items to 'DONE', 'CANCELLED', etc.

However, one thing I would want to know is this:
- Is it possible to automatically delete the '#' priority value of a task after 
a task has been marked as 'DONE', 'CANCELLED', etc?

Is this done via a hook function?

Thanks,

Sam

Re: A mobile clocking solution?

2021-11-27 Thread Samuel Banya
Ah, fair enough.

Funnily enough, I kind of am in the same boat, since I have a free iPad laying 
around which I tried to use forever for various tasks but have wanted to beat 
it against a wall in terms of how locked down the stupid device is.

A bit off topic, I know.

But yeah, tried to access a samba share the other day and didn't even realize 
iPad doesn't support all video types unless its a some specific resolution or 
specific formats. Super annoying to me since I have a ton of cool art books and 
course videos on a drive, and maybe 30 to 40% of it, I just can't access 
because of this stupid fact alone.

Stuff like that irks me so much since the same task left up to a capable tablet 
laptop like a Thinkpad X230 Tablet running something like Manjaro with XFCE 
would do wonders in the same scenario. Then again, the end consumer they market 
these locked down devices don't care, but I personally do.

Same things goes for emulators for retro games, or just installing homebrew 
programs in general, it just isn't easy at all on an Apple iPad unless you 
jailbreak the device, which is already a kind of not-easy process to begin 
with. 

Its just better to start out with something that is made to tinker on instead 
--> Raspberry Pi with tablet screen, Android tablet flashed with custom rom, 
Thinkpad X220 Tablet or Thinkpad X230 tablet, etc.

Anyway, hopefully you didn't take my comment the wrong way, its just that I've 
been frustrated recently and have been actively looking for an alternative 
tablet myself :) 

Org Mode rules though, so I'm sure there's a way to solve your clocking issue 
for sure.

I would definitely go the capture template route though, but steal someone 
else's template as the syntax is a little weird if you're new to it.

On Sun, Nov 28, 2021, at 12:33 AM, Marcin Borkowski wrote:
> 
> On 2021-11-27, at 22:42, Samuel Banya  wrote:
> 
> > Lol, okay. Well then, I tried to offer some advice. Good luck with MacOS.
> 
> Well, thanks - it was actually valuable.  Also - out of curiosity - what
> gave you the impression I'm using MacOS???  Fun fact: I did once use an
> iPad (a borrowed one) for half a day, and I found the experience
> terrible enough to not come near anything Apple-related;-).
> 
> Best,
> mbork
> 
> 
> >
> > Its better to keep Emacs uncaged :)
> >
> > On Sat, Nov 27, 2021, at 7:25 AM, Marcin Borkowski wrote:
> >> 
> >> On 2021-11-26, at 22:16, Samuel Banya  wrote:
> >> 
> >> > Hey Marcin,
> >> >
> >> > There are a few options that exist, so I'm going to drop a few ideas in 
> >> > this email.
> >> >
> >> > *"Buy A Rooted Phone" Option:*
> >> > Why not just get a rooted Android phone with Replicant on it from eBay 
> >> > in the first place?
> >> >
> >> > Then, you can use Termux to ssh into a local or cloud VPS file server 
> >> > where you're hosting your .org files. Most people even use Dropbox (or 
> >> > SyncThing, whatever floats your boat).
> >> >
> >> > Worst case scenario, you can maybe just run a terminal version of Emacs 
> >> > on the rooted Android phone (or even your current non-rooted phone), and 
> >> > clock in like that.
> >> 
> >> Well, doesn't that have the same security issue I mentioned?
> >> 
> >> > If you're on iOS though... well... maybe its time to get out of the 
> >> > walled garden?
> >> 
> >> Of course not.
> >> 
> >> > *"Just Use A Laptop" Option:*
> >> > I'd say maybe just get a laptop, put some decent Linux distro on it, and 
> >> > use Emacs on that instead.
> >> 
> >> Out of question.  I need this exactly for the times when I cannot use my 
> >> laptop.
> >> 
> >> > Worst case scenario, you can maybe just run a terminal version of Emacs 
> >> > on the rooted Android phone, and clock in like that.
> >> >
> >> > *Bash Script Approach:*
> >> > The only other thing I could think of is to do this via an easy Bash 
> >> > prompt to find the same files on the ssh machine. This might be 
> >> > preposterous to those on the list that might want to use Elisp for 
> >> > everything, but maybe its on a device where a Linux Bash terminal just 
> >> > is present by default.
> >> 
> >> That /could/ be a solution.
> >> 
> >> > *"Just Log The Time Later" Approach:*
> >> > You could always even just make org capture templates to estimate time 
> &g

Re: A mobile clocking solution?

2021-11-27 Thread Samuel Banya
Lol, okay. Well then, I tried to offer some advice. Good luck with MacOS.

Its better to keep Emacs uncaged :)

On Sat, Nov 27, 2021, at 7:25 AM, Marcin Borkowski wrote:
> 
> On 2021-11-26, at 22:16, Samuel Banya  wrote:
> 
> > Hey Marcin,
> >
> > There are a few options that exist, so I'm going to drop a few ideas in 
> > this email.
> >
> > *"Buy A Rooted Phone" Option:*
> > Why not just get a rooted Android phone with Replicant on it from eBay in 
> > the first place?
> >
> > Then, you can use Termux to ssh into a local or cloud VPS file server where 
> > you're hosting your .org files. Most people even use Dropbox (or SyncThing, 
> > whatever floats your boat).
> >
> > Worst case scenario, you can maybe just run a terminal version of Emacs on 
> > the rooted Android phone (or even your current non-rooted phone), and clock 
> > in like that.
> 
> Well, doesn't that have the same security issue I mentioned?
> 
> > If you're on iOS though... well... maybe its time to get out of the walled 
> > garden?
> 
> Of course not.
> 
> > *"Just Use A Laptop" Option:*
> > I'd say maybe just get a laptop, put some decent Linux distro on it, and 
> > use Emacs on that instead.
> 
> Out of question.  I need this exactly for the times when I cannot use my 
> laptop.
> 
> > Worst case scenario, you can maybe just run a terminal version of Emacs on 
> > the rooted Android phone, and clock in like that.
> >
> > *Bash Script Approach:*
> > The only other thing I could think of is to do this via an easy Bash prompt 
> > to find the same files on the ssh machine. This might be preposterous to 
> > those on the list that might want to use Elisp for everything, but maybe 
> > its on a device where a Linux Bash terminal just is present by default.
> 
> That /could/ be a solution.
> 
> > *"Just Log The Time Later" Approach:*
> > You could always even just make org capture templates to estimate time 
> > later too.
> 
> And I think this is the way to go.  Probably also use/write some very
> simple time tracking app on the phone.
> 
> > *Summed Up:*
> > The most sane approach in my opinion, is just use a computer that can 
> > normally just use Emacs as-is. 
> >
> > Then again, this is coming from someone who respects the "Getting Things 
> > Done" method a ton, but doesn't clock in every single personal task, 
> > because I think its really unnecessary and tedious. I think this kind of 
> > clocking ideas are better suited for work based todo lists if you're trying 
> > to get things done for work or something.
> 
> I don't clock everything either, but there are some things that I do,
> and that's why I want a reasonable mobile solution.
> 
> > I've seen the Android apps for Emacs Org Mode demo'd on YouTube, and it 
> > looks clunky. Its nice for what it is, but yeah, I think Emacs overall is 
> > just better suited for a laptop or desktop computer since you really need 
> > to just use a keyboard to pull off most of the magic.
> 
> Of course.  I don't need Org editing etc. (well, maybe capture), just
> the clocking.  That seems easy enough on mobile (UI-wise)..
> 
> > Good luck with this though,
> 
> Thanks!
> 
> -- 
> Marcin Borkowski
> http://mbork.pl
> 


Re: A mobile clocking solution?

2021-11-26 Thread Samuel Banya
Hey Marcin,

There are a few options that exist, so I'm going to drop a few ideas in this 
email.

*"Buy A Rooted Phone" Option:*
Why not just get a rooted Android phone with Replicant on it from eBay in the 
first place?

Then, you can use Termux to ssh into a local or cloud VPS file server where 
you're hosting your .org files. Most people even use Dropbox (or SyncThing, 
whatever floats your boat).

Worst case scenario, you can maybe just run a terminal version of Emacs on the 
rooted Android phone (or even your current non-rooted phone), and clock in like 
that.

If you're on iOS though... well... maybe its time to get out of the walled 
garden?
*
*
*"Just Use A Laptop" Option:*
I'd say maybe just get a laptop, put some decent Linux distro on it, and use 
Emacs on that instead.

Worst case scenario, you can maybe just run a terminal version of Emacs on the 
rooted Android phone, and clock in like that.

*Bash Script Approach:*
The only other thing I could think of is to do this via an easy Bash prompt to 
find the same files on the ssh machine. This might be preposterous to those on 
the list that might want to use Elisp for everything, but maybe its on a device 
where a Linux Bash terminal just is present by default.

*"Just Log The Time Later" Approach:*
You could always even just make org capture templates to estimate time later 
too.

*Summed Up:*
The most sane approach in my opinion, is just use a computer that can normally 
just use Emacs as-is. 

Then again, this is coming from someone who respects the "Getting Things Done" 
method a ton, but doesn't clock in every single personal task, because I think 
its really unnecessary and tedious. I think this kind of clocking ideas are 
better suited for work based todo lists if you're trying to get things done for 
work or something.

I've seen the Android apps for Emacs Org Mode demo'd on YouTube, and it looks 
clunky. Its nice for what it is, but yeah, I think Emacs overall is just better 
suited for a laptop or desktop computer since you really need to just use a 
keyboard to pull off most of the magic.

Good luck with this though,

Sam

On Thu, Nov 25, 2021, at 3:43 PM, Marcin Borkowski wrote:
> 
> On 2021-11-24, at 15:30, Daniel Baker  wrote:
> 
> > Oops.  I'm sorry, I forgot to include the link. That would be for orgzly.
> >
> > https://github.com/orgzly/orgzly-android/pull/691
> 
> Thanks!
> 
> Although, after some thinking, I'm a bit afraid of using this, for the
> simple reason: I don't consider data on my phone "safe" (it's much
> easier to lose a phone than a computer - or to have it stolen), so I'd
> prefer not to put my Org files there...
> 
> I think I have an idea for a solution - but thanks anyway!
> 
> Best,
> 
> -- 
> Marcin Borkowski
> http://mbork.pl
> 
> 


Re: typescript from org src buffer -- tide, lsp

2021-11-06 Thread Samuel Banya
Cool topic, but I haven't done it myself either as most explanations are pretty 
big-brained in the sense that its a little hard for a beginner to figure out 
sometimes.

However, the power of literate programming is super cool, so here's a few links 
I found that you can go through that might help you out:
https://www.reddit.com/r/emacs/comments/a3rlvk/orgmode_literate_programming_and_emacs/
https://emacs-lsp.github.io/lsp-mode/manual-language-docs/lsp-org/
https://blog.thomasheartman.com/posts/configuring-emacs-with-org-mode-and-literate-programming
http://cachestocaches.com/2018/6/org-literate-programming/

Hope it helps, 

Sam

On Sat, Nov 6, 2021, at 6:33 AM, Tim Cross wrote:
> 
> Greg Minshall  writes:
> 
> > hi.
> >
> > i'm wondering if anyone programming in typescript might have run into,
> > and solved, this "problem", of tangling into a subdirectory, and tide
> > [1] not being able to resolve "relative" imports.
> >
> > i have a file in path /a/b/foo.org.  it includes various source blocks,
> > and they do things like `:tangle c/d/bar.ts`.  another source block,
> > tangled into in c/d/fubar.ts, say, does something like:
> > 
> > import Bar from "./bar"
> > 
> >
> > when i open an Org Src edit buffer from fubar.ts's source block, with
> > tide mode [1] enabled, i get a complaint
> > 
> > Cannot find module './bar' or its corresponding type declarations. [2307]
> > 
> > tide (or, really, iiuc, tsserver) appears to be, reasonably, looking for
> > /a/b/bar.ts, and not finding it.  but, i haven't been able to figure out
> > how to talk tide into looking elsewhere.
> >
> > i've done things like add "rootDirs" to `tsconfig.json`, to no avail.  i
> > haven't been able to get lsp-mode [2] to work for this scenario, either.
> >
> > anyway, in case anyone has done exactly that, i'm asking.
> >
> 
> I've not tried to do this, but a complete shot in the dark
> 
> according to the org manual, you can set a :dir value in the source
> block header which will specify the working directory to be used i.e.
> the directory where the code will be evaluated. Perhaps setting that to
> the directory where the other block has tangled the output would work?
> 
> See the Environment of a code block node under the working with source
> code node in the org manual for details.
> 
> 


Re: orgmode.org setup

2021-09-29 Thread Samuel Banya
Hey there, 

Thanks for the breakdown for all of this.

I'm a long time user of Org Mode in my every day work as a Technical Support 
Engineer with the past two jobs I've had, so its awesome how easy it is to 
possibly contribute to it, as I really really really do think Org Mode and 
Emacs are awesome.

Thanks for this, will see how I can help as I would love to improve my Elisp 
skills a bit.

I'll look to see if there are low-hanging fruit type issues that are easy to 
modify first on the Sourcehut repo.

Thanks,

Sam

On Wed, Sep 29, 2021, at 4:18 PM, Bastien wrote:
> Dear all,
> 
> I would like to briefly expose how things work for orgmode.org.
> 
> https://orgmode.org/worg/ is populated by .org pages from the Worg
> repo after each push: https://git.sr.ht/~bzg/worg
> 
> Worg is maintained by Krupal and Corwin Brust.  Anyone is welcome to
> contribute: https://orgmode.org/worg/worg-about.html
> 
> https://orgmode.org is populated by .org pages from the orgweb repo
> after each push: https://git.sr.ht/~bzg/orgweb
> 
> So far, only Timothy, Nicolas and me do have write access, these pages
> are not supposed to be updated very often. The Org maintainer needs to
> update the orgweb/Changes.org page for each release.
> 
> https://orgmode.org/elpa/ is here for backward compatibility and will
> be removed before the release of Org 9.6.
> 
> The https://orgmode.org contents are hosted on my machine.
> 
> https://updates.orgmode.org is also hosted on my machine.  I plan to
> work on improving Woof! in the next months to make it more stable and
> (hopefully) usable and useful, but it helps a lot already.
> 
> https://list.orgmode.org is the public-inbox archive of the mailing
> list.  It's hosted and maintained by Kyle.  The mailing list archives
> are also here: https://lists.gnu.org/archive/html/emacs-orgmode/
> 
> https://stats.orgmode.org was used to provide some stats about
> orgmode.org visitors via a Fathom instance, but it is gone.  Here is
> the interesting bit: there are ~30K visitors by month.  AFAIK, this
> number as been remarkably stable for the last ten years.
> 
> https://code.orgmode.org is gone: it was nice testing Gogs, which
> served us well for very long, but was not necessary anymore.  Also,
> using Gogs required some maintainance (spamalot) and led newcomers to
> believe they had to create an account on it to contribute, whereas we
> prefer to receive/read/review patches on the mailing list.  Relying
> on https://git.savannah.gnu.org is the way to go.
> 
> Publishing Worg pages used to involve scripts on the server that we
> don't need anymore: the HTML page are generated by a SourceHut build
> and sent to the server.  Same for orgweb.
> 
> Releasing Org also used to require actions on the server: it does not
> anymore.  Releasing Org only requires to update the "Version:" header,
> which triggers the release of the GNU ELPA package, which is now the
> preferred way of installing the last stable Org version.
> 
> This setup makes many things a lot easier!
> 
> - I'm really glad Kyle maintains list.orgmode.org: it's really cool
>   and useful, searching the list archives is lightening fast.
> 
> - Migrating the contents served by orgmode.org is just a matter of
>   rsync'ing to another server.
> 
> - No need to maintain the Gogs instance and the Fathom instance.
> 
> - Releasing is now a breeze.
> 
> Enjoy!
> 
> -- 
> Bastien
> 
> 


Re: [ANN] EmacsConf 2021 Call for Proposals

2021-08-15 Thread Samuel Banya
Hey there,

I always look forward to the videos that are done for the Emacs conferences 
each year.

I was wondering, is anyone doing a presentation on using Org Mode for 
day-to-day work and personal work?

I often use Emacs for my daily work as a technical support engineer, and write 
notes with source code blocks of different commands I've ran in the background 
since I often have to ssh into client based CentOS machines to troubleshoot 
some issues regarding the application I help support.

I'm just an Emacs hobbyist at heart, but have a pretty tweaked out config as 
well. 

The main thing I wanted to highlight is how to utilize a todo list for work, 
and life based tasks, as well as org capture templates.

The only other thing is that I could maybe make a work-based todo list but 
would have to create some fake ticket data due to it being work related, etc.

Please let me know if that would be relevant as a video topic.

Thanks,

Sam

On Thu, Aug 5, 2021, at 11:45 AM, Amin Bandali wrote:
>  ___
> 
> EmacsConf 2021
>   Online Conference
>  ___
> 
> 
>November 27 and 28, 2021
> 
> 
> Table of Contents
> _
> 
> 1. Important dates
> 2. Talk formats
> 3. Office hours
> 4. Submitting your proposal
> 5. Getting involved
> 6. Commitment to freedom
> 
> 
> [EmacsConf 2021] will be a virtual conference on *November 27 and 28,
> 2021 (Sat-Sun)*.  If you'd like to present at the conference, please
> [submit your proposal] by *September 30, 2021*.
> 
> EmacsConf 2021 is about the joy of [Emacs] and Emacs Lisp.  Come share
> your experiments and adventures with the Emacs text editor / operating
> system / way of life!  We welcome speakers of *all backgrounds* and
> *all levels of experience*, including newcomers giving their first
> talk.  What have you found exciting about Emacs lately?  What do you
> wish someone had told you when you were starting out?  What part of
> your workflow might inspire someone to get into Emacs or go deeper?
> 
> A great way to get started with writing a proposal is to start by
> exploring the programs from previous years: [2020], [2019], [2015],
> [2013].  You might also find some neat ideas on the [ideas] page.
> Feel free to add yours there too!  If you're still not sure, come by
> our IRC channel `#emacsconf' on `irc.libera.chat' and say hi.  You can
> join the chat using [your favourite IRC client], or by visiting
> [chat.emacsconf.org] in your web browser.
> 
> All kinds of people use Emacs for all kinds of things.  We'd love it
> if EmacsConf 2021 could highlight interesting perspectives and reflect
> the diversity of our community.  If you know someone who might have a
> good idea for a talk, please reach out to them and encourage them to
> submit a proposal.  Many people (especially from underrepresented
> groups such as women, people of colour, non-developers, etc.) might
> not consider themselves expert enough to share their thoughts.  If you
> let them know that you value their knowledge and maybe even suggest
> something that you think others would like to hear more about, they
> may realize that they have something worth sharing and that we would
> love to hear from them.
> 
> 
> [EmacsConf 2021] 
> [submit your proposal] 
> [Emacs] 
> [2020] 
> [2019] 
> [2015] 
> [2013] 
> [ideas] 
> [your favourite IRC client] 
> [chat.emacsconf.org] 
> 
> 
> 1 Important dates
> =
> 
>   For EmacsConf 2021, we are planning for 9am to 5pm Toronto/EST
>   (2pm-10pm UTC) on November 27 and 28.  Depending on people's
>   availability, it might be two half-days.
> 
>CFP opens  August 5, 2021   
>CFP closes September 30, 2021   
>Speaker notifications  October 15, 2021 
>Schedule published October 31, 2021 
>EmacsConf 2021!November 27 and 28, 2021 
> 
>   If you are not available during the conference itself but you have a
>   neat idea that you'd like to share, please propose it anyway!  You
>   can always handle questions after the conference, and we might even
>   be able to coordinate with other Emacs meetups for regional events
>   (if you're an Emacs meetup organizer and would like to make this
>   happen let's [get in touch]!).
> 
>   Please note that although we will try our best to stick to the above
>   dates in the coming months, given the current state of the world, we
>   may have to move things around a bit in case of unforeseen events.
>   Thank you for your patience and understanding.
> 
> 
> [get in t

Re: [ANN] EmacsConf 2021 Call for Proposals

2021-08-15 Thread Samuel Banya
Hey there,

I always look forward to the videos that are done for the Emacs conferences 
each year.

I was wondering, is anyone doing a presentation on using Org Mode for 
day-to-day work and personal work?

I often use Emacs for my daily work as a technical support engineer, and write 
notes with source code blocks of different commands I've ran in the background 
since I often have to ssh into client based CentOS machines to troubleshoot 
some issues regarding the application I help support.

I'm just an Emacs hobbyist at heart, but have a pretty tweaked out config as 
well. 

The main thing I wanted to highlight is how to utilize a todo list for work, 
and life based tasks, as well as org capture templates.

The only other thing is that I could maybe make a work-based todo list but 
would have to create some fake ticket data due to it being work related, etc.

Please let me know if that would be relevant as a video topic.

Thanks,

Sam

On Sun, Aug 15, 2021, at 11:19 AM, Amin Bandali wrote:
> quil...@riseup.net writes:
> 
> > Philip Kaludercic  writes:
> >
> >> quil...@riseup.net writes:
> >>
> >>> What a great call for papers.  If it was created using Emacs, it would
> >>> be great to have a talk or a howto for how it was made.
> >>
> >> It seems to me like it is just an org-mode document, converted to
> >> plain text using one of the built-in exporters.
> >
> > Yes.  It would be nice to see the source.
> >
> 
> Yes, the announcement text in the body of that email was indeed
> exported from an Org file -- which I'd attached to that email -- plus
> some small tweaks.  I'm attaching the Org file again to this reply as
> well, just in case.
> 
> P.S. please direct any further replies either to myself privately, or
> only to the emacsconf-discuss and emacs-tangents lists, so as to avoid
> spamming the other lists (like emacs-devel) with off-topic discussion.
> 
> 
> 
> *Attachments:*
>  * emacsconf-2021-cfp.org


Re: Emacs-orgmode Digest, Vol 185, Issue 7

2021-07-06 Thread Samuel Banya
Regarding the latex issue, you need to have a version of Latex installed on 
your machine in order to be able to utilize LaTeX within Emacs to export PDFs.

On Linux machines, this is often labeled 'texlive' in your distribution's 
package manager, ex on a Debian or Ubuntu based Linux distribution: sudo apt 
install texlive

On Tue, Jul 6, 2021, at 5:28 PM, Ypo wrote:
> Hi
> 
> Several things around my mind. Pick one if you like, and I will try to 
> explain it better.
> 
> - when using ediff, if there is an image near the text which has differences, 
> it works wrong. Like if the image wouldn't allow ediff to scroll and show the 
> difference. I just see the image, stationary, while jumping to the next 
> difference.
> 
> - I have started to read Chassell's. Introduction... to Emacs Lisp. But my 
> ideas grow much much faster than my reading. I even feel I won't be able to 
> implement simple ideas in years. Example: I would like that every time "I 
> see" a heading with a special TODO state, this heading is expanded. Should I 
> keep reading the book to materialize this little idea or should I take 
> different actions?
> 
> - when I export to latex, I get an error and no document is produced. Sorry I 
> can't share here the error, since I am writing from the mobile, but it seems 
> related to xelatex. Buuut, if I take the .tex produced file and I open it 
> with an external latex editor, the document is compiled into a decent PDF. 
> How could orgmode generate a valid tex document but not to be able to produce 
> its PDF?
> 
> - some more bugs I found, I should share from the PC.
> 
> - oh, wait. I have an old PC I don't use much (2008 AD - Core 2 Duo). I was 
> thinking about using it just for orgmode. Would you recommend me an OS?
> 
> Thanks for being there
> 
> 


Re: Emacs-orgmode Digest, Vol 185, Issue 7

2021-07-06 Thread Samuel Banya
- oh, wait. I have an old PC I don't use much (2008 AD - Core 2 Duo). I was 
thinking about using it just for orgmode. Would you recommend me an OS?

What are the other specs for the machine, as in what's the RAM?

This matters a ton because it means the difference of what desktop environment 
(DE) or Window Manager (WM) you could use.

I would say for something that old, you might want to consider Debian, a 
lightweight Ubuntu variant (Lubuntu, Xubuntu, etc), Puppy Linux, or even Arch 
Linux.

Sincerely,

Sam

On Tue, Jul 6, 2021, at 5:28 PM, Ypo wrote:
> Hi
> 
> Several things around my mind. Pick one if you like, and I will try to 
> explain it better.
> 
> - when using ediff, if there is an image near the text which has differences, 
> it works wrong. Like if the image wouldn't allow ediff to scroll and show the 
> difference. I just see the image, stationary, while jumping to the next 
> difference.
> 
> - I have started to read Chassell's. Introduction... to Emacs Lisp. But my 
> ideas grow much much faster than my reading. I even feel I won't be able to 
> implement simple ideas in years. Example: I would like that every time "I 
> see" a heading with a special TODO state, this heading is expanded. Should I 
> keep reading the book to materialize this little idea or should I take 
> different actions?
> 
> - when I export to latex, I get an error and no document is produced. Sorry I 
> can't share here the error, since I am writing from the mobile, but it seems 
> related to xelatex. Buuut, if I take the .tex produced file and I open it 
> with an external latex editor, the document is compiled into a decent PDF. 
> How could orgmode generate a valid tex document but not to be able to produce 
> its PDF?
> 
> - some more bugs I found, I should share from the PC.
> 
> - oh, wait. I have an old PC I don't use much (2008 AD - Core 2 Duo). I was 
> thinking about using it just for orgmode. Would you recommend me an OS?
> 
> Thanks for being there
> 
> 


Re: Export Org mode files to (gag, barf) MS Office?

2021-06-27 Thread Samuel Banya
The reason why someone would want to do this is that most corporate 
environments literally force you to use products like the MS Office Suite.

I can only see that as a benefit to be able to export to whatever you want.

is it perfect?

Probably not, but at least the option exists.

I feel that the people who like to gravitate towards the FOSS side of things 
though should probably move their careers to only being able to utilize FOSS 
type stuff anyway.

Ex: Use Pandoc as a crutch for now, and slowly move towards jobs where you no 
longer need MS Office Suite, etc.

On Sun, Jun 27, 2021, at 4:13 PM, emanuel.charpent...@gmail.com wrote:
> I know we’re not supposed to really even TALK about proprietary software in 
> FOSS communities like this one, but I can’t help but wonder if someone might 
> consider making (an) Emacs plugin(s) that allow(s) a user to export Org mode 
> files to Microsoft Office file formats such as .docx, .xlsx and the like? Or 
> is/are there already (a) plugin(s) in the MELPA that can do this?
> 
> FWIW, someone calling himself "kawabata" on github has written this 
> pandoc-based exporter,  which does an 
> okay job for some documents.
> 
> The fly in the ointment is that this person seems to have dropped off the 
> 'Net : his code hasn't been maintained for three years and 35 issues are 
> currently open. Maintaining it might be an "interesting" project...
> 
> Getting "good" results in ODT seems easier. You have to pay attention to some 
> details (e. g. the "right" value to set the symbol used to export code 
> fragments, etc...), but at least, LibreOffice supports vector graphics... The 
> most important point may be to create a "good" template document for your 
> needs.
> 
> I have been able to create documents exporting citations, Sagemath-generated 
> LaTeX  math, figures, tables, listings and cross-references to these elements 
> to ODT, LaTeX/PDF and HTML with not much hassle (though the ability to create 
> a list of figures is sorely lacking...) using the built-in ODT exporter and 
> org-ref  or 
> citeproc-org.  As already 
> mentioned, LibreOffice can easily convert from ODT to DOCX (with often 
> results superior to Word's interpretation of ODT...).
> 
> I have great expectations on the upcoming citation/bibliography system 
> discussed here a short while ago.
> 
> HTH,
> 
> --
> Emmanuel Charpentier
> 


Re: example paper written in org completely

2021-06-19 Thread Samuel Banya
Hey Tim,

Some things to consider:
- Org Roam
- Org Brain
- Even the philosophy of taking ideas from "Getting Things Done" to get a good 
system of tasks

Also, I would label your headers for todo list items as "tasks" rather then 
"todo list items". Why? 

Because its a different mindset altogether and way more inviting.

I do this for my work and personal org todo lists.

I am in the camp where you have a giant org docs, since I think having multiple 
files for the same overall structured goal is a bit silly and unnecessary.

I recommend having a giant todo list org doc for your work stuff. And then have 
a separate one called 'life.org' where you keep all your personal notes. This 
is so that in the future you can quickly search through your notes for anything 
you might have done but you forgot about. This helps me a ton as I record a lot 
of ideas that sometimes turn into cool projects either now, or later.

Plus, organize your headers accordingly.

Ex:
* Things To Do
** Week Of (Current Week)
* COMPLETED_TASKS: 2021
** Week Of (Week That Has Already Taken Place)

If you learn how to shuffle entire headings around your Org document 
accordingly, you can get a good workflow going.

This means that you will have to learn how to use 'org-refile', as it will help 
you move tasks around and refile them in the "Getting Things Done" easily.

You can even make org capture templates to quickly insert your ideas (Lord 
knows how many times I almost went to sleep and had amazing ideas that I'm 
super thankful that I wrote down).

I also recommend using the Helm package, as its auto-completion and other 
features help SO much when it comes to org-mode tasks, and blows the other 
packages out of the water.

Hope this helps :)

~ Sam

On Sat, Jun 19, 2021, at 9:58 AM, Jeremie Juste wrote:
> Hello,
> 
> The thread is going far from the original post, and I'm pushing it
> further. Eric, sorry for that.
> 
> But this is an interesting topic so just to have some more thoughts on this 
> I'm jumping
> in. Org-mode has enhanced my organizational skills and I have still a
> lot to learn here. To continue this conversation, we need a philosopher
> here one I'm far from being one, so please take my comments lightly.
> 
> On Saturday, 19 Jun 2021 at 09:26, Tim Cross wrote:
> > A major pitfall with todo lists and priorities is that we fail to make
> > the distinction between important and urgent tasks. What ends up
> > happening is that all our time gets consumed by urgent tasks and we
> > never get time to address important tasks. Unfortunately, it is the
> > important tasks which, once completed, will reduce the number or time
> > taken to deal with urgent tasks - we end up being more reactive and
> > proactive.
> 
> First how do we make the distinction between urgent and important tasks?
> Many tasks are important because they are urgent but who and what
> defines their urgency?
> 
> >
> > In our case, we all hated having to update/edit the course guides in MS
> > Office because it was painful and time consuming, but urgent. However,
> > nobody belt they had the time to fix matters, despite us all agreeing it
> > was important.
> 
> This reminds me of the Aesop fable the [1] Mice in Council, which pushes the
> importance part to the extreme.
> 
> [1]: https://aesopsfables.org/F184_The-Mice-in-Council.html.
> 
> A way to solve this might be identify some heroes and compensate them for
> doing their job. Too many heroes never have their inner calling. 
> 
> >
> > What would have been really great is if we had more Emacs users. We
> You are in good company here.
> 
> > could then just have used org mode for the base format and even less
> > work would have been required to convert from MS Office, but that will
> > never happen. On the up side, I do see more and more ideas originally
> > germinated in an Emacs environment finding there way into other tool
> > chains, so perhaps the environments of the future won't suck quite as
> > much as they might if MS Office had been the only source for
> > inspiration! As the Beta v VHS war demonstrated, great technology is not
> > enough, you also need to factor in marketing and advertising budgets of
> > the competition!
> 
> [2] Monday.com raised $574 Million, in an IPO this month.  Many times
> I'm forced to use pictures as replacement for
> table and I am still struggling to add more DONE states there.
> 
> [2]: 
> https://www.bloomberg.com/news/articles/2021-06-10/monday-com-prices-u-s-ipo-above-range-at-155-a-share
> 
> I suspect that it would be difficult to compete with a front-end with
> org-mode at the back, but again, I'm telling more than I know.
> 
> Best regards,
> -- 
> Jeremie Juste
> 
> 


Re: A dictionary made in Org Mode

2021-06-18 Thread Samuel Banya
Wow, that publication looks pro!

Absolutely beautiful!

On Fri, Jun 18, 2021, at 8:11 AM, Juan Manuel Macías wrote:
> Hi,
> 
> I would like to share here my latest work. It has recently been
> published in Spain and I think it's the first dictionary made entirely
> using Org Mode ;-) I have taken care of its production and its editorial
> design:
> 
> Diccionario Hispánico de la Tradición Clásica
> (Hispanic Dictionary of Classical Tradition)
> 
> ISBN: 978-84-18093-93-7
> 
> 828 pages
> 
> Org-publish has been especially useful for its production. Soon I will
> write a detailed article in Spanish about the making off. If anyone here
> was interested I can try to translate the article into English.
> 
> A few samples of the content:
> 
> https://cloud.disroot.org/s/tBpMQP6afssY37p
> 
> And this short video shows a quick overview of the files involved and
> the final compilation, before printing all the work:
> 
> https://vimeo.com/538137630
> 
> Best regards,
> 
> Juan Manuel 
> 
> 
> 


Re: example paper written in org completely

2021-06-17 Thread Samuel Banya
Wow, that example with 3D modeling, aka "Laurana_tex.zip 
" is absolutely insane.

That's amazing!

I mention this because I like doing art on the side, and am getting into 
Blender just to produce reference images for sketching, etc. and find that 
fascinating that you could literally embed 3D models into a TeX document:
http://tug.org/texshowcase/

On Thu, Jun 17, 2021, at 8:06 AM, Eric S Fraga wrote:
> Dear all,
> 
> for those that may be interested, my latest paper (well, preprint at
> this stage) is available if you are looking for an example of a
> numerical work where the paper is completely written in org, including
> data analysis and visualisation.  See signature for link.
> 
> The arxiv deposit includes the complete org file as an ancillary file.
> -- 
> : Eric S Fraga via Emacs 28.0.50, Org release_9.4.6-551-gf70e36
> : Latest paper written in org: https://arxiv.org/abs/2106.05096
> 
> 


Re: literate programming, development log -- ideas? (ominbus reply)

2021-06-13 Thread Samuel Banya
Hey Tim,

Wow that's an awesome idea too aka to create local branches on each machine, 
and then switch over the master branch to pull them in.

Do you have any video references for this kind of thing?

I like videos first, and then documentation.

It would really help me out since I'd love to try to figure this kind of thing 
out, since I am pretty close to just using rsync for my Git notes going 
forward, but needed that kind of convincing otherwise.

On Sun, Jun 13, 2021, at 12:46 AM, Tim Cross wrote:
> 
> "Samuel Banya" mailto:sbanya%40fastmail.com>> writes:
> 
> > Not sure if it counts as off-topic for this thread, but does everyone use 
> > Git to manage their Org docs and notes?
> >
> > I ask because of Greg's previous post.
> >
> > I've noticed that some times after git merge events across a few machines 
> > (ex: I forgot I had already pushed notes for my private notes on one 
> > machine,
> > and had to merge the results from another machine), I'll get weird "HEAD" 
> > and "END" statements inserted by Git.
> >
> > Also, combined with some tasks duplicating as a result was annoying.
> >
> > Was debating if this is just something I'd have to deal with, or if there 
> > might be a better versioning workflow (ex: just using rsync, etc)
> >
> > Would be curious on everyone's thoughts.
> >
> > ~ Sam
> >
> 
> I use git as the master and then checkout to whatever machine I'm working
> on. I tend to have at least 3 different machines I'm working on (home
> Linux, work Linux and Macbook).
> 
> On each machine, I will checkout from master and then create a 'local'
> branch where I make any local changes. When I'm finished working
> locally, I will commit to the local branch, switch to the master branch,
> do a pull. If no changes are pulled, then I will merge in the local
> branch and push up to the master repository. If changes are pulled, then
> I will make a decision whether to use rebase to add those changes to my
> local branch or just merge. Deciding on which depends on the types of
> things changed, size of what has changed etc.
> 
> I find rebasing and merging is often the best approach to keeping commit
> logs fairly clean and linear. However, that will depend on what is being
> changed and the amount of changes. Frequent pulling and either merging
> and rebasing is useful.
> 
> Creating new branches (both just locally and within the master
> repository) is a very lightweight operation. I use lots of branches and
> will regularly go back through and get rid of old branches when no
> longer needed (i.e. changes in the branch have been merged into master
> or the branch topic is no longer relevant/needed etc). Understanding the
> difference between a rebase and a fast-forward merge is important.
> Likewise, using branches effectively is critical. My master branch tends
> to be quite clean - I almost never make changes directly in the master
> branch. Everything happens in another branch and later merged into the
> master when ready. 
> 
> 


Re: literate programming, development log -- ideas?

2021-06-13 Thread Samuel Banya
Hey everyone, 

I just wanted to put this here in the Literate Programming thread, DistroTube 
just did a video on why Emacs rules, but the following timestamps are pretty 
dang useful for literate programming for still-always learning newbies like 
myself, just wanted to mention them here for reference:
Timestamps:
7:20
11:46
15:35
17:36

What Are The Benefits Of Emacs Over Vim? 
(https://www.youtube.com/watch?v=kRkp-uJTK7s)

On Sun, Jun 13, 2021, at 12:24 AM, Tim Cross wrote:
> 
> Eric S Fraga mailto:e.fraga%40ucl.ac.uk>> writes:
> 
> > On Monday,  7 Jun 2021 at 14:43, Greg Minshall wrote:
> >> i write most of my code in a (per-project) .org file, which is typically
> >> tangled into source or script files.  
> >
> > I do the same.
> >
> >> i'm wondering if people do this, especially the development log, and if
> >> there are any hints or practices people might feel would be of interest
> >> to share.
> >
> > I use version control for this aspect, liberally adding/deleting
> > text/code and relying on the version control system to keep the log for
> > me.  I used to try to keep the log, as you call it, within the org file
> > but that seemed eventually to be both difficult and pointless when there
> > are decent version control tools out there.
> >
> > I use src mostly [1] when everything is going to be in one file.
> >
> > The "current" version of the document will have the code and results
> > that match the text.
> >
> > YMMV, of course.
> >
> > Footnotes:
> > [1]  https://gitlab.com/esr/src
> 
> I do something very similar. I will use org's archive facility as well,
> but git with good commit logs seems to meet most of my needs. The
> current 'master' HEAD is the current 'state' of the code, documentation,
> notes etc.
> 
> 
> -- 
> Tim Cross
> 
> 


Re: literate programming, development log -- ideas? (ominbus reply)

2021-06-11 Thread Samuel Banya
Now this idea I like!

Thanks for this, I didn't think about using the Git repo as a SECONDARY backup 
source.

Also, using Nextcloud sounds like a neat idea.

I'm into Self-Hosting stuff myself nowadays but am starting out small (ex: Just 
bought an old Dell Optiplex from eBay, put 2 HDDs into it, planning on using it 
for HDD backups, and as a Git server).

However, this sounds like an awesome workflow, as I did not consider to host 
Nextcloud. Awesome idea, thank you for this, Juan!

On Fri, Jun 11, 2021, at 10:30 AM, Juan Manuel Macías wrote:
> Samuel Banya writes:
> 
> > I'm okay with git repos for dot files or some kind of programming
> > project but yeah, I've been debating something else for an org based
> > repo cause I too have almost had my 'life.org' be completely destroyed
> > with a merge event.
> 
> I have all my everyday Org documents in a Nextcloud folder, but only
> because I work between the desktop PC and the laptop. I sync using a
> script with nextcloud-cmd, not via the Nextcloud app, which I find it
> somewhat intrusive. And with another script I do every week a backup of
> that folder to a git repo. But this repo is secondary and is only for
> keep some backups (I also keep a weekly backup of Elpa folders ---last
> versions--- there, in case some update breaks something).
> 
> Best regards,
> 
> Juan Manuel 
> 
> 
> 
> 


Re: literate programming, development log -- ideas? (ominbus reply)

2021-06-10 Thread Samuel Banya
I actually nuke Emacs's ability to do backups with this in my config:

** Nuke Emacs' ability to make backups and autosaves since its annoying and too 
bloated
   #+BEGIN_SRC emacs-lisp
 (setq make-backup-files nil)
 (setq auto-save-default nil)
   #+END_SRC

Reason being is that its one of the worst automatic features of any editor. I 
hate having to deal with ~ files all over the place. However, I've done this 
for other editors like Vim as well since swapfiles just are a pain to deal with.

I didn't know they had an rsync variant for Emacs. Now that is nice.

I'm okay with git repos for dot files or some kind of programming project but 
yeah, I've been debating something else for an org based repo cause I too have 
almost had my 'life.org' be completely destroyed with a merge event.

On Thu, Jun 10, 2021, at 10:07 PM, Samuel Wales wrote:
> undo [or equivalent] in buffer.  no saving to disk.
> 
> emacs auto save to an auto-expiring directory
> 
> emacs backups every save to an auto-expiring directory
> 
> git snapshots when i feel like it.  search as needed.
> 
> branching in the text itself, by use of comments above if it is
> incoming/new and below if it is old/reference.
> 
> many use git branch but i wouldn't remember the branch was in git and
> i don't want to have to rely on git for such things unless it disrupts
> the text without it.  for me it is merely an archive.  it is not an
> active repository of future possibilities and current ongoing
> activities.  even with magit, git ui is complex to me. its storage
> model is not merely an endofuctor of dags.
> 
> so i use only basic features when possible.  many years later i still
> fear merges/rebases and even stashes and find the merge/rebase
> presentation to be quite bizarre and can't believe anybody finds it
> the most useful.  certain sequences of staging, unstaging, and
> snaphotting can actually cause buffer corruption.  git notes feature
> is another complexity which while small i'd rather have git recognize
> all file permissions by default.
> 
> incidentally, rsync wrapper called rsnapshot works well.  i wouldn't
> use it for branching.  you can use unix commands = win.
> 
> 
> On 6/9/21, Dr. Arne Babenhauserheide  > wrote:
> >
> > Eric S Fraga mailto:e.fraga%40ucl.ac.uk>> writes:
> >
> >>> Not sure if it counts as off-topic for this thread, but does everyone
> >>> use Git to manage their Org docs and notes?
> >>
> >> I use a variety of version control systems but for multiple computers I
> >> use unison to keep them all synchronised.
> >
> > I use Mercurial for all my private versiontracking.
> >
> > Best wishes,
> > Arne
> > --
> > Unpolitisch sein
> > heißt politisch sein
> > ohne es zu merken
> >
> 
> 
> -- 
> The Kafka Pandemic
> 
> Please learn what misopathy is.
> https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html
> 


Re: literate programming, development log -- ideas? (ominbus reply)

2021-06-08 Thread Samuel Banya
Not sure if it counts as off-topic for this thread, but does everyone use Git 
to manage their Org docs and notes?

I ask because of Greg's previous post.

I've noticed that some times after git merge events across a few machines (ex: 
I forgot I had already pushed notes for my private notes on one machine, and 
had to merge the results from another machine), I'll get weird "HEAD" and "END" 
statements inserted by Git.

Also, combined with some tasks duplicating as a result was annoying.

Was debating if this is just something I'd have to deal with, or if there might 
be a better versioning workflow (ex: just using rsync, etc)

Would be curious on everyone's thoughts.

~ Sam

On Tue, Jun 8, 2021, at 1:15 PM, Greg Minshall wrote:
> Juan Manuel, Eric, Jack, Arne,
> 
> thank you all very much for your thoughts.
> 
> i've sort of come to grips with Jack's + Arne's, solution, and defined a
> "capture template" that adds something to a pre-named headline.  (note
> and capture are among the org features of which i have maintained to
> date a studied ignorance; alas, or a-luck, no more.)
> 
> i realized i would like to have headlines (mostly to have the
> convenience of =consult-org-heading=), which i think rules out putting
> my logs inside property drawers.
> 
> Eric, when you use something RCS-like as your version control system, i
> assume that makes grepping to find some old note easy enough.  but,
> these days i tend to use git.  when (assuming) you use git, do you have
> some easy way to say "well, i had this code that looked sort of like
> this... where was it?"?  (sorry, that's really a git question, but ...)
> 
> cheers, Greg
> 
> ps -- for completeness, or code review...
> 
> ("l"
> "add a logbook entry"
> entry
> (file+olp+datetree buffer-file-name "Logbook")
> "* lbe: %?logbook entry\n  :PROPERTIES:\ncreation-date: %t\n
>   :END:"
> :empty-lines 1
> :tree-type month)  
> 
> 
> 


Re: literate programming, development log -- ideas?

2021-06-07 Thread Samuel Banya
Neat stuff, will bookmark this, thanks Greg!

On Tue, Jun 8, 2021, at 3:23 AM, Greg Minshall wrote:
> Samuel,
> 
> > Can anyone post any video links to this kind of style of programming
> > being used directly in Emacs?
> 
> there was an effort recently, that i'm tardy on reporting on here, to do
> an introduction to "emacs for R programmers".
> 
> https://ess-intro.github.io/
> 
> 
> as part of that, i did a (either too short, or too long) video on Org
> mode, which, in reality, is pretty neutral w.r.t. programming language.
> you might find that of interest.  it's linked at the above ESS intro
> site.
> 
> i hadn't known of Harry Schwartz's efforts -- thanks for that.
> 
> > I know some people had mentioned in this thread that they use a .org
> > file for their given project, but can anyone link to any repos where
> > this is actually being used?
> 
> many people here probably have repos with software.  two of mine are
> 
> https://gitlab.com/minshall/covid-19
> https://gitlab.com/minshall/photoTagger
> 
> 
> cheers, Greg
> 


Re: literate programming, development log -- ideas?

2021-06-07 Thread Samuel Banya
I did a ton of notes in Org Mode with src blocks all of the time in my previous 
support job, and planning to do the same in my new one.

Can anyone post any video links to this kind of style of programming being used 
directly in Emacs?

I know there's the awesome one on YouTube by Harry Schwartz, but I feel like 
there's gotta be some more content on how to do this, and how to integrate this 
effectively in a workflow.

I know some people had mentioned in this thread that they use a .org file for 
their given project, but can anyone link to any repos where this is actually 
being used?

Would be curious on how people have implemented this.

Also, would be interested in other Org packages as well (since I was debating 
org-roam, but didn't feel I was smart enough to handle it yet).

On Mon, Jun 7, 2021, at 11:17 PM, Dr. Arne Babenhauserheide wrote:
> 
> briangpowell mailto:briangpowellms%40gmail.com>> 
> writes:
> 
> > * Donald Knuth created much for us, including TeX and a Literate
> > Programming system called CWeb which helped to make C code documented in
> > what he envisioned for Literate Programming
> >
> > ** A more generalized system that is based on CWeb is NoWeb--useful not
> > just for C/C++ code but for every language: Recommend using NoWeb for
> > Literate Programming: "NoWeb — A Simple, Extensible Tool for Literate
> > Programming":
> >
> > https://www.cs.tufts.edu/~nr/noweb/
> 
> I use :noweb-ref quite a bit, and most of my org-files end in
> 
> # Local Variables:
> # org-confirm-babel-evaluate: nil
> # org-export-default-language: en
> # org-babel-noweb-wrap-start: "{{{"
> # org-babel-noweb-wrap-end: "}}}"
> # End:
> 
> A recent wonderful discovery I made is M-x org-babel-detangle. I used it
> extensively with mathe-ass:
> - 
> https://hg.sr.ht/~arnebab/draketo/browse/anderes/mathe-ass.org?rev=e9c77a19ed5f#L344
> - https://www.draketo.de/anderes/mathe-ass.js
> 
> mathe-ass.org:
> * code :noexport:
> #+begin_src javascript :tangle "mathe-ass.js" :exports none :comments link
> …
> #+end_src
> 
> mathe-ass.js:
> // [[file:mathe-ass.org::*code][code:1]]
> …
> // code:1 ends here
> 
> With this I can program in the tangled file and then re-import the code
> to org.
> 
> Best wishes,
> Arne
> -- 
> Unpolitisch sein
> heißt politisch sein
> ohne es zu merken
> 
> 
> *Attachments:*
>  * signature.asc


Re: Question Regarding Yasnippet With Org Mode (Emacs 27.2)

2021-05-29 Thread Samuel Banya
Just wanted to update this thread in that the following DID resolve my issue 
with my Yasnippet template which overrides the default " Samuel Banya writes:
> > Do you think that maybe changing the setting you had mentioned before, 
> > 'org-src-tab-acts-natively' to false (aka nil or '0' (zero) value) via 
> > a change in my configuration would make this error not happen within 
> > Org-Mode in that case?
> 
> Yes, that should work. I have not tested it though.
> 
> Regards,
> 
> -- 
> Sébastien Miquel
> 
> 


Re: Bug: Priority Of A Task In Emacs 27.2 Cannot Be Removed With Space Key ("SPC to remove")

2021-05-27 Thread Samuel Banya
Gotcha, yeah I only use priority 1 through 5 with a kind of "Getting Things 
Done" mentality to file things away in their right place.

I don't like using letters unfortunately, but thanks for this potential 
workaround in that case.

Clearing priorities with a space and enter doesn't work though, and I believe 
this is a bug.

On Thu, May 27, 2021, at 1:26 AM, Tim Cross wrote:
> 
> Not sure how easy it would be to restore the previous behaviour. I guess
> if you restricted numerical priorities to 0 .. 9 it would be reasonably
> easy as you only need to check for a single key press. However, once you
> go above 9 and have the situation where the value could be more than a
> single key press, you have no way to know when input is finished.
> 
> It should be noted that the old behaviour using letters for priorities
> still works (as does clearing wiht a space). Personally, I've always
> been happy with just letters and 3 priorities. I find once you go past
> about 3 or 4, priorities don't have a lot of value. YMMV of course.
> 
> "Samuel Banya" mailto:sbanya%40fastmail.com>> writes:
> 
> > Thanks for confirming this as I didn't know if it was my config or 
> > something.
> >
> > I'd like to add if possible, if there would the ability to restore the 
> > previously functionality of being able to just hit a number from 1 to 9 to 
> > set the priority
> > of a task as well.
> >
> > Didn't want to conflate things too much, but it would be great if there was 
> > a config option around this before I would have to make a workaround in 
> > Elisp
> > instead.
> >
> > On Thu, May 27, 2021, at 4:05 AM, Tim Cross wrote:
> >
> >  Confirmed
> >
> >  I can reproduce this in org 9.4.6, Emacs 27.2. Bug confirmed.
> >
> >  "Samuel Banya" mailto:sbanya%40fastmail.com>> writes:
> >
> >  > Hello there,
> >  >
> >  > I noticed a weird bug within Emacs Org Mode as I use it often for my 
> > TODO lists for both personal use and for work.
> >  >
> >  > I noticed that if you hit "C-c ," you are prompted nowadays to enter a 
> > number from like 1 to whatever your highest priority was set to, and that
> >  you have
> >  > to enter in the number and THEN press enter.
> >  >
> >  > This behavior on a side note is a little annoying since I usually only 
> > use priorities 1 through 5, and don't want to have to hit enter each time. 
> > I kind
> >  of wish
> >  > I could just go back to just hitting '1' or '5' and moving on. But, I 
> > understand this was to make the ceiling of the highest priority be like 65 
> > or
> >  something
> >  > like that, so I understand why this was included.
> >  >
> >  > My main point is that the "SPC to remove" option doesn't actually work.
> >  >
> >  > If you try doing "C-c ," then hit Space, and then press Enter, the 
> > priority of the task still remains the same.
> >  >
> >  > Workaround:
> >  > I've had to manually delete the priority number as a workaround which is 
> > a bit annoying.
> >  > I've used F3 as a on-the-fly macro to quickly do this across multiple 
> > todo list items as well.
> >  > However, it does feel a little awkward having to do this, so I'm 
> > wondering if anyone has encountered this as well.
> >  >
> >  > Thanks,
> >  >
> >  > Sam
> >
> >  -- 
> >  Tim Cross
> 
> 
> -- 
> Tim Cross
> 
> 


Re: Bug: Priority Of A Task In Emacs 27.2 Cannot Be Removed With Space Key ("SPC to remove")

2021-05-26 Thread Samuel Banya
Thanks for confirming this as I didn't know if it was my config or something.

I'd like to add if possible, if there would the ability to restore the 
previously functionality of being able to just hit a number from 1 to 9 to set 
the priority of a task as well.

Didn't want to conflate things too much, but it would be great if there was a 
config option around this before I would have to make a workaround in Elisp 
instead.

On Thu, May 27, 2021, at 4:05 AM, Tim Cross wrote:
> 
> Confirmed
> 
> I can reproduce this in org 9.4.6, Emacs 27.2. Bug confirmed.
> 
> "Samuel Banya" mailto:sbanya%40fastmail.com>> writes:
> 
> > Hello there,
> >
> > I noticed a weird bug within Emacs Org Mode as I use it often for my TODO 
> > lists for both personal use and for work.
> >
> > I noticed that if you hit "C-c ," you are prompted nowadays to enter a 
> > number from like 1 to whatever your highest priority was set to, and that 
> > you have
> > to enter in the number and THEN press enter.
> >
> > This behavior on a side note is a little annoying since I usually only use 
> > priorities 1 through 5, and don't want to have to hit enter each time. I 
> > kind of wish
> > I could just go back to just hitting '1' or '5' and moving on. But, I 
> > understand this was to make the ceiling of the highest priority be like 65 
> > or something
> > like that, so I understand why this was included.
> >
> > My main point is that the "SPC to remove" option doesn't actually work.
> >
> > If you try doing "C-c ," then hit Space, and then press Enter, the priority 
> > of the task still remains the same.
> >
> > Workaround:
> > I've had to manually delete the priority number as a workaround which is a 
> > bit annoying.
> > I've used F3 as a on-the-fly macro to quickly do this across multiple todo 
> > list items as well.
> > However, it does feel a little awkward having to do this, so I'm wondering 
> > if anyone has encountered this as well.
> >
> > Thanks,
> >
> > Sam
> 
> -- 
> Tim Cross
> 
> 


Bug: Priority Of A Task In Emacs 27.2 Cannot Be Removed With Space Key ("SPC to remove")

2021-05-26 Thread Samuel Banya
Hello there,

I noticed a weird bug within Emacs Org Mode as I use it often for my TODO lists 
for both personal use and for work.

I noticed that if you hit "C-c ," you are prompted nowadays to enter a number 
from like 1 to whatever your highest priority was set to, and that you have to 
enter in the number and THEN press enter.

This behavior on a side note is a little annoying since I usually only use 
priorities 1 through 5, and don't want to have to hit enter each time. I kind 
of wish I could just go back to just hitting '1' or '5' and moving on. But, I 
understand this was to make the ceiling of the highest priority be like 65 or 
something like that, so I understand why this was included.

My main point is that the "SPC to remove" option doesn't actually work.

If you try doing "C-c ," then hit Space, and then press Enter, the priority of 
the task still remains the same.

*Workaround:*
I've had to manually delete the priority number as a workaround which is a bit 
annoying.
I've used F3 as a on-the-fly macro to quickly do this across multiple todo list 
items as well.
However, it does feel a little awkward having to do this, so I'm wondering if 
anyone has encountered this as well.

Thanks,

Sam

Re: Question Regarding Yasnippet With Org Mode (Emacs 27.2)

2021-05-23 Thread Samuel Banya
Hey there Greg,

Gotcha.

Just to confirm, you're saying I should add a "(require 'org-tempo)" in my 
Emacs config in that case?

Or are you saying that I should disable "org-modules" setting value by setting 
it to nil or '0' (zero)?

If that is the case, what would be the syntax to do this change?

Just wanted to ask since I'd be happy to make the changes my config to see if 
that would help, but needed to know what you meant for me to try out to fix the 
issue.

Thanks,

Sam

On Sun, May 23, 2021, at 4:33 PM, Greg Minshall wrote:
> Samuel,
> 
> i think that by default, Org no longer listens to, e.g., = but, if you load =org-tempo=, it still does.  i wonder if you might see
> if you are loading =org-tempo= (maybe [C-h v org-modules]), disable
> that, and see if that clears away some of the underbrush.
> 
> (you can get something like the old behavior with =C-c C-,=.)
> 
> i use yasnippet to expand = 
> # key:  # name: latex equation environment
> # --
> \begin{equation}
> $0
> \end{equation}
> 
> and, that works for me.
> 
> if i re-format your snippet (maybe this was the original formatting?)
> 
> # name: src
> # key:  # --
> #+BEGIN_SRC $1
> $0
> #+END_SRC
> 
> 
> and open an org file, = name and then =[TAB]= to commit.  if i commit with =[RET]= instead, it
> still *seems* to work (in terms of the buffer contents), but i get this
> message
> 
> [yas] Committing snippets. Action would destroy a protection overlay.
> 
> 
> i didn't run into any lisp errors.
> 
> in case any of that helps.
> 
> cheers, Greg
> 


Re: Question Regarding Yasnippet With Org Mode (Emacs 27.2)

2021-05-23 Thread Samuel Banya
Hey Sébastien,

Thanks for this insight.

Do you think that maybe changing the setting you had mentioned before, 
'org-src-tab-acts-natively' to false (aka nil or '0' (zero) value) via a change 
in my configuration would make this error not happen within Org-Mode in that 
case?

On a related note, I use Emacs Org Mode every day for my support job, and am 
super thankful it exists. I have never been more productive in the last 2 years 
switching to Emacs than I ever have been in my entire life, so just wanted to 
say thanks to the best piece of software on earth.

Thanks again,

Sam

On Sun, May 23, 2021, at 9:18 PM, Sébastien Miquel wrote:
> Hi Samuel,
> 
> > I'm guessing its some kind of Org Mode vs Yasnippet issue where 
> > Org-mode is expanding it too fast, when it should wait for user input 
> > hence the "$1" section.
> 
> I guess yasnippet tries to indent the inside of the block (see
> =yas-indent-line=) before the lang part of the src block is specified.
> 
> In Emacs 27.2, the default value of =org-src-tab-acts-natively= was
> changed to `t`. With this setting, trying to indent a src block with
> no language results in this error.
> 
> -- 
> Sébastien Miquel
> 
> 


Question Regarding Yasnippet With Org Mode (Emacs 27.2)

2021-05-23 Thread Samuel Banya
I haven't been able to utilize the Yasnippet I've been using to override the 
newer one that Org-Mode created aka ' :end # :parent-field nil :mirrors nil :transform nil 
:modified-p nil :next #s(yas--exit :marker # 
:next nil))) :exit #s(yas--exit :marker # :next 
nil) :id 3 :control-overlay nil :active-field nil :previous-active-field nil 
:force-exit nil))

yas--indent(#s(yas--snippet :expand-env nil :fields (#s(yas--field :number 1 
:start # :end # 
:parent-field nil :mirrors nil :transform nil :modified-p nil :next 
#s(yas--exit :marker # :next nil))) :exit 
#s(yas--exit :marker # :next nil) :id 3 
:control-overlay nil :active-field nil :previous-active-field nil :force-exit 
nil))

#f(compiled-function () #)()

funcall(#f(compiled-function () #))

(let nil (funcall '#f(compiled-function () #)))

eval((let nil (funcall '#f(compiled-function () #

yas--snippet-create("#+BEGIN_SRC $1\n $0\n#+END_SRC" nil 115534 115534)

yas-expand-snippet(#s(yas--template :key "")) :group nil 
:perm-group nil :table #s(yas--table :name "org-mode" :hash # :uuidhash # :parents nil 
:direct-keymap (keymap))) 115534 115536)

yas--expand-or-prompt-for-template((("src" . #s(yas--template :key "")) :group nil :perm-group nil :table #s(yas--table :name "org-mode" :hash 
# :uuidhash # 
:parents nil :direct-keymap (keymap) 115534 115536)

yas-expand()

funcall-interactively(yas-expand)

call-interactively(yas-expand nil nil)

command-execute(yas-expand)

Thanks.