Live data from Hacker News

Emacs is special regarding UIs

lists.gnu.org

191–200 of 418 posts

Re: Emacs is special regarding UIs

#191
post #183

Earlier quoted context omitted.

https://github.com/emacs-evil/evil/blob/3f3b2fea87172f155e5f... It's defined in Evil (which Doom uses directly). Seems like you just need to figure out your bug.

Thanks for pointing this out, seems the "bug" is exclusively with org-mode, which is too bad because I don't usually need this feature outside of org-mode.

Works for me in my org-mode and evil but I'm not using Doom.

Fwiw use-package is pretty magic and reliable these days.

Re: Emacs is special regarding UIs

#192
post #165
post #158

Earlier quoted context omitted.

The happens to exist bit turns out to be very important. I can login to a machine and run an X client without installing and configuring extra software on the server. If I am using a desktop with X installed (most *ix based systems), there is no extra software to install and configure on that end either. The worse case scenario is the necessity to install an X server on platforms like macOS and Windows. The same sort…

> The same sort of thing can be said for Remote Desktop. If you're using a version of Windows that includes it, it is wonderful to use because it is just there. Doesn't every Windows include it? I can't remember the last time I used a version of Windows that didn't have it, it must have been 20 years ago.

As far as I can tell, only the client ships with "Home" versions. You need to be running Windows Professional or Windows Server for the actual server.

Re: Emacs is special regarding UIs

#193
post #171

Earlier quoted context omitted.

Honestly, getting going with emacs: $ sudo apt install emacs $ emacs From there it's learning some keystrokes. Payback? Almost immediate. And you can use it to work with Python, or any other language. After that, maybe reading a couple of howtos and installing a few add-on packages and customizing your configuration. Payback? Almost immediate. It's really productive.

> From there it's learning some keystrokes Learning Emacs is VERY clearly not this trivial... to use Emacs to any extent where it's more useful than it's competitors, you have to learn the models it works in, a new programming language- and then there are a LOT of keystrokes

I... uh... am almost in some sense ashamed to admit this, but I've been using emacs for about 23 years now, and I still don't program elisp. I can just about diagnose errors in my not-very-complicated .emacs with a bit of googling, and that's about it. I've read about it, and I understand the basics, but I know nothing about the APIs and have no experience in it past one-liners.

It probably is a good idea to learn it, in some sense, and you'll probably have to pick up at least the basics that I've picked up, but it's definitely not a commitment to learn a new language.

Re: Emacs is special regarding UIs

#194
post #62
post #11

One begins to understand the advantages of this approach after 10-15 years or so. I feel that I am constantly being forced into new "UI paradigms", and it isn't always a change for the better. I started with DOS (Norton Commander, anyone? to this day there is no comparable tool), then Windows 3.0 and 3.1 (which was mostly garbage and I did not enjoy the UI at all). I then started using Linux and discovered Emacs. Whe…

The shift away from X11 means no more forwarding X11 applications over ssh, which is slow at best and buggy and insecure at worst. A small price to pay for eliminating tearing and actually-secure screen locking. There are valid criticisms of the move to Wayland but I don’t really think this is one of them; if you really need remote access to graphical applications you almost certainly should not be using X forwarding…

Depending on how people work, it may be a very high price to pay.

And screen tearing? Didn't SGI have that solved in the 90's?

Re: Emacs is special regarding UIs

#195
post #156
post #46

Emacs is not a text editor, it's a platform independent VM which can run your scripts with a text UI. E.g. do you want keep an eye on some information which can be fetched from the net? You just write a script which regularly fetches the info and puts it into a buffer, so you can take a look at it anytime, and then regardless of platform you have that info readily available just by installing your own emacs config fi…

I don't know. People keep saying that Emacs can work nice in terminals, but there's a specific bot-macro in the #emacs channel on Freenode: : ,terminal fsbot [->] I heard terminals are [0] Terminals do weird thing to your keyboard input: http://catern.com/posts/terminal_quirks.html fsbot [1] Terminals have limitations compared to the graphical windows; it's advisable to use "graphical" Emacs unless one has a good rea…

As an evil mode user, the keyboard input thing doesn't really affect me. That lets me use emacs on the terminal when I'm away from my computer no problem.

Re: Emacs is special regarding UIs

#196

Earlier quoted context omitted.

Or Gnus. Sent from nnhackernews

There's also a pretty nifty dedicated hackernews-mode. Sent from `M-x hackernews`.

