abo-abo / oremacs

My Emacs config
https://oremacs.com/
296 stars 33 forks source link

make profile does not produce overlays #3

Closed srustamo closed 8 years ago

srustamo commented 8 years ago

make profile in oremacs dir starts terminal emacs (GNU Emacs 24.5.1) but does not produce overlays with profile data. This error is shown in the messages: +: Wrong type argument: number-or-marker-p, nil

I assume I need to open the init.el file to show the overlays, or does this happen automatically? Opening the init.el file opens it read-only mode, no overlays are shown. Also I can't figure our why, C-h-k command (in fact, C-h sequence in general) does not work. I know there are rebindings of C-p to C-h, but pressing C-p gives C-h undefined message.

abo-abo commented 8 years ago

make profile in oremacs dir starts terminal emacs (GNU Emacs 24.5.1) but does not produce overlays with profile data. This error is shown in the messages: +: Wrong type argument: number-or-marker-p, nil

This error isn't present in emacs25. It also works fine for graphical emacs24.5.

I assume I need to open the init.el file to show the overlays, or does this happen automatically?

Probably some obscure bug. profile-dotemacs isn't actively developed, it's reasonable to assume that it doesn't work in some cases.

Also I can't figure our why, C-h-k command (in fact, C-h sequence in general) does not work. I know there are rebindings of C-p to C-h, but pressing C-p gives C-h undefined message.

C-p (which translates to C-h) is currently unbound. I get all help functions by pressing f1. It also works in the terminal, although I use the graphical Emacs 99% of the time.

abo-abo commented 8 years ago

You can comment out this in keys.el:

(global-set-key "\C-h" nil)

to make C-p be the help prefix.

srustamo commented 8 years ago

I'm curious, what is the expected behavior of the profile-dotemacs (i.e. when make profile is run)?

abo-abo commented 8 years ago

oremacs-make-profile

srustamo commented 8 years ago

Thanks. A quick look at emacs start-up switches did not help with ā€˜-lā€˜ switch.

What does it do? On Nov 26, 2015 1:36 PM, "Oleh Krehel" notifications@github.com wrote:

[image: oremacs-make-profile] https://cloud.githubusercontent.com/assets/2937359/11418556/2bba9e52-9421-11e5-93cc-caefb1a04eb1.png

ā€” Reply to this email directly or view it on GitHub https://github.com/abo-abo/oremacs/issues/3#issuecomment-159847719.

abo-abo commented 8 years ago

-l loads a file.