Getting newsletters on your e-mail and reading your e-mail inside Emacs? Also, Pocket user? you may want to see this function I crafted!

Hello!

So, I'm subscribed to a Golang newsletter. I also try to keep my INBOX clean by deleting messages that I wouldn't need to read a second time and archiving those that I may need later, etc. This mean that any newsletter will be deleted after I stack articles of my interest to read later (in Pocket, currently).

But I was really tired of opening URLs on my browser from my e-mail and adding stuff to Pocket manually... why I need to do that when I'm using Emacs anyway, right?

Let's *scratch* that itch (Emacs pun intended):

(use-package el-pocket
  :preface (require 'thingatpt)
  :bind (:map mu4e-view-mode-map ("l" . el-pocket-add-url-at-point))
  :init (defun el-pocket-add-url-at-point ()
          "Add URL at point to Pocket"
          (interactive)
          (let* ((url-shr (get-text-property (point) 'shr-url))
                 (url-at-point (thing-at-point 'url))
                 (url (or url-shr url-at-point)))
            (el-pocket-add-url url)))
  :config (el-pocket-load-auth))

According to free-keys, I have many keys free in mu4e-view-mode, among them, the l key., so I decided to bind it with my crafted function. Everything else should be self-explanatory.

Enjoy!

πŸ‘︎ 10
πŸ’¬︎
πŸ‘€︎ u/shackra
πŸ“…︎ Sep 03 2016
🚨︎ report
So, which run launcher do you use, Rofi or Dmenu? Actually, I use Emacs [Qtile] v.redd.it/o00398h73nc81
πŸ‘︎ 521
πŸ’¬︎
πŸ‘€︎ u/AuroraDraco
πŸ“…︎ Jan 19 2022
🚨︎ report
πŸ‘︎ 130
πŸ’¬︎
πŸ‘€︎ u/mickeyp
πŸ“…︎ Jan 20 2022
🚨︎ report
Who like Emacs?
πŸ‘︎ 1k
πŸ’¬︎
πŸ‘€︎ u/RSerejo
πŸ“…︎ Dec 23 2021
🚨︎ report
Why is it hard to get started with elisp in emacs

I'm have wanted to learn elisp for a while ever since I got started with Emacs using doom. I downloaded Programming with elisp book, but I found it very hard to follow along because since I'm new to emacs I couldn't manage to run a standalone elisp script in emacs.

Basically I created a new .el file but fly check gives me a lot of errors like I need to add a bunch of comments to the start of the file. I don't remember what they were but adding them didn't fix anything.

So I'm wondering is there an easy way to get started with elisp programming in emacs?

Edit: thanks a lot for all the kind suggestions. All this makes me want to jump on elisp and learn it. I didn't expect such a positive response to my naive question. Thanks a lot guys/gals

πŸ‘︎ 57
πŸ’¬︎
πŸ“…︎ Jan 30 2022
🚨︎ report
[Yabai] Emacs and my favorite Emacs bootloader
πŸ‘︎ 461
πŸ’¬︎
πŸ‘€︎ u/shaunsingh0207
πŸ“…︎ Jan 12 2022
🚨︎ report
Emacs discoverability
πŸ‘︎ 238
πŸ’¬︎
πŸ‘€︎ u/catern
πŸ“…︎ Jan 16 2022
🚨︎ report
What's the best way to learn Emacs?

Before I start I just want to apologize if this is a "noob" question, I'm just trying to learn.

I've used Doom Emacs for a few months now, and from what I've seen, it is EXTREMELY powerful, so I *want* to use it. But here's the problem for me. Some other programs, like VS Code are less powerful, but far, far easier for beginners. For instance the wide array of tutorial videos on YouTube, the way you change keybindings, or the way you download extra packages.

I think that Emacs can be far more powerful than VS Code, provided you have the proper knowledge about how it works. A great example of this is dired, it's so good that for a while I used it as my main file-manager. What's the best way to go about learning Emacs though? Should I just stop using Doom Emacs, download GNU Emacs and learn that way?

πŸ‘︎ 53
πŸ’¬︎
πŸ‘€︎ u/SteveTheGreate
πŸ“…︎ Jan 28 2022
🚨︎ report
eMac’s are looking quiet around here lately.
πŸ‘︎ 87
πŸ’¬︎
πŸ‘€︎ u/flynns-arcade
πŸ“…︎ Jan 31 2022
🚨︎ report
Anyone move from Emacs to Logseq? Why?

I've been using Emacs + org-roam for a year. But I recently tried logseq for two weeks. Both are great softwares, and have their strengths and weaknesses.

I'd like to share my thoughts, and see what you think.

Pro for Emacs:

  1. Unparalleled editing experience.
  2. Great support for tables, org-babel, etc.
  3. Highly customizable. Writing an elisp function is a lot faster than writing a plugin.
  4. A long history, a strong community. I'm really impressed how many great changes happen every year.

Cons for Emacs:

  1. Bad support for multimedia, and I see little hope that this will be solved. (eaf might be a solution but I use macOS instead of Linux)
  2. Had to write many configs myself. Although I've made it comfortable for myself now, I think I'd have to throw more effort at it in the future.

Pros for Logseq:

  1. Modern UI (it is not a clear win compared to emacs though)
  2. User-friendly note-taking. And I don't have to maintain my config. For example, using [[page]] to reference or create another page, viewing all journals in one page, etc.
  3. More note-taking related functions. For example, Zotero support, taking notes with, NLP (not yet, but in their roadmap), etc.
  4. FLOSS!

Cons for Logseq:

  1. Hard to migrate. The format is too customized. But I think it is a common problem for doubly-linked note systems.
  2. Org-mode support is not that great. Inter-operatability is not as good as expected.

There are also different considerations w.r.t. note taking:

  1. When pressing enter, Logseq insert a new node as default instead of a newline as in Emacs.

To me, Logseq seems to be a very modern and promising note system, while Emacs remains a lot more reliable. It is really hard to choose between those two.

πŸ‘︎ 17
πŸ’¬︎
πŸ‘€︎ u/aur3l14no
πŸ“…︎ Jan 22 2022
🚨︎ report
Mitsuharu Yamamoto has started working on emacs-28.0

Good news for those on Mac and using the excellent Yamamoto Emacs port. I saw emacs-28.0.91 is merged into his work branch.

πŸ‘︎ 115
πŸ’¬︎
πŸ‘€︎ u/top_coder
πŸ“…︎ Jan 16 2022
🚨︎ report
Using emacs as your app launcher! Crosspost from r/unixporn reddit.com/r/unixporn/com…
πŸ‘︎ 112
πŸ’¬︎
πŸ‘€︎ u/AuroraDraco
πŸ“…︎ Jan 19 2022
🚨︎ report
[StumpWM] but it’s mostly Emacs
πŸ‘︎ 631
πŸ’¬︎
πŸ‘€︎ u/phundrak
πŸ“…︎ Dec 19 2021
🚨︎ report
The Emacs Hints memory card (pre-2000s)
πŸ‘︎ 167
πŸ’¬︎
πŸ‘€︎ u/lispstudent
πŸ“…︎ Jan 17 2022
🚨︎ report
Average emacs enjoyer
πŸ‘︎ 212
πŸ’¬︎
πŸ‘€︎ u/73686f67756e
πŸ“…︎ Jan 22 2022
🚨︎ report
Paragraph indent for novel writing with Emacs

Hello everyone,

I'm a writer who lives in Germany (12 published novels with Random House), and I started using emacs a year ago and am falling in love more and more. It is perfect for organizing material for my novels, and I even use Mu4e for e-mails by now.

I would be happy to try to write my next novel with emacs. But there is one thing that just drives me crazy writing prose in emacs, and I wonder whether there is a solution to it. (Olivetti Mode or Writeroom mode do not solve this, regrettably.)

When writing prose, I don't want to have a blank line between each paragraph, but to have them indented instead. It just looks awkard to me, to have lines of dialogue like this:

"I met another woman", he said.

.

"Who is it?"

.

"You don't know her."

.

She gave him a furious stare.

It reather should look like this:

"I met another woman", he said.

..... "Who is it?"

..... "You don't know her."

..... She gave him a furious stare.

(Reddit deletes blank space, I had to put dots there.)

But the indentation shouldn't be Tabs or Spaces, it should just be how emacs displays the buffer.

Is there a way to make this possible, a way to write prose without blank lines between the paragraphs and to have the first line of each paragraph indented?

Formatted text properties like "indent more" insert spaces. Maybe this is the way emacs is made, and there is no way to just visually indent (like in a word processor) without putting characters in the document.

Thank you so much for any help on this!

Titus

πŸ‘︎ 34
πŸ’¬︎
πŸ‘€︎ u/TiMueller
πŸ“…︎ Jan 30 2022
🚨︎ report
GNU Emacs: A configurable browser

https://preview.redd.it/0ut721smx2b81.png?width=1122&format=png&auto=webp&s=5ed539b51802f3fb16fce0c86531bb4424c07bb6

Now you can use GNU Emacs as a full featured browser. Here's a short video demonstrating the features.

Video: https://youtu.be/y1k_lA2VUYg

Details: https://lifeofpenguin.blogspot.com/2022/01/gnu-emacs-configurable-browser.html

πŸ‘︎ 131
πŸ’¬︎
πŸ‘€︎ u/atamariya
πŸ“…︎ Jan 11 2022
🚨︎ report
Learn Emacs by asking it questions [OC] twitter.com/zckzck/status…
πŸ‘︎ 84
πŸ’¬︎
πŸ‘€︎ u/zck
πŸ“…︎ Jan 27 2022
🚨︎ report
Emacs team considering including SQLite

Initial message from the mighty Lars:

https://lists.gnu.org/archive/html/emacs-devel/2021-12/msg00463.html

Lot's of interest, judging from the epic threads that have ensued since then.

There aren't many programming languages or systems where you can just assume the existence of a built-in relational database. The IBM AS/400 was one such system from the 80s. Emacs could become one if the SQLite plan is executed.

Looking forward to org-mode tables that are backed and fed from RDBMS tables.

πŸ‘︎ 126
πŸ’¬︎
πŸ‘€︎ u/dharmatech
πŸ“…︎ Dec 22 2021
🚨︎ report
Emacs for You - A 72 line ~/.emacs to quickly set up vanilla Emacs for general purpose editing and programming github.com/susam/emfy
πŸ‘︎ 92
πŸ’¬︎
πŸ‘€︎ u/susam
πŸ“…︎ Dec 29 2021
🚨︎ report
Emacs standing alone on a Linux Kernel informatimago.com/linux/e…
πŸ‘︎ 75
πŸ’¬︎
πŸ‘€︎ u/unixbhaskar
πŸ“…︎ Jan 25 2022
🚨︎ report
Netz: emacs generic graph store

I spent a little time over the holidays playing around with a generic graph store for emacs. A lot of the stuff I've been interested in building lately is pretty graph-y. I think it could be nice to have a reusable store for graph like data in emacs. It would make it a lot easier for packages to interop and extend each other if there was a shared data structure underneath.

Anyway, this is the current, and very early, status of that idea. Would be interested to hear any feedback!

https://github.com/toshism/netz

πŸ‘︎ 63
πŸ’¬︎
πŸ‘€︎ u/wilbur-d
πŸ“…︎ Jan 10 2022
🚨︎ report
Replacing straight.el with Nix to manage emacs packages paretooptimaldev.github.i…
πŸ‘︎ 30
πŸ’¬︎
πŸ‘€︎ u/paretoOptimalDev
πŸ“…︎ Jan 23 2022
🚨︎ report
Me Grimlock KING and thats (dyed onto an Emac) TRUTH!! v.redd.it/yz9rv5qqh2d81
πŸ‘︎ 33
πŸ’¬︎
πŸ‘€︎ u/Disc-Cepticons
πŸ“…︎ Jan 21 2022
🚨︎ report
Find out a great emacs package for structural editing.
πŸ‘︎ 57
πŸ’¬︎
πŸ‘€︎ u/saarin
πŸ“…︎ Jan 23 2022
🚨︎ report
MOMACS: FINALLY A BEGINNER FRIENDLY EMACS

tl;dr: Opinionated, lightweight, modern, pewdiepie, asmr, modern, stable

https://github.com/progfolio/momacs

πŸ‘︎ 99
πŸ’¬︎
πŸ‘€︎ u/nv-elisp
πŸ“…︎ Dec 31 2021
🚨︎ report
How in the world do I setup C# in Doom Emacs?

Hey guys, im trying to setup C# with LSP in Doom Emacs but I don't see anywhere how exactly you set it up. I have the plugin installed but I can't seem to get it to run my cs files. I try to run csharp-mode-menu but it says I need to have it mount to an event with parameters.. but I have no idea what that means. Also can't find anywhere how I can compile my cs files too. Anyone know what Im missing?

--Edit--

I managed to get dap-mode setup with (debugger +lsp) which enables dap-mode and the necessary integrations for lsp, (c# + lsp) which enables the C# language packages and lsp integrations and lsp for enabling LSP, but I have no idea how to setup the debugger for C#. I haven't been able to find much information for setting up the dap debugger for C#.

πŸ‘︎ 8
πŸ’¬︎
πŸ‘€︎ u/XNovaViperX
πŸ“…︎ Jan 27 2022
🚨︎ report
Eglot for better programming experience in Emacs (Python demo) youtube.com/watch?v=NQJBv…
πŸ‘︎ 27
πŸ’¬︎
πŸ‘€︎ u/whatacold
πŸ“…︎ Jan 22 2022
🚨︎ report
Configuring emacs the right way

Hi, I recently started using emacs and I'm coming from vscode (with vim emulation, I can't leave vim keybindings), and one of the things that are keeping me from going all-in with emacs, is the fact that there is no "clear" way to customize emacs and get what you want, or at least it's not clear to beginners.

For example, in vscode there is syntax highlighting for a huge amount of languages, and if I want more complete support for a specific language I can install an extension easy peasy from the extension tab, in emacs, on the other hand, I would have to search for a package, install it, learn what it can do and configure it. It's somewhat daunting for someone who is not an expert like me.

Do you guys have any advice on how to customize emacs in a simple yet efficient way (I know there are some pre-configured distros like doom or space, I still have to look into those)? My aim is to be able to add whatever feature to my emacs config easily because I want it to be feature rich.

In the end, emacs seems to be a really powerful tool compared to vscode (which I think is already pretty powerful), but it's not clear *how* you should use it...

πŸ‘︎ 29
πŸ’¬︎
πŸ‘€︎ u/Dumb-Ptr
πŸ“…︎ Jan 13 2022
🚨︎ report
eMac before and after
πŸ‘︎ 97
πŸ’¬︎
πŸ‘€︎ u/Microharley
πŸ“…︎ Jan 16 2022
🚨︎ report
The Basics of Emacs Configuration youtu.be/OaF-N-FuGtc
πŸ‘︎ 37
πŸ’¬︎
πŸ‘€︎ u/daviwil
πŸ“…︎ Jan 31 2022
🚨︎ report
emacs - automation don't need to look pretty wandersoncferreira.github…
πŸ‘︎ 71
πŸ’¬︎
πŸ‘€︎ u/bartuka
πŸ“…︎ Jan 12 2022
🚨︎ report
A succinct cheat sheet for newbie linux coders and system administrators, documenting some of the more obscure and useful gems of linux lore. Intended to be viewed in emacs org-mode, or VimOrganizer, though any text editor will suffice. github.com/kevinthew/linu…
πŸ‘︎ 129
πŸ’¬︎
πŸ‘€︎ u/speckz
πŸ“…︎ Jan 05 2022
🚨︎ report
Enime: watch anime using emacs

https://github.com/xl666/enime

Hello everyone, this is my first Emacs package, a just for fun project I created for improving my elisp knowledge. Used it at your own risk.

Enime is a sort-of elisp re-implementation of ani-cli using the same video scrapping methods but featuring a transient based TUI, because, subjectively, transient is a better UI than a CLI.

πŸ‘︎ 55
πŸ’¬︎
πŸ‘€︎ u/artema666
πŸ“…︎ Jan 17 2022
🚨︎ report
Swapping Ctrl and Caps Lock only for emacs? On linux.

Perhaps I misunderstood. But it seems the usual implementation of this common suggestion is to switch it everywhere.

Is there a way to do it only for emacs? Do other non-GNU Emacs emacs has an option to switch it within the software?

I use Arch btw.

edit: Disabling caps lock probably makes more sense than swapping them. The often mentioned: setxkbmap -option ctrl:nocaps. Instead of the swapcaps option.

πŸ‘︎ 11
πŸ’¬︎
πŸ‘€︎ u/resixzem
πŸ“…︎ Jan 27 2022
🚨︎ report
Why Emacs uses the word yank for paste?

According to the Merriam-Webster dictionary, the word is more suited for copy/cut (like in vi/vim) than paste (Emacs).

Does anybody knows or have references for why this specific word was chosen?
Is this some mistake carried through times?

πŸ‘︎ 56
πŸ’¬︎
πŸ‘€︎ u/mwzx
πŸ“…︎ Dec 27 2021
🚨︎ report
What emacs to install on Macbook Air 2017, MacOS 11.6? I'm completely new to MacOS and emacs. Want to learn emacs+orgmode.

Probably just easiest to install and use and learn, not necessarily my forever distro. I come from the windows world if that means anything.

πŸ‘︎ 8
πŸ’¬︎
πŸ‘€︎ u/TooflessSnek
πŸ“…︎ Jan 25 2022
🚨︎ report
GNU Emacs: A multimedia editor

https://preview.redd.it/qar10n1s28e81.png?width=1290&format=png&auto=webp&s=b30bd2dc14daecd9ae18c196c09000dab7a56220

Ever wondered - what if multimedia editing were as simple as text manipulation? Simple cut, copy and paste operations. Thanks to VLC and FFMPEG, now you can use GNU Emacs for simple multimedia editing tasks.

Video: https://youtu.be/F6HSf5D6TtA

Code:

https://gitlab.com/atamariya/emacs/-/blob/dev/src/xwidget.c

https://gitlab.com/atamariya/emacs/-/blob/dev/lisp/xwidget.el

https://gitlab.com/atamariya/emacs/-/blob/dev/lisp/media.el

Details: https://lifeofpenguin.blogspot.com/2022/01/gnu-emacs-multimedia-editor.html

πŸ‘︎ 55
πŸ’¬︎
πŸ‘€︎ u/atamariya
πŸ“…︎ Jan 27 2022
🚨︎ report
How Do You Deploy Your Dotfiles With Emacs?

I've been in a mood to re-think my dotfile setup and deployment method.

Typically, I just use my 'dotfiles' repo, and pull it down to a ~/home/(username)/hub folder, and then use 'GNU Stow' to just stow each folder with:

stow -t ~ (name of dotfile folder)

I wish I knew how to do this recursively, since its a bit tedious, but I do like how stow works in relation to dotfiles since I can't find anything just as useful.

Also, I use a one-way mindset meaning only one single computer has access to changing dotfiles so I don't mess anything up locally and have to go through git hell to figure out branches or to nuke, etc.

Main Question:

  • What is everyone using to deploy dotfiles with?
  • Do you do it through Emacs via Org Mode and babel?

Would be curious to see everyone's setup.

Thanks.

πŸ‘︎ 13
πŸ’¬︎
πŸ‘€︎ u/BackToPlebbit69
πŸ“…︎ Jan 16 2022
🚨︎ report
Fixed Pitch Mode: Use a proportional typeface globally while keeping a monospaced typeface for code in Emacs. github.com/cstby/fixed-pi…
πŸ‘︎ 70
πŸ’¬︎
πŸ‘€︎ u/cstby
πŸ“…︎ Jan 06 2022
🚨︎ report
Learn Nothing from Emacs's History -- Rebind Default Keys [OC] twitter.com/zckzck/status…
πŸ‘︎ 16
πŸ’¬︎
πŸ‘€︎ u/zck
πŸ“…︎ Jan 20 2022
🚨︎ report
Live Stream - Building the World's WORST Emacs Config (Jan 14, 4PM UTC) youtu.be/L4NaIUqx8fw
πŸ‘︎ 32
πŸ’¬︎
πŸ‘€︎ u/daviwil
πŸ“…︎ Jan 13 2022
🚨︎ report
telega.el - GNU Emacs telegram client github.com/zevlg/telega.e…
πŸ‘︎ 59
πŸ’¬︎
πŸ‘€︎ u/binaryfor
πŸ“…︎ Jan 18 2022
🚨︎ report
Improving shell in emacs

Hello,

Rather recently, I am getting into integrating emacs shell into my workflow. I found that shell works best for me. I tried e-shell but it did not render very well (am I missing something here).

I would like to improve my shell experience and I was hoping for some help on that front. Specifically.

  • Using, something like ls in my default shell color codes the directories and files. But shell in emacs doesn't do that. (I am using zsh shell default.)

  • The shell quotes every command. So typing ls will first print ls then the output. I will like to avoid that.

  • Somewhat asinine of me, but I tried to invoke nano in side emacs shell. But then I couldn't terminate the process and had to kill the shell. Is there a way around it?

  • Is it advisable to run tmux in the shell?

Thank you very much for your time and any suggestions towards shell customization is welcome!

πŸ‘︎ 8
πŸ’¬︎
πŸ‘€︎ u/omeow
πŸ“…︎ Jan 24 2022
🚨︎ report
Why does Google hate Emacs ?
πŸ‘︎ 565
πŸ’¬︎
πŸ‘€︎ u/B4ldur_
πŸ“…︎ Dec 02 2021
🚨︎ report
How can I get the novice programmers I coach to adopt Emacs?

I have often been in the position of giving advice to a novice programmer on what text editor to adopt for their day-to-day programming. Needless to say, I always recommend Emacs.

I estimate that I have given such recommendation to 30-40 people over the years.

AFAIK, my success rate so far is 0.00%. ^(1)

I would like to improve this abysmal success rate.^(2)

Hence I would like to ask those of you who resisted adopting Emacs at first, but ultimately did so, what took you so long? What were the barriers?

And to those who have a better success rate than 0.00% at getting others to adopt Emacs, what is your secret?

^(1) What is even more bewildering, some of these programmers, who ended up choosing a different editor, have later told me that they wished that they could do with their editors the things that I can do with Emacs. (To hear them say such things one would think that they had had to settle for a less powerful editor, because Emacs had not been an option for them, somehow.)

^(2) My motivation here is not mere proselitism. Some of the people in question are actually co-workers, and I just want them to be more productive. It pains me to see how unproductive they are on account of the editors they use.

πŸ‘︎ 36
πŸ’¬︎
πŸ‘€︎ u/knnjns
πŸ“…︎ Dec 24 2021
🚨︎ report
New Judges -$25 shipped or trades for pilots/emac judges - have more in various plastics as well
πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/WelshWizard7
πŸ“…︎ Jan 30 2022
🚨︎ report
EMACS undo makes me uneasy when using other Apps

Does any of you has the same problem? After having a redo/undo that retains every previous state , i am consntantly fearing when i need to use some app with only the basic redo undo (which a lot of times causes me a severe lost of work).

Why isn't this undo redo method more used in other apps.

πŸ‘︎ 18
πŸ’¬︎
πŸ‘€︎ u/ricostynha122
πŸ“…︎ Jan 19 2022
🚨︎ report
The GNU Emacs Calculator youtu.be/993dmoDdybs
πŸ‘︎ 56
πŸ’¬︎
πŸ‘€︎ u/kuzibro
πŸ“…︎ Jan 08 2022
🚨︎ report
How about setting up Emacs for rust development?

Hi!

I am new at Emacs and I want to use it for Rust development,as the title says, but I'm actually confused with so many options, I read a bit about rustic and it seems very cool, actually I use vscodium for rust because of the extensions that I need and some features (code completion,inline docs and type showing), after that I also want to freeze the package versions for some personal reasons =)

I just want those features that I already have in the vscodium, i love Emacs and the way that it's extensible! (sorry ,English is not my mother tongue).

Thank you guys!

πŸ‘︎ 12
πŸ’¬︎
πŸ‘€︎ u/Mycroft-l
πŸ“…︎ Jan 23 2022
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.