logs archiveIRC Archive / Freenode / #emacs / 2015 / August / 2 / 1
blackwind_123
ryouma : agreed :)
slugobers
,paste
fsbot
Please do not paste multiple lines of text into the channel. Use http://paste.lisp.org/new/emacs and just paste the URL.
slugobers
ryouma
looks nice. so your idea is to make all buffer substring operations in that buffer ignore invisible?
parsnip
hmm, any org exporters in da house tonight/
ryouma
as opposed to e.g. wrapping m-w?
slugobers
yes, i don't know if it will have adverse effects though
but what helps is that the mode is intended to operate on read-only buffers
parsnip
i get tired of repeatedly doing C-c C-e l o... approaches might include recording a macro, or write a binding for it. anyone else deal with this?
         

slugobers
i will see if i run into any problems with this
ryouma
you are writing a unixy log file mode?
slugobers
yes, but it's not really for unix logs. our application (java-based) generates huge logs and i need to look through them often
ryouma
parsnip: i did the latter
offby1
parsnip: I dunno what C-e l o does, but I'd probably find a function key to do whatever it's doing
slugobers
one of very important thing i miss is to hide (filter) stuff that is not important at the moment and only concentrate on important stuff
parsnip
ryouma: hmm, i may have found a nice thing you may like
slugobers
therefore the mode is mostly concentrated around taking a log file and filtering it in several ways
parsnip
ryouma: prefix key redoes last version. so bind that instead.
ryouma
parsnip: (org-export-to-buffer 'ascii parsnip-org-ascii-buffer-name nil t nil)
last version?
parsnip
C-u C-c C-e doesn't prompt, just does whatever you did last
so whatever you had selected form C-c C-e prompt
ryouma
slugobers: i wonder if there are tools for that, sort of like helm or tabulated lists
parsnip
i might bind that instead, or even just F3 it
slugobers
well, my search found nothing useful, so i decided to create a mode for it. i mean nothing emacs-based, there are of course other tools
ryouma
parsnip: ah. i already use my existing hardcoded stuff, which survived through the 8.0 transition
offby1
s/find/bind/
slugobers: I pretty much spend my life staring at log files inside emacs; I should pay attention to whatever you're doing
ryouma
one buffer ring to rule them all and in the darkness let-bind them
parsnip
hmm, offby1 i "find" C-c r isn't bound
ryouma: i just said one ring to rule them all 10 mins ago irl, re: bitlbee
offby1
oh piffle; I said that _decades_ ago
(Action) nods gravely
ryouma
parsnip: strange. not in my scrollback.
         

pontiki
i said it before Tolkein said it
(Action) nods sagely
slugobers
offby1: it's almost ready aside from a couple bugs and the part i dread most: since logs are not standardized, how should the mode guess how your file should be parsed? heuristics is what i hate
wasamasa
pontiki: aren't you a #ruby resident?
offby1
slugobers: I pity you :-|
pontiki
wasamasa: i am
wasamasa
let's write a journalctl frontend in emacs!
offby1
slugobers: guess from the file name; try a few regexes on the first line or two; shell out to some sorta tool that guesses for you ...
ryouma
systemd doesn't standardize them? o.O
pontiki
well, mostly just slumming, really...
wasamasa
no more worries about log formats
offby1
slugobers: guess from the file/group owner ...
wasamasa
ryouma: you need to buy into their own format
offby1
slugobers: interactively ask the user, and save the response in some config file somewhere
atmc
systemd...
wasamasa
ryouma: the night I suggested that, somewhat of a flamewar ensued
slugobers
offby1: i guess initial version will be very simple in that regard. i will add something later if there is demand
atmc
if i wouldn't have to run high performance computing software i'd be tempted to run openbsd
ryouma
i find it very strange that unix can't even get date formats right
wasamasa
I find it very funny that unix can't get its own "philosophy" right
parsnip
(Action) nods digitally
ryouma
that was always a bit of a myth
pontiki
lol, parsnip, well played
ryouma
it was all founded on a spell checker example
wasamasa
a myth to placate the disgruntled believers
a religion, so to speak
jlf
the unix philosophy is honored more in the breach than in the observance
parsnip
rudybot: t8 zh en the unix philosophy is honored more in the breach than in the observance
rudybot
parsnip: the unix philosophy is honored more in the breach than in the observance
bremner
,pal parsnip
fsbot
(Action) points and laughs at parsnip. "HA-haw!"
parsnip
"Symbolic link to Git-controlled source file; follow link? (y or n)"
why is this a big deal?
bremner
TIL, emacs is happy to try and load an elf binary as an elisp library.
jlf
rudybot: seen e1f
rudybot
jlf: e1f was seen joining in #emacs five weeks ago, and then e1f was seen quitting five weeks ago, saying "Remote host closed the connection"
parsnip
C-c i takes me to my init, which is symlinked to my config directory. emacs doesn't like this?
*which further is under git vc
jlf
whoa
bremner
parsnip: I think it's mainly the symlink it's warning you about.
hodapp
wasamasa: clearly, you want Plan 9.
ryouma
parsnip: that does sound strange. have you tried setting the truename variable?
parsnip
ryouma: no :( as much as i agree with wanting truename, i can't bring myself to add one more line of code to my .emacs
*.emacs.org !!1!
bremner
that's like one of those bizarre constraints newbs come up with
parsnip
,shoot bremner
fsbot
(Action) loads its bzero and nullifies bremner
bremner
I want to solve this problem, but I refuse to consider your solution
parsnip
,shoot parsnip
fsbot
(Action) loads its captcha and questions parsnip's humanity.
jlf
bremner: obviously you're not a golfer
bremner
I'm not that scottish really. Although I appreciate their booz.
wasamasa
jeez, org-mode's got the weirdest API
parsnip
bremner: well, to further defend myself, i also want to fully explore how to get along with particular defaults.
jlf
wasamasa: oh, the results came in?
wasamasa
jlf: what?
parsnip
although when i used vim for a month, i couldn't stand the way background directory choice behaved, so def. changed that.
holomorph
inconsistency is key
ryouma
emacs is the one program where i do not make huge efforts to stick with defaults
jlf
you know, that research study to identify the weirdest api
parsnip
small efforts ;)
wasamasa
jlf: I just can't believe they did write a hundred lines of code for cycling a heading, yet didn't bother writing a function for determining what state a heading is in
jlf: so they replicated that detection all over the place
ryouma
that sounds like org :)
parsnip
(Action) notes that quit drinking approx. one year after starting emacs/org-mode
« prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 next »