<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom"
    xmlns:media="http://search.yahoo.com/mrss/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
>
<channel>
  <title>Srijan Choudhary, all posts tagged: TIL</title>
  <link>https://srijan.ch/feed/all/tag:TIL</link>
  <lastBuildDate>Wed, 15 Jan 2025 02:20:00 +0000</lastBuildDate>
  <image>
    <url>https://srijan.ch/assets/favicon/favicon-32x32.png</url>
    <title>Srijan Choudhary, all posts tagged: TIL</title>
    <link>https://srijan.ch/feed/all/tag:TIL</link>
  </image>
  <sy:updatePeriod>daily</sy:updatePeriod>
  <sy:updateFrequency>1</sy:updateFrequency>
  <generator>Kirby</generator>
  <atom:link href="https://srijan.ch/feed/all.xml/tag:TIL" rel="self" type="application/rss+xml" />
  <description>Srijan Choudhary&#039;s Articles and Notes Feed for tag: TIL</description>
  <item>
    <title>2025-01-15-001</title>
    <description><![CDATA[I had been facing an issue in #Emacs on my work Mac system: C-S-&lt;tab&gt; was somehow being translated to C-&lt;tab&gt;. I tried to look into key-translation-map to figure out the issue, but could not find anything. Finally, turned out that I had bound C-&lt;tab&gt; to tab-line-switch-to-next-tab and C-&lt;iso-lefttab&gt; to tab-line-switch-to-prev-tab, but the actual C-S-&lt;tab&gt; was …]]></description>
    <link>https://srijan.ch/notes/2025-01-15-001</link>
    <guid isPermaLink="false">tag:srijan.ch:/notes/2025-01-15-001</guid>
    <category><![CDATA[emacs]]></category>
    <category><![CDATA[TIL]]></category>
    <dc:creator>Srijan Choudhary</dc:creator>
    <pubDate>Wed, 15 Jan 2025 02:20:00 +0000</pubDate>
    <content:encoded><![CDATA[<p>I had been facing an issue in <a href="https://srijan.ch/tags/emacs" class="p-category">#Emacs</a> on my work Mac system: <code>C-S-&lt;tab&gt;</code> was somehow being translated to <code>C-&lt;tab&gt;</code>. I tried to look into <code>key-translation-map</code> to figure out the issue, but could not find anything.</p>
<p>Finally, turned out that I had bound <code>C-&lt;tab&gt;</code> to <code>tab-line-switch-to-next-tab</code> and <code>C-&lt;iso-lefttab&gt;</code> to <code>tab-line-switch-to-prev-tab</code>, but the actual <code>C-S-&lt;tab&gt;</code> was unbound. <code>C-&lt;iso-lefttab&gt;</code> only works on linux: something to do with how X11 sends the event to the application (and probably some compatibility mode due to which wayland was doing the same).</p>
<p>On Mac, once I explicitly bound <code>C-S-&lt;tab&gt;</code> in my Emacs config, it started working correctly.</p>]]></content:encoded>
    <comments>https://srijan.ch/notes/2025-01-15-001#comments</comments>
    <slash:comments>3</slash:comments>
  </item><item>
    <title>2024-09-24-001</title>
    <description><![CDATA[#Emacs #TIL : I learned about save-interprogram-paste-before-kill - which saves the existing system clipboard text into the kill ring before replacing it. This ensures that Emacs kill operations do not irrevocably overwrite existing clipboard text. A common workflow for me is to copy some text from a different application and paste it inside Emacs. But, if I want to first delete a word or region …]]></description>
    <link>https://srijan.ch/notes/2024-09-24-001</link>
    <guid isPermaLink="false">tag:srijan.ch:/notes/2024-09-24-001</guid>
    <category><![CDATA[emacs]]></category>
    <category><![CDATA[TIL]]></category>
    <dc:creator>Srijan Choudhary</dc:creator>
    <pubDate>Tue, 24 Sep 2024 17:20:00 +0000</pubDate>
    <content:encoded><![CDATA[<p><a href="https://srijan.ch/tags/emacs" class="p-category">#Emacs</a> <a href="https://srijan.ch/tags/TIL" class="p-category">#TIL</a> : I learned about <code>save-interprogram-paste-before-kill</code> - which saves the existing system clipboard text into the kill ring before replacing it. This ensures that Emacs kill operations do not irrevocably overwrite existing clipboard text.</p>
<p>A common workflow for me is to copy some text from a different application and paste it inside Emacs. But, if I want to first delete a word or region to replace, the deleted word or region goes to the system clipboard and replaces my copied text. This config saves the previous entry in the system clipboard so I can do a <code>C-p</code> after paste to choose the previous paste.</p><p>Syndicated to:</p><ul><li><a href="https://bsky.app/profile/srijan4.bsky.social/post/3l4w53avhjw2b">https://bsky.app/profile/srijan4.bsky.social/post/3l4w53avhjw2b</a></li></ul>]]></content:encoded>
    <comments>https://srijan.ch/notes/2024-09-24-001#comments</comments>
    <slash:comments>17</slash:comments>
  </item></channel>
</rss>
