Alt key not working in emacs

Ctrl works fine with nano…

That’s what i said! but the Alt & Windows keys don’t, one of these 2 keys is suppose to act as a Meta key.

you can use ESC-x and works like Alt-x

2 Likes

I think Terminal currently does not forward the alt key to console applications, and keeps it for its own usage (menu shortcuts).

Sorry to necro this thread, but I found that if you set “Use left option as meta key” in the terminal settings you can use the Win key (ugh) as Alt.

Thank you for all of the suggestions.

3 Likes

Maybe it’s working soon. Looks like there is official support for Haiku since a few days back.

http://git.savannah.gnu.org/gitweb/?p=emacs.git;a=commit;h=85a078e7853d708e599f97a3de06aed3a1c090ea

Is this someone from our community or is it done by someone in the Emacs team?

2 Likes

The new Haiku support is looking great, just need ./configure --with-be-app and you’re good to go!

screenshot1

Doesn’t work with alt-key by default, and captures app server keybindings (like zoom). Maybe a nice config could allow passthrough for some?

EDIT: Nevermind, it uses B_NO_SERVER_SIDE_WINDOW_MODIFIERS, there’d need to be a patch.

3 Likes

Why is the scrollbar in the left side? And what is that rectangular shape beside it which looks like a second scrollbar?

Even is it is a native UI it looks really alien to me.

2 Likes

Emacs is alien (its good with spacemacs addition though) :slight_smile:

Maybe reach out to the emacs team?

Welcome to Emacs Country :smiley:

WOW. This month is full of good news for me:

  1. SBCL Common Lisp get some improvements recently and is on its way to be packaged.
  2. Emacs GUI is sort of available in Haiku
  3. Tk is available.

Now, I would like to play with Emacs + SLIME/SLY + SBCL + LTK + Tk to write GUI in Common Lisp.

But Haiku wasn’t really meant for running obscure fragments from a past which should have been already forgotten (like unix), or does it?

If this refers to Emacs, it is not. Emacs is under active development presently. Its user interface actually looks alien in any modern OS, even in Linux. But this is not because of being outdated. As @konrad already mentioned, perhaps Spacemacs port of Emacs would look more naturally. However, it anyway depends on Emacs availability.

I meant specifically and generally in the same time. Emacs is just a superb example.

Supporting and running those programs simply elongates the vegetation / dying of those systems, theories, concepts and solutions. Basically you keep the past on life support with this, influencing generations and infecting other operating systems which promotes change for the sake of change. Which is basically the normal way of life.

I understand the point “But i can/want.” and “You can’t eliminate the unixy past from any modern OSs.” But exactly this way of thinking what made the desktop computing so terrible as we see nowadays. Do we really have to pretend nothing wrong with it and it is even useful to continue maintain this thought-school? While the linux-advocates telling everybody who not want to learn unix is simply lazy, they are unable/unwilling to learn anything different since the '70s. What does tell this about the scene?

Maybe some don’t like how emacs looks, but it’s nice to have another project offering Haiku support.

3 Likes

I am not sure I fully understand your point, but it seems I disagree with you.

I am not for keeping things “because I can/want”, neither because “You can’t eliminate the unixy past from any modern OSes”. Neither I agree with “changes for the sake of changes”.

Actually Emacs was born way before Linux. It never was default Unix text editor, nor is it default text editor in any OS I am aware of.

The point of Emacs, which keeps it relevant and actual for present day computing is its features, its niche still uncovered by any existing software. As an example, you can consider Eclipse IDE for Java / C++ / Web (and many other domains) programming. However, with almost each new release of Java, Eclipse needs a new release to support the language new features. In Emacs very same is achieved by installable packages (even not plugins), so you can use the same version of Emacs to efficiently program in new standards of C++ / Java / Web / etc.

1 Like

Or the section where you explained it got features.

Something being under development doesn’t say anything about it usefulness for the mankind. Something rooted in the way past, originates from a different OS, written in lisp not necessarily good thing to support. Even if some people cannot imagine to work with something else, see the long standing ideology war between the vim and emacs users.

Is the program as is fits in the worldview in the Haiku ecosystem or is it just an alien thing? If the answer is negative, it should been replaced with something else. For the sake of change, because it is 2021, and the '70s are over. Even if some people deny this.

I would counter-argue: how much of the problems for which emacs provides solution resulted from the thought-school which resulted emacs?

I will probably stop this polemic with this post.

You can take a look at Emacs release history to draw the conclusion.

Emacs is not about ideology. Rather it is about features. Nobody tries to convince that Emacs should be used instead of (place your preferred editor here).

When e.g. Atom will have half of these features, your argument would hold. When Spacemacs would keep its development as active as Emacs, the GUI / OS integration probably would be resolved. But today Emacs has something to offer, that no other software has. In case these features are demanded, Emacs is still necessary. And today, November 22, 2021 the features of Emacs are demanded by a large community of users.

It is a bit older than me.

Most of the problems for which the CS/informatics still actively seeks solutions (and finds sadly subideal ones) are simply traceable back to the real unix world. Those features you mentioned (or just said emacs got them) are made to overcome with the fact that OS they picked and stand with needed them to write an another OS camouflaged as an editor.

I mean release frequency in context of pretended “outdated software”.

This is really the point of Emacs, like it or not. Many people find it useful.

But the features of Emacs are not limited to (neither primarily targeting) Unix world problems. I mentioned one example of programming in C++ / Java / Web. Obviously, none of them were available in initial Unix.

I will not list here the features I like and use in Emacs, which are not present in other IDEs. Just mention I have an impression your point is: “I don’t know what Emacs has to offer, but anyway, it should be dead”. This position is purely ideological, not technical. And I strongly disagree with this.

3 Likes

I don’t see other projects supporting Haiku as a bad thing. You don’t like emacs? Don’t use it. Done.

After all this complaining about nothing, I’m going to give GUI emacs a spin on Haiku, just because.

7 Likes