logs archiveIRC Archive / Freenode / #emacs / 2010 / April / 14 / 1
jordanb
rudybot: eval (+ 5 6)
Hondenbrokken
Which means I have to delete these manually by pressing C-k
ashawley
and then run C-X C-e it doesn't produce the result in the *Scheme* buffer?
rudybot
jordanb: error: with-limit: out of time
jlf
heh
jordanb
:P
Hondenbrokken
I make a new file by doing C-x C-f
ashawley
Hondenbrokken: yes.
Hondenbrokken
I enter (+ 5 6)
and now?
The file is name optellen.scm
or my buffer is called optellen.scm
         

ashawley
C-h w scheme-send-last-sexp
Hondenbrokken
I do C-x C-e and suddenly my result quickly flashes below and disappears.
It seems to send it to the right buffer this time.
ashawley
"right buffer"?
Hondenbrokken
It is shown outside the file which I was editing.
But it disappears to quickly.
It is shown below in *Completions*
ashawley
You need to run M-x repl from your opttellen.scm file
Hondenbrokken
But it still appends the Result as a command to my file.
Even if I enter M-x repl first
ashawley
I don't know how to explain it to you with Edwin in front of me, unfortunately.
Sounds like you're starting out with Scheme and won't need the debugger.
Just use Emacs with MIT/GNU Scheme
http://www.gnu.org/software/mit-scheme/documentation/mit-scheme-user/GNU-Emacs-Interface.html
Hondenbrokken
<ashawley> I don't know how to explain it to you with Edwin in front of me, unfortunately.
rryouumaa
(ot) what's a good free online storage site like box.com or dropbox or whatever, that allows ftp or other shell-script- (or emacs-) friendly backups?
Hondenbrokken
with or without???
fsbot
No
Hondenbrokken
with or without edwin in front of you?
jlf
Hondenbrokken: he's gone
Hondenbrokken
Oh, I see.
jordanb
I like it how the future of Europe is now tied to the Greeks stopping being lazy, corrupt fu*kups.
bremner
Could be worse, it could be tied to the US. Oh wait...
jordanb
The Greeks were lazy, corrupt fu*kups when the rest of us were digging grubs out of dung.
jochent
yay, i finally wrote a function in elisp that actually does what i want
jordanb
The government wants to insure nuclear projects.
Clean, safe, too cheap to meter!
shabble
rryouumaa: rsync.net is pretty good, afaik
         

