logs archiveIRC Archive / Freenode / #emacs / 2010 / February / 26 / 1
cvandusen
jlf: yep
jeremyw
Without using x resources, you can't set the geometry before the initial frame is created.
I verified this by reading the startup docs.
I was hoping to do this all within my file persisting the geometry or in my .emacs but by the time .emacs is read, the frame is already created.
So, no luck.
No sweat. It's working quite nicely.
Redraw isn't that big a deal.
esfraga
I missed the start of this discussion but you can pass geometry to the emacs command directly (-geometry).
(sorry --geometry)
lisppaste
jeremyw pasted "Very simple frame geometry persistence" at http://paste.lisp.org/display/95621
jeremyw
It doesn't get much easier.
EdSantiago
hi. recent emacs upgrade (23.1.1 on Gentoo) broke C-u (universal-argument) for me. It no longer multiplies: C-u C-u C-u X gives four 'X's. Even with -q. But only in X display; with -nw, all is well.
andreo
how to parse http response? i.e. (url-retrieve ...)
mikeleib
bpalmer: thanks
andreo
url-retrieve function retrieves HTTP head and data. How can i extract the data? Does emacs have api to parse http response?
         

bpalmer
,httop
,http
fsbot
The Public is merely a multiplied "me."
-- Mark Twain
I heard http is Type .http <status no.>
bpalmer
,http.el
fsbot
[google] http://www.emacswiki.org/emacs/http-post-simple.el
http://www.emacswiki.org/emacs/cygwin-mount.el
bpalmer
I guess that's more for posting.
andreo
thanks
Azuvix
Looking for some good extensions for REAL word processing.
Suggestions?
bpalmer
what's REAL ?
Azuvix
More than Emacs provides by default, with some proper pretty margins and fonts.
andreo`
they parse data with help of (if (search-forward-regexp "^$" nil ... ) ;)
bpalmer
Azuvix: emacs/xemacs/etc have typical font support (you may need to compile with xft support for truetype fonts); not sure what constitutes pretty margins
Azuvix
I s'pose I need to be more specific. I'm really trying to make Emacs the central part of my system, which means finding ways to get it to replace common applications like Abiword.
I know it can be done.
jlf
Azuvix: ,,tex
fsbot
I heard TeX is [0] at http://www.emacswiki.org/cgi-bin/wiki.pl?TeX
[1] a typesetting system created by Donald Knuth
bpalmer
It can be done; so the question comes what you want that it doesn't already provide. For print-quality output, many people shift to using (La)TeX that they edit, and compile when ready to print.
Others go more meta, and type in something like ReST or muse that is turned into tex that is turned into print-quality output.
Azuvix
LaTeX is just fine, it works for everyone else who chooses to use it.
quotemstr
warning: for symbol _subsections_via_symbols tentative definition of size 16 from xmalloc.o is is smaller than the real definition of size 4 from as.o
I'm not sure which frightens me more: that the warning appears at all, or that the order seems to be reversed.
esfraga
I swear by org-mode for writing documents, exporting to either LaTeX or HTML as required.
Azuvix
Is it already included?
esfraga
org-mode is part of Emacs 23
         

Azuvix
Sorry about that, Emacs did a backflip on me.
CalJohn
This is very embarrassing, but I will be writing some PHP. Does nXHTML mode have syntax highlighting and a inferior/comint thingys? Do any other modes have this?
bpalmer
,mumamo
fsbot
mumamo is, like, [0] a tool for editing a buffer with Multiple Major Modes (e.g. html and php) <http://emacswiki.org/wiki/MuMaMo>
[1] better than mmm-mode,
[2] distributed with <NxhtmlMode>
bpalmer
never knew people to use a comint with php, though.
fro0g___
I think mumamo is included in nxhtml
bpalmer
figured people would just use ,,mozrepl if anything.
fsbot
hmm, MozRepl is at http://www.emacswiki.org/cgi-bin/wiki.pl?MozRepl
CalJohn
ok, thanks for these hints
Azuvix
Okay, I'm getting the auctex package.
Also, a pretty common question. I can get the news from alt.religion.emacs from here. How?
bob2
...
Azuvix
Your silence says it all...
bpalmer
(a) is it really common? (b) "from here"? (c) if you can do it already, what do you mean by "how" ?
Azuvix
You sound like the psychotherapist. I mean, I know there's a feature, but I've never used it. How's it done?
From within Emacs.
bpalmer
gnus
bob2
you mean "how can I access usenet via emacs?"?
Azuvix
Bingo.
jeremyw
karme
,gnus
fsbot
I think gnus is [0] an Emacs newsreader (and mailreader), see #gnus, <http://gnus.org/>, <http://emacswiki.org/wiki/CategoryGnus>
[1] proof that we are a wicked people who deserve to be punished,
[2] the punishment
Azuvix
Thank you.
jeremyw
Courtesy of Google and the emacs manual. :)
Azuvix
Froze the thing solid by asking for alt.religion.emacs...
bpalmer
can you talk to your news server?
johnw
more importantly, will it listen?
Azuvix
Good question, it gave me no output whatsoever.
bpalmer
Azuvix: does some other news reading program from the same host work?
Azuvix: how far did you get? Did you see the group list?
Azuvix
Nope, just froze up.
Well, don't worry about it, I was just curious.
karme
gnus is really nice once you have got it up and running
and nntp is much better than that stupid rss crap
twillis
speaking of, is gnus also the preferred email client?
Azuvix
I'll bet, I just need to tinker.
Yep.
e1f
no one agrees on preferred mail client
karme
i use gnus for mail, too - is it prefered in general? i don't think so - there is also a huge mutt user base
bpalmer
,mailclient
fsbot
try: MailclientConfiguration mailclients
bpalmer
,mailclients
fsbot
[->] I heard mailreaders is gnus, mew, mh-e, rmail, vm, wanderlust and cmail
twillis
i have to use windows at work, would love to ditch outlook, tried wanderlust and failed
bpalmer
those are your basic picks for x?emacs mail clients, ignoring things like g_client that interfaces with gmail
karme
ah yes we are in #emacs ;-)
technomancy
I should check out g_client
I loved gnus for when I only checked mail from a single machine, but I use the gmail web interface now.
mns
,cmail
fsbot
try: procmail-mode ProcmailLog procmaillog.el ProcmailMode
technomancy
it's horrible, but it's worth putting up with in order to check from multiple machines
(barely)
karme
(Action) shudders
bpalmer
karme: true, I'm also ignoring mutt-in-emacs , which I believe some people use.
,mutt
fsbot
try: MuttAliases MuttInEmacs MuttMode MuttRc muttrc-mode.el
bpalmer
,muttinemacs
fsbot
bpalmer, MuttInEmacs -- at http://www.emacswiki.org/cgi-bin/wiki.pl?MuttInEmacs
karme
one can use gnus with imap
bpalmer
yes, but one is the loneliest number
karme
or offlineimap
bpalmer: ?
bpalmer
karme: bad joke.
jlf
two can be as bad as one
jordanb
How do you know if someone's using gnus?
A: They're using craptastic workarounds like offlineimap.
tomoyuki28jp
cssm-indent-level doesn't work on Carbon Emacs. Any idea why??
fsbot
Of course not!
bpalmer
no is the saddest experience you'll ever know.
quotemstr
One is the loneliest number that you'll ever do
opcode
hey can anyone tell me if there's a command to advance the cursor one position and then take me to the next line? like if I have puts "test" and the cursor is on the t right before the ", I'd like to hit one key and have a newline be inserted and my cusor moved to the next line.
shabble
opcode: record a keyboard macro that does C-m C-f?
damd
or rather C-f C-m
or maybe not, i don't get it.
quotemstr
opcode: Do you really want artist-mode?
Or picture-mode ?
opcode
artist mode? what's that?
metaperl
opcode: you can create a macro
quotemstr
,artistmode
fsbot
I heard ArtistMode is [0] at http://www.emacswiki.org/cgi-bin/wiki.pl?ArtistMode
[1] an example on http://www.emacswiki.org/cgi-bin/community?WikiPatternLanguage
metaperl
include C-u M-x set-goal-column in it
opcode
ok, I was wondering if there was an already defined key stroke toa ccomplish this
I'm not sure what artist-mode has to do with my question?
damd
opcode: i'm not sure why what you're asking for is useful at all
your request was ambiguous as well
first you say that you want to move diagonally right->down
then you say you want to insert a newline and move the cursor to that line (which is just RET)
opcode
I never said I want to move diagonally right down
damd
"advance the cursor one position and then take me to the next line"
JordiGH
Cursor?
What's a cursor?
damd
JordiGH: i'm assuming he/she means point
JordiGH
In Emacs we have a point, not a cursor, son.
opcode
yes, point
damd
point is a silly word to use for it, but what's the point in arguing...
bremner
JordiGH: don't you mean a gnu/point ?
bpalmer
,dv cursor-in-echo-area
fsbot
Non-nil means put cursor in minibuffer, at end of any message there.
karme
,df what-cursor-position
fsbot
what-cursor-position is an interactive compiled Lisp function in
`simple.el'.
It is bound to C-x =.
(what-cursor-position &optional DETAIL)
Print info on cursor position (on screen and within buffer).
bpalmer
somebody better tell emacs.
fsbot
Also describe the character after point, and give its character code
in octal, decimal and hex. ..[Type ,more]
opcode
I have ruby-electric mode enabled, so when I type puts ' it automatically inserts a closing quotation and puts the point in between the two
so then I can type 'something' but the point is before the ending quotation character, I'd like to move the point after it and inserta newline
damd
i see, that makes sense
opcode
I would think this is a common request, so I assumed there was a built in command to do it
damd
i guess your macro would then be C-o C-n...
opcode
C-o C-n will plce the newline before the ending quotation mark
damd
oh, sorry
i misunderstood C-o
i guess C-e C-m then? :)
quotemstr
That's hilarious.
odcctools doesn't build on Darwin.
That's like mingw32 not building under cygwin.
Then again, I shouldn't be surprised: the thing also needs CPPFLAGS='-include /usr/include/stdio.h' and -m32 to compile.
What a piece of sh*t...
damd
the odcctools developers must be religious
JordiGH
Life is so hard.
damd
seeing as they don't pay attention to darwin
hAHHHAHAHA
opcode
damd: that's what I've been doing now
damd
opcode: if you don't use e.g. C-o (at least i don't) you could bind that to do C-e C-m
quotemstr
The sad thing is that odcctools is *vastly* better than the random tarball of crud Apple grudgingly released under the GPL.
JordiGH
Wait, AAPL actually released something under the GPL?
damd
opcode: or you could rebind RET in ruby-mode to see if point is right at an apostrophe - if it is, RET does C-e C-m, otherwise it does what it usually does
quotemstr
They basically took an old snapshot of binutils, stripped out all the autotool configuration, removed the multi-architecture support, littered the code with #import and all kinds of vendor extensions, and just let it rot.
JordiGH
GPL? Not some iGPL? Veritable GPLv3?
quotemstr
GPLv2.
Azuvix
I thought they could only TAKE what's under the GPL...
twb
JordiGH: if they buy stuff that's GPLv2'd, they have to keep those bits GPLv2'd
quotemstr
Azuvix: You are aware that when you distribute GPLed software, you need to distribute the source, right? :-P
JordiGH
Oh, they didn't start the code. They used GPLv2 because they grabbed existing code.
Azuvix
I'm saying, they took GNU utilities and made them part of a proprietary OS.
quotemstr
What else is new?
twb
quotemstr: I think you have to make your modifications available on request "in some useful form" (which is implied to be source).
JordiGH
Azuvix: They didn't take that much GNU... bash, gcc, what else?
damd
emacs?
fsbot
Emacs is an extensible, customizable, self-documenting real-time display editor <http://www.gnu.org/software/emacs/> .. + other entries
JordiGH
They used to have some other shell instead of bash.
twb
JordiGH: nope
quotemstr
twb: For three years and such, right. The GPLv3 provides more options actually.
twb
Oh, *used to*
JordiGH
damd: Well, that one they didn't take themselves.
bpalmer
tcsh used to be the default shell.
quotemstr
twb: But in practice, people just distribute source.
twb
quotemstr: not vendors
« prev 1 2 3 4 5 6 7 8 9 10 11 12 13 next »