|
So, what completion engines are people running here that they are happy with? I've been using Helm (was: Anything) for more than a year now and am pretty content with it. I'm also still using auto-complete.el and Slime's own fuzzy completion (because ac-slime was slow as gently caress) and once I have consolidated the latter two into Helm it should all feel a little more consistent. The one thing I would like is for the Helm buffer to open in the biggest available other-window, but I haven't been able to write a correct elisp function for that. (Written on mobile so I can't be bothered to check for the correct names and provide URLs, sorry...)
|
# ¿ Jun 3, 2013 19:24 |
|
|
# ¿ May 13, 2024 16:24 |
|
This is cute, changing values with the mouse: http://nullprogram.com/blog/2013/06/07/ Although I've found (with playing with Unity lately and preferring haXe) that I'm much more of a 'code' person and less visually inclined than I thought.
|
# ¿ Jun 10, 2013 10:43 |
|
I've got a problem with for loops in eshell. If I do: code:
code:
Googling hasn't helped much, anyone got an idea?
|
# ¿ Jun 13, 2013 10:47 |
|
h_double posted:What happens if you leave out the 1> and 2> redirects? Does gnuplot STDOUT/STDERR report anything interesting? No, it just reports some default progress on the script. (BTW. Your cat example worked fine for me as well.) Oh well, nevermind. The case I needed it for at work is in the past now so it isn't really relevant anymore. I switched to using multi-term.
|
# ¿ Jun 24, 2013 08:01 |
|
aerique posted:The one thing I would like is for the Helm buffer to open in the biggest available other-window, but I haven't been able to write a correct elisp function for that. I managed to get this working. If anyone's interested I can put the code up on pastebin. I've been meaning to put my config on GitHub but for sharing purposes I don't really like the state my config is in.
|
# ¿ Jul 17, 2013 21:51 |
|
pgroce posted:I spent a ton of time a few months ago building a config with sensitive info (i.e., IP addresses, user names) in one file and the generic stuff in another, just so I could put it up on github or bitbucket or whatever. Still haven't done it. I've been tempted to redo my config in org-babel like Sacha Chua did: https://dl.dropboxusercontent.com/u/3968124/sacha-emacs.html (from: http://sachachua.com/blog/2012/06/literate-programming-emacs-configuration-file/) However, just separating the sensitive stuff from the other config options is something I should have done long ago and would give me immediate benefits.
|
# ¿ Jul 18, 2013 08:11 |
|
horse mans posted:EDIT: Oh hey I typed all this up and turns out we've already discussed per-machine configs in this thread. Not only that, my Sacha Chua emacs-org-config suggestion apparently came from this thread as well Those per-machine configs are nice though. I feel some config work coming up in the near future.
|
# ¿ Jul 18, 2013 13:07 |
|
h_double posted:The package works great except for one thing, I would like to be able to scroll back through my command history in the R console. You can also do "C-h m" (describe-mode) to see what keys are bound for the mode, maybe it's listed there.
|
# ¿ Sep 26, 2013 08:14 |
|
Opinion Haver posted:If I have some 'template' that looks like I'm not sure it is the easiest but YASnippet is a nice templating library that will be able to do this. http://ergoemacs.org/emacs/yasnippet_templates_howto.html Here's an example I made for xsl:choose: code:
code:
|
# ¿ Nov 26, 2013 10:02 |
|
I've got this for Python mode:code:
|
# ¿ May 22, 2014 10:57 |
|
I don't use a package manager for Emacs so take this for what it's worth.PlesantDilemma posted:I see both a yasnippet and sublime folder under .emacs.d/elpa/ should I delete those folders? You could start with just moving / renaming the folder and see how that goes. There's probably some init file somewhere loading those so Emacs will still complain it can't find sublime and yasnippet. I have no idea where the package manager stores its configuration but doing a code:
|
# ¿ Jul 1, 2014 10:49 |
|
PlesantDilemma posted:Hey, does anyone use keybindings other than M-w and C-w for copy/cut ? I don't like M-w for copy, but I don't know what other keybinding to use. I'm afraid I'll overwrite something useful that I just don't know about yet. Don't be afraid of that. Emacs is meant to be customized. I've been using a evil-mode for a couple of years now which gives me Vim-like behavior, before that I had extensive custom keybindings of my own. The last iteration of which converged to what is considered default for standard Windows and Linux apps. So C-z, C-x, C-c, C-v for undo, cut, copy and paste. C-a for selected all. C-PgUp and -PgDn for cycling through tabs, etc. etc. It was nice but I had used Vim in the past and preferred that. Before that I had really my own custom bindings which were pretty optimal and nice but too different from other apps which irked me.
|
# ¿ Jul 2, 2014 13:31 |
|
A reason to get familiar with the Emacs defaults would be that the Bash[1] shell uses them as well, but those can be rebound as too. [1] the readline library actually so the key bindings return in more apps
|
# ¿ Jul 2, 2014 18:10 |
|
Surprise T Rex posted:So I grabbed Emacs yesterday after getting frustrated with the poor state of Python Autocompletion in Sublime Text compared to C#'s IntelliSense in VS2013. I sort of came into it with the mindset of "Well I'll pick either Emacs or Vim to have a go at learning, and if I can't wrap my head around it then I'll give in and keep going with ST3." For Python completion I use Jedi (https://github.com/davidhalter/jedi) and for syntax checking I use Flycheck (https://github.com/flycheck/flycheck). Try out Jedi.el first. I personally use anaconda-mode because I use company-mode as my generic completer but I recall Jedi.el to be easier to setup initially. There's also a couple of all-in-one Python packages for Emacs. I tend not to like such solutions but to each his own: http://www.emacswiki.org/emacs/PythonProgrammingInEmacs#toc2 Surprise T Rex posted:Last night I felt like I might be about to give in, but I loaded it up at work today and just casually opened up my .emacs, took out the scroll and toolbars, saved it and had a look around the buffer menu and stuff, without needing to think too much. It's... not easy, I guess, just not quite as incomprehensible as I first thought it might be. Yeah, like others already said gently caress that poo poo. I don't use hjkl in Vim much either: touch typists ain't got swag. Seriously, maybe it's because I did a lot of swimming when I was younger but the homerow, touch typist position has always felt very cramped when I tried it. I keep my hands floating at the sides of the keyboard near WASD and the arrow keys so I have no problem using the arrow keys and Ins / Del / Home / End / PgUp / PgDn.
|
# ¿ Sep 17, 2014 20:08 |
|
fidel sarcastro posted:I keep an Exuberant Ctags file in my .git directories that's updated with Git hooks on commit/checkout. Vim would automatically pick that up thanks to some magic in the Fugitive plugin and use it for navigation and completion. Is there any way to have Emacs automatically grab it? (I've already updated the Git hook to generate an Emacs compatible tags file, and selecting it manually works). I think I've seen a page on the EmacsWiki about updating tags on saving the buffer but I haven't used it myself (yet, I've been meaning to). Ah, here. Not quite what I thought it was but hopefully some inspiration for your first elisp project ;-) http://www.emacswiki.org/emacs/GnuGlobal#toc3 fidel sarcastro posted:In Vim I had the tab key remapped to send tab if the cursor was beside a line beginning or whitespace character, and call a completion function otherwise. Should that be possible to duplicate? Yes, there's a couple of solutions. Check this page which seems to have grown since the last time I checked it: http://www.emacswiki.org/emacs/TabCompletion I've used Smart Tab for a while but thought it too complex for what it was supposed to do. For now I'm using my own solution (pasted below) but perhaps I should check out the new entries on that page. code:
|
# ¿ Sep 22, 2014 08:23 |
|
horse mans posted:The Emacs Stackoverflow is in beta, which is good. It seems to only be restricted to the people who voted for it, which is goddamned loving retarded. If there's questions you want asked on there you can ask them through me. It's mostly about traffic currently to get the from beta to official.
|
# ¿ Sep 24, 2014 10:57 |
|
horse mans posted:Exactly. So why wouldn't they open it up to everyone in order to increase chances the traffic reaches that point? I have no clue. I was just offering a way to add to the traffic if you want the site to become official.
|
# ¿ Sep 24, 2014 13:27 |
|
I've put my own Emacs theme online which is a little bit different from most themes: the point is not so much to highlight every syntax under the sun, but use the highlighting to partition the source in easily scannable pieces: https://github.com/aerique/emacs-theme-aerique I've always found themes that highlight too much, distracting and to not offer much above no syntax highlighting at all. Not too mention the colors are often too intense. So the theme just highlights the usual suspects like comments and strings (which are often a source of errors when not closed). It isn't really ready for public consumption yet though since it has an issue: it needs to be loaded twice. This is probably due to the theme inheriting from its own definitions. Does anyone have an elegant solution to this without putting variable names for custom colors in the global namespace?
|
# ¿ Oct 16, 2014 13:44 |
|
tak posted:the recommended way of doing both ido and helm is to globally enable helm and add ido wherever you prefer it. Anyone use both? Is it worth sticking with ido in general? I don't really see the point of using both. I used ido + smex for quite a while before helm got on the radar and I switched to the latter two years ago.
|
# ¿ Nov 7, 2014 13:02 |
|
midnightclimax posted:Anyone using mu4e as the standard mail client? Worth checking out/not worth the hassle? I have used it at work in the past and really like it. Nimble and configurable. Definitely worth checking out. Have been planning to set it up again when there's a slow Friday afternoon at work.
|
# ¿ Jan 15, 2015 15:39 |
|
midnightclimax posted:How does it compare to mutt? Similar scope of abilities or more basic? The base install is more basic than mutt, but mutt doesn't have Emacs behind it. Mu4e's approach to mail is also different from mutt, see the mu mail tools.
|
# ¿ Jan 15, 2015 21:24 |
|
midnightclimax posted:I'm currently playing around with Icicles, which makes me wonder, are there any libraries that you would consider essential? You might want to check out helm before investing too much time in Icicles.
|
# ¿ Feb 11, 2015 15:48 |
|
duck hunt posted:Is the process the same for adding similar functionality for other languages, or is Python special because, well, its Python and everyone loves it? It different for each language.
|
# ¿ Feb 13, 2015 22:18 |
|
MALE SHOEGAZE posted:OK so, I'm about 4 days into using evil and I like it but it feels like the model I use to manage buffers doesn't really work with emacs. You're not necessarily doing anything wrong, you just need to adapt Emacs to your preferences. I also use (alt-)up/down/left/right to navigate splits, I've also got a key bound to quickly switch back to the previous buffer and I have customized the "display-buffer-alist" variable (check what it does using "C-h v" or "M-x describe-variable"). The latter makes sure specific buffers open where and how I want them to. I'll paste the code below but it's not really for public consumption: it has never been run by anyone but myself. code:
|
# ¿ Apr 23, 2015 10:37 |
|
Phobeste posted:Emacs python-mode [...] More-or-less, but no solution. I also use the default Python mode, with FlyCheck and company-anaconda for autocompletion. Turning off FlyCheck seems to alleviate the slowdowns somewhat but I'm actually not sure whether it's just an illusion. Not really a helpful reply but at least you now known you're not alone out there. Perhaps try out another Python mode?
|
# ¿ Apr 23, 2015 13:58 |
|
eschaton posted:Let's say you start using a new mode because you're learning a new language or something. Among other things it'll have its set of key bindings to learn. They'll probably build on existing emacs bindings. I've rarely found this to be an issue. The bindings that come with modes are almost universally crap just like the default Emacs bindings are and you'll never use all the bindings that come with a mode anyway. Just "C-h m" and bind the ones you need to something useful.
|
# ¿ May 11, 2015 06:27 |
|
Well, I guess there's one advantage to not using the Emacs package manager.
|
# ¿ Jun 25, 2015 22:22 |
|
Dessert Rose posted:With vim keybindings, C-] also exits insert mode. I rarely use esc for it. That's the only downside to being a Lisp hippy and switching the brackets and the parens: no C-] :-(
|
# ¿ Jul 19, 2015 23:47 |
|
Why not mention Spacemacs as well as a batteries-included Emacs? Perhaps for people looking to decide between Vim and Emacs.
|
# ¿ Dec 14, 2015 13:21 |
|
duck monster posted:When I use Ctl-3 to split the window, whenever I click the right window it kind of flips out and pulls some sort of menu completion thingo down the bottom Maybe a screenshot if you get no reactions? It doesn't sound familiar to me.
|
# ¿ Jan 30, 2016 23:31 |
|
|
# ¿ May 13, 2024 16:24 |
|
mike12345 posted:Is there a way to cycle through the places where you changed a file, after you've closed and reopened it? Basically I press a button and it keeps jumping to the positions I edited last time. The smart-rear end answer would be diff-hl and its diff-hl-next-hunk and diff-hl-previous-hunk commands. Seriously, I'm not aware of a package that keeps this state around although it might not be too hard to add it to goto-last-change.
|
# ¿ Feb 29, 2016 10:16 |