Today at work I had a file similar to the one on the right window (but much much larger). I had to put a sequential ID at the beginning. Just a few lines of #EmacsLisp, C-x C-e and got the 11MB done!
@llewelly @sachac The loop macro is a purely #CommonLisp thing which got ported to #EmacsLisp by means of its cl library. As such, loop is a (now obsolete) alias for cl-loop. In Emacs Lisp, it’s better to write cl-loop.
#GoogleBard was #somewhatHelpful. #TIL #EmacsLisp function file-truename. The #chatbot is mistaken about expand-filename, too (doesn't follow symlinks), but that's enough of me training this bot for one day. I know #AlphabetInc will continue to improve the bot. See #screenshot for my experience. #a21e (#numeronym for #artificialIntelligence) #emacs
#googlebard #somewhathelpful #TIL #emacslisp #chatbot #alphabetinc #screenshot #a21e #numeronym #artificialintelligence #emacs
I have quite a lot more followers than I did when I first wrote my introduction, so it’s only fair that I’m writing a new one, bump up the major version.
#introduction #intro #introductions
Hi! o/
I am Ștefan (ș as sh, I also accept Stephan or the equivalent in your language). I’m 21 years old, ♑, he/him, proud #leftist and soon to graduate CS @ UVABc. Sort of proudly living in #romania. My native language is Romanian, fairly proficient at English, slowly learning #finnish (and #italian).
Tried a lot of programming languages in my childhood up until now, a non-chronological list of ones that stuck with me for one reason or another being: VB6 (that’s what I started on at 8 years old), #pascal (+ #freepascal and #delphi), #perl (+ #raku), #tcl #tcltk, #lisp (usually #scheme, on a good day #elisp #emacslisp and #commonlisp), #elixir, #php, #forth, #lua, #oberon, #modula-2, #cpp #c++, #ocaml, #fsharp, #smalltalk (+ #squeak #pharo #self), #ada, #powershell, #dart, #matlab, #rlang, #zig, #nim, #cobol and #julia. I don’t claim full proficiency in all of these, but I’m familiar enough with these (+ some others not mentioned here) that I could get along just fine with 2 weeks at most of studying and looking through cookbooks and examples). I’m flexible in learning new languages and technologies if needed.
I also do #sudoku and #math for fun (especially functional equations and number theory problems, sometimes calculus and geometric algebra). I am interested in #linguists, #conlangs (#lojban and #esperanto) and #nlp, contemporary (post-‘45, usually post-‘89 for me) history, #balkan history, lower-level stuff (I like to learn about how tools around me work, I’m most interested in #compilers, #emulators and #microcontrollers), #typography and #latex, #linux + #bsd, #msdos, #amiga, #oberon, #plan9, #philosophy, #astronomy (especially in a worldbuilding context) and #philosophy, along with other less notable interests.
I engage in #politics relatively often irl, although I’m not inserting it in absolutely every scenario in my life. As I mentioned, I’m a #leftist and #progressive (or… um… #woke) (Nazis and fascists can have a merry fuck off, DNI with me). I am also a spiritual person, a #deist (if you really want to put it that way, an agnostic, although it’s not quite true) and I find #astrology and #tarot interesting (I’ll let you guess my moon and ascendant, let’s see how close you are).
With that being said, I hope I’m welcome here, you can pick your subset of things that interest you from this list, you have plenty of options. :P Quite a bit longer than last time, but oh well…
#introduction #intro #introductions #leftist #romania #finnish #italian #pascal #delphi #tcltk #elisp #freepascal #perl #elixir #php #forth #modula #fsharp #smalltalk #squeak #pharo #self #amiga #plan9 #philosophy #astronomy #politics #progressive #woke #tarot #tcl #lisp #scheme #raku #emacslisp #commonlisp #lua #oberon #cpp #c #ocaml #ada #powershell #dart #matlab #rlang #zig #nim #cobol #julia #sudoku #math #linguists #conlangs #lojban #esperanto #nlp #balkan #compilers #emulators #microcontrollers #typography #latex #linux #bsd #msdos #deist #astrology
So... installed org-jira for #emacs, was able to view and add comments, yay! But can't actually update the ticket because it has a name for reporter, but to update it requires a numeric id, apparently due to EU privacy regs. Maybe it's time to start learning #emacslisp... Or I could open a bug report...
Small yet neat thing to convert #Hartree energy units into #ElectronVolt in my #emacs #calc workflow for #MaterialsScience users.
https://alejandrogallo.github.io/blog/posts/converting-energy-into-hartree-in-emacs/
#hartree #electronvolt #emacs #calc #materialsscience #quantumchemistry #emacslisp #emacscalc
what's some good emacs lisp out there to read to get modern emacs lisp style?
@AdamBishop If I compare it to the standard "out of the box" text editor that we have on macOS, it works extremely well with #XML files (finds errors, etc.) I use it all the time to check weird #TMX data for ex.
It's also not too bad at editing/authoring such XML files and so I used it to rewrite the #DocBook sources of OmegaT's manual for ex., for that, it comes with tag completion, syntax coloring, etc.
So, that's something I really could not do with that standard macOS text editor.
If I compare it with the defacto pro-editor on macOS (#BBEdit), it comes with less fun regex but everything I mentioned above stands.
But then, it comes with a really nice writing environment called "org-mode" (modes are basically #emacslisp applications within Emacs and do all sort of things that a bare bones text editor can't do). I use org-mode all the time to write. org-mode comes with something that "captures" notes so that you can just write down stuff that come to your mind and store that in a side "location" without losing your focus, and then you can reorganize all your stuff when you have time.
If you come from VI, you have a VI typing mode with all the VI shortcuts, if you come from Windows, you have something like that too.
Think of it as a lisp virtual machine that comes with an editor and a thousand applications that deal with textual data (but not only).
#xml #tmx #docbook #bbedit #emacslisp
@ross
Wow! (Here is the package on MELPA https://melpa.org/#/cats )
I am glad someone else went through the trouble to do this. I have been thinking about developing my own Haskell-like category theory constructs library for Emacs Lisp. Monads are so incredibly useful for automating text parsing and text generation, and so are a perfect fit for Emacs. But I have so many other things to work on.
Thanks, to Matus Goljer for creating this library
Also, thanks to @sachac for including this package in her newsletter!
#Emacs #Haskell #Ocaml #Fsharp #CategoryTheory #Programming #TextEditor #Lisp #EmacsLisp
#emacs #haskell #ocaml #fsharp #categorytheory #programming #texteditor #lisp #emacslisp
Dear Lispers of all dialects,
did you notice the keynote talks and speakers for the next ELS2023:
⭐ "Gradual, Multi-Lingual, and Teacher-Centric Programming Education" 🔸 Felienne Hermans 🔸 Vrije Universiteit Amsterdam, Nederlands
⭐ "Artificial Intelligence: a Problem of Plumbing?" 🔸 Gerald J. Sussman 🔸 MIT CSAIL, USA
🤩🤩
https://www.european-lisp-symposium.org/2023/index.html
@lisp @commonlisp @scheme @racket #lisp #commonlisp #emacslisp #racket #dylanlang #acl2 #scheme
🎉
#lisp #commonlisp #emacslisp #racket #dylanlang #acl2 #scheme
Dear Lispers of all dialects,
did you notice the keynote talks and speakers for the next ELS2023:
⭐ "Gradual, Multi-Lingual, and Teacher-Centric Programming Education" 🔸Felienne Hermans 🔸 Vrije Universiteit Amsterdam, Nederlands
⭐ Artificial Intelligence: a Problem of Plumbing? 🔸Gerald J. Sussman 🔸MIT CSAIL, USA
🤩
https://www.european-lisp-symposium.org/2023/index.html
@lisp @commonlisp @scheme @racket #lisp #commonlisp #emacslisp #racket #dylanlang #acl2 #scheme
🎉
#lisp #commonlisp #emacslisp #racket #dylanlang #acl2 #scheme
I shall one day bother to learn #Ada properly. For now, reading #EmacsLisp for a package I want to use...
@elb @hotkey @cwebber It is a bit unfortunate that #EmacsLisp doesn't have #BigNum support baked-in like #CommonLisp (and #Scheme, although I'm not sure if it's mandatory unlike CL).
edit: Nevermind, I'm completely wrong, most-positive-fixnum should've told me that much.
Elisp /does/ have bignums.
#emacslisp #bignum #commonlisp #scheme
@ericsfraga @dekkzz76 @screwtape It appears that yes.
Keywords is part of gnus-extra-headers
(gnus) Summary Score Commands -> https://www.gnu.org/software/emacs/manual/html_node/gnus/Summary-Score-Commands.html
The score file (https://www.gnu.org/software/emacs/manual/html_node/gnus/Score-File-Format.html) also supports arbitrary Elisp functions so... even if it didn't in the right way, that can be arranged.
#activitypub #emacs #emacslisp #gnus #lisp
昨日書いた emacs の buffer の active region として指定した文字列を MONOKAKIDO Dictionaries app に渡して調べてもらう command を改良して.region が active でないときには,キーワードの入力を促すようにした,例えば,M-x -D[return] 薔薇[return]で,「そうび」を #物書堂Dictionaries で調べることができる.
#emacslisp
#MacOS
#物書堂Dictionaries #emacslisp #macos
@Rasp Yeah that'd be fairly easy to setup in #EmacsLisp (if someone else hasn't done it already).
Just a text-properties change on short ranges.
Do you happen to use #Emacs?
@galdor Thanks for sharing that! I will definitely try it out soon! Does it have any compatibility with #EmacsLisp?
My ideal #TextEditor would be a lightweight #Emacs clone written in #Scheme, #Haskell, or #OCaml that includes a #REPL for Scheme/Haskell/Ocaml, and also a clone of the Emacs Lisp interpreter that is feature-complete enough to run some of the Emacs packages that I really like.
- There is The Yi editor written in Haskell, but it does not clone Emacs Lisp.
- There is also Edwin written in MIT Scheme, but it also does not clone Emacs Lisp.
- #Guile Scheme provides an Emacs Lisp interpreter but it is not feature complete enough to write run any legacy Emacs packages.
- I have not yet tried "Fork-Efuns" written in Ocaml though.
#emacslisp #texteditor #emacs #scheme #haskell #ocaml #repl #guile
@lodurel
1. #QBASIC 1991
2. #C / #CPlusPlus 94
3. #MSDOS Shell 95
4. #Python 2003
5. #Prolog 2004
6. #Java 2004
7. #Perl 2006
8. #Bash 2007
9. #Haskell 2008
10. #EmacsLisp 2017
11. #Scheme (Guile) 2019
I have also had a bit of experience with C#, PowerShell, SQL, Lua, Ruby, z80 assembler, MIPS assembler, 6802 assembler, and a few other random languages but not enough to call myself "proficient."
#qbasic #c #cplusplus #msdos #python #prolog #java #perl #bash #haskell #emacslisp #scheme
昨日書いた emacs の buffer の active region として指定した文字列を MONOKAKIDO Dictionaries app に渡して調べてもらう command を改良して.region が active でないときには,キーワードの入力を促すようにした,例えば,M-x -D[return] 薔薇[return]で,「そうび」を #物書堂Dictionaries で調べることができる.
#emacslisp
昨日書いた #emacs の command を改良した.region が active でないときには,キーワードの入力を促すようにした,例えば,M-x -D[return] 薔薇[return]で,「そうび」を #物書堂Dictionaries で調べることができる.
#emacslisp
#emacs #物書堂Dictionaries #emacslisp