That mode is rubbish. You can't reply nor vote, requires manual syncing, and renders stories as links rather jumping directly to the story.

Re: Emacs is special regarding UIs

#197

Emacs and org-mode is frequently mentioned on HN as being awesome, but I don't feel like I could ever switch; I've got enough issues with vim already. For one, all the keyboard shortcuts and commands that you have to learn; I don't know if I have the capacity to learn all that anymore, not without deliberate practice, while in modern editors you can get by with keyboard + mouse and slowly learn some new shortcuts her…

Org mode is the only reason I use Emacs. Nothing comes close to Org mode. Actually, I'd say that I use Org mode, and I use Emacs only incidentally because Org mode requires it.

Because I used Org mode, for awhile I tried to switch my other text editing to Emacs. But without a good mode, it's not worth using Emacs. I do all my other text editing in Vim.

Re: Emacs is special regarding UIs

#198
post #62
post #11

One begins to understand the advantages of this approach after 10-15 years or so. I feel that I am constantly being forced into new "UI paradigms", and it isn't always a change for the better. I started with DOS (Norton Commander, anyone? to this day there is no comparable tool), then Windows 3.0 and 3.1 (which was mostly garbage and I did not enjoy the UI at all). I then started using Linux and discovered Emacs. Whe…

The shift away from X11 means no more forwarding X11 applications over ssh, which is slow at best and buggy and insecure at worst. A small price to pay for eliminating tearing and actually-secure screen locking. There are valid criticisms of the move to Wayland but I don’t really think this is one of them; if you really need remote access to graphical applications you almost certainly should not be using X forwarding…

> no more forwarding X11 applications over ssh, which is slow at best

It was "slow" when I did it over 10Base2 Ethernet spanning an entire building. These days our CPUs are several orders of magnitude faster, and so are our networks. I don't need it to play the latest 3D games, I need it to display a user interface to an app that runs on a different machine. It's plenty fast enough.

Re: Emacs is special regarding UIs

#199
post #163
post #158

Earlier quoted context omitted.

The happens to exist bit turns out to be very important. I can login to a machine and run an X client without installing and configuring extra software on the server. If I am using a desktop with X installed (most *ix based systems), there is no extra software to install and configure on that end either. The worse case scenario is the necessity to install an X server on platforms like macOS and Windows. The same sort…

Right, the shift away from X doesn't mean the death of using GUI apps remotely, it just means moving to a Remote Desktop model instead of telling apps that their render target is your X server through a tunnel.

Could you flesh this out a bit? What is the official Wayland model for doing "Remote Desktop"?

Re: Emacs is special regarding UIs

#200

This is somewhat oblique to the content of the post but "special" is about right. "Unnecessarily obtuse", particularly from a contemporary perspective, might be a less kind way to describe it. I could say the same about the documentation which, frankly, is not great at making you immediately productive. It's written like an academic treastise, not a tutorial for a piece of software that exists to help you get stuff d…

I think that tools like Emacs and Vim are aimed at people who recognize that very often over the next few decades of their careers they are going to have a need for powerful, complex, flexible text editing, and so even if they have no interest in learning the software for its own sake its worth putting in the up front effort because it will pay off later.

For a lot of tools, both in software and other fields, there are three different classes of user.

1. Those with fairly straightforward tasks that they just want to get done.

2. Those who mostly have staightforward tasks, but occasionally have something a bit more complex but not too complex.

3. Those that need to handle everything from simple to ridiculously complicated.

Take electrical testing tools for example. For a lot of people a simple battery tester is all they need (class #1). If you want to test a battery and have never used a battery tester before, it will either be obvious what to do, or a glance at the instructions will tell you.

Some people need a bit more on occasion, and for them we have a class #2 tool, the multimeter [1]. You can still pretty easily test a battery with one, but the first time you probably will have to spend a minute or two in the manual, learning what voltage setting you want (the V with the ~ over it, or the V with the dashed and non-dashed line over it?) and which holes to plug the probes into.

Some people need a lot more. They have a class #3 tool, the oscilloscope [2]. You can check a battery with an oscilloscope, but if it is your first time you are going to spend a lot of time in the manual before you get there.

Emacs and Vim are class #3 tools.

[1] https://en.wikipedia.org/wiki/Multimeter#/media/File:Fluke87...

[2] https://www.tequipment.net/Rigol/MSO1104Z-KIT/Mixed-Signal-O...

Post reply on HN