fixing a bunch of broken stuff I think

This commit is contained in:
Chris Cochrun 2022-02-25 14:16:41 -06:00
parent 0dbc3ead0e
commit 8bace887a2
1551 changed files with 299 additions and 57481 deletions

View file

@ -1 +0,0 @@
<table> <tr><td> <a href="https://www.reddit.com/r/unixporn/comments/pp7qee/bspwm_my_hyperfixation_for_the_past_few_weeks/"> <img src="https://preview.redd.it/a2t82cv74tn71.png?width=640&amp;crop=smart&amp;auto=webp&amp;s=da2e07142961715f35991d7bca5a33755ee7345c" alt="[BSPWM] My hyperfixation for the past few weeks" title="[BSPWM] My hyperfixation for the past few weeks" /> </a> </td><td> &#32; submitted by &#32; <a href="https://www.reddit.com/user/FingerGunsPewPewPew"> /u/FingerGunsPewPewPew </a> <br/> <span><a href="https://i.redd.it/a2t82cv74tn71.png">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/unixporn/comments/pp7qee/bspwm_my_hyperfixation_for_the_past_few_weeks/">[comments]</a></span> </td></tr></table>

View file

@ -1,11 +0,0 @@
<p>I got reminded yesterday that Emacs is not a proper GTK application after installing
Windows 11 to make use of its <a href="https://docs.microsoft.com/en-us/windows/wsl/tutorials/gui-apps">built-in support for Linux GUI apps running in WSL</a>. Windows uses Wayland/Weston and the results are great with native GTK apps like GEdit, but
unfortunately <a href="https://github.com/microsoft/wslg/issues/190">HiDPI scaling doesnt work properly with Emacs</a>. Bummer!</p>
<p>The upcoming Emacs 28 should fix this, as it introduces a pure GTK front-end
(a.k.a. <code class="language-plaintext highlighter-rouge">pgtk</code>). Im wondering whether to build Emacs 28 from source or not, so
I can get it sooner. In the mean time my old setup <a href="https://emacsredux.com/blog/2020/09/23/using-emacs-on-windows-with-wsl2/">based on
X410</a>
continues to work really great and I guess Ill stick to it for now.</p>
<p>At any rate - it seems that the ultimate Emacs experience on Windows is right around the corner.</p>

View file

@ -1 +0,0 @@
<table> <tr><td> <a href="https://www.reddit.com/r/unixporn/comments/pp243f/i3gaps_pretty_proud_of_this_one/"> <img src="https://preview.redd.it/25at8dlt7rn71.png?width=640&amp;crop=smart&amp;auto=webp&amp;s=bb0e254eedd431a610a07341e752f9e1a32a8dce" alt="[i3gaps] Pretty proud of this one" title="[i3gaps] Pretty proud of this one" /> </a> </td><td> &#32; submitted by &#32; <a href="https://www.reddit.com/user/malthaelazrael"> /u/malthaelazrael </a> <br/> <span><a href="https://i.redd.it/25at8dlt7rn71.png">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/unixporn/comments/pp243f/i3gaps_pretty_proud_of_this_one/">[comments]</a></span> </td></tr></table>

View file

@ -1 +0,0 @@
<!-- SC_OFF --><div class="md"><p>I can&#39;t figure this out...</p> <p>I use a basic org-capture template:</p> <p><code>(setq</code> </p> <p><code>org-capture-templates</code></p> <p><code>\</code>(`</p> <p><code>(&quot;t&quot; &quot;Task&quot; entry (file &quot;~/.config/emacs/journal/tasks.org&quot;)</code></p> <p><code>&quot;* TODO %?\n\n %U\n %a\n %i&quot; :empty-lines 1)</code></p> <p><code>(&quot;i&quot; &quot;Idea&quot; entry (file &quot;~/.config/emacs/journal/ideas.org&quot;)</code></p> <p><code>&quot;* IDEA %?\n\n %U\n %a\n %i&quot; :empty-lines 1)</code></p> <p><code>(&quot;j&quot; &quot;Journal&quot; entry (file+datetree &quot;~/.config/emacs/journal/journal.org&quot;)</code></p> <p><code>&quot;* %?\n %i\n&quot;)</code></p> <p><code>)</code></p> <p><code>)</code></p> <p>When I start the capture and select &#39;j&#39; to create a Journal entry, my first line has 7 stars. This causes the entry to start too far to the right and it looks weird. I can&#39;t figure out why so many stars? Instead of 7, I expect maybe 4 stars:</p> <p>* Year<br/> ** Year-Month<br/> *** Year-Month-Day<br/> **** new journal entry goes here</p> <p>In an effort to learn elisp and try to fix the problem, I tried to modify org-datetree.el in the ~/.emacs/elpa/org-9.5.1 directory and recompile via emacs-lisp-recompile function after visiting the file. My modifications change the output (I removed tabs for example), but then it removes all of the dates! I don&#39;t want to mess too much with the el file as my configuration is getting to a nice stable state.</p> <p>Any ideas why so many stars? Thanks in advance for looking at this!</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/Personal-Heat-8980"> /u/Personal-Heat-8980 </a> <br/> <span><a href="https://www.reddit.com/r/orgmode/comments/rippn4/datetree_insert_extra_stars/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/orgmode/comments/rippn4/datetree_insert_extra_stars/">[comments]</a></span>

