logs archiveIRC Archive / Freenode / #emacs / 2015 / November / 21 / 1
wasamasa
holomorph: I rather thought of `toggle-debug-on-entry'...
holomorph: which would be nonsensical, but still
testerbit
benaiah, http://pastebin.com/kwyP25in
paluche
(Action) has a dead pixel
wasamasa
feels good to fix an issue instead of finding something trivial to push to github :D
testerbit
benaiah, something like this but in emacs regex: https://regex101.com/r/zP7qT6/1
wasamasa
testerbit: that looks fancy
benaiah
testerbit: the only change you need to make to make that emacs-compatible is to switch the \(\) and () pairs
other than that it's a valid emacs regex AFAICT
johnw
wasamasa: that's a good wishlist item, actually....
wasamasa: or how about: if bytecode were to be printed in a backtrace, we at least disassemble it, so that experts receiving backtraces in bug reports would have a better clue as to what's going on
Kurvivor
good night
         

wasamasa
johnw: hm
johnw: I've thought about either trying to find the readable definition and insert that, insert a "[native]" or just displaying the location it's originating from
johnw: the latter would be another wishlist item
johnw: I've done a simple hack to add it where possible to backtraces, but it's far from enough :D
inb4 emacs gets all of these for people to customize
holomorph
heh, it was only a week ago i learned there was a bytecode disassembler
wasamasa
johnw: btw, I've put up my TODO/wishlist online: https://github.com/wasamasa/dotemacs/blob/master/TODO.org
johnw
dude, my .emacs is not even linked? much sadness
testerbit
benaiah, should it be \( ... \) or \\( ... \\) ?
johnw
wasamasa: " Also, writing your own calendar seems to be good tradition to experience the many falsehoods programmers believe in about time and dates yourself."
best. possible. reason.
benaiah
testerbit: capture groups are \(\), literal parens are ()
mlb-
In eshell, is there an equivalent to bash's curly brace expansions?
wasamasa
johnw: very much so
johnw
I need to update cal-bahai.el after all these many years, speaking of times and dates
starting this year, we've switched to reckoning the first day of the year on the true vernal equinox; I'm debating doing it by equinox computations in elisp, or just laying out the schedule manually for the next fifty years
btw, I've found that computing the day "eight new moons after the vernal equinox" is pretty much not possible
I'm not sure how the chinese calendaring ever worked
testerbit
benaiah, I tried this change in regex builder, but no match: http://pastebin.com/gsmVzy7p
narco
is there something like tramp mode for http? i.e. i C-x C-f /http:<url> and i gets me the source of the page?
paluche
narco: eww
narco
i should've guessed paluche how do i view source?
paluche
load a page, then press v
(be sure you're not in a text box)
bremner
err, can I approximate latex \vec{v} with unicode / html ?
legumbre
narco: I use C-u M-! curl -sL url
narco
legumbre: why the C-u?
legumbre
narco: just because I like the page to be inserted in a buffer of my choice instead of *shell output*
narco
legumbre: i see. thanks. C-h f universial-argument says it's sometimes used as a flag for functions. that's confusing.
i'm not sure how i'd figure out the use of C-u in the context of shell-command (i couldn't find it in the shell-command help). but in this case it's useful!
         

legumbre
narco: it's mentioned in C-h f shell-command by the name of 'prefix argument'
synic
If I run `profiler-start` and wait a while, and then `profiler-report` and it shows this, how can I find out what command it's executing? I have run pstree in OS X and the emacs process doesn't seem to have any children. https://www.dropbox.com/s/65x8xj0y69jjako/Screenshot%202015-11-20%2015.34.08.png?dl=0
rudybot
http://teensy.info/D1KHUoeMi3
synic
it's making emacs take up a constant >30% cpu and makes it super laggy
but I have no idea what it is
johnw
synic: super laggy on OS X is usually the redisplay code in Cocoa Emacs
ah, command-execute
synic
yeah. It's not normally like this.
although lately it has been happening somewhat often
johnw
i wonder who's calling it so much
my ERC Emacs sometimes gets all laggy too, for no reason I can see
I usually restart it to fix it
but I'd like to get to the bottom of this!
bremner
,it-crowd
fsbot
Have you tried turning it off and back on?
synic
I've restarted it several times, but after a while, that just starts happening
johnw
yeah, ok, let's get to the bottom of this
scottj
synic: click on command-execute to see the tree under it
johnw
scottj: ooh!
synic: which Emacs do you use? Carbon? Cocoa?
`mac-dispatch-apple-event' calls command-execute in Carbon Emacs
other than that, simpl.el calls it in a few places, but it's really not called from many places at all
scottj
synic: also, not sure, but it looks like you profiled ram, maybe try profiling cpu
synic
ooh, now we're getting somewhere. Clicking was not working
scottj
move point and press return maybe
synic
yeah, that worked. Seems like it might be something wrong with auto-revert-buffers
https://www.dropbox.com/s/az75zymuk7a4z7e/Screenshot%202015-11-20%2015.43.10.png?dl=0
rudybot
http://teensy.info/CcJ6d2a8uB
johnw
who advised auto-revert-handler?
ah, VC is known to be brutally slow, btw
and I scottj is right about this being a memory profile
synic
it's both, or at least, I selected both
legumbre
do we have inotify-like support on os x yet?
johnw
almost
the kqueue stuff should make it possible
narco
legumbre: so whenever C-h mentions 'prefix argument', it's universal-argument?
scottj
synic: maybe C-h f auto-revert-handler will tell you who advised it. idk if that advise is built-in or maybe you installed a package that did it (and didn't do it well)
synic
it's very possible that it's some package i'm using
I'll give that a try
xristos
johnw: there is no current carbon emacs afaik
legumbre
narco: right
xristos
johnw: yamamoto's port is using cocoa too
johnw
wait, whaaa?
xristos
johnw: yamamoto was the carbon emacs maintainer, his current port/tree is using cocoa
johnw
then I wonder why yamamoto never responded to my e-mail about integrating his work...
xristos
in fact his current port/tree is more current makes better use of Apple frameworks than the official one
which was derived from gnustep
johnw
let me e-mail him again
oh, I only wrote him 2 days ago
sachac
johnw: Oh yeah! Have you considered doing a reddit ask-me-anything, as suggested in https://www.reddit.com/r/emacs/comments/3s6wnl/emacsel_interview_with_john_wiegley_need_questions/ ? =)
rudybot
http://teensy.info/FqUMxluf26
johnw
sachac: ahhh, so *that's* what AMA means!
I was like, "against medical advice?"
sachac
johnw: Hahaha, now I'm glad I spelled out the acronym.
johnw
in some settings its hard to answer "anything" without context; I tend to respond briefly, which then means it is likely to be misconstrued
I have my reservations, is all
sachac
johnw: That's cool, no worries. =)
aconole
johnw: I'll be around this weekend; hopefully coverity will meet me on the battlefield.
« prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 next »