logs archiveIRC Archive / Freenode / #emacs / 2009 / November / 30 / 1
dim
bpalmer`: I'm an happy emacs user without org-mode, it's unclear I'd be as happy using emacs with it. Does that mean "it didn't work"? :)
keepguessing
Hi I have followed the instrcutions mentioned in the getting started tutorial of emacs and lisp here http://cl-cookbook.sourceforge.net/windows.html . However at the end when it asks me to load the clisp ... I try the C-M-F5 command but I get a message "let: Wrong type argument: number-or-marker-p, nil" I am new to emacs and list.
delYsid
I looked at org-mode three times, the first two attempts I didnt grok why its cool, on the third on, I finally unerstood/tried cycling visibility.
Thats what I always misssed from outline and never even realized it :-)
ashawley
keepguessing: M-x toggle-debug-on-error and see where that bad let syntax is.
delYsid
why would *let* require number-or-marker? That looks fishy
hanDerPeder
is displaying irc nicks supported in speedbar?
bpalmer`
,erc-speedbar
ashawley
delYsid: I think it's line number 763 in http://cl-cookbook.sourceforge.net/.emacs
fsbot
I think ErcSpeedbar is at http://www.emacswiki.org/cgi-bin/wiki.pl?ErcSpeedbar
         

keepguessing
ashawley: is it wrong or right :)
hanDerPeder
thanks!
ashawley
keepguessing: Neither. The problem is that `lisp-implementations' is probably empty and it wasn't written defensively for that situation.
keepguessing: Is my hunch true? Is the variable lisp-implementations empty?
rgr
Why do people use this EDE facility of CEDET? What does it provide?
keepguessing
ashawley: I am new to both lisp and emacs ...
The emacs faile I am using is the one you have linked above from the cookbook
ashawley
keepguessing: What does C-h v lisp-implementations say?
keepguessing: What does C-h v clisp-exe say?
dim
rgr: entry path to emacs maybe
keepguessing
ashawley: it says no match for the first one
and for the second it says "clisp-exe is a variable defined in `.emacs'. Its value is "c:/bin/clisp-2.31/full/lisp.exe""
ashawley
keepguessing: how's that second value look to you?
keepguessing: Is that where clisp is installed on your computer?
boscop
how can I mkdir while find-file?
offby1
boscop: I don't understand what you're asking, but I nevertheless suspect the answer is "you can't".
boscop
offby1: in other words: how can I create a directory while in find-file mode in the minibuffer?
I can delete files with C-k. is there a shortcut for creating a dir, too?
dim
in dired it's + if that helps
boscop
where do I find the shortcuts for when in find-file?
bpalmer`
it might be in minibuffer-local-map
boscop
because I often need to create a dir in a shell before I can create a file in it with emacs
dim
C-x C-f C-h b
boscop
found it: M-m
keepguessing
ashawley: no it is not
skorpan
dim: whoa, thanks for that one
i've always wondered how you do that
         

dim
does not seem that accurate :/
(efaq) Origin of the term Emacs
skorpan
that's not even semi-decidable anymore
dim
The first Emacs was a set of macros written in 1976 at MIT by RMS for the editor TECO (Text Editor and COrrector, originally Tape Editor and COrrector) under ITS (the Incompatible Timesharing System) on a PDP-10. RMS had already extended TECO with a "real-time" full-screen mode with reprogrammable keys. Emacs was started by Guy Steele <gls@east.sun.com> as a project to unify the many divergent TECO command sets and
key bindings at MIT, and completed by RMS.
offby1
boscop: I'd have guessed +
dim
so current Emacs (elisp) is not 33 years old
boscop
I'm stuck in ido-find-file now and can't get out with C-g. help!
it just shows the debugger when I click into the minibuffer
http://pastie.org/private/cut7vuglmfrmenn2j5hvqa
skorpan
boscop: ESC ESC ESC
boscop
ah thanks
skorpan
try M-x top-level
offby1
also try q when you're int the debugger
dim
C-[
offby1
s/int/in/
dim
C-] maybe
offby1
also try M-x F***ING-GODDAMNIT-LEMME-OUT RET
dim
M-! killall emacs
offby1
that could work
also, pulling out the computer's power cord
bpalmer`
if that doesn't work, run
ashawley
keepguessing: you'll need to tinker with the .emacs file so that the correct path is specified. do you need help with that?
keepguessing
ashawley: :) yess .. This is the first time i am using an emacs file ...
ashawley
what is your path to clisp?
keepguessing
C:/bin/clisp-2.48/clisp.exe
ashawley
keepguessing: ok, so change where it says clisp-2.31/full to just clisp-2.48
then change lisp.exe to clisp.exe about 5 lines down.
keepguessing
does .emacs file by default installed with emacs??
fsbot
mu!
ashawley
keepguessing: "does .emacs file" what?
offby1
keepguessing: no, it doesn't.
bpalmer`
keepguessing: you have to create a .emacs file yourself, if you want one.
keepguessing
hmm ... ashawley offby1 bpalmer` thanks ... it is working now :)
jstein
hi after new installation of my linux i get an error at emacs start:
error: Font not available, #<font-spec nil Misc Fixed ISO8859-1 medium r normal 13 75 110 80 ((:name . -Misc-Fixed-Medium-R-Normal--13-120-75-75-C-80-ISO8859-1))>
who knows, wich package includes that font?
i am running debian, but if i would know anything about that font file, i could search for it.
Or is there another nice UTF-8 font i should use?
offby1
jstein: I like Bitstream Vera Sans Mono
jstein: do you know why your emacs is asking for that particular font? In particular, did _you_ customize your Emacs that way?
jstein
yes, offby1
i added that font a year ago. After reinstalling linux i am missing nice utf-8 fonts for emacs
offby1
ah
all I can suggest is: run aptitude, and search for packages whose names contain the word "fonts", and install a whole pile of them.
ieure
jstein, Most fonts lack some glyphs. A decent text renderer will fill in missing glyphs from other fonts.
bfh6558
hey all, I put together a quick logging class that replaces std::clog's filebuffer for the life of the object, Somone took a look at it on a newsgroup and said there might be some UB, I've spent a few hours mulling over any c++ quirks that might be happening here and cant find anything obvious. I'd really appreciate it if anyone could take a quick look at this pastebin: http://codepad.org/Le84Gkbi and tell me if they see something I'm missing
offby1
bfh6558: er, does that have anything to do with Emacs?
bfh6558
oh crap! sorry wrong room
offby1
:)
bfh6558
hah thanks
offby1
it happens
bfh6558
lol
jstein
offby1: well i hope i will find a nicer solution. I dont want to install a few gigs of not wanted fonts
k-man
does Amazon offer virtual machine hosting?
bob2
'amazon ec2'
kinda
k-man
anyone know of a service that I can use to do rsync-backups from my local machine to a hosted service?
bpalmer`
k-man: it's important that it be done via rsync?
k-man
bpalmer`: well... its important that I can run it from my linux machine
bpalmer`
k-man: but it looks like there are a few rsync things that work with amazon s3
k-man
bpalmer`: there is?
bpalmer`
as usual, I'll point to offby1 for backup evaluation, though
shabble
k-man: rsync.net? :)
k-man
have you heard of rdiff-backup?
shabble
nope
e1f
,g amazon web services
fsbot
[google] http://en.wikipedia.org/wiki/Amazon_Web_Services
http://aws.typepad.com/
k-man
rsync.net looks interesting
can you do versioned backups using rsync?
shabble
yeah, I'm trying to set up some backups for my company, and they're on the shortlist
near the top, in fact :)
e1f
near the top?
shabble
iirc, yes. Can't remember how though, offhand
e1f
near?
they should have been already done
you cannont afford not to have backups
shabble
there's some ad-hoc systems at the moment (external usb disks, dvds, etc), but I'd like to get it all pushing to a single decent service provider
isomer
hubba hubba
offby1
(Action) scratches head
k-man: I can't offhand think of an easy-to-use rsync-to-s3 setup, but lemme grovel my list o' links
bpalmer`
I guess s3cmd isn't technically rsync
k-man
correct me if I am wrong, but it's not that easy to do versioned backups using rsync is it?
offby1
http://s3.amazonaws.com/ServEdge_pub/s3sync/README.txt seems close
k-man: "versioned backups using rsync" sounds a lot like ,,rsnapshot
fsbot
rsnapshot is, like, [0] a GPL'ed utility for snapshot-style backups
[1] See also dirvish, a slightly more sophisticated tool
shabble
there's backuppc which does incremental/versioned
and uses rsync as a transport. But the code was pretty horrible when I had a look once
k-man
have a look at rdiff-backup, imho, its very nice and simple to use. in fact i already use it to backup my ~ dir at home to my work server
offby1: checking rsnapshot
offby1: yeah, i think i remember reading about rsnapshot once before. I can't remember why I chose rdiff-backup in the end
offby1
I have used tarsnap, jungledisk, duplicity, and probably something else. I stopped using jungledisk (or, rather, it stopped working and I never bothered investigating). I'm not thrilled with any of them
tarsnap is probably the best
tazle
I wonder if it's possible to disable interpretation of _ and ^ in org-mode *without* making the text monospace at the same time
colloguy
How do I prevent the emacs shell (M-x shell) from echoing every command I type?
ieure
colloguy, Far as I know, bash does that, not Emacs.
colloguy
oh : /
ieure
colloguy, Its also useful when youre using the !-style history commands. Otherwise you dont see the actual command that was run.
colloguy
I can see the command I typed, but when I press return, I get another copy of the command on the next line, before it runs
bpalmer`
colloguy: you could mess with comint-process-echos, but I suspect it's not quite what you're gonig for
colloguy
it's already nil : [
bpalmer`
set it to be t
colloguy
Nadda, I guess its just this stupid interpreter
ieure
colloguy, Hmm. comint-process-echos is nil for me, and I only get the command echoed if I used history.
e.g. `ls RET' does not echo, but `!!' does.
colloguy
I think its the same for me in bash, it's something specific to the interpreter I'm using
ralph
offby1, you there?
Wait. Say no. I'm supposed to be doing homework.
sybariten
OK so i wanna kill-emacs but it asks about my desktop file
ralph
If you say that you are here, then you are complicit in my self-distraction.
sybariten
when starting emacs it mentioned that my desktop file was in use by process blabla .... what gives?
i am more or less sure i cant have been running more than one emacs
ralph
Good. He's not here.
well, offby1. Next time you're here, I want to talk more about the possibility for commands not involving CTRL or META.
nopedia
sybariten: For some reason your prev Emacs session did not end well so it did not release your .emacs.desktop
offby1
(Action) is indeed here
(Action) thinks back ... less typing in Python, right ralph?
sybariten
nopedia: hm
nopedia: i dont really get it, i had a reboot quite recently
but oh, maybe the emacs session before the reboot was ended abruptly... is it important that i point to the correct .desktop path? i dunno where that is, and it asks for it before i can quit
e1f
http://www.fastcompany.com/blog/cliff-kuang/design-innovation/imitation-hidden-key-creativity
"Social scientists create a model of how ideas spread and find that about 30% of people should create while the rest imitate. "
so google's 30% project time has been mathematically proved
consolers
by a model that has a parameter set to 30%
this sounds like those global warming models
good for advertising and selling to an audience without a clue of "scientific method" but which believes in science like medieval peasants of the dark ages beleived in God and divinity
bpalmer`
e1f: I don't see how that ties in
but are you thinking of google's "20% time" ?
I don't reckon that goes up with inflation
nopedia
consolers: surprisingly those new medieval peasants are often working withing science...
consolers
not-surprisingly
i dont see your point
the people working "wihin" science are evangelizing science for the peasants
its a funded advertising and marketing job
well of course you have to buy all the peers, so your peer review works
same way you buy the house of peers
but thats not the issue i highlighted
e1f
yes, the 20% time. i guess google is off by 10
consolers
oh you mean the audience like e1f and bpalmer
e1f
consolers: did you actually read the paper? or just the blog entry
consolers
neither
nopedia
consolers: my point is that science is not well understood by many of those using positivistic methods.
ruediger
.el files usually start with a similar header (like ;; foo.el --- blablub\n;; Author: Moep\n;;; Code:) is this a a specified format?
consolers
no
nopedia ok
that helps
ruediger actually ;;; = file comments ;; = code comments ; = inline comment indendted to the side
that is how M-x indent will indent it
erm
;;;; = file comment
ruediger
so it's just about M-x indent?
consolers
ruediger one sec
M-: (info "(elisp) Comment Tips")
nopedia
There are also some tips for writing documentation
consolers
the actual header itself is a convention
in the next section
ruediger
consolers: thx
developernotes
Is there a reason to place the (require 'foo) statement at the bottom of a file vs. the top for elisp?
convention?
consolers
no you should (require 'foo) before using something defined in foo
« prev 1 2 3 4 next »