Norman Ramsey
  • Member for 6 years, 4 months
  • Last seen this week
How can I write [0,1) in LaTeX mode without breaking indentation?
7 votes

Not an Emacs solution, but my LaTeX code writes such intervals as \halfopen{0}{1}, where \newcommand\halfopen[2]{\ensuremath{[#1,#2)}} This convention pushes the balancing issue to a place where it'...

View answer
How to set automatic indentation to move past numbers on first line?
1 votes

I customized variable adaptive-fill-regexp by adding 0-9. to the big character class. We'll see how it works out, but preliminary results look promising.

View answer
Why is initial frame sticky on launch? How can I stop it?
1 votes

It turns out that the sticky property was set in my saved desktop, and that executing (desktop-save-mode 1) was enough to turn it on. I solved the problem by using emacs -q to edit the desktop save ...

View answer
What determines key bindings in the Magit commit window?
Accepted answer
1 votes

Thanks to commenters, this is what I was able to learn: Some keybindings were set by an overeager after-change-major-mode-hook, which doubtless was a workaround for a legacy bug somewhere. (The ...

View answer
interactively edit emacs variable in buffer
0 votes

Go to the *scratch* buffer and create a template (setq var-name '...). Now type C-h v var-name. Use M-w to copy the value, then yank it into the *scratch* buffer, replacing the .... Edit to your ...

View answer
What are these prefix commands that start with s-l?
0 votes

If you have a Windows keyboard, the Windows key is the super key.

View answer
How to capture show-paren-mode region into the kill ring?
0 votes

Using the source, I came up with this function: (defun kill-ring-save-paren-overlay () "Save the current 'show-paren-mode' overlay into the kill rang" (interactive) (if (and (boundp 'show-...

View answer
Improving spell correction
0 votes

I've been having the same issue, but all I can do is explain the "strange decisions": you're getting the alternatives in alphabetical order. The only "better way" I've found is that once I know the ...

View answer