View file

@ -1,3 +0,0 @@
<img src="https://media.babylonbee.com/thumbs/article-10032-1-thumb.jpg"> <p>PEAKS HOLLOW, MT&mdash;Local man Hank Grizzle started up his personal savings account strong this year by saving 16 cents on his July 4 BBQ. And his account just got another boost with the 2-cent savings on gas the country has seen over the last two weeks.</p>
<p>The post <a rel="nofollow" href="https://babylonbee.com/news/man-excited-to-add-2-cent-gas-savings-to-the-16-cents-he-saved-on-july-4">Man Excited To Add 2-Cent Gas Savings To The 16 Cents He Saved On July 4</a> appeared first on <a rel="nofollow" href="https://babylonbee.com">The Babylon Bee</a>.</p>

View file

@ -1 +0,0 @@
<table> <tr><td> <a href="https://www.reddit.com/r/unixporn/comments/rssxfd/i3_mm_dracula/"> <img src="https://preview.redd.it/cmqhemvjgv881.png?width=640&amp;crop=smart&amp;auto=webp&amp;s=8ade1209a158bbb6d6071cd42bce6622452544a4" alt="[i3] mm dracula" title="[i3] mm dracula" /> </a> </td><td> &#32; submitted by &#32; <a href="https://www.reddit.com/user/kinas45y5"> /u/kinas45y5 </a> <br/> <span><a href="https://i.redd.it/cmqhemvjgv881.png">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/unixporn/comments/rssxfd/i3_mm_dracula/">[comments]</a></span> </td></tr></table>

View file

@ -1,3 +0,0 @@
<img src="https://media.babylonbee.com/thumbs/article-9963-2-thumb.jpg"> <p>BEIJING&mdash;Concerns have been raised about the whereabouts of Chinese tennis star Peng Shuai. But Chinese state officials have put these worries to rest by holding a press conference starring the women&#39;s tennis player, though many pointed out she looked &quot;suspiciously like President Xi Jinping in a wig, visor, and dress.&quot;</p>
<p>The post <a rel="nofollow" href="https://babylonbee.com/news/my-name-is-peng-shuai-and-i-am-totally-fine-says-female-tennis-player-who-looks-suspiciously-like-president-xi-in-a-skirt">'My Name Is Peng Shuai And I Am Totally Fine,' Says Female Tennis Player Who Looks Suspiciously Like President Xi In A Skirt</a> appeared first on <a rel="nofollow" href="https://babylonbee.com">The Babylon Bee</a>.</p>

View file

@ -1 +0,0 @@
<!-- SC_OFF --><div class="md"><p>I need to investigate text log files a lot. Emacs with <code>auto-revert-tail-mode</code> does the job almost fine, except when there are long lines (JSON/XML dumps, 1-40kb large).</p> <p>In that case Emacs lags a lot.</p> <p>I use <code>fundamental-mode</code> + add few <code>font-lock-add-keywords</code> by (highlighting for INFO/DEBUG/ERROR &amp; for date/time):</p> <p><a href="http://hg.defun.work/dot-emacs/file/tip/mylisp/log4-hi-mode.el">http://hg.defun.work/dot-emacs/file/tip/mylisp/log4-hi-mode.el</a></p> <p>Even with plain <code>fundamental-mode</code> Emacs is unresponsible. I tried debug on error on C-g and the stacktrace is only native rendering function <code>redisplay_internal</code>.</p> <p>Just writing the post I tried <code>so-long-mode</code> instead of <code>fundamental-mode</code> and it is much better but still noticeably lagging. Few extra <code>font-lock-add-keywords</code> in <code>so-long-mode</code> doesn&#39;t have huge impact: movement is just a bit slower than without.</p> <p>I don&#39;t like to open Notepad++ just for log files, though it might be the proper solution...</p> <p>Any suggestions on debugging long line issue?</p> <p>Could we expect Emacs rendering of long lines improved? </p> <p>I&#39;m with Cygwin Emacs W32 27.2. Almost the same situation with Emacs 27.1 in WSL1 terminal. <code>so-long-mode</code> provides better experience, few <code>font-lock-add-keywords</code> ruin smoothness of movement.</p> <p><strong>UPDATE</strong> I really need some highlighting for log files (date/time + INFO/DEBUG/ERROR): I expect some help from the tool.</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/gavenkoa"> /u/gavenkoa </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/rcgjpt/browsing_long_lines_are_extremely_slow_i_study/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/emacs/comments/rcgjpt/browsing_long_lines_are_extremely_slow_i_study/">[comments]</a></span>

