Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make profile does not produce overlays #3

Closed
srustamo opened this issue Nov 26, 2015 · 6 comments
Closed

make profile does not produce overlays #3

srustamo opened this issue Nov 26, 2015 · 6 comments

Comments

@srustamo
Copy link

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
Copy link
Owner

abo-abo commented Nov 26, 2015

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
Copy link
Owner

abo-abo commented Nov 26, 2015

You can comment out this in keys.el:

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

to make C-p be the help prefix.

@srustamo
Copy link
Author

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

@abo-abo
Copy link
Owner

abo-abo commented Nov 26, 2015

oremacs-make-profile

@srustamo
Copy link
Author

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
#3 (comment).

@abo-abo
Copy link
Owner

abo-abo commented Nov 26, 2015

-l loads a file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants