logs archiveIRC Archive / Freenode / #emacs / 2010 / January / 14 / 1
technomancy
mwilliams_: all I'm saying is that it's better than rhtml. as the author of that mode I feel an obligation to make sure as few people still use it as necessary. =)
hopefully the name is a good clue to potential users as to how outdated it is
mwilliams_
technomancy: :) The feature set of nxhtml is pretty impressive, poking around now around a few erb files to see how it acts
tcrayford
technomancy: does clojure-test-mode set the mark somewhere in its running?
technomancy
tcrayford: it's possible. if it does it's unintentional.
tcrayford
since I added hooks it gives me a set mark message before displaying test output
technomancy: confirm that it does that in clojure-test-highlight-problem
but it has to, I think
technomancy
should probably be wrapped in a save-excursion then
tcrayford
it is
technomancy
oh, handy
way to go, past me.
tcrayford
still shows up the Mark set message
on mine
and it didn't before adding hooks
         

technomancy
I think there's also a way to suppress messages for a block of code
though the mechanism escapes me
ggole
iirc "Mark set" means that push-mark was called when set-mark should have been used instead
tcrayford
ain't no push-mark in clojure-test-mode
mebaran151
in paraedit mode, how do I insert an expression within an already completely expression?
LordVorp
grr ok I found ps-default-bg to disable printing the BG color BUT ps-default-fg seems to not work. suggestions?
tcrayford
just (set-mark-command nil)
technomancy
http://www.protomen.com/lightupthenight/ <= uses flash, sorry
but daaaaamn
neosoothsayer
technomancy: what's that link about?
ggole
tcrayford: set-mark-command also pushes the mark
technomancy
neosoothsayer: it's from the Protomen album I mentioned earlier
ggole
You don't want that. Use set-mark instead.
Or better, don't touch the mark at all
technomancy
apropos of the fact that it just started playing on my playlist
tcrayford
ggole I think we do need to touch the mark here
ggole
tcrayford: if the job of the function is to move the mark for the user's convenience, then you have to do that. Otherwise you probably shouldn't.
tcrayford
aye
ggole
It doesn't sound to me like a highlighting function should do that, but perhaps I'm wrong
rejeep
Hey. How do I get a trace from "if: Wrong type argument: stringp, nil"?
Thats all I get
ggole
,tdoe
fsbot
I think tdoe is [0] type M-x toggle-debug-on-error RET, reproduce the problem, then lisppaste the contents of the backtrace buffer.
[1] NOTE: you dont *have* to lisppaste, just contemplating the backtrace will often give you enlightenment
tcrayford
ggole see http://paste.lisp.org/display/93354
trying to replace that without using the mark then
         

