How to get C-x C-e to display the result in octal and hexadecimal by default?
问题 When I hit C-x C-e on a numeric expression a second time, the mini-buffer displays the result in octal and hexadecimal. This is documented here Is there a way to get the result in hex and octal on the first C-x C-e ? 回答1: You can get that behavior with this advice. Note, I made it also work for eval-print-last-sexp (aka C-j ). Just remove that from the list if you don't want that behavior. (defadvice eval-expression-print-format (around eepf-tweak-output activate) "tweak output when this