Python Shell in Emacs 24?

It seems like you only solved the python-mode issue. As to M-x-python-shell you can also get this by doing M-x-run-python. If it says directory not found its because the the python variable is not pointing to the correct path. So do C-h-f run-python then it will tell you that run-python’s value is python-shell-interpreter. So then … Read more

Setting Emacs 24 color theme from .emacs

Emacs 24 has built-in theming, which doesn’t use statements like (require ‘color-theme). As Drew points out in the comments, there are differences between color themes and custom themes, and the new direction is towards the latter. Try M-x customize-themes to take a look. From .emacs, you can do things like (load-theme ‘wombat t). But… It … Read more

Reading email (from gmail) in emacs 24

After trying many ways, I now use offlineimap to sync messages between my machine and the google server. Gnus then reads messages from the local machine. Postfix is used to send messages to the gmail smtp server. Virtues of this setup: reading/sending email does not involve waiting for servers while in gnus (fast), can read/send … Read more

Emacs 24 Package System Initialization Problems

It’s worth noting why Emacs defers the package initialization: See C-hig (emacs) Package Installation RET, and in particular: The reason automatic package loading occurs after loading the init file is that user options only receive their customized values after loading the init file, including user options which affect the packaging system. In some circumstances, you … Read more

How to save a list of all the installed packages in Emacs 24?

You can get a list of currently installed packages (excluding built in packages) from the variable package-activated-list. To automatically install them on startup, see this question: how to automatically install emacs packages by specifying a list of package names? More specifically, if you do C-h v package-activated-list, copy the value shown, and insert it as … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)