fixing a bunch of broken stuff I think
This commit is contained in:
parent
0dbc3ead0e
commit
8bace887a2
1551 changed files with 299 additions and 57481 deletions
|
@ -1 +0,0 @@
|
|||
<!-- SC_OFF --><div class="md"><p>i really hate how big i have to get text to be on my terminal emulator to be readable compared to tty can i just use that font my terminal emulator is foot if it matters</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/bjkillas"> /u/bjkillas </a> <br/> <span><a href="https://www.reddit.com/r/archlinux/comments/runbgn/how_to_get_tty_font_on_a_terminal_emulator/">[link]</a></span>   <span><a href="https://www.reddit.com/r/archlinux/comments/runbgn/how_to_get_tty_font_on_a_terminal_emulator/">[comments]</a></span>
|
|
@ -1 +0,0 @@
|
|||
<!-- SC_OFF --><div class="md"><p>I just did a fresh Arch install with Sway + Wayland and refrained from installing XWayland. Slack opens perfectly fine with the ozone flags and everything appears to be working but when I tried to upload a file, it opens the file dialog and when I hit Open nothing happens.</p> <p>Retried with <code>WAYLAND_DEBUG=1</code> but could not spot anything. It's very verbose, I grepped for file and the filename but nothing interesting came up. Also considering this may be Arch related, a specific package that I might be missing? This should work assuming this is just the File API that Electron is utilizing.</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/BluebirdOnBranch"> /u/BluebirdOnBranch </a> <br/> <span><a href="https://www.reddit.com/r/archlinux/comments/r1nchg/attach_file_in_slack_on_wayland_does_nothing/">[link]</a></span>   <span><a href="https://www.reddit.com/r/archlinux/comments/r1nchg/attach_file_in_slack_on_wayland_does_nothing/">[comments]</a></span>
|
|
@ -1 +0,0 @@
|
|||
<!-- SC_OFF --><div class="md"><p>Where I work, we use a lot of Markdown and Confluence pages for documentation. I have wanted to introduce org-mode, but am always met with some (justified) resistance. We're talking about introducing a programming editor to mid-senior level programmers. That is a very tough sell. I've been keeping my eyes open for possible alternatives, like org-mode for VS Code and org-mode for Vim. I think this presentation given at the Emacs Conference a couple of days ago captures the "spirit" of what would be needed to get others who insist on using the "lesser editors" to use org-mode. <a href="https://emacsconf.org/2021/talks/org-outside/">https://emacsconf.org/2021/talks/org-outside/</a></p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/trhawes"> /u/trhawes </a> <br/> <span><a href="https://www.reddit.com/r/orgmode/comments/r5q0hr/decoupling_orgmode_markup_from_orgmode/">[link]</a></span>   <span><a href="https://www.reddit.com/r/orgmode/comments/r5q0hr/decoupling_orgmode_markup_from_orgmode/">[comments]</a></span>
|
|
@ -1 +0,0 @@
|
|||
<!-- SC_OFF --><div class="md"><p>So, I was working in an <code>org</code> file with tables that needed to reference tables from different files. According to the <a href="https://orgmode.org/manual/References.html">org manual</a>, you can do this with <code>remote(<id>, <range>)</code>. This is problematic for a couple of reasons. First, it is very fragile. Sometimes it works, sometimes it doesn't. Maybe I was doing something wrong with the IDs, but it was very unstable for me. Second, it means that, if you sync your org files in multiple machines, you'll also have to sync the id. Finally, and this is the big one, accoring to the org manual, you assing an ID to a heading and the remote call will look for the first table under that heading. But what if you need the second table?</p> <p>Instead of fighting with the IDs problem, I decided to do some elisp magic to see if I could grab a table range from a remote table with file path and <code>#:name</code>. To my surpirse, it was very easy to do. All you need is this function somewhere in your init file:</p> <pre><code>(defun j/remote-table-range (path name range) (with-current-buffer (find-file-noselect path) (org-table-get-remote-range name range))) </code></pre> <p>Then, you have to add the <code>#:name</code> tag to the remote table:</p> <pre><code>;; Contents of ~/table-test/remote.org #+name: remote-t1 | C1 | C2 | | 1 | 2 | </code></pre> <p>Then, from another table, you can call it like this:</p> <pre><code>;; Contents of ~/table-test/main.org | C1 | C2 | | | | #+tblfm: @1$1='(j/remote-table-range "./remote.org" "remote-t1" (string ?@ ?1 ?$ ?1)) </code></pre> <p>The path can be absolute or relative, and you can reference any table in that file using the name argument. The wierd string call is explained <a href="https://stackoverflow.com/a/15700076/3006252">here</a>.</p> <p>And that's it. IMO, while it makes for longer formulas, it is way more convenient than the current remote function with IDs and have less limitations. </p> <p>I was amazed with how little code was needed for this. Man, do I love emacs...</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/ElCondorHerido"> /u/ElCondorHerido </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/r2nig7/remote_tables_with_file_path_no_ids_in_table/">[link]</a></span>   <span><a href="https://www.reddit.com/r/emacs/comments/r2nig7/remote_tables_with_file_path_no_ids_in_table/">[comments]</a></span>
|
|
@ -1,3 +0,0 @@
|
|||
<img src="https://media.babylonbee.com/thumbs/article-9677-1-thumb.jpg"> <p>WASHINGTON, D.C.—Amid a series of troublesome violations of Taiwan's air defence zone by China, President Biden took to the airwaves to address some of the concerns that the free country of Taiwan might be in danger of being invaded by the brutal Chinese communist state.</p>
|
||||
<p>The post <a rel="nofollow" href="https://babylonbee.com/news/biden-reassures-taiwan-chinese-invasion-is-just-part-of-the-process">Biden Reassures Taiwan 'Invasion Is Just Part Of The Process'</a> appeared first on <a rel="nofollow" href="https://babylonbee.com">The Babylon Bee</a>.</p>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue