<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>eww &amp;mdash; csantosb</title>
    <link>https://infosec.press/csantosb/tag:eww</link>
    <description>Random thoughts</description>
    <pubDate>Fri, 17 Apr 2026 10:24:20 +0000</pubDate>
    <item>
      <title>on writting freely</title>
      <link>https://infosec.press/csantosb/on-writting-freely</link>
      <description>&lt;![CDATA[img br/&#xA;Putting new ideas in community, exchanging opinions, replying to someone&#39;s else impressions, sharing public experiences, showing feelings about modern way of living, writing down notes on what’s going on from one’s side ... So many interesting and useful content around to share. The question is, how to do so simply and without complications ? How not to expend way too much time messing with tooling ? Is it yet possible to concentrate on what really matters, contents ? Here I summarize the way I’ve found to contribute to this blog, which fits best with my workflow. !--more-- br/&#xA;&#xA;the what&#xA;&#xA;First and foremost, for the requirements. br/&#xA;In my case, the requisites are simple, even if hard to get when one thinks about. br/&#xA;I need a distracting free environment to concentrate on what really matters: the content I’m willing to share. For sure, I do need to remain within my working environment, that’s to say, #emacs. I need to switch context quickly between any current activity and writing prose when something comes up; while writing, I need to stay focus. Similarly, I want to switch back to previous context when the writing is complete. No doubt, I need to complete previous posts when I have something new to include or to correct, so I need a means of retrieving previous posts quickly. Needless to say, I need a #freesoftware tool I may tune to my needs, fixing issues or including new features. br/&#xA;Last, but not least, I privilege a way to push remotely without complicated compilations of anything at all: a couple of keystrokes, and the post is sent online under its right form, including some markup and images. Updating previous versions if necessary should be that simple too, and I must be able to check the rendering with any web browser, included eww under emacs, so no javascript or fancy stuff involved. That’s it by now. br/&#xA;Easy, right ? br/&#xA;&#xA;the how&#xA;&#xA;My current choice goes for writefreely as an open, decentralized and free alternative to web publishing on the web, which concentrates on providing a simple reading experience. This solution may be self-hosted, but there are also some friendly communities around helping out. Infosec.press is one of them. Blog posts show up in the #fediverse under the (platform) user account, so that they are easy to follow. Server side, this is more than what I need. br/&#xA;But, client side ?, you must be asking. To write text, I’m using #orgmode, with all of its facilities, and not the markdown supported by default by the platform. Then, writefreely.el takes care of exporting contents, handling the data exchange with the server through the provided api. I had to fix a couple of issues before, mostly trivial side effects. This is one of the biggest advantages of #freesoftware, having the possibility to contribute to bug fixing, improving a common. br/&#xA;As for the question on how to access the blog contents locally, I opt for a different #plaintext file by blog ticket, that I manipulate as any other #orgroam node. Orgroam allows to quickly retrieve, manipulate and insert as links previous notes. When I type the name of a non-existing note, it creates a new one for me, based on a custom template which incorporates the necessary headings, title, tags and the like. It resuls in something like: br/&#xA;&#xA;:PROPERTIES:&#xA;:ID:       ID-6dd1-45d7-a70e-ae5c99c2797a&#xA;:END:&#xA;+TITLE: on writting freely&#xA;+OPTIONS: toc:nil -:nil \n:t&#xA;+LINK: srht https://repo/pics/%s&#xA;+filetags: :tag1:tag2:&#xA;a comment&#xA;[[srht:image.png]]&#xA;Donec neque quam, dignissim in, mollis nec, sagittis eu, wisi ... !--more--&#xA;Nunc eleifend leo vitae magna.&#xA;&#xA;You’ll figure it out. br/&#xA;Remains the question of images: just simply, they are hosted on an unlisted git repository, from where they are fetched. Now, with my working environment and with a couple of keys, I may pop up a new buffer, write some content, then publish, delete or update a new article within seconds, checking the results with #eww, all without leaving #emacs. You’ll get a set of local variables append to you buffer when you publish for the first time, something like br/&#xA;&#xA;Local Variables:&#xA;writefreely-post-id: &#34;ID&#34;&#xA;writefreely-post-token: nil&#xA;End:&#xA;&#xA;which allows to retrieve the post online afterwards. br/&#xA;Put the whole under #git control, and the perfect blogging setup is ready for you to enjoy writing ! Simple, elegant and efficient. br/&#xA;Finally, I have packaged writefreely.el and sent a patch to #guix so that it will hopefully get merged upstream soon. br/]]&gt;</description>
      <content:encoded><![CDATA[<p><img src="https://git.sr.ht/~csantosb/csbwiki/blob/master/pics/writefreely.png" alt="img"> <br/>
Putting new ideas in community, exchanging opinions, replying to someone&#39;s else impressions, sharing public experiences, showing feelings about modern way of living, writing down notes on what’s going on from one’s side ... So many interesting and useful content around to share. The question is, how to do so simply and without complications ? How not to expend way too much time messing with tooling ? Is it yet possible to concentrate on what really matters, contents ? Here I summarize the way I’ve found to contribute to this blog, which fits best with my workflow.  <br/></p>

<h1 id="the-what">the what</h1>

<p>First and foremost, for the requirements. <br/>
In my case, the requisites are simple, even if hard to get when one thinks about. <br/>
I need a distracting free environment to concentrate on what really matters: the content I’m willing to share. For sure, I do need to remain within my working environment, that’s to say, <a href="https://infosec.press/csantosb/use-emacs" rel="nofollow"><a href="/csantosb/tag:emacs" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">emacs</span></a></a>. I need to switch context quickly between any current activity and writing prose when something comes up; while writing, I need to stay focus. Similarly, I want to switch back to previous context when the writing is complete. No doubt, I need to complete previous posts when I have something new to include or to correct, so I need a means of retrieving previous posts quickly. Needless to say, I need a <a href="/csantosb/tag:freesoftware" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">freesoftware</span></a> tool I may tune to my needs, fixing issues or including new features. <br/>
Last, but not least, I privilege a way to <a href="https://infosec.press/csantosb" rel="nofollow">push remotely</a> without complicated compilations of anything at all: a couple of keystrokes, and the post is sent online under its right form, including some markup and images. Updating previous versions if necessary should be that simple too, and I must be able to check the rendering with any web browser, included <a href="https://www.gnu.org/software/emacs/manual/html_mono/eww.html" rel="nofollow">eww</a> under emacs, so no javascript or fancy stuff involved. That’s it by now. <br/>
Easy, right ? <br/></p>

<h1 id="the-how">the how</h1>

<p>My current choice goes for <a href="https://github.com/dangom/writefreely.el.git" rel="nofollow">writefreely</a> as an open, decentralized and free alternative to web publishing on the web, which concentrates on providing a simple reading experience. This solution may be self-hosted, but there are also some friendly <a href="https://writefreely.org/instances" rel="nofollow">communities</a> around helping out. <a href="https://infosec.press/about" rel="nofollow">Infosec.press</a> is one of them. Blog posts show up in the <a href="/csantosb/tag:fediverse" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">fediverse</span></a> under the (platform) user account, so that they are easy to follow. Server side, this is more than what I need. <br/>
But, client side ?, you must be asking. To write text, I’m using <a href="/csantosb/tag:orgmode" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">orgmode</span></a>, with all of its facilities, and not the markdown supported by default by the platform. Then, <a href="https://github.com/dangom/writefreely.el.git" rel="nofollow">writefreely.el</a> takes care of exporting contents, handling the data exchange with the server through the provided api. I had to fix a couple of <a href="https://github.com/dangom/writefreely.el/commits/master/" rel="nofollow">issues</a> before, mostly trivial side effects. This is one of the biggest advantages of <a href="/csantosb/tag:freesoftware" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">freesoftware</span></a>, having the possibility to contribute to bug fixing, improving a common. <br/>
As for the question on how to access the blog contents locally, I opt for a different <a href="/csantosb/tag:plaintext" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">plaintext</span></a> file by blog ticket, that I manipulate as any other <a href="/csantosb/tag:orgroam" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">orgroam</span></a> node. <a href="https://www.orgroam.com/" rel="nofollow">Orgroam</a> allows to quickly retrieve, manipulate and insert as links previous notes. When I type the name of a non-existing note, it creates a new one for me, based on a custom template which incorporates the necessary headings, title, tags and the like. It resuls in something like: <br/></p>

<pre><code class="language-text">:PROPERTIES:
:ID:       ID-6dd1-45d7-a70e-ae5c99c2797a
:END:
#+TITLE: on writting freely
#+OPTIONS: toc:nil -:nil \n:t
#+LINK: srht https://repo/pics/%s
#+filetags: :tag1:tag2:
# a comment
[[srht:image.png]]
Donec neque quam, dignissim in, mollis nec, sagittis eu, wisi ... &lt;!--more--&gt;
Nunc eleifend leo vitae magna.
</code></pre>

<p>You’ll figure it out. <br/>
Remains the question of images: just simply, they are hosted on an unlisted git repository, from where they are fetched. Now, with my working environment and with a couple of keys, I may pop up a new buffer, write some content, then publish, delete or update a new article within seconds, checking the results with <a href="/csantosb/tag:eww" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">eww</span></a>, all without leaving <a href="/csantosb/tag:emacs" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">emacs</span></a>. You’ll get a set of local variables append to you buffer when you publish for the first time, something like <br/></p>

<pre><code class="language-text"># Local Variables:
# writefreely-post-id: &#34;ID&#34;
# writefreely-post-token: nil
# End:
</code></pre>

<p>which allows to retrieve the post online afterwards. <br/>
Put the whole under <a href="/csantosb/tag:git" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">git</span></a> control, and the perfect blogging setup is ready for you to enjoy writing ! Simple, elegant and efficient. <br/>
Finally, I have <a href="https://issues.guix.gnu.org/74704" rel="nofollow">packaged writefreely.el</a> and sent a patch to <a href="/csantosb/tag:guix" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">guix</span></a> so that it will hopefully get merged upstream soon. <br/></p>
]]></content:encoded>
      <guid>https://infosec.press/csantosb/on-writting-freely</guid>
      <pubDate>Sun, 08 Dec 2024 19:12:30 +0000</pubDate>
    </item>
    <item>
      <title>emacs</title>
      <link>https://infosec.press/csantosb/use-emacs</link>
      <description>&lt;![CDATA[img br/&#xA;#modernhw, and in particular digital electronics design implies, for the most of it, writing #plaintext files. Creating code, scripts, configurations, documentation, emails, taking notes, handling bibliographic references, etc., all of these tasks involve writing in plain text files. Whether these files are created or modified, editing plain text is a must. An, when it comes to editing text, it is really worth investing some time on learning a bit more than the basics of a good text editor. !--more-- br/&#xA;At that point, once one decides to opt for a good tool, it takes the best of them all. In my case, I decided to start a long journey towards mastering emacs, even if GNU #emacs is much more than a text editor: it is a full customizable environment, and is #freesoftware. Emacs has been around longer than me, and benefits from the accumulated experience of all those having used it well before I discovered its existence. Inside of it one will have access to a plethora of existing applications, make use of killer tools as #magit and #orgroam, handle email with #mu4e, browse the web with #eww, manipulate windows with #exwm, run terminals, compile, develop non-existing utilities, modify emacs’s default behavior, change options, default bindings, etc. It is closer to a customizable working environmetn (a full OS some claim !) that you’ll take the time to build, than just a text editor. br/&#xA;Orgmode deserves a special chapter in here: #orgmode brings plain text editing to next level of productivity.  Check the quickstart if you’re not familiar with it. Don’t feel overwhelmed by the its large list of features: links, tables, markup, attachments, agenda, tags, export, publishing ... the list is endless. If you ever feel like tempted to use it, proceed step by step. As with emacs, just pick some appealing feature you think you’ need, and start making use of it. The more you practice, the more you’ll feel more comfortable with it. br/&#xA;You’ll manage, with time and some experience, to build a working environment suited to your particular and special needs, to a point you never imagined it was possible. And most important: you’ll be able to make it evolve with your own needs. It takes time, a lot of it, and the learning curve is quite step, so this is probably not the best choice for everyone. However, once you really learn how to use it (and get used to forget about your mouse !), the benefits in productivity are really impressive. You’ll never look backwards. br/&#xA;If you ever opt to follow the same path as I did, start by the tutorial, and read the documentation. Then, just use it, little by little, no hurries. You’ll be learning something new about emacs everyday during the next 20 years anyway. br/]]&gt;</description>
      <content:encoded><![CDATA[<p><img src="https://git.sr.ht/~csantosb/csbwiki/blob/master/pics/emacslogo.png" alt="img"> <br/>
<a href="/csantosb/tag:modernhw" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">modernhw</span></a>, and in particular digital electronics design implies, for the most of it, writing <a href="/csantosb/tag:plaintext" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">plaintext</span></a> files. Creating code, scripts, configurations, documentation, emails, taking notes, handling bibliographic references, etc., all of these tasks involve writing in plain text files. Whether these files are created or modified, editing plain text is a must. An, when it comes to editing text, it is really worth investing some time on learning a bit more than the basics of a good text editor.  <br/>
At that point, once one decides to opt for a good tool, it takes the best of them all. In my case, I decided to start a long journey towards <a href="https://www.masteringemacs.org/" rel="nofollow">mastering emacs</a>, even if GNU <a href="/csantosb/tag:emacs" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">emacs</span></a> is much more than a text editor: it is a full customizable environment, and is <a href="/csantosb/tag:freesoftware" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">freesoftware</span></a>. Emacs has been around longer than me, and benefits from the accumulated experience of all those having used it well before I discovered its existence. Inside of it one will have access to a plethora of existing applications, make use of killer tools as <a href="/csantosb/tag:magit" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">magit</span></a> and <a href="/csantosb/tag:orgroam" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">orgroam</span></a>, handle email with <a href="/csantosb/tag:mu4e" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">mu4e</span></a>, browse the web with <a href="/csantosb/tag:eww" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">eww</span></a>, manipulate windows with <a href="/csantosb/tag:exwm" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">exwm</span></a>, run terminals, compile, develop non-existing utilities, modify emacs’s default behavior, change options, default bindings, etc. It is closer to a customizable working environmetn (a full OS some claim !) that you’ll take the time to build, than just a text editor. <br/>
<a href="https://orgmode.org/" rel="nofollow">Orgmode</a> deserves a special chapter in here: <a href="/csantosb/tag:orgmode" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">orgmode</span></a> brings plain text editing to next level of productivity.  Check the <a href="https://orgmode.org/quickstart.html" rel="nofollow">quickstart</a> if you’re not familiar with it. Don’t feel overwhelmed by the its large list of features: links, tables, markup, attachments, agenda, tags, export, publishing ... the list is endless. If you ever feel like tempted to use it, proceed step by step. As with emacs, just pick some appealing feature you think you’ need, and start making use of it. The more you practice, the more you’ll feel more comfortable with it. <br/>
You’ll manage, with time and some experience, to build a working environment suited to your particular and special needs, to a point you never imagined it was possible. And most important: you’ll be able to make it evolve with your own needs. It takes time, a lot of it, and the learning curve is quite step, so this is probably not the best choice for everyone. However, once you really learn how to use it (and get used to forget about your mouse !), the benefits in productivity are really impressive. You’ll never look backwards. <br/>
If you ever opt to follow the same path as I did, start by the tutorial, and read the documentation. Then, just use it, little by little, no hurries. You’ll be learning something new about emacs everyday during the next 20 years anyway. <br/></p>
]]></content:encoded>
      <guid>https://infosec.press/csantosb/use-emacs</guid>
      <pubDate>Tue, 31 Jan 2023 23:00:00 +0000</pubDate>
    </item>
  </channel>
</rss>