<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title><![CDATA[Just some place - emacs]]></title>
<description><![CDATA[Just some place - emacs]]></description>
<link>https://rogers.lol//tag-emacs.html</link>
<lastBuildDate>Thu, 24 Sep 2026 13:33:11 +0000</lastBuildDate>
<item>
  <title><![CDATA[Just testing from emacs!]]></title>
  <description><![CDATA[
<time>Published: 01 February 2025</time>
<div><p>This is nothing but a draft thing. Seriously.
</p>
</div><div class="taglist"><a href="https://rogers.lol/tags.html">Tags</a>: <tagtext><a href="https://rogers.lol/tag-emacs.html">emacs</a> <a href="https://rogers.lol/tag-test.html">test</a> </tagtext>]]></description>
  <category><![CDATA[emacs]]></category>
  <category><![CDATA[test]]></category>
  <link>https://rogers.lol/2025-02-17-this-is-another-test-from-emacs.html</link>
  <guid>https://rogers.lol/2025-02-17-this-is-another-test-from-emacs.html</guid>
  <pubDate>Sat, 01 Feb 2025 00:00:00 +0000</pubDate>
</item>
<item>
  <title><![CDATA[Trying to leave OneNote]]></title>
  <description><![CDATA[
<time>Published: 01 October 2024</time>
<div><p>This particular post is most likely just going to be of interest to
future me, though some others may find some information of use.
</p>

<p>As my place of employment is a Microsoft shop, we use a large number of
Microsoft applications. Personally, I'm not really a major fan of some
of these apps so I like to look for good alternatives.
</p>

<p>Fortunately, I have grown used to being in the <span class="small-caps">wsl</span> environment and Emacs
in particular.
</p>

<p>Historically I have been using OneNote to keep track of, um, notes and
tidbits and whatever else one might want to put into a notebook. It has
worked <em>just fine</em> but I don't like the fact that I don't have a lot of
control over the format. I've kind of grown fond of just using text, and
have been attempting to integrate Emacs' org-mode into more of my
workflow.
</p>

<p>(I would love to say that I'm using org-mode for this blog, but alas, I
am not - although it <strong>is</strong> plain markdown.)
</p>

<p>I recently came upon a tool that caught my interest, the
<a href="https://github.com/alopezrivera/OneNoteExporter">OneNoteExporter</a>
PowerShell script from <strong>alopezrivera</strong>. Easily enough installed into my
Windows 11 laptop, it only really required pandoc as an additional
requirement.
</p>

<p>Once I had the configuration file tweaked to my liking, I fired the
script off. Of note, the powershell script needs to run at the same user
level elevation as the currently running OneNote application. Also, a
temporary script bypass may need to be run in powershell in order for
the process to succeed: <kbd>Set-ExecutionPolicy ByPass -Scope Process</kbd>
</p>

<p>There were a handful of errors at first, which were similar
<a href="https://github.com/alopezrivera/OneNoteExporter/issues/11">to this
issue</a>. I was able to make the same edit as suggested and those
problems were resolved.
</p>

<p>The next stumbling block that I came upon was the large amount of
screenshots and images that I had in my OneNote notebooks. Those were
not being exported by the pandoc process. As is normal within the world
of the internet, I
<a href="https://github.com/theohbrothers/ConvertOneNote2MarkDown/issues/183">was
not the first person to have this problem</a>. One thing that I most
absolutely <em>did not</em> want to have to do was re-save all of those images
in another format, <strong>or</strong> copy and paste the pages themselves into a new
page - both of which were suggested as possible solutions. Thankfully, a
very simple solution was found by another user
<a href="https://github.com/theohbrothers/ConvertOneNote2MarkDown/issues/183#issuecomment-2343708831">in
that OneNote needs to download all files and images before syncing</a>.
</p>

<p>With that issue taken care of, everything was golden, right?
</p>

<p>Mostly.
</p>

<p>I still had to go through and add the proper filename extension to all
of my fresh org files. Still haven't figured out why that was, but it
was easy enough with emacs and wdired mode.
</p>

<p>Now, with my work related notes over in org mode and copied up to the
work OneDrive I should be ready to roll.
</p>

<p>I hope.
</p>

<p>This is post 45/100 of my #100DaysToOffload posts. You can read the
other posts in this series <a href="/tags/100daystooffload">here</a>.
</p>
</div><div class="taglist"><a href="https://rogers.lol/tags.html">Tags</a>: <tagtext><a href="https://rogers.lol/tag-journal.html">journal</a> <a href="https://rogers.lol/tag-100daystooffload.html">100DaysToOffload</a> <a href="https://rogers.lol/tag-emacs.html">emacs</a> <a href="https://rogers.lol/tag-orgmode.html">orgmode</a> </tagtext>]]></description>
  <category><![CDATA[journal]]></category>
  <category><![CDATA[100DaysToOffload]]></category>
  <category><![CDATA[emacs]]></category>
  <category><![CDATA[orgmode]]></category>
  <link>https://rogers.lol/2024-10-10-trying-to-leave-onenote.html</link>
  <guid>https://rogers.lol/2024-10-10-trying-to-leave-onenote.html</guid>
  <pubDate>Tue, 01 Oct 2024 00:00:00 +0000</pubDate>
</item>
</channel>
</rss>
