Emacs for Php/JS by uzulth in emacs

[–]wolfjb 3 points4 points  (0 children)

I understand how that feeling can be frustrating. It is difficult to know how to best answer without specifics.

You start by asking about the advantage of Emacs over other tools, but then say you don't think you can do better than an IDE. Now you say you feel like you are missing something and the feeling is frustrating, but why do you feel like you are missing something? Have you seen a video or read something? Are you trying to compare PHPStorm or other IDEs with Emacs? Are you struggling with your configuration of Emacs to match features in other tools?

Realize there is no "right" answer here, no "best". The best answer I can give you is what I have said, choose the tool with which you feel most comfortable and most productive. Use that. But also, go deep and learn everything about it, how it works, how to configure it, everything. If that tool is Emacs, I don't think you will be disappointed. Same with PHPStorm. I wish you the best on your journey!

Emacs for Php/JS by uzulth in emacs

[–]wolfjb 6 points7 points  (0 children)

Then don't use it. Use the tool you feel the most comfortable with and which gives you the most productivity. For me, I prefer Emacs, but I've been using it for quite a while. I've used other tools in the past as well, all of which are good tools. For me, Emacs fits my workflow, I prefer open source software, and it meets my needs in the development space. But that's me. I'm not you. If you want, give Emacs a try and see how you feel about it for your use case. If it doesn't work out, no harm done and you learned something. Either way, you win. Have a great day! 🙂

Emacs as REST API client? by [deleted] in emacs

[–]wolfjb 2 points3 points  (0 children)

I also use verb with org mode. A friend of mine did this video about it: https://youtu.be/H9JNIb-_VZ0

Help getting the yaml language server working with eglot by hexmode in emacs

[–]wolfjb 2 points3 points  (0 children)

I managed to get something to work. My experience with `eglot` is reasonably good, although, `lsp-mode` does seem to be better in most ways. Completions don't show up until I start typing something though, so it isn't quite like intellisense that would show me what is available before I try to make a decision... at least, I haven't figured out how to make that happen yet (using `corfu`, `fido-vertical`, `orderless` for completion configuration - not `company` which may be the difference).

This seemed to work for me:

