You are not logged in.

#1 2013-09-17 02:49:01

Agent69
Member
Registered: 2006-05-26
Posts: 193

Emacs On Arch (Help Shortcut Question) - FIXED

I recently started learning Emacs on Debian Wheezy and now that I am using it on Arch. I have noticed a keybinding difference that I have a question about.

On Debian, if I want the built-in tutorial, I could hit Ctrl-h and then "t". On Arch, Ctrl-h just beeps at me. For whatever reason, the Arch version of Emacs seems to have help set up only to use the F1 key, so it is F1 and then "t".

Does anyone know why the key bindings would be different on Debian and Arch? I've done some Googling and both methods (Ctrl-H and F1) are referenced everywhere.

Last edited by Agent69 (2013-09-20 01:23:48)

Offline

#2 2013-09-17 02:56:53

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Emacs On Arch (Help Shortcut Question) - FIXED

I would imagine that the debain setting is something that they have either configured or added to their setup.  The Arch package is really just configured with a few switches that tell where the files should be installed (ie. --prefix=/usr) and it explicitly enables gtk3 and xft.  Otherwise it is just a vanilla configuration.

There is also the possibility that it is a version difference.  I would have to imagine that our version is far newer than anything that debian is shipping.

Offline

#3 2013-09-17 03:08:16

Agent69
Member
Registered: 2006-05-26
Posts: 193

Re: Emacs On Arch (Help Shortcut Question) - FIXED

Debian Wheezy is at 23.4 and Arch is using 24.3.

Offline

#4 2013-09-17 03:35:14

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Emacs On Arch (Help Shortcut Question) - FIXED

Okay… so did you look into how the package is built? Are there patches or any modifications made to a default configuration file? 

Since Arch uses a vanilla build, I am going to have to guess that the change comes from the debian side.  Since these are the Arch forums, I think you would have better luck asking the debian people/forums/IRC/etc.

Offline

#5 2013-09-17 04:30:46

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: Emacs On Arch (Help Shortcut Question) - FIXED

I have not used Debian, but I would guess they have a default emacs configuration file that non-standard (meaning not GNU).  As an intermediate emacs user, I can only suggest you start building and polishing your own configuration file.  I find that I cannot use emacs without my personal configuration.  I keep that configuration on a thumb drive on my (physical) key ring.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#6 2013-09-17 04:44:41

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Emacs On Arch (Help Shortcut Question) - FIXED

ewaller wrote:

I keep that configuration on a thumb drive on my (physical) key ring.

Everytime I try to keep a thumb drive on my keys, it gets borked to shit.  I even managed to get one of those ones with no moving parts that are supposed to be shock proof and spill proof to break.  I'm not sure how I manager this.


Edit: 's/proof/resistant/g'

Last edited by WonderWoofy (2013-09-17 04:45:10)

Offline

#7 2013-09-17 04:51:56

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: Emacs On Arch (Help Shortcut Question) - FIXED

I have recently started learning Emacs. On my system C-h t opens the tutorial as it should.

Offline

#8 2013-09-17 06:36:46

jakobcreutzfeldt
Member
Registered: 2011-05-12
Posts: 1,042

Re: Emacs On Arch (Help Shortcut Question) - FIXED

What window manager/desktop environment are you using? Perhaps it's stealing the C-h key combo.  Otherwise, try running emacs --no-init-file and see if it works then; if it does, there's an init file somewhere that's preventing it from working.

Offline

#9 2013-09-17 10:36:00

Agent69
Member
Registered: 2006-05-26
Posts: 193

Re: Emacs On Arch (Help Shortcut Question) - FIXED

Thanks everybody. I am getting ready to go to work but I will give your suggestions a try when I get back home.

Offline

#10 2013-09-18 00:50:12

Agent69
Member
Registered: 2006-05-26
Posts: 193

Re: Emacs On Arch (Help Shortcut Question) - FIXED

Okay, I checked at the terminal and Emacs' Ctrl-H works just fine there. As a test, I installed Urxvt and it works properly there was well. Whatever it is, it seems confined to Xterm.

Last edited by Agent69 (2013-09-18 00:50:38)

Offline

#11 2013-09-20 01:23:01

Agent69
Member
Registered: 2006-05-26
Posts: 193

Re: Emacs On Arch (Help Shortcut Question) - FIXED

Okay, I had some time to go some Googling and found something that will get Emacs working the way I expect, I am just not sure why. Using the command:

stty erase ^?

will get my Emacs working correctly, with help once against working with Ctrl-h. The change can also be made by adding

XTerm*backarrowKey: false

to .Xdefaults. I don't claim to understand how it fixes it, but it does.

Last edited by Agent69 (2013-09-20 01:24:56)

Offline

Board footer

Powered by FluxBB