View file

@ -1 +0,0 @@
<table> <tr><td> <a href="https://www.reddit.com/r/unixporn/comments/pos4hq/xfce_probably_distrohopping_soon_say_goodbye_to/"> <img src="https://preview.redd.it/9j1c5o99oon71.png?width=640&amp;crop=smart&amp;auto=webp&amp;s=201d440600647dfa0655c2c8bcad11cdf28af9ba" alt="[xfce] Probably distrohopping soon, say goodbye to this beautiful theme i've used for the last year" title="[xfce] Probably distrohopping soon, say goodbye to this beautiful theme i've used for the last year" /> </a> </td><td> &#32; submitted by &#32; <a href="https://www.reddit.com/user/siebenundsiebzigelf"> /u/siebenundsiebzigelf </a> <br/> <span><a href="https://i.redd.it/9j1c5o99oon71.png">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/unixporn/comments/pos4hq/xfce_probably_distrohopping_soon_say_goodbye_to/">[comments]</a></span> </td></tr></table>

View file

@ -1 +0,0 @@
&#32; submitted by &#32; <a href="https://www.reddit.com/user/TeMPOraL_PL"> /u/TeMPOraL_PL </a> <br/> <span><a href="/r/emacs/comments/qyajk9/any_package_for_querying_or_visualizing_orgedna/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/orgmode/comments/qyaklk/any_package_for_querying_or_visualizing_orgedna/">[comments]</a></span>

View file

@ -1,3 +0,0 @@
<img src="https://media.babylonbee.com/thumbs/article-9942-1-thumb.jpg"> <p>A lot of churches are going woke these days. From gender ideology to CRT and even worse stuff like changing the color of the carpet, churches are changing to get with the times. And it&#39;s not good, bucko!</p>
<p>The post <a rel="nofollow" href="https://babylonbee.com/news/10-signs-your-church-may-be-going-woke">10 Signs Your Church May Be Going Woke</a> appeared first on <a rel="nofollow" href="https://babylonbee.com">The Babylon Bee</a>.</p>

View file

@ -1,3 +0,0 @@
<img src="https://media.babylonbee.com/thumbs/article-9495-1-thumb.jpg"> <hr /><p style="text-align:center"><em>Brought to you by:&nbsp;</em></p>
<p>The post <a rel="nofollow" href="https://babylonbee.com/news/how-to-pay-off-your-crushing-student-debts-once-youve-already-sold-your-non-vital-organs">How To Pay Off Your Crushing Student Debts Once Youve Already Sold Your Non-Vital Organs</a> appeared first on <a rel="nofollow" href="https://babylonbee.com">The Babylon Bee</a>.</p>

View file

@ -1 +0,0 @@
<!-- SC_OFF --><div class="md"><p>I am unable to get <code>show-trailing-whitespace</code> to work. Here is a test I did,</p> <pre><code>emacs -q foo.txt </code></pre> <p>In Emacs I typed these commands,</p> <pre><code>M-: (setq show-trailing-whitespace t) RET M-: (setq-default show-trailing-whitespace t) RET </code></pre> <p>Then typed 3 lines in the .txt buffer where every line contains a trailing whitespace. The trailing whitespaces do not get highlighted.</p> <p>I also checked <code>C-h o trailing-whitespace RET</code> and it shows that this face is set to black foreground on red background. Still I don&#39;t see the trailing spaces highlighted in this manner.</p> <p>What is going on and how to fix it?</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/wfsch"> /u/wfsch </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/ra4l9g/why_isnt_setsdefault_showtrailingwhitespace_t/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/emacs/comments/ra4l9g/why_isnt_setsdefault_showtrailingwhitespace_t/">[comments]</a></span>