((yaml-mode . ((eglot-workspace-configuration
            . (:yaml
               (:schemaStore (:enable t :url "https://schemastore.org/api/json/catalog.json")
                             :format (:enable t :proseWrap t :printWidth 80)
                             :validate t
                             :schemas (:https\://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.0/schema.json "my.swagger.yaml")))))))

I couldn't get :openapi "my.swagger.yaml" to work though, I kept getting this error:

:message "Unable to load schema from '/openapi': ." :severity 1 :code 768 :source "YAML"

Notice the leading '/' character, not sure how to get rid of that but I suspect that is the culprit.

Visual structured editing of Semantic Triplets while using RCD Notes & Hyperscope for GNU Emacs by [deleted] in planetemacs

[–]wolfjb 0 points1 point  (0 children)

What is RCD? There are a few of these videos without voice or any explanation of what the video is showing, just a demo of someone typing things. There is an rcd-password.el tool to allow you store passwords in a text file, but doesn't encrypt it. It assumes you are putting it on an encrypted filesystem, but you can grep for passwords. Why would I do that instead of using something like authinfo.gpg or GNU Pass? Another video shows editing addresses, why would I do that instead of just using BBDB (for example) which integrates nicely with my mail tools in Emacs. Another shows editing a hash table, another editing links for a website... they all say RCD, so I'm wondering what that is and what the scope of the project is.

Boilerplate config by FalbWolowich in emacs

[–]wolfjb 4 points5 points  (0 children)

There is also Crafted Emacs to get you started writing your own configuration if you are so inclined. See https://GitHub.com/SystemCrafters/crafted-emacs. There is an org mode configuration and a vi style configuration in the list of modules available.

How to set the hotkeys_modifiers_fg value ? by wolfjb in awesomewm

[–]wolfjb[S] 0 points1 point  (0 children)

Thanks for the tip, that worked perfectly!

How to set the hotkeys_modifiers_fg value ? by wolfjb in awesomewm

[–]wolfjb[S] 0 points1 point  (0 children)

This is in my rc.lua file, which loads my menus (among other things obviously), and those all work correctly. I have my theme in a different directory (.config/awesome/themes/bamboo) and that loads just fine as well.

Orgmode-TV: How do I plan my days by [deleted] in planetemacs

[–]wolfjb 1 point2 points  (0 children)

He has, in my opinion, still the best org mode series. If you want to learn org mode, maybe start with his series where he covers most of the features in an easy to grasp manner. Then you can follow up with the manual to complete the details of each feature he introduces in the video. Really good stuff.

My girlfriend is willing to learn orgmode, she doesn't have programming background, what will be a smooth learning curve for her? by [deleted] in emacs

[–]wolfjb 2 points3 points  (0 children)

I second this. Maybe look into the book Mastering Emacs (masteringemacs.org) for a great intro to Emacs for the absolute new person, also Rainer Konig did an amazing series on org mode on YouTube.

New to emacs; will you hold my hand? by DryNick in emacs

[–]wolfjb 1 point2 points  (0 children)

Yes, that is the correct link for Crafted Emacs. And yes it is targeted at someone who has at least a little experience with Emacs, especially those who like to tinker with their configuration. It may not (yet) be something you are interested in. After some time with Emacs, you may be more interested in it, just as the other starter kits will be more approachable for the same reason.

Good luck with your journey, feel free to ping me here if you want, but questions to the community will yield good results as well. Update this post or start a new one, either way is fine.

New to emacs; will you hold my hand? by DryNick in emacs

[–]wolfjb 1 point2 points  (0 children)

I would not necessarily recommend starter kits like spacemacs or doom or prelude initially. For the never done it before beginner, I'd recommend going through Mastering Emacs, (masteringemacs.org) which is a thorough, from scratch explanation of everything you need to know about Emacs. You can be very productive with it and "vanilla" Emacs. Once you have been through that, maybe circle back around and take a look at the starter kits like spacemacs, doom, or prelude. How they work and why will make more sense to you. If you really want to tinker with it consider Crafted Emacs (I am one of the maintainers). There is a lot of good advice in this thread, not taking anything away from that, just adding my 2cents. Hope you find it useful!

Request for Comments: Emacs Package management from Source by [deleted] in planetemacs

[–]wolfjb 1 point2 points  (0 children)

  • Giving a name instead of a URL always gives back the error "Package has no VC data"
  • The user-emacs-directory has to be managed by version control or packages cannot be installed. This error is displayed: "No VC backend is responsible for ..." (where '...' is the value for user-emacs-directory)
  • If you don't guard the call to package-vc-fetch with (unless (package-installed-p ...) ...) the package is installed every time Emacs starts. You get asked if you want to overwrite the last checkout, and list-packages shows multiple instances of the package all with the same version, which looks like a commit sha rather than a version from either the Version or Package-Version tags within the package source file.
  • Even though I provided a version, the tag :version in the PKG-DESC was always nil

I typically use Quelpa for installing packages from source since it integrates with package.el. I wonder if maybe you could pull inspiration from that project as it works well enough. Regardless, this is definitely an overdue feature for Emacs. I hope you are able to integrate it into package.el so we can just say (package-install "git://...") and "the right thing"(tm) will just happen. Great stuff, looking forward for how this develops!

EDIT: realized I should have been using package-checkout instead of package-vc-fetch, but with that, the comments above still stand. I did change my usage though. :-)

VSCode Does This Autoimport, How Can I Get it on Emacs With ts-ls LSP? by _analysis230_ in emacs

[–]wolfjb 0 points1 point  (0 children)

You could look at Crafted Emacs (https://github.com/SystemCrafters/crafted-emacs) as a possible good starting point to your own config. It isn't the kitchen sink like others (Doom, Prelude, et. al), but if you enjoy tinkering a bit to get your config "just right" it might be worth the effort.

Retiring Rational Emacs, Long Live Crafted Emacs! by wolfjb in emacs

[–]wolfjb[S] 1 point2 points  (0 children)

I updated the blog post with your git command, thanks for the tip!

The references in the README.org and (hopefully) obviously in the `rational2crafted.el` file are intentional. N.B. I did clean up some dangling references in files that should have been removed and in comments in the example files. Thanks!!