Skip to main content
dodgethesteamroller's user avatar
dodgethesteamroller's user avatar
dodgethesteamroller's user avatar
dodgethesteamroller
  • Member for 10 years, 1 month
  • Last seen more than 9 years ago
awarded
awarded
awarded
comment
The old "how to fold XML" question
+1000. This answer saved my sanity. I love nxml-mode but was switching constantly between it and a dedicated XML editor just for the latter's tag-folding support. I wonder, though, if it'd be possible to implement this functionality using the same library as dirtree.el, which supports fold/unfold with the mouse and line-drawing of the tree structure in GUI Emacsen?
answered
Loading…
comment
mu4e overwrites minibuffer output when switching buffers
@lawlist Did you ever get a chance to work on this further? I'm interested in solving the same problem.
comment
How to make yasnippet and company work nicer?
@zsquare I don't use magit (I know, I'm nuts) so I can't test this to be sure, but it sounds like magit's keymap for TAB, which binds it to magit-section-toggle, is conflicting with the line (global-set-key [tab] 'tab-indent-or-complete) above. A quick and dirty fix would be to add a check at the beginning of the function tab-indent-or-complete above to see whether we're in magit mode, e.g. for a global variable that gets set on magit-mode-hook.
comment
Company backend for words inside the buffer
It's not a company backend, but you can get this behavior easily by turning on HippieExpand mode and integrating it with Company by adding company-complete to hippie-expand-try-functions-list.
comment
How do I use a remote virtual environment with emacs?
This is disappointing. Like a lot of devs these days, I write code on my Mac, but run it in various virtual Linux machines via Vagrant, both to keep the environment clean and avoid polluting OS X with lots of dependency cruft. It'd be really nice for Elpy (and tools like it, e.g. robe for Ruby, or irony-mode for C++, for that matter) to support that use case.
comment
Regex match literal string
regexp-quote has the nice alternate use of escaping special characters in a string properly for use when a function expects a regexp in "Emacs form"--e.g. if you can't remember how many backslashes to use to escape a literal backslash, just run it through regexp-quote in the scratch buffer or ielm.
comment
tramp-default-method-alist unbound at startup?
Wonderful, thank you! For anyone else who finds this answer helpful, here's a direct link to the Tramp User Guide.
awarded
comment
tramp-default-method-alist unbound at startup?
Well, that was embarrassing. I didn't realize TRAMP wasn't loaded by default. (Is there a way I could have known?)
accepted
Loading…
comment
undo tree in spacemacs
This GitHub issue thread suggests that this was a known issue for a while, but the bug was fixed. Can you pull the latest version of undo-tree.el from MELPA, or failing that, straight from GH, and see if it goes away?
awarded
revised
Enable Emacs to suggest the available methods of a class
Added the `C++` and `completion` tags.
Loading…
Loading…