logs archiveIRC Archive / Freenode / #emacs / 2010 / June / 21 / 1
molqr
hello good ppl... the keychord for taking to point to beginning of the next line would be??
fsbot
Of course not!
fledermaus
C-e <right>
Dezs
C-a C-n ?
fledermaus
<down> C-a
it's all good.
molqr
Dezs, yes i use that but isn't there anything shorter
fledermaus, isn't using the arrow keys a bit inconvenient... i once saw somebody .emacs where the arrow keys were disabled for good discipline
Dezs
unless you bind a key to a function of your own, I don't think so
molqr
i see... thanks Dezs
Dezs
molqr: use the arrow keys if *you* fell confortable with them
         

molqr
Dezs, well i think i m at the RSI onset stage... so i m trying to avoid all those arrow keys and mouse as much as possible.. .. i do get your point though.. do what one feels comfortable with...
fledermaus
I've never understood the luddite anti arrow key jihad
madpickle-
fledermaus: if you touch type and use all ten fingers moving your hands off the home row will impact your speed.
molqr: don't forget to rebind caps lock to ctrl - it seriously cuts down on RSI
fledermaus
madpickle-: sounds like post-facto stalinisation of the truth to me.
madpickle-
fledermaus: well that's how it is for me; moving my hands to the arrow keys for such a common operations slows me down.
molqr
madpickle-, yes sir that is a lifesaver .. god knows how much i love it
fledermaus
but then some people _don't_ think the vi keys are the worst user interface in the history of mankind, so obviously tastes vary.
although I've always put that one down to stockholm syndrome.
technomancy
it's one thing to move your fingers off the home row, but moving down all the way to the arrow keys means moving your whole wrist
molqr
fledermaus, well personally i had nothing against the arrow keys before the RSI attacks... but keeping the mouse on the right hand side and moving to the right for the arrow keys puts a strain onmy right hand..
technomancy
plus they don't work under all terminal emulators, etc.
fledermaus
technomancy: I don't find is slows me down at all.
offby1
(Action) just realized he prefers C-w to Alt+F4 because it requires less movement
fledermaus
and the only termulators they don't work on tend to be shonky solaris refugees and the like, so not ones I care about.
madpickle-
molqr: (global-set-key (kbd "C-c C-n") '(lambda () (interactive) (forward-line) (back-to-indentation)))
technomancy
fledermaus: arrow keys break regularly under gnu screen over SSH with xterm for me.
fledermaus
I ssh with xterm all the time and they work.
technomancy
well, not for me personally, but for the guy I was pairing with who still used them
madpickle-
molqr: that will take you to the next line but also indent to the first character (useful for coding).
molqr
wow thanks madpickle-
fledermaus
technomancy: I'd lay money he had some cargo culted stty runes in his config that broke it, that he didn't understand.
         

madpickle-
molqr: replace (back-to-indentation) with (forward-line 0) and it will just go to the beginning of the line
molqr
madpickle-, if u don't mind may i have a look at your .emacs?
technomancy
it may have been just because it was a multiuser screen where I was on xterm and he was on konsole (or something)
madpickle-
molqr: i don't have *a* single file; i have about 10 files with all my stuff in it
technomancy
anyway, it's certainly not reliable
fledermaus
*shrig*
molqr
madpickle-, i see... have u put them on git or some other vcs?
fledermaus
I have yet to encounter a system other than solaris+vi where the arrow keys didn't work reliably for me
madpickle-
molqr: i've been thinking about making them public, but i keep private stuff in it like work details and such so i've resisted.
slocate
hi, anybody using emacs in OS X?
fledermaus
well, maybe HPUX, but @ doesn't work on HPUX, so that's not surprising
molqr
madpickle-, no worries .. thanks for the help :)
slocate
i myself use carbon emacs
kensanata
slocate: I compiled it from source.
slocate
kensanata which version?
kensanata
slocate: I got the sources via bzr.
madpickle-
kensanata lives life on the edge.
nak
does anyone use a javascript repl on emacs?
kensanata
madpickle-: Only for the software most dear to my heart.
technomancy
nak: try mozrepl
madpickle-
,yow
fsbot
Can you MAIL a BEAN CAKE?
xristos
anyone interested in testing my elisp mud client ? ;p
madpickle-
MUDs
that takes me back.
nak
xristos: mud client?
madpickle-
if you don't know what a mud client is, xristos' package is not of interest to you ;)
fledermaus
xristos: I already use my own.
but I'm happy to test at some point.
xristos
fledermaus: which is?
fledermaus
xristos: not released to anyone but me :)
xristos
oh
madpickle-
(Action) used zMud back in the day
xristos
ok ;p
damd
given a directory, how do i get its path relative to another directory?
fledermaus
damd: ?
damd
hm, how should i express this...
(file-name-relative-to "/etc/fstab" "/etc") ==> "fstab"
(file-name-relative-to "/etc/fstab" "/usr") ==> "/etc/fstab"
fledermaus
interpretative dance.
kensanata
damd: You need to write your own...
rryouumaa
damd: truename first
damd
truename?
rryouumaa
,df file-truename
fsbot
file-truename is a compiled Lisp function in `files.el'.
(file-truename FILENAME)
Return the truename of FILENAME, which should be absolute.
The truename of a file name is found by chasing symbolic links
both at the level of the file and at the level of the directories ..[Type ,more]
rryouumaa
something to know anyway
offby1
,df file-relative-name
fsbot
file-relative-name is a compiled Lisp function in `files.el'.
(file-relative-name FILENAME &optional DIRECTORY)
Convert FILENAME to be relative to DIRECTORY (default: `default-directory').
This function returns a relative file name which is equivalent to FILENAME ..[Type ,more]
offby1
,mohr
fsbot
A visit to a fresh place will bring strange work.
offby1
,moor
fsbot
offby1, I think ChrisMoore is at http://www.emacswiki.org/cgi-bin/wiki.pl?ChrisMoore
offby1
,mower
fsbot
Your step will soil many countries.
offby1
mas y mas y mas
nak
mozrepl doesn't seem to work very nicely
any other repl's for js for emacs?
damd
no, not really
offby1
(Action) watches the tumbleweeds skitter down Main St
emma
can you run node.js in emacs?
fledermaus
no?
damd
lol
nak
emma: looks like you can use mozrepl
i'm trying to configure my .emacs accordingly
emma: if you want, i can sahre
emma
nak: no no i only came in here to help you!
:)
I don't usually use emacs unless I have to :)
nak
well that's really kind of you then
signal(error ("Can't start MozRepl"))
error("Can't start MozRepl")
(condition-case err (progn (setq inferior-moz-buffer ...) (sleep-for 0 100) (with-current-buffer inferior-moz-buffer ... ...)) (file-error (with-output-to-tem$
inferior-moz-start-process()
this isn't good.
cluck
fledermaus: err.. i guess she can use a js repl, the new and fancy js modes seem to support those (though i confess i'm not too familiar with node.js' functionality)
fledermaus
hokay.
I would have assumed the answer was no, but if you know different..
cluck
fledermaus: nvm, i was thinking of other node.js, she probably means google's, right
path
/join #a2billing
eh
whops
offby1
ops!
johnw
yes?
fledermaus
hm?
rryouumaa
,g a2billing
fsbot
[google] http://www.asterisk2billing.org/cgi-bin/trac.cgi/wiki/Documentation
http://www.voip-info.org/wiki/view/A2Billing
rryouumaa
press 1 to spend a half hour in the phone system
press 2 to allow us to pretend that there is a human being and spend a half hour in the phone system
molqr
is there a plugin which automatically replaces a word with another.. for example if i would like vector to be changed to std::vector automatically
ggole
,abbrev
fsbot
ggole
Meh. Anyway, see the info page on abbrevs.
molqr
ggole, thanks :)
marioxcc`
hi
Ygnus
marioxcc`: Hello.
marioxcc`
hi Ygnus
i'm wondering if there is a striped-down version of emacs
without the advanced modes
to include, say, in a distribution installer or so
Ygnus
Sort of like Joe?
offby1
not of GNU emacs, no.
there are other programs that call themselves emacs, but ...
(Action) spits
Ygnus
I forget what they're called.
A lot of the ones I try to recall were hideous, however.
marioxcc`
hehe ok
Ygnus: no, Joe isn't emacs
i mean real emacs, just without the advanced lisp ppart
python mode, java mode, pike mode
things unlikely to use
Ygnus
marioxcc`: You might want to look at zile.
I thought Joe was an emacs fork ... hmm.
marioxcc`
ij
*ok
zile is loosey emacs
,zile
fsbot
zile is a nice and tiny emacs clone. http://zile.sourceforge.net/
offby1
marioxcc`: "real emacs, just without the advanced lisp part" is an oxymoron
marioxcc`
offby1: ohh, well
i mean
real emacs engine
nah, nevermind
i don't need it
just curiosity
rryouumaa
,pry
fsbot
pry -- You can pry my Lisp-based, GNU-elisp-codebase-containing Emacs out of my COLD DEAD HANDS.
marioxcc`
???
fsbot
Of course not!
marioxcc`
lol
fzn
Hey... tring to compile emacs, I get this error
c -Demacs -DHAVE_CONFIG_H -I. -I/nfs/emacs-19.34/src dispnew.c
"./buffer.h", line 365: compiler error: symbol table full
marioxcc`
fzn: stop
fzn
should I throw my compiler away? :)
offby1
fzn: what compiler?
marioxcc`
no
what are your compiler options?
offby1
I've never heard of that error, but it does sound like a limitation in the compiler.
fzn
the at/t cc that comes with A/UX r3.1
offby1
oh wow
fzn
It obviously is
offby1
how old is that?
marioxcc`
i tought you were to paste 20 lines full of script output, sorry
Ygnus
emacs-19.34 hmm.
fzn
early 90s
offby1
fzn: see if you can use it to build gcc :-|
marioxcc`
fzn: not sure
Ygnus
Closer to late 90's.
marioxcc`
but try to use GCC
ggole
fzn: awesome. Can you get hold of another cc?
fzn
I'm looking for a binary package of 19.28 that once was on jagubox...
I _could_ seriously try to compile the beast, but I'd rather not :)
offby1
It's surprisingly hard getting old emacsen to compile in the modern world.
Ygnus
Why are you using emacs-19.x again?
fzn
Just because I'm not fond of vi, and someone did manage to build 19.28 at some point
johnw
i loved 19.24, that was a great version
fzn
http://jagubox.gsfc.nasa.gov/aux/GNU_stuff/emacs19.28.aux.tar.gz <- this would have done the trick, I guess
johnw
i joined the insanity with 18, and it was OK, but 19 was sweet
« prev 1 2 3 4 5 6 7 8 next »