rryouumaa
shabble: looks good, but not free
bremner
free, Free, good, pick any two.
lisppaste
bozhidar pasted "please, ignore this" at http://paste.lisp.org/display/97745
rryouumaa
just wanted something for a small amount of data that's gratis and also scriptable
want*
when i was using debian, i wrote a script that would package up something to be sent to gmail in various chunks. but i'm on a mac and hte required tools are too hard to get.
box.net seems like it might work, but i can't tell if it accepts ftp, and the web page itself doesn't work :)
johnw
what about Dropbox?
bremner
rryouumaa: you could use github, if you speak git
rryouumaa
johnw: looks like it requires you to dl a probably not open source binary or byte code blob?
johnw
rryouumaa: well, it is in Python
schmir
tarsnap is nice
rryouumaa
bremner: git is an interesting possibility, and i do have it, but it will be binary files, dunno if that's ok
shabble
schmir: also not free, afaik
schmir
yes, true
shabble
although it does look pretty interesting
johnw
git is fine with binary files
rryouumaa
johnw: well, i meant if i occasionally upload 10m binaries, if they'd be ok with that?
qDot_
It'll deal with it, yes. But you'll bring them with you every time you clone.
johnw
yeah, your clone would get big really fast
technoma`
checking in a binary file once is acceptable; checking in a binary file that's going to be updated in the future is terrible
rryouumaa
maybe i can, what's it called, rebase or edit or something to keep the repository small? or does github not allow that?
technoma`
you should be able to rebase
but you need to coordinate with anyone else working with that repo
rryouumaa
ok, then it might work
technoma`
rebasing in public without warning is considered rude
rryouumaa
technoma`: well, what i'm looking for is a place to store small binary backups of stuff. i don't mind trimming it to just the most recent backup. but it sounds like it would be using github for something it wasn't designed for.
shabble
gmail + fuse? :)
rryouumaa
i'm on a mac, else i'd use gmail + my old scripts
licoresse
noob question: When in eshell, how do I load a file(s) into a buffer?
johnw
find-file
shabble
rryouumaa: afaik gmailfs can work with macfuse
licoresse
johnw: excelent!
johnw
licoresse: Any Lisp functions works
you can start Gnus just by typing "gnus"
rryouumaa
shabble: hmm, was hoping for a script-only solution, but maybe i should look at macfuse then
jlf
there's also ,,s3fs
fsbot
Among the lucky, you are the chosen one.
jlf
erm
,s3fs is a FUSE-based file system backed by Amazon S3, see http://code.google.com/p/s3fs/
fsbot
created.
technoma`
johnw: I'm slowly getting my co-workers to see the eshell-light
the use of M-r to cycle through history is so much nicer than bash
there have been some issues with eshell/sudo and eshell/su interaction with tramp though
(Action) needs to get to the bottom of that and M-x report-emacs-bug
jlf
technoma`: how does it differ from C-r ?
(in bash)
shabble
looks like it takes a regex
technoma`
jlf: if you type mv M-r, it only cycles through history that matches what you've typed so far
vinhdizzo
I use elscreen and sometimes when dealing with multiple buffers from one screen, a window on another screen changes buffer. Does anyone know how to lock windows so that the buffer in that window remains constant?
technoma`
plus it just displays more cleanly
and it doesn't conflict with existing bindings
jlf
technoma`: hmm, i have in ~/.inputrc: "\e[A": history-search-backward ... "\e[B": history-search-forward ... which does as you describe

with arrow keys though
shabble
I'd rather have a single search-history than C-r/C-s in bash
but I'm not sure that's possible
technoma`
two problems with that: 0) they're arrow keys and 1) what on earth kind of key notation is that?
jlf
obviously you can bind them to whatever you like
technoma`
jlf: yeah, just pointing out how ridiculous bash is as a language
jlf
at least it's not csh!
shabble
also, what's really annoying is that there's no way to make readline isearch case insenstive
jlf
but yeah it has plenty of warts
shabble: are the maintainers unwilling to accept such a patch or has nobody submitted one?
legumbre
yes! I've been waiting this moment for months&
(Action) uses wdired, get drunk on emacs power
gets
jlf
legumbre: did the new phone books arrive?
legumbre
jlf: :)
rryouumaa
shabble: hmm, i think i will pass on macfuse, even thuough it looks great, because i'd want something i can run from anywhere, manually if necessary, without too much effort
tedddd`
[org-mode] my column view has huge fonts -- how can I make them smaller?
licoresse
Looking for an easy way to generate a list like '(1 2 3 4 5 6 .. 99)
legumbre
,df number-sequence
fsbot
number-sequence is a compiled Lisp function in `subr.el'.
(number-sequence FROM &optional TO INC)
Return a sequence of numbers from FROM to TO (both inclusive) as a list.
INC is the increment used between numbers in the sequence and defaults to 1. ..[Type ,more]
mjrosenb
is there any way of automatically setting the compilation buffer togo to the end automatically?
licoresse
legumbre: cool
mjrosenb
wait, to is optional?
jlf
mjrosenb: yeah, but if you don't supply it the function never returns
legumbre
licoresse: innit?
mjrosenb
jlf: how is it useful to have that be optional?
jlf
,(number-sequence 5)
fsbot
oops, Symbol's function definition is void: fs-number-sequence
jlf
eh... returns (5)
legumbre
let's lazily evaluate
shf10105
hey guys, i have just installed auctex, but it kinda doesnt get my custom macros(they are displayed in textcolor and cant be completed), i only added the two lines to .emacs that were suggested in the install howto.. thanks in advance
furthermore i couldnt figure out how to run pdflatex using c-c c-c
jelly-bean
which key combination is M-x ?
e1f
alt-x or esc-x
licoresse
what hook can I use to apply something to all buffers
jlf
that doesn't want to be a hook
licoresse
who/what wants then?
jlf
you probably want something like (dolist (buffer (buffer-list)) ...)
licoresse
ah, like mapcar all the buffers
no
I have this linum-thing that I want to turn off by default
jlf
,df global-linum-mode
fsbot
global-linum-mode is an interactive compiled Lisp function in
`linum.el'.
(global-linum-mode &optional ARG)
Toggle Linum mode in every possible buffer.
With prefix ARG, turn Global-Linum mode on if and only if ARG is positive.
Linum mode is enabled in all buffers where `linum-on' would do it. ..[Type ,more]
licoresse
I use something called clojure-mode, and even if I add an entry to the clojure-mode-hook, the thing is still on
easy peasy
ty
jlf
yw
zazaza
Hello!
I'd like to batch rename directories with regexp. First time I am using dired. I don't see how to deal with directories and regexp.
technomancy
zazaza: read up on wdired
zazaza
Ok, thank you. I didn't know wdired existed.
malsyned
So I have a bunch of stuff in my .emacs wrapped in (when window-system ...) calls. But now that you can start an emacs-server and then connect to it from the console, I constantly find myself in a console using settings I had only wanted for GUI frames. Anybody know of good ways around this?
cluck
,df default-frame-alist
fsbot
Oh sh**! Symbol's function definition is void: default-frame-alist
cluck
,dv default-frame-alist
fsbot
Alist of default values for frame creation.
These may be set in your init file, like this:
(setq default-frame-alist '((width . 80) (height . 55) (menu-bar-lines . 1)))
These override values given in window system configuration data,
including X Windows' defaults database. ..[Type ,more]
cluck
if that's not what you wanted try being a bit more specific
malsyned
cluck, I think what I'm looking for is a hook that runs when a frame is created where I can set frame-parameters contingent on the value of window-system.
jlf
,a frame.*hook
fsbot
2 matches. (before-make-frame-hook delete-frame-hook)
malsyned
I saw before-make-frame-hook, but I couldn't tell from the documentation whether window-system would be set. Further testing reveals that it will, however. So thanks
davelee
fu*k i swear i had 3 failures when i left work, now its 14
computer can tell i had no coffee yet
zazaza
@technomancy: I don't see how wdired allows me to use regexp...
technomancy
zazaza: make the dired buffer editable, then do M-x query-replace-regexp
zazaza
Aaahhhh! Giving it a try!
legumbre
there's also dired-do-rename-regexp
altough wdired is the awesomeness
(Action) 's life was never the same once he found out about wdired
malsyned
If I want a hook to run every time I create a new buffer (say, to turn on a minor mode), is `after-change-major-mode-hook' the right hook to use?
licoresse
I think so
malsyned
based on its current value, signs point to 'yes'.
I thought it was considered bad form to write code for inclusion in emacs that (require 'cl). But here I see that even simple.el does it.
isomer
<_<
>_>
zazaza
@technomancy: It's working pretty well, except for one unforeseen problem: my dir names begin with digits after they are renamed and apparently, there is a "conflict" with the timestamps and all preceding them (at minimum, my dir names are not correctly highlighted anymore, since the digit part of them appears like the dir's timestamps.
I guess I have to get the dir appear in the buffer without the metadata. How do I do that?
@legumbre. I had figured that dired-do-rename-regexp only worked for files. So I guess you do do a query-replace-regexp to on a dir with that feature?
nwidger
does anyone know if there's a ubuntu repository for emacs24 nightly builds?
jordanb
emacs-snapsho
emacs-snapshot
nwidger
jordanb: i installed emacs-snapshot but it says it's version 23.1.50.1
jordanb
Oh.
Maybe they're slow.
nwidger
of course im using karmic
i should see what 10.04 is using
jordanb
It was abondonware for a while after the maintainer left in a huff.
JA1XMS
which distribution ?
jordanb
emacs-snapshot is in debian. Maybe ubuntu fu*ks with it too.
nwidger
im using ubuntu 9.10 right now.
jordanb
Is that recent?
nwidger
it was released last september
« prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 next »