ggole
tcrayford: you can avoid setting the mark there by saving the position of point
rejeep
ggole: Dahh... Added it to the wrong hook. Thanks
tcrayford
mark setting seems to have dissapeared
might be me being dumb
ggole
See http://paste.lisp.org/display/93354#1
(is lisppaste announcing down?)
tcrayford: sometimes a fresher message can make "Mark set" appear to go away
jlf
lisppaste: url
lisppaste
To use the lisppaste bot, visit http://paste.lisp.org/new/emacs and enter your paste.
ggole
Wait, I think I've posted the old version back
tcrayford
me too
and announcing is off because I was dumb
ggole
There we go http://paste.lisp.org/display/93354#2
tcrayford
ggole that works
technomancy: pull request submitted
technomancy
tcrayford: great; I hope to be able to get to my pull request backlog later this week
tcrayford
ggole has a fix for test-highlight problem that stops it using the mark as well
see http://paste.lisp.org/display/93354#3
technomancy
oh yeah, that's better; thanks ggole
tcrayford
there are probably other interesting things you can do with test output
now that there are hooks
technomancy
definitely
tcrayford
I now have a testing hook that will switch to the test buffer if I'm running the tests from an implimentation buffer
technomancy: what's elisp's equivalent of clojure's not
technomancy
should be the same
tcrayford
yeah my bad
jordanb
rudybot: quote
rudybot
People who recommend anime need taken out back and shot.
neosoothsayer
jlf isn't around today
ggole
,jlf-ambience
fsbot
[In the distance, you see jlf typing " ,...", or maybe ",...."]
jlf
(Action) awakes with a start
e1f
(Action) considers buying 'infinite jest'. any recommenders?
http://www.webmonkey.com/blog/Mozilla_Gets_Ready_to_Put_Prism_on_Your_Desktop_With_New_Beta_Release
(Action) guesses people here only read emacs manuals
legumbre
(Action) read a 1993 emacs manual today
jml
how would I set up a mode to use a different base font?
armenb
what's the key combination to re-do the line-breaks in a paragraph when using emacs on a text document?
damd
armenb: what do you mean? "redo line-breaks"?
ggole
armenb: M-q
You might also need to use C-x f to get the spacing right
LordVorp
heh, like emacs has changed so much since 1993 ... </snark>
damd
what, there's a newer emacs?
LordVorp
damd, yeah they discovered Athena widgets...
e1f
(Action) remembers 1993. emacs 18.57
and then 1995. best emacs evar. 19.34
swathanthran
how do you change the working repository of magit?
chrisb
t
caoliver
Let's assume you've created a few windows with C-x 3. What's the shortest way of making them uniform width?
jlf
apparently it's t time
C-x +
caoliver
Tnx.
nil
:P
jlf
are you saying nil just to be negative?
</doctor>
caoliver
Just doing (mapcar #'not chrisb).
araujo
is there a way to check for the loaded "modes"?
Dodek
,,dk C-h m
fsbot
describe-mode is an interactive compiled Lisp function in `help.el'.
It is bound to C-h m, <f1> m, <help> m, <menu-bar> <help-menu>
<describe> <describe-mode>.
(describe-mode &optional BUFFER)
Display documentation of current major mode and minor modes. ..[Type ,more]
Dodek
it will tell you about currently active modes
araujo
thanks Dodek
ggole
That's active modes, not loaded modes. The features variable might be more useful for that.
armenb
thanks! :) M-q it is
caoliver
Is the nasty interaction between follow-mode and emacsclient a well known bug?
ggole
Dunno, check the bug tracker
And PROBLEMS, of course
quotemstr
Why the hell does OS X put core-dumping processes in an uninterruptible sleep?
What if I *want* to cancel a core dump?
caoliver
There's something on bug-gnu-emacs archive search, but no real follow-up.
Issue. Use of follow-mode causes attempts to connect with emacsclient to hang.
ggole
In that case, report it. Might be helpful to mention the old thread when you do so.
powr-toc
How do I represent "C-<PageUp>" in global-set-key?
mfisher
I wonder if that's why my Mac was completely unresponsive this morning and needed a power cycle.
bob2
powr-toc: C-h k thatkeycombo
powr-toc: then use (kbd "thingyoucopyandpastedfromabove")
powr-toc
thanks
bremner
mfisher: nah, you probably fell behind on your OS X rent
caoliver
quotemstr: If a core dump looks like one big disk write, maybe you wind up in D. I know that running 'sync' with a few gig pending to a key drive leaves the writing process as well as other accesses hanging until the write finishes.
quotemstr
caoliver: I'm just whining. I wasn't expecting an actual answer. :-)
caoliver
In my case, that's in Linux.
Kvetch accepted. :P
quotemstr
Hrm, I thought Linux got rid of most of this hangups a while ago.
caoliver
"Disk" writes are still thought of as "quick."
Old unix-ism that won't die.
quotemstr
I love Yiddish. :-)
karljam
how can one display a table from a web page as tab-delimited text in a buffer? the webpage's table is also published as an xml file online.
consolers
use regexp
scnr
i'd just use w3m
or lynx
karljam
consolers: thanks, looking those up
consolers
i was being sarcastoc
karljam
oh
went right over my head
consolers
*tic
but emacs has table modes, org has table support, etc
they all add some minor syntax
karljam
(Action) nods
consolers
if you want csv, i'd use a text browser like w3m or lynx, dump the text formatted to standard output and munge that (convert the | to tab)
karljam
consolers: it's more like i just want it to look concise and legible, without headers and strange indents
jlf
what does erc's "Ignored PRIVMSG from some-nick!n=somebody@example.com to #some-channel" message mean?
karljam
like a table, though it doesn't need to show lines like org or table mode
technomancy
jlf: maybe ams is up to some tricks
jlf
no, it's a different channel .. and comes from non-sketchy nicks
karljam
anyone know who is maintaining erc now?
consolers
anyone use jabber? if i try "search for user" in pidgin and it wants me to enter a "user directory" wtf is that
ryoma
strange, karljam did not leave but rcirc's tab completion is not completing karljam
karljam
i'm mysterious like that
ryoma
karljam: somebody might have written an org importer
karljam
that would be amazing
ryoma: you mean to parse an xml tree as an org tree?
ryoma
yes
but not a tree
though the latter would be interesting
karljam
ryoma: er, i mean outline
ryoma
yeah i got that
mwilliams_
I'm using the following smart-tab function: http://gist.github.com/276754 However, it has killed the ability to tab on a commit in a magit-status buffer that would normally show me the diff. Any thoughts to make it compatible?
bob2
only turn it on in modes where it is useful?
mwilliams_
bob2: Through a mode hook or something along those lines? Would I be able to tell it to work on all modes except ones I state?
Surgo
If you give no arguments to (re-search-forward) aside from the regular expression, does it still side-effect the point?
ggole
Yes. Read the docstring.
Surgo
the docstring implied both that it did that it didn't, at least in the lisp reference manual
ggole
"Set point to the end of the occurrence found, and return point."
Seems pretty clear to me.
chrisb
(Action) just found emacs23-common-non-dfsg
Surgo
sorry, not docstring, I meant the page on the lisp reference manual
ggole
"The function skips over any amount of text that is not matched by REGEXP, and leaves point at the end of the first match found."
It's not a very simple function, but that seems straightforward
Surgo
yeah, it just later says
"You may tell re-search-forward to return t for true. (Moving point is therefore a `side effect'.)" kind of implies that it won't side effect if you don't tell it such. I'm not complaining, and thank you much for the answer, I'm just wondering if perhaps that language can be cleared up a little.
ggole
Hmm, I don't see that in my info file
What version of emacs do you have?
Surgo
it's from the gnu website; http://www.gnu.org/software/emacs/emacs-lisp-intro/html_node/re_002dsearch_002dforward.html
ggole
I see.
mns
is there a good gnuplot mode for emacs ?
,gnuplot
fsbot
gnuplot is, like, [0] a programmable, graphical plotting utility
[1] at http://gnuplot.info,
[2] at http://leonardo.phys.washington.edu/~ravel/software/gnuplot-mode.html,
[3] NOT a GNU project.
fledermaus
,ge gnuplot
fsbot
mns
what does ,ge do ?
fledermaus
apparently.
[g]oogles [e]macswiki
mns
ahhh
fledermaus
cf [g]oogle; [g]oogle [i]mdb and [g]oogle [w]ikip├Ždia
chrisb
i'm running emacs23.1
can i do server-start on a host, and then use emacsclient to connect from a remote node via tcp?
« prev 1 2 3 4 5 6 7 8 9 10 11 12 13 next »