birv2, Question for some #emacs #orgmode friends: what's the best way to import a long markdown file INTO an already existing org file and have it look like the rest of the org file? Background is that I'm working on building out One Big Org File and want to import my running daily notes from Obsidian into the org file. I've found ways to convert markdown to org, but don't know how to actually place it in the org file. Thanks!
arouene, I just created a backend for Flymake to use the linter
golangci-lint
:https://codeberg.org/arouene/flymake-golangci.el
By default, it will use podman to run the linter.
It's not well tested, but if you want to try it, give it a go.
#emacs #flymake #golang
birv2,
birv2, @publicvoit @bmp Thanks for the reply! I really enjoyed your article on getting started with orgmode and your advice to keep things, simple, don't chase key bindings, only learn as you need stuff, etc. That works for me, since I tend to obsess over those details and end up not getting anything done! Under the guise of pseudo-productivity. #orgmode #emacs
publicvoit,
ahihi, trying to make another #SuperCollider box out of this 2007 EeePC 900. scide sadly segfaults on startup, but i was able to play some sines thru command line sclang. i prefer #Emacs over scide anyway, so setting that up now...
SpaceCadet, German What I would like for #emacs is a tool similar to magit, but for Pyton Hatch instead of git
holgerschurig, German @SpaceCadet No idea what Pyton Hatch is ...
... but if you have an itch to scratch ("I wish software XYZ exists") there's always the option a) to write it yourself or b) fund someone willing to do it.
glitzersachen, German Did that ever work for anybody? 😉 . I mean, I am usually scratching an itch and while I scratch I discover 2 new shinies and 3 further itches. Don't ask me how deep my "things I need before I can do" stack is now...
laotang, Introducing Cleandesk.el, a small collection of functions to rapidly rename and process files in Dired.
Pictures, PDFs and many other kinds of files frequently end up on my Desktop. In the past, I used Hazel and/or Devonthink (both macOS only) to automatically rename and refile. Cleandesk offers an alternative (manual) approach for these tasks from within #Emacs. It draws on #Dired and #fd.
To be sure, vanilla Dired probably can do most of this. But perhaps neither as convenient nor as swift. 😉
pglpm, Finally I have installed #emacs 29.3 from the savannah git repository (so no apt/snap/flatpack emacs).
One thing that I haven't understood yet: how do I remove older versions (also installed from the savannah repo)? or are they simply overwritten? Very thankful to anyone who wants to share insights on this :)
holgerschurig, I don't have a local copy of the repository
So then clearly my example with "git clean -fdx" doesn't apply. I mean, I wrote that I had ocassionally an issue if things from an earlier compilation run where staying around. If you ever have this problem, you can of course just remove the directory and extract it freshly. That would be equivalent. But, as said, this would only be needed if you run into problems when compiling again.
For people with extracted tar files that might happen only if you try different --enable-this / --disable-that switches at ./configure time.
For people that cloned the repository, this can happen after each "git pull" and recompilation --- which I do probably every 2 weeks.
One thing that I haven't understood yet: how do I remove older versions (also installed from the savannah rep
BEFORE you extract a newer tar file, in the OLD directory (where you run previously "make install") you just run "make uninstall".
That should remove all previously installed files.
Another way to keep things apart is to use GNU stow.
pglpm, @holgerschurig @Janne Super! Thank you! Also for the useful info about GNU Stow :)
Lucius_Chen, zh-CN
kickingvegas, Wrote a post about writing #Emacs Lisp docstrings, but a lot of it can apply to other programming languages with docstrings as well. http://yummymelon.com/devnull/writing-better-elisp-docstrings.html
grinn, Sometimes I get overwhelmed by having a free day and end up not accomplishing much. This morning it was processing my feelings toward my family's political views. I think it was valuable to come to some conclusions about why their views bothered me so much, but it took time.
I'm sitting on some patches and email drafts waiting for the fsf to update my copyright assignment record.
I'm going to work on objed for a while, then my blog. For objed I want to translate the test runner from a Makefile to an elisp eldev command. For the blog I want to do the opposite: translate the elisp build script into a Makefile.
Both are attempts at simplifying the development process though, just choosing the right tool for each job.
holgerschurig, Sometimes I get overwhelmed by having a free day and end up not accomplishing much
Personally I think this is totally okay. We need times to get down, to do "nothing" or at least "not much".
These times (and even occasional boredom) even play a role in creativity. Google for "boredom creativity" and you'll find many leads.
jameshowell, @holgerschurig @grinn I do not mean it flippantly: I have reached the age where I genuinely recognize the healthy "productivity" of a day where my concrete accomplishments are "did a load of laundry" and "pet the cats."
louis, Gosh, after a reboot yesterday my RET key was bound to
mark-sexp
and I had no idea where that came from. In my init.el there was zero binding for that and it happened even in Fundamental mode.Ultimately, after I commented out
sly
it is now back to normal. Sly was updated a week ago and for some reason the update landed on my machine.So if you experience the same, let me know.
xgqt, Maybe you or sly bound some key without restricting to a given keymap or mode. I would look for bind-key and add-hook calls that do not restrict.
birv2, Finally got #emacs set up and running zippily(?) because I'm running it natively in Linux. Org mode is fast, and I'm loving it. Only one problem now to solve: I set up Linux Mint on my Windows machine as #dualboot, but now I can't boot into Windows.
Oops.
There's always another problem, isn't there?
mforester, @birv2 there's a chance that grub defaults to Mint and doesn't have a timeout value to select a different boot option.
I don't know the steps to fix it, but this should be easy to look up. 🙂
Alternatively: are you dual booting from the same disk? If not, you should be able to fix this directly from BIOS by changing the boot device. 🤔
to1ne, I always forget how to dismiss the suggestions in the minibuffer when you don’t want to use an exact match. I’m using vertico. #emacs
daviwil, @to1ne is it Vertico-exit? I can't remember the command, but I do know I had to bind it separately
holgerschurig, @pjaspers @to1ne Then just bind Alt-J to the function you want it to have.
If it would be Alt-Enter that does what you want, then first do Ctrl-h k Alt-Enter to see what it does (e.g. vertico-keyboard-explode) snd than bund that function to Alt-J in the proper vertico map.
(mobile now, so can't be more specific)
gregorni, My supervisor at CERN uses Emacs with a plugin to emulate Vim bindings! 🤯
He is the true winner of the Vim vs. Emacs wars.
#Emacs #Vim #Editor #TextEditor #bindings #KeyBindings #EditorWars #EmacsVsVim #programming #VimVsEmacs #code
LinuxRenaissance, I finally found some time to work on my webpage, so here is the second article:
"How to show row numbers in #Emacs"
al3x,
ctietze, @al3x it has support for multiple levels of tabs, which is even weirder, but makes sense if you treat the topmost bar for window configurations like you do!
kickingvegas, Casual v1.5.0, a porcelain for #Emacs Calc, is now available on MELPA. This is a big release, with support for computer algebra, reading data files to support plotting and curve fitting, infinite mode support, showing the current value of the thousands and decimal separators, loading the settings file, and numerous UI improvements.
mattof, New version of rcirc-sqlite: rcirc logging in SQLite
- Easier to narrow the queries to the last week, the last month, of the
last two or three months, or select a time range with the org mode
date picker.- New command to direct request the logs of a specific nick.
rcirc is a default, simple IRC client in Emacs
rcirc-sqlite is available as a package in Elpa
not_null_p, So, I'm currently in a middle of moving all of my calendars from Google Calendar to #emacs #orgmode in an on going effort to reduce dependency on Google.
This little project has been progressing better than expected! And now I've found a final piece of a puzzle that makes the whole thing come together: Orgzly Revived [1] (mainly for its Git syncing feature) for Android.
With this combination, I've successfully moved off Google Calendar for good and without any loss in functionality.
[1] https://github.com/orgzly-revived/orgzly-android-revived
ctietze, @not_null_p git syncing, you say? Never noticed! Am using WebDAV and occasionally run into sync conflicts. Does the git sync auto merge if possible without intervention?
publicvoit, @not_null_p For recurring appointments, you might want to consider cloning: https://karl-voit.at/2017/01/15/org-clone-subtree-with-time-shift/
skybert, I would like to give a shout out to all the excellent people on emacs.ch. You are not only passionate about Emacs and Lisp, but also friendly, fun and always willing to help out.
Thank you for you being you.
acowley, This post on #emacs #org-roam resonates very well with me, to the point that I actually double checked that I didn't write it myself. I've been fortunate I suppose to not have problems with org-roam's database for several years now, and I think it does make some sense to go ahead and build around a proper database layer rather than beat around the bush. It's something of a rejection of YAGNI, but I think people often wear YAGNI blinders. https://edstrom.dev/wzvdr/2023-02-26
emoses, I use Emacs with evil, and I hit ":w2<ret>" way more often than I'd like, leaving little files called "2" all over the place. So I wrote some advice to fix it
birv2, Thanks to all the #emacs people who responded! Today is wsl day. Yesterday was Linux mint in a vm. Tomorrow is native Windows. Just doing some light coding and banging out text. If emacs is reasonably zippy I’ll go with Windows since it’s just less friction. Nothing against Linux but one thing at a time. Plus printing just works on Windows
birv2, @mforester I have never had either experience. So I'm hoping that it will "just work" sometime for me!
mforester, @birv2 fingers crossed. 🙂
sachac, (edited ) Ooh,
list-keyboard-macros
in #emacs dev looks interesting. You'll be able to edit and rearrange macros usingtabulated-list-mode
. https://git.savannah.gnu.org/cgit/emacs.git/commit/etc/NEWS?id=7add47337b62064998a5b80f357acc39b1253e98
fiee, German Liebe #Emacs-Freundys, wie sag ich das auf deutsch:
put (setq ConTeXt-texexec-option-nonstop "") in your ConTeXt mode hook
Also „mode hook“ für ConTeXt in AUCTeX?
tekki, German @fiee Ich würde auch auf Deutsch von ConTeXt Mode Hook sprechen. "Hook" findet sich im deutschen Wikipedia: https://de.wikipedia.org/wiki/Hook_(Informatik). Und "mode" einzudeutschen macht kaum Sinn.
fiee, German @tekki Ok, danke. Ich habe bloß keine Ahnung, was das bei Emacs bedeutet. Muss ja wohl in dieser context.el stehen.