Kendall Shaw ks...@kendallshaw.com writes:
[...]
I spent years with the beginnings of carpal tunnel syndrome and tried
all sorts of changes, including using both hands. But, finally, I
started using viper mode (vi key bindings) and I have had no carpal
tunnel symptoms for 10 years.
+1.
I
On 5/1/2013 5:46 PM, James Thornton wrote:
...
Before I realized my bad habit, I would contort my left hand to hit
Ctrl Alt x -- this feels awkward and if you do it enough times over
the years the repetitive stress builds up. A better way is to use both
hands. This may seem obvious to those
Devin Walters writes:
Voicing strong disagreement with using emacs-live as a starting
point. One reason: They rebind a bunch of default emacs bindings,
which is just fine by me, but C-h to a newcomer is important, and IIRC
they rebound it.
I think Phil's emacs-starter-kit modules/packages
I agree with you, but personally found that the starter-kit wasn't as divergent
from the norm as emacs-live and didn't have as many strong opinions. My big
complaint is really just the rebinding of C-h. It's important for newcomers to
be able to use that to learn about bindings and so on that
After a year and a half of use, I still don't know anything about C-h, I've
gotten by for a year or so on 'M-x describe-bindings' and more ad-hoc
methods of finding stuff out.
On Thu, May 2, 2013 at 1:29 PM, Devin Walters dev...@gmail.com wrote:
I agree with you, but personally found that the
So a few months after using emacs, I gotta say I love it. First I
absolutely hated it with a passion, and it really highlights my (fast but)
poor typing skills :). Like Clojure I guess it requires a very different
mindset. My constant frustration now is deciding whether to spend the time
My constant frustration now is deciding whether to spend the time
improving my emacs skills (at the level of mainly implementing keybindings)
or improving my lein and Clojure skills.
One skill can help bootstrapping the other :) clojure.core/trampoline style.
Thanks for sharing your
The biggest 'ah - got it' for me was when I realised IDEs are great for
navigating huge object models which are relatively narrow but deep (i.e. lots
of nested relationships). This requires a special set of navigation skills
(cntrl-click to go to declaration, autocompletion etc). Clojure
Without static typing, I guess grep is the best?
On 1 May 2013 12:13, Ulises ulises.cerv...@gmail.com wrote:
The biggest 'ah - got it' for me was when I realised IDEs are great for
navigating huge object models which are relatively narrow but deep (i.e.
lots of nested relationships). This
I think such a feature is available in common lisp's slime. It shouldn't be
hard to implement in clojure, particularly considering how helpful
namespaces are.
one would miss calls through eval etc, but that happens in statically-typed
langs too (think reflection).
On Wed, May 1, 2013 at 1:36 PM,
Because it's part of slime is why I was wondering whether it was
already there and I had just missed it.
grep will do for now I suppose.
On 1 May 2013 12:44, Víctor M. Valenzuela v...@vemv.net wrote:
I think such a feature is available in common lisp's slime. It shouldn't be
hard to implement
Ulises writes:
Because it's part of slime is why I was wondering whether it was
already there and I had just missed it.
IIRC the implementation in swank-clojure is basically just grep that
works inside jar files; it gives you lots of false positives when
functions have the same name.
It
Here's a key Emacs tip that will reduce your stress and make the key
combinations easier, but it may not be obvious when you're first starting
out...
When you're learning something new, it's easy for bad form to go unnoticed
unless someone points it out -- this is true in golf, tennis, Emacs,
Being left handed, I slightly disagree about your left hand (I'm left handed
most of
the time :) however the stress of repetive movements is often overlooked.
15 years ago, I started to use my left hand to control the mouse.
My trunk had started leaning toward the right after a few years of
On Wednesday, May 1, 2013 9:44:11 PM UTC-4, Luc wrote:
I will eventually get back to it but reading your comment made me realize
that I should
wait when I can find emacs support for pedals much like an organ or a
piano :)
They've got pedals at https://www.kinesis-ergo.com/ which I
I may try their Savant Elite product :))) Three pedals !
On Wednesday, May 1, 2013 9:44:11 PM UTC-4, Luc wrote:
I will eventually get back to it but reading your comment made me realize
that I should
wait when I can find emacs support for pedals much like an organ or a
piano :)
Voicing strong disagreement with using emacs-live as a starting point. One
reason: They rebind a bunch of default emacs bindings, which is just fine by
me, but C-h to a newcomer is important, and IIRC they rebound it.
I think Phil's emacs-starter-kit modules/packages are a better place to
Phillip - thanks, that works nicely. (I had gotten it working by
downloading sr-speedbar.el manually and editing it, but I prefer to stick
with the packaged version if possible, less for me to remember)
- Korny
On 25 January 2013 00:38, Phillip Lord phillip.l...@newcastle.ac.uk wrote:
Actually, that still didn't seem to work. After a bit of fiddling, I found
that if I install sr-speedbar from melpa, it spits out a couple of
warnings, thinks it is installed, but I don't get any sr-speedbar commands.
Strange.
I'll stick to just downloading the package from
+1 for ECB. Especially alexott's work. I have been using ecb for over a
year now and I can assure you it's totally awesome. Nothing beats it in
emacs when it comes to exploring source code directory structure. you need
it. With eshell integrated to switch automatically to your working
make-local-hook has been deprecated for a while now and has now been
removed. In general, you can just ignore it and everything will work
correctly. So:
(defalias 'make-local-hook 'ignore)
before you load anything should solve this problem. Whether any other
problems remain, I don't know.
On 17 January 2013 17:26, Sean Corfield seancorfi...@gmail.com wrote:
Error: Symbol's function definition is void: make-local-hook
bump - anyone know a workaround for this - I was interested in sr-speedbar,
especially for editing over an ssh session, but it doesn't seem to work
with emacs 24?
I've been using projectile for project-level commands, and found it quite
good - it autodetects project root from things like .git directories, and
then gives you commands like open file in project, search in project
etc.
- Korny
--
Sent from my geek device... Spelling mistakes can be blamed on
Hi all,
After 15 off years of using IDEs I am making the jump into Emacs. I have
read http://dev.clojure.org/display/doc/Getting+Started+with+Emacs
and https://github.com/technomancy/emacs-starter-kit and I am just at the
point where I have stopped yelling at paredit and starting to
you can install autocomplete package (available via package.el on
MELPA) - it will provide dictionary based name completion for JS
On Wed, Jan 16, 2013 at 3:29 PM, Colin Yates colin.ya...@gmail.com wrote:
Hi all,
After 15 off years of using IDEs I am making the jump into Emacs. I have
read
On Jan 16, 2013, at 7:29 AM, Colin Yates colin.ya...@gmail.com wrote:
Hi all,
After 15 off years of using IDEs I am making the jump into Emacs. I have
read http://dev.clojure.org/display/doc/Getting+Started+with+Emacs and
https://github.com/technomancy/emacs-starter-kit and I am just at
Thanks Alex.
Charlie - I hear you. You are right to (very gently) point out that I
should embrace new idioms. Boy it is hard though :). I have to say that I
too found it much less of a shock then I thought. I am very familiar with
Linux and shell scripts so I had that skillset already which I
emacs-live is a pretty great starting point. It's the
'whole-kitchen-sink', but it's great for finding out what you don't
know.
emacs-rocks videos are good (and short)
I also put off learning it until late last year, and I'm not
completely converted. I *love* it and would be very unhappy if I
I missed the project explorer at first, until I figured out that I can
C-x C-f and just start typing, and emacs will fuzzy match what I might
be looking for, including files in directories other than current.
This function is contributed by some package and is not the default, at
least
On Jan 16, 2013, at 8:29 AM, Marko Topolnik marko.topol...@gmail.com wrote:
I missed the project explorer at first, until I figured out that I can
C-x C-f and just start typing, and emacs will fuzzy match what I might
be looking for, including files in directories other than current.
Hi:
I use Everything http://www.emacswiki.org/emacs/Everything to find
files in project. Just type a part of the name, all files filter by your
typing listed for you to choose from. Something like Eclipse's
Ctrl +Shift + R (or Command + Shift + R on mac) . But you need some time
to
Regarding the explorer, I keep several frames open (a frame is the
word that Emacs uses for window -- I keep several windows open) and
in one of those windows I'll keep my bookmarks (a bookmark is an alias
you can use in Emacs to jump to any location in any file).
But I also feel that Emacs is
Just a few things, you might find interesting
* anything/helm: http://www.emacswiki.org/Anything
* speedbar (used that in my early years; got rid of it eventually)
* mtorus: http://www.emacswiki.org/emacs/MTorus (shameless self-plug)
* M-. on functions
* M-x ffap
* iswitchb-buffer (just keep the
I'm starting off with 24, so not sure what was default in 23… but C-x C-f
in 24 lets you fuzzy match to a particular directory, then type a file
name. The minibuffer alerts you to the fact that there's no match, but you
simply hit return, then return again to confirm, and the new file is
Thanks all. LightTable does look awesome and I haven't invested enough
time to fully get to grips with it yet, but I am not sure it would be an
upgrade for me (wow - I am really going with the flame bait today!).
Coming from IntelliJ, which is a pretty fantastic general (i.e. Java,
scala,
Great! emacs is my favorite editor, I used it for many years now except for
Java dev because I'm too lazy to configure intelli-sens... In the following
there is all I *use* in emacs and which make you ready to use emacs - as I
am - daily.
I use emacs 24 and the following only needs a vanilla
Thanks a bunch.
On 16 Jan 2013 16:34, Amirouche Boubekki amirouche.boube...@gmail.com
wrote:
Great! emacs is my favorite editor, I used it for many years now except
for Java dev because I'm too lazy to configure intelli-sens... In the
following there is all I *use* in emacs and which make you
On Wed, Jan 16, 2013 at 7:38 AM, Charlie Griefer
charlie.grie...@gmail.com wrote:
I'm starting off with 24, so not sure what was default in 23… but C-x C-f in
24 lets you fuzzy match to a particular directory, then type a file name.
And if you've typed a new filename and it still tries to match
Colin Yates writes:
So my questions:
- is there a decent project explorer. I really miss the tree on the
left, editor on the right layout
Personally I believe this is an antipattern; IMO you should only see the
file structure it is relevant rather than the speedbar style of having
it
- is there a decent project explorer. I really miss the tree on the
left, editor on the right layout
Emacs is my favorite editor. But it is not perfect. My thoughts from my 8
years of using it are:
1. It is very customizable, as it builds on Elisp. After you learned some
Elisp programming
On Wed, Jan 16, 2013 at 8:33 AM, Amirouche Boubekki
amirouche.boube...@gmail.com wrote:
- is there a decent project explorer. I really miss the tree on the
left, editor on the right layout
speedbar: «C-X speedbar»
M-x speedbar - but that looks very interesting, thank you! It's kinda
funky in
On Wed, Jan 16, 2013 at 10:38 AM, Phil Hagelberg p...@hagelb.org wrote:
Of course the best solution is simply not to work on large projects and
break your codebase up into manageable units where you can keep the
project structure in your head, but I understand this isn't always
within your
ECB is another option. It shows the directory tree, methods/functions,
altered files (waiting to be saved) etc.
I get the sense that people avoid ECB but I've always used because it had
IDE-like functionality that I missed.
Configuring it can be a bit difficult but IMO worth it. I preferred
just want to say, that ECB that works with fresh Emacs/CEDET is
available from my repo: https://github.com/alexott/ecb
On Wed, Jan 16, 2013 at 7:32 PM, localredhead levi.str...@gmail.com wrote:
ECB is another option. It shows the directory tree, methods/functions,
altered files (waiting to be
There's a MELPA package (use `M-x package-list-packages') called
sr-speedbar that displays the speedbar in the same frame you are already
working in. I just stick sr-speedbar-toggle on F11 and call it a day. YMMV.
On Wednesday, January 16, 2013 1:45:35 PM UTC-5, Sean Corfield wrote:
On Wed,
Alex - I recognized your name in this thread but couldn't pinpoint
how/where. You just reminded me that I'm using your ECB fork. Thanks for
pulling that together :)
On Wednesday, January 16, 2013 11:14:11 AM UTC-8, Alex Ott wrote:
just want to say, that ECB that works with fresh Emacs/CEDET
+1 sr-speedbar for NERDTree like functionality. Normal speedbar being a
different window always bothered me.
sr-speedbar + find-files-in-project is a pretty powerful combo.
On Wednesday, January 16, 2013 12:50:59 PM UTC-8, Gary Johnson wrote:
There's a MELPA package (use `M-x
sr-speedbar seems to depend on the CL package being present? Not sure
I want to have that installed... I seem to recall cautions from
several folks about that...?
Sean
On Wed, Jan 16, 2013 at 2:51 PM, localredhead levi.str...@gmail.com wrote:
+1 sr-speedbar for NERDTree like functionality.
As a long time Eclipse user who dabbles with Clojure using CCW, I'd love to
hear your experience of emacs after you get used to it. Would you consider
writing up a blog entry?
On Wednesday, January 16, 2013 6:29:36 AM UTC-8, Colin Yates wrote:
Hi all,
After 15 off years of using IDEs I am
The traditional project explorer / directory tree I use is dirtree:
https://github.com/zkim/emacs-dirtree - with a couple of tweaks I found it
to be very useful.
It is based on tree-mode. There are other available file browser plugins
based on it.
--
You received this message because you are
On Jan 16, 2013 6:50 PM, Sean Corfield seancorfi...@gmail.com wrote:
sr-speedbar seems to depend on the CL package being present? Not sure
I want to have that installed... I seem to recall cautions from
several folks about that...?
cl.el ships with emacs and is widely used. Writing elisp
On Wed, Jan 16, 2013 at 8:34 PM, Phil Hagelberg p...@hagelb.org wrote:
cl.el ships with emacs and is widely used.
OK, so I shouldn't worry about this warning when I install a package then?
Warning: cl package required at runtime
I've seen that a couple of times and assumed it meant cl was not
Another thing, that I want to mention, that some work for support of
Clojure in CEDET already started:
- there is lein project type for EDE, that automatically recognizes
lein projects, and uses lein to fetch classpath information, that can
be used for name completion (after parser will be
i completely agree about adding update to core. i've added it my utils
library and i use it all the time.
here's a slightly different implementation of update that takes a variable
number of args (like update-in).
(defn update
Update value in map where f is a function that takes the old
The functions get-in, assoc-in, update-in are really useful. Just
wanted to share a thoughts.
user= (def m {:a {:b {:c 10 :c1 20} :b1 90} :a1 100})
#'user/m
1. Lets see the behavior of these functions in the corner case of
empty keyseq:
user= (get-in m [])
{:a {:b {:c 10, :c1 20}, :b1 90}, :a1
One thing I've argued for in the past, but got no traction:
We have:
get-in, get
assoc-in, assoc
update-in, ?
Let's add update to go with update-in.
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
On Wed, Dec 15, 2010 at 12:12 AM, Mark Engelberg
mark.engelb...@gmail.com wrote:
One thing I've argued for in the past, but got no traction:
We have:
get-in, get
assoc-in, assoc
update-in, ?
Let's add update to go with update-in.
Let's give them absolutely no excuse like we don't have time
On Dec 14, 8:52 pm, ka sancha...@gmail.com wrote:
user= (get-in m [])
{:a {:b {:c 10, :c1 20}, :b1 90}, :a1 100}
This seems strange to me. I would expect Clojure to return nil, as
there is no key in there that is nil. Assuming that an empty vector is
the same as asking for a nil key, that is.
On Dec 15, 6:12 am, Mark Engelberg mark.engelb...@gmail.com wrote:
One thing I've argued for in the past, but got no traction:
We have:
get-in, get
assoc-in, assoc
update-in, ?
Let's add update to go with update-in.
update should really be in there. I always try to write update then i
of avoiding that?
Could the aset-* and aget family was not special forms implemented using
their JVM bytecode counterparts. (dastore, in this example)
Is it something impossible to do? Or not a good idea? Or to be done later?
There have been some long threads about scientific programs in Clojure
realize that
it calls the set* method of java.reflect.Array.
Is there a way of avoiding that?
Could the aset-* and aget family was not special forms implemented using
their JVM bytecode counterparts. (dastore, in this example)
Is it something impossible to do? Or not a good idea
Thanks for the reply. It seems to speed up quite a bit the array of double.
I cannot manage to make it work for the array of booleans. Is there someting
different?
If aset and aget are faster, what is the goal of the aset-xxx?
Best,
Nicolas.
62 matches
Mail list logo