logs archiveIRC Archive / Freenode / #emacs / 2010 / May / 2 / 1
karme
Eraldo: for me it looked like there are some to problems to be solved (time zones and the like)
Eraldo: (in icalendar.el that is)
Eraldo: yes but converting text to text is the job of a text editor ;-)
nocturnus
cpp line "int compute_vertex () { .. } " <--- does emacs' syntax file for cpp have capability to target "compute_vertex" for color highlighting?
shabble
nocturnus: in c-mode it's rendered as font-lock-function-name-face for me
I'd assume the same for cpp
nocturnus
?
i'm not an emacs user, so i can't drawn a conclusion for myself base on what you said
shabble
erm
'yes' :)
rryouumaa
shabble: that looks possibly relevant, but don't know if that means i am supposed to dl charsets...
shabble
rryouumaa: do you have that charset anywhere already? Miht just be not finding it
rryouumaa
one strange thing about building emacs. it is supposed to put stuff locally in the build dir, yet the error message referred to /Applications/Emacs.app/Contents/Resources/etc/charsets, which lokos like an absolute path name. that directory contains my old emacs 22 /carbon/ emacs. why is emacs 23 for cocoa even looking there?
shabble: good idea. will try locate.
nocturnus
shabble: because i'm using vim right now, and the cpp syntax file can't do it, and it sucks so much because of that
shabble: i would have to use complex delcarations to match function definitions
         

shabble
nocturnus: the answer is yes, emacs' C(pp) modes can identify function definitions and highlight appropriately
in fact, if you install cedet you can even parse them for semantics and do ever cleverer stuff :)
nocturnus
what kind of clever'er things?
rryouumaa
shabble: well, locate turns up lots of files. including ./emacs/Emacs.app/Contents/Resources/etc/charsets/GB2312.map ! so why was it looking in /applications or wherever?
shabble
nocturnus: 'intellisense' style completion, call analysis/'jump to definition', etc
nocturnus: see ,,cedet
fsbot
cedet is [0] at http://cedet.sourceforge.net/
[1] at http://www.emacswiki.org/cgi-bin/wiki.pl?CEDET,
[2] Collection of Emacs Development Environment Tools,
[3] Here There Be Dragons,
[4] http://xtalk.msk.su/~ott/en/writings/emacs-devenv/EmacsCedet.html, ..[Type ,more]
nocturnus
thanks
Eraldo
karme: what will be displayed as category if I use a diary file in the agenda?
karme
Eraldo: in the agenda view i have diary entries like: "Diary: Lambdafestival Antwerpen"
,dv org-agenda-include-diary
fsbot
not documented as a variable.
karme
Eraldo: not sure what a category is in that context
Eraldo
karme: let's just try and set it up and most questions will get answered by that I guess
karme
Eraldo: ah found it in the org manual - i don't use categories
Eraldo: yes :-)
Eraldo
I have imported my university time table from ics format into 'diary' without any file extension
gnuvince
Isn't CEDET supposed to be shipped with Emacs 24? And isn't Emacs 24 supposed to use some of CEDET's projects like Bovinator?
damd
any native spaniards here?
or basques even?
does anyone know what "beti mugan" means in basque?
woodworks
something like "i'll slit your throat with my 12 inch knife if you touch my sheep again"
damd
that's what i thought
woodworks
(Action) used to live in Nevada w/ large basque community
damd
i'm watching a (association) football game right now and a basque player scored... he pulled up his shirt and showed a shirt underneath onto which he had written "beti mugan"
rryouumaa
(Action) got most of his knowledge about basque culture from trevanian
rock group maybwe
         

