Emacs

birv2,
@birv2@pkm.social avatar

Question for some 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!

birv2,
@birv2@pkm.social avatar

@simoninireland Thanks, but it's under date headers. Hmm.

djfiander,
@djfiander@code4lib.social avatar

@birv2 @simoninireland I know that Org has ways to find headings, but I'm not really familiar with that part. If the converted markdown is in a buffer, then you can use insert-buffer (interactive) or insert-buffer-substring (in lisp programs) to insert the buffer holding the new content into the org file at point.

#emacs #orgmode

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.

birv2,
@birv2@pkm.social avatar

Hey #emacs #orgmode people. I’ve heard that some people use just one orgmode file for all their writing. Can someone point me to a resource on doing this and maybe weigh in on advisability?

birv2,
@birv2@pkm.social avatar

@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,
@publicvoit@graz.social avatar

@birv2 @bmp I'm glad when my work with the articles provides benefit to somebody. 🙇

ahihi,
@ahihi@anticapitalist.party avatar

trying to make another 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 over scide anyway, so setting that up now...

dec_hl,
@dec_hl@mastodon.social avatar

@ahihi which linux distribution do you run on that EeePC?

SpaceCadet, German

What I would like for #emacs is a tool similar to magit, but for Pyton Hatch instead of git

holgerschurig,

@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,

@holgerschurig @SpaceCadet

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,
@laotang@emacs.ch avatar

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 . It draws on and .

To be sure, vanilla Dired probably can do most of this. But perhaps neither as convenient nor as swift. 😉

https://github.com/rtrppl/cleandesk

pglpm,
@pglpm@emacs.ch avatar

Finally I have installed 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,

@pglpm @Janne

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,
@pglpm@emacs.ch avatar

@holgerschurig @Janne Super! Thank you! Also for the useful info about GNU Stow :)

Lucius_Chen, zh-CN
@Lucius_Chen@mastodon.social avatar
kickingvegas,
@kickingvegas@sfba.social avatar

Wrote a post about writing 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,
@grinn@emacs.ch avatar

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.

#elisp #emacs #objed

holgerschurig,

@grinn

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,
@jameshowell@emacs.ch avatar

@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,
@louis@emacs.ch avatar

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,
@xgqt@emacs.ch avatar

@louis

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,
@birv2@pkm.social avatar

Finally got 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 , but now I can't boot into Windows.

Oops.

There's always another problem, isn't there?

mforester,
@mforester@rollenspiel.social avatar

@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.

daviwil,
@daviwil@fosstodon.org avatar

@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,
@gregorni@fosstodon.org avatar

My supervisor at CERN uses Emacs with a plugin to emulate Vim bindings! 🤯

He is the true winner of the Vim vs. Emacs wars.

apublicimage,
gregorni,
@gregorni@fosstodon.org avatar

@apublicimage holy moly

LinuxRenaissance,
@LinuxRenaissance@fosstodon.org avatar

I finally found some time to work on my webpage, so here is the second article:

"How to show row numbers in "

https://linuxrenaissance.com/post/emacs-row-numbers/

al3x,
@al3x@hachyderm.io avatar

I can’t believe it🤪: TIL has support for tabs.

(In and , with their support for windows, I use tabs as workspaces: setting up windows in a particular layout fitting the needs of that project)

ctietze,
@ctietze@mastodon.social avatar

@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,
@kickingvegas@sfba.social avatar

Casual v1.5.0, a porcelain for 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.

https://melpa.org/#/casual

mattof,
@mattof@emacs.ch avatar

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

-sqlite

https://codeberg.org/mattof/rcirc-sqlite

daviwil,
@daviwil@fosstodon.org avatar

@mattof this is a good idea, I'll have to try it out soon

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,
@ctietze@mastodon.social avatar

@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,
@publicvoit@graz.social avatar

@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,
@skybert@emacs.ch avatar

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 -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

https://www.emoses.org/posts/dont-write-2/

#emacs #evil #elisp

birv2,
@birv2@pkm.social avatar

Thanks to all the 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,
@birv2@pkm.social avatar

@mforester I have never had either experience. So I'm hoping that it will "just work" sometime for me!

mforester,
@mforester@rollenspiel.social avatar

@birv2 fingers crossed. 🙂

sachac, (edited )
@sachac@emacs.ch avatar

Ooh, list-keyboard-macros in dev looks interesting. You'll be able to edit and rearrange macros using tabulated-list-mode. https://git.savannah.gnu.org/cgit/emacs.git/commit/etc/NEWS?id=7add47337b62064998a5b80f357acc39b1253e98

fiee, German
@fiee@literatur.social avatar

Liebe -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,
@tekki@swiss.social avatar

@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,
@fiee@literatur.social avatar

@tekki Ok, danke. Ich habe bloß keine Ahnung, was das bei Emacs bedeutet. Muss ja wohl in dieser context.el stehen.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • emacs
  • DreamBathrooms
  • mdbf
  • ngwrru68w68
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • osvaldo12
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • InstantRegret
  • GTA5RPClips
  • provamag3
  • ethstaker
  • cisconetworking
  • tester
  • modclub
  • everett
  • cubers
  • tacticalgear
  • Leos
  • megavids
  • normalnudes
  • anitta
  • JUstTest
  • lostlight
  • All magazines