logs archiveIRC Archive / Freenode / #emacs / 2010 / March / 28 / 1
molqr
JordiGH, do you mean this http://ctags.sourceforge.net/
JordiGH
I mean whatever this produces: ,,ctags-exuberant
fsbot
fsbot only has love for you!
JordiGH
I mean whatever this produces: ,,g ctags-exuberant
fsbot
[google] http://ctags.sourceforge.net/faq.html
http://en.wikipedia.org/wiki/Ctags
JordiGH
molqr: Yes, that one.
molqr
thanks
JordiGH
molqr: If you're using a GNU distribution, it's probably already packaged.
rgr
molqr: seriously consider using cedet. It has come on leaps and bounds.
         

spat
whats a good pastebin these days?
molqr
ubuntu 8.04 and emacs 22
rgr, many warned me that cedet will make my system slow
rgr
that includes it
JordiGH
molqr: I think Ubuntu favours apt-get these days, so apt-get install ctags-exuberant
molqr
JordiGH, yes sir :)
rgr
molqr: nonsense. you can tailor the facilities you enable for a start.
JordiGH
Make that exuberant-ctags for the package name.
rgr
sure it will have an impact, but if you seriuous about navgating code its worth a try.
molqr
JordiGH, yes M-t with the name :)
JordiGH
Emacs keys <3
molqr
rgr, does cedet comes built in with emacs23?
spat
can someone helpt me with magit? I get these errors http://codepad.org/CADgelqN
murbank`
How do I find the "next match" when using semantic-complete-jump?
molqr
JordiGH, man ctags says that ctags and etags r the same!
bremner
splat: is /srv/http/upload/ a git repo?
JordiGH
molqr: But you should now have a ctags-exuberant binary.
molqr
nopes... i only have ctags in /usr/bin
JordiGH, btw when i did apt-get install it said that the package was already installed
so i was using ctags/etags
JordiGH
dpkg -L exuberant-ctags | grep bin
spat
bremner: I found out that magit can not handle a different location for a worktree
molqr
/usr/bin and /usr/bin/ctags-exuberant
         

bremner
spat: Oh, I see. That could well be.
molqr
JordiGH, apologies
spat
bremner: that is really annoying though. (especially since I don't know any lisp)
bremner
spat: well, I guess not many people use detached work trees in git.
molqr
but the man page of exuberant-ctags is the same as ctags ... ah well let me try finding a tag and see if there is any difference
pallgone
ha, that's a good one: http://support.microsoft.com/kb/276304
dim
I don't get the magit and work tree problem?
spat
bremner: yeah I just happen to like it for web app development. keeping the docroot as clean as possible
JordiGH
molqr: ctags-exuberant -e -R
bremner
spat: I know people like to deploy with push, but I think git-archive is usually the right answer
JordiGH
molqr: Oh, looks like ctags gets alternatived to ctags-exuberant.
dim
deploying from packages is better than from the sources
easier to rollback to a previously generated package and for comparing what it is that you have deployed on all the farm servers
bremner
dim: well, that seems excessive to me, but to each their own I guess.
molqr
JordiGH, its the same.. no change :(
JordiGH
molqr: Hmm... what's your source layout?
spat
bremner: I like to edit my code. save and hit refresh in the browser to test it. when it works commit. I think your method would need a deployment every time I want to test it. is that correct?
dim
bremner: depends if you maintain 1 or 10 or 100 of webservers in production, what is your process, and more than that, who does the QA and who does the admin
molqr
JordiGH, at the top level directory of my project i gave the command ``ctags -e -R" to generate the TAGS and then within emacs M-. tag ... could not go to the header files:(
dim
spat: you need to have a development instance, an integration one, a testing one and the live ones
bremner
spat: well, or see how ikiwiki does it with post-update hooks.
dim
spat: so the edit+reload workflow applies to the devel one
you package on the integration one
you test the package on the testing/pre-live one
then it goes live
that's the thinking, at least
spat
dim: is an instance in this context?
what is...
dim
well if you develop PHP, say, it'd be a full webserver (apache or other) and the virtualhost with your files in the docroot, all setup
the developper instance will typically run on his workstation/laptop
but sometime on a Virtual Machine somewhere where the admins setup things for developpers, who get a NFS/CIFS mount to the docroot so that they still use a local editor
(and so that they're not responsible for backing up their code in between commits)
konr1
test
quotemstr
Am I the only one left who just does development in his home directory with a tilde-URL?
dim
quotemstr: mmmm we have devel.application.internal.domain.tld instead, but same idea
bremner
quotemstr: is this your homepage, or something you are being paid to develpo?
quotemstr
Paid to developer.
Sheesh.
dim
where devel is the devel name, so you have ~devel instead
quotemstr
You only move it outside the sandbox for deployment.
ams
i do devel on live machines if i devdel
dim
quotemstr: we don't want devels to setup the environment and we want all of them to easily see where others are
quotemstr
dim: If I want to look at Joe's copy, I can just load http://devel.internal/~joe/product/
dim
quotemstr: you mean QA then deploy?
quotemstr
dim: Well, yes.
dim
quotemstr: ah you all have it all under your $HOME/public_html
bremner
quotemstr: unless you develop on your phone, running an http server is not that hard.
quotemstr
dim: But there's no reason initial development can't happen in public_html.
dim
well in our case a part of the setup is in the apache VirtualHost config
so...
quotemstr
bremner: Sure, but why do it when you can set up a normal HTTP server once, with most of the same configuration as the one on production machines?
dim
bremner: you'd be surprise at how much time a not expensive web developper profile will spend to prepare its env, compared to the sysadmin
quotemstr: in our case, VirtualHost config is the reason
you want a VirtualHost per devel
but I guess apart from that we're on the same line
quotemstr
dim: I politely disagree; I think tilde-addressing is sufficient.
bremner
quotemstr: I think we are agreeing. I just apt-get install $SERVER and put things in ~/public_html. But I'm not web dev.
quotemstr
Right.
dim
well no the product I think about can not made to work like this
be made, even
quotemstr
It's not relocatable?
dim
it is, in term of apache VirtualHost
the setup will set some Environment variables etc
quotemstr
dim: But it needs to be right at the document root to operate properly.
dim
I'm not sure a .htacess could do
quotemstr: this I'm not sure about, see, I'm no developper there :)
quotemstr
Does it bug anyone else that domain names and URL path components go in the opposite order of specificity?
http://com.foo.www/bar/qux.html makes more sense to me.
dim
I get used to it
well users want to see the brand first
www is outdated :)
http://foo.com/service/product
quotemstr
I'm one of those die-hards who doesn't like domain hosts. :-)
(But I'll configure them anyway.)
dim
yeah, I don't like seeing www, and even more hate it when www.foo.com works but not foo.com
I understand some of the technical background in the DNS records
but still
quotemstr
The Internet is not the web.
dim
I said http already!
quotemstr
More likely, your browser filled it in already. :-)
dim
I hate it when the browser takes the liberty to interpret my commands.
tell me I'm an idiot, don't assist me, you software.
quotemstr
,apropos dwim
fsbot
5 matches. (bbdb-dwim-net-address bbdb-dwim-net-address-allow-redundancy c-block-in-arglist-dwim comment-dwim dired-dwim-target)
quotemstr
:-)
dim
well it has to be a good guess
on the www front it's never one as far as I'm concerned
because I'll type non existing service URLs when I'm checking for their setup
so please show me the setup is wring
don't show me the content of ANOTHER URL
well
/rant ? :)
quotemstr
Should usage output of a program appear on stderr or stdout?
dim
stdout + exit(0) I think
I'm not definitive but I think I did it this way in recent enough software
python's libs anyhow
OptionParser
shabble
depends if it's prompted by -h or because you had invalid args
dim
what I did is that the error on invalid arg is on stderr, but usage on stdout
but I don't know what you're supposed to do :)
quotemstr
There's also no standard about how verbose the default usage message should be.
Some programs just print a one-line summary; others seem to dump the whole man page.
dim
I like the OptionParser way of one line per option
ams
quotemstr: error messages should be on stderr, usage on stdout
quotemstr: --help is not an error, and should exit with 0
dim
in the mplayer or rsync case I don't like it much, though
ams`
fu*k it..
stupid modem
quotemstr
Modem?
An analogue phone modem?
ams`
quotemstr: error messages should be on stderr, usage on stdout, --help is not an error, and should exit with 0. stuff like, `foo: no such fileor directory\nplease see --help for more' should be sent to stderr. you can check the gnu standards for tips... they are very good in standardising programs
linus5
Anyone use jde-mode
ams`
quotemstr: worse, 3g
quotemstr
ams`: I do try to follow GNU IO standards; I'll check it out.
ams`
quotemstr: infact, make your life easy and use argp
linus5
the default indent width is 2, and I want to change to 4. I searched throught the customize-mode for jde-mode
but could not found it
quotemstr
ams`: OS X doesn't seem to have it. :)
ams`
quotemstr: gnulib
linus5
Also, it display yellow color ahead of each line
ams`
there have been IMMENSLY stupid programs that spit out everything to stdout...
or to stderr..
like usage messages to stderr..
can't do foo |less ...
quotemstr
ams`: fping is one of those. It's maddening.
It uses stderr for *everything*.
magcius
Does anyone here have commit access to the emacs bzr repo?
dim
fping... so you have an alias to localhost in /etc/hosts that's called elvis, quotemstr?
magcius
If so, would you guys mind changing emacs.svg to put the copyright header inside the <svg> tag? It's causing a lot of SVG detection code to fail
quotemstr
That *is* one large copyright notice.
ams`
magcius: emacs-devel@gnu.org
quotemstr
magcius: Does SVG itself have some kind of dedicated license tag?
magcius
quotemstr: no
ams`: I don't like mailing lits
Because I don't like my inbox filled with crap, and summary mode is useless for replying to anything
quotemstr
magcius: Use a better MUA, or gmane.
magcius
quotemstr: what is a MUA?
quotemstr
,mua
fsbot
I think MUA is short for Mail User Agent
magcius
ah
well, I use gmail
and that's not changing anytime soon
ams`
magcius: fine,use M-x report-emacs-bug
either way, nobody will commit anything for you here, just cause you are a lazy bastard...
quotemstr
magcius: I take it you prefer using a web forum?
magcius
ams`: well I could make a patch myself
quotemstr
magcius: Also, gmail supports filtering mail into folders automatically on arrival.
magcius
ams`: but I don't have push rights
ams`
magcius: so do that, and send it to emacs-devel@gnu.org
quotemstr
ams`: You don't need to be subscribed to emacs-devel to send mail there, do you?
ams`
quotemstr: correct
i mean the HORROR!!!
sending a patch... to a mailing list...
scarry stuff that
like cute puppies
linus5
hey guys, what mode do you use for java
ams`
java-mode
quotemstr
linus5: I'd a fan of Kona myself.
linus5: Light roast.
ams`
baba
nana
haha
even
linus5
quotemstr: wait a sec, what is Kona
magcius
linus5: a type of coffee bean
quotemstr
linus5: It comes from Hawaii.
linus5: Seriously, I just use java-mode, but I don't write very much Java.
« prev 1 2 3 4 5 6 7 8 9 10 next »