damd
yeah wikipedia gives me a rock group as well
rryouumaa
shibumi is a fun book though
damd
speaking of?
rryouumaa
basque
damd
is shibumi basque?
rryouumaa
no, referring to my comment at :29
damd
ah
rryouumaa
ok, i just don't get why this warning exists when building emacs. why is it looking in /Applications? "Warning: arch-independent data dir (/Applications/Emacs.app/Contents/Resources/etc/) does not exist."
Eraldo
what is this date format called: '20091109T105809Z' ?
any idea how I can convert such a date/time string into one that emacs can deal with?
Riviera
Eraldo: Am not sure, but maybe http://en.wikipedia.org/wiki/ISO_8601 deals with the first question.
rryouumaa
that T always bothered me
damd
time zones suck ass
Eraldo: if there was anything built-in for that it would exist in parse-time.el which it does not
Eraldo
seems like it is called 'ISO 8601 UTC' aka unix epoch time
anyone willing to help me write a script to convert it? ^^
Riviera
okay, teach me elisp, then i'll help :)
Eraldo
Riviera: I don't know lisp, that is why I ask :|
damd
i'm up for it
(defun parse-time-string-iso8601 (input)
(parse-time-string (format "%s-%s-%s %s:%s:%s" (substring input 0 4) (substring input 4 6) (substring input 6 8) (substring input 9 11) (substring input 11 13) (substring input 13 15))))
cluck
damd: true, we already have unicode now we only lack unitime (and no, swatch internet time does not count, stardates might, had they any sensible standard which they don't)
;)
e1f
metric time, damn it
rryouumaa
where shall we set the epoch?
e1f
the big bang, of course
rryouumaa
and the unit?
seconds?
Eraldo
damd: wow that was quick
damd: :D
what syntax(es) do(es) bbdb's creation date take?
as far as I notices, bbdb uses only the date by default
damd: how would I have to modify your function, so that it replaces all occurrences of 'YYYYMMDDThhmmssZ' with 'YYYY-MM-DD' (omitting the time)
damd
Eraldo: change the string to "%s-%s-%s" and remove the last three substring calls
Eraldo
changing all occurrences in that file that is
damd
(parse-time-string (format "%s-%s-%s" (substring input 0 4) (substring input 4 6) (substring input 6 8)))
what?
Eraldo
can I input a whole file ?
damd
no, you probably want to do a regular expression search and replace
that'll look completely different
Eraldo
oh, okay
damd
Eraldo: do this in a buffer with the file open
M-C-% \([0-9]\{4\}\)\([0-9]\{2\}\)\([0-9]\{2\}\)T[0-9]\{6\} RET \1-\2-\3 RET
Eraldo
damd: /hug /cheer :) thank you so much! that works great. *happy*
damd
glad i could help I
;I
Eraldo
how powerful... *scribbling-regex-on-todo-list*
laynor
is it possible to use windows' japanese input method in emacs?
neurodamage
I'm using the following http://dpaste.com/189874/ and every time I have an open dialog I'm in the ~/.emacs.d/plugins directory which is kind of annoying how can I reset that?
that function on emacs wiki said that it would do that, but it's not the case
shabble
said it would do what?
neurodamage
http://www.emacswiki.org/emacs/LoadPath
there's some text stating, "However, this will make your emacs run as if you had started it from ~/elisp, which is annoying."
and has the code snippet I copy paste that's suppose to not cause that issue
shabble
lose line 1 and it hsould work
that snippet is an alternative, not a fix
neurodamage
oh my
i'll take care of that now, thanks
shabble
you could change your default-directory with M-x cd as well
but probably nicer to use that second snippet
neurodamage
shabble: right just don't wanna do that all the time, seems kind of silly specially when I'm launching out of a dir
awesome thanks
jlf`
,,...
fsbot
[In the distance, you hear a dog bark]
jlf`
hacker news is getting silly. there's a post consisting of only a link to the wikipedia page for euler's identity and the post has 44 comments.
dshep
and its one of the less silly sites
pizzledizzle
what's the popular/comfortable meta/ctrl config for emacs here? i have a netbook and the keys are tiny. its difficult to hit ctrl with the pinky
aidalgol
I just use control.
cluck
caps is ctrl, alt is meta
Wes-
I seldom use meta, I use the esc option instead
much easier to type if your esc key is up beside the 1 where it belongs. :)
offby1
someone please recommend some software to analyze web log files. I'm not interested in "Business Intelligence" (i.e., how many unique visitors); instead, I'm interested in measuring the performance of the server itself: how many errors per day, how long it took to serve requests.
Wes-
offby1: I use 'grep' (and did you know you're in #emacs?)
offby1
Wes-: of course I know I'm in #emacs -- it's the best source of general nerdinfo I know of :)
Sketch
f
offby1
y
hmm, google now gives me results from "my social circle"
"When you scamps get together, you're worse than a social circle"
In further random, non-emacs-related news: I upgraded my old laptop to Ubuntu Lascivious Lunatic, and for the hell of it tried the ext4 file system ... and it seems faster than it was with ext3 :-|
who'd'a thunk
myrkraverk
am I online?
scb
myrkraverk, yeah.
rryouumaa
either that or you are right here
offby1
myrkraverk: wow. Dude, that's a heavy question.
(Action) mixes up a White Russian and ponders
rryouumaa
(Action) recently saw that one
i still don't get why building emacs on a mac should ever look at /applications dir of a previous version of emacs. Error: charsets directory (/Applications/Emacs.app/Contents/Resources/etc/charsets) does not exist.
myrkraverk
offby1, was just wondering, the 'net here is very unstable
just like our volcanoes
Wes-
(Action) wonders if white russians are easier to confuse than those of other ethnicities
scb
I am going to write a emacs' html-mode that works.
offby1
Wes-: all I did was wave my hands around real fast and say "booga booga". Works every time
snogglethorpe
jlf`
offby1: are you screening lebowski?
snogglethorpe
jlf`: isn't that supposed to be the coen bros movie which is good?
myrkraverk
cd /var/rum; drink
jlf`
supposed to be and is!
among several others imo
snogglethorpe
never quite understood why the coen bros are so feted... their movies are sooooo "stiff"...
they have obvious skills, but I don't think they make very good movies
it's like they can't quite escape their own auteurness
jlf`
have you seen fargo or miller's crossing?
snogglethorpe
not miller's crossing
fargo was pretty much meh
it's well made but completely without charisma
i guess that's the thing -- what i've seen of theirs is very strong in _craft_, but no passion, no grace
jlf`
hmm, i quite liked it. miller's crossing is well worth viewing.
out of curiosity, who would you cite as strong in all of the above?
snogglethorpe
hmm
i hate it when i get asked questions like that, suddenly i forget all films i've ever seen :(
jlf`
heh that happens to me too
snogglethorpe
hm
well
one film i was thinking about recently was "dead man"
best ending ever
Sketch
jim jarmusch
jlf`
that's one of my favorites!
Sketch
great movie
offby1
jlf`: not screening; channeling.
(Action) slaps thigh
jlf`
"some are born to sweet delight, some are born to endless night.."
offby1
this being in IRC channel, get it?
jlf`
(Action) slaps offby1 upside the haid
offby1
rudybot: entertain us
rudybot
*offby1: if I could speak directly to Thor, I'd simply tell Him to entertain me
jlf`
rudybot: your favorite led zeppelin album is what?
rudybot
jlf`: "Helter Skelter" sounds remarkably like a Led Zeppelin song.
jlf`
in soviet emacs, ##cinema joins you
snogglethorpe
i tried ##cinema for a while, but for some reason talking about movies on #emacs is more fun
Sketch
jlf`: how about kubrick, scorcese, coppola, tarantino...
snogglethorpe
yeah
kubrick is also kinda stiff, but his stuff is so elegant
Sketch
and tarantino might be the other direction ;)
jlf`
Sketch: yeah, maybe it's the coen's writing that appeals to me so much. i don't find myself walking around quoting taxi driver or 2001 much, but i do so frequently for lebowski, etc.
coens' even
snogglethorpe
i watched taxi driver for the first time a few weeks ago
Sketch
there isn't much to quote in 2001 other than hal ;)
snogglethorpe
clockwork orange is maybe my favorite kubrick movie
jlf`
i do sing daisy once in a while when the computron is misbehaving
Sketch
or to sing also sprach zarathustra
snogglethorpe
i find it very hard to watch, but enthralled nonetheless
every single movement in that movie is _perfect_
jlf`
clockwork?
snogglethorpe
yeah
he must have been the mother of all control-freaks...
jlf`
i've never seen it, guess i should
read the book in high school
snogglethorpe
there's a lot of hard-to-watch violence
welll i gues it's not so bad compared to these days..
but even the sense of revulsion and tension in violence scenes seems calcluated
e1f
it's easy to confuse a mantis with a mantissa
snogglethorpe
hmm, is there anyway of looking at a web page from 2 days ago?
jlf`
maybe you'll be lucky and archive.org will have sampled it then
« prev 1 2 3 4 5 next »