logs archiveIRC Archive / Freenode / #emacs / 2015 / August / 5 / 1
slugobers
"This buffer is for notes you don't want to save"
wasamasa
there's also notes-mode or whatever it's called
kiv4321
is there a way to automatically accept the promtpt from the minubuffer? I'm calling a `ffap` from elisp but I don't like the fact that it stops to ask
wqer555
y is a key binding, isn't it? So couldn't you make an after-load hook?
wasamasa
...
look at the code of the function you're using
chances are it's not totally braindead and passing the right argument takes care of that
or let-binding something around its call
Fuco
hm.. seems like ert-runner is broken with dynamic scope :O
or maybe it's just ert...
if I wrap two tests with a let setting some variable it breaks :/
wasamasa
yay, I've got a commit into evil
and I didn't even write a proper patch or even make a pull request
bremner
I'm in ur host, fixin' ur software??
fsbot
No
         

bremner
boo.
wasamasa
https://bitbucket.org/lyro/evil/issues/545/restrict-accepted-registers-for-macro
rudybot
http://teensy.info/GfyPRCIAWa
bremner
my version was more interesting.
wasamasa
next time I'll attach a patch
ryouma
most notes you do want to save
jeroentbt
Any erc-znc users with a solution to having to close all erc buffers and reconnecting after a network cut (or sleep)?
wgreenhouse
let's implement sand-mandala-mode
myrkraverk
jeroentbt: I haven't done that combo yet - but thanks for the heads up, it's something to check when (if?) I do.
josteink
anyone doing c++ willing to confirm/deny my analysis in this GH issue?
https://github.com/josteink/csharp-mode/issues/42
I think my error is actually inherited from emacs' c++-mode
which means thats where it should be fixed ;)
wasamasa
# is for the preprocessor, right?
wgreenhouse
how reasonable is it to use dovecot without for the moment using its LDA or its Sieve implementation?
josteink
wasamasa: yes
wgreenhouse
for now I'd just like to keep using procmail to populate my dir-of-maildirs
wasamasa
josteink: maybe just nuke that part from the syntax table then?
jeroentbt
myrkraverk: Thanks mate! No rush, I'll just keep being a tad annoyed when it happens ;)
wasamasa
josteink: I'm not sure on the exact rules C/C++ impose on preprocessor content
bremner
wgreenhouse: : I've done so in the past. Also using exim to deliver to dovecot served maildirs seems ok
josteink
wasamasa: as far as I can tell preprocessor statements are not being considered, and this is instantly treated as a stringy tthing
myrkraverk
jeroentbt: but be warned that my only upstream erc contribution only made it to the xemacs package, due to using highly xemacs specific api.
         

josteink
wasamasa: and just patching the syntax table means... learning syntax tables. meg
meh
wasamasa
josteink: no, I mean, it could very well be that this # introduces a preprocessor context where any occurring ' introduces a string
josteink
ok, but we do agree this is a bug from C++-mode, and should be fixed there?
wasamasa
I'd be pretty sure of that
josteink
(given how csharp-mode derives from cc-mode and inherits c++-modes syntax-table)
I guess I can file a bug upstream them
do you know if whoever maintains cc-mode/c++-mode hangs out here?
tromey
I don't think he does
jeroentbt
myrkraverk: I'll have to tackle it myself then, in a few years maybe, if I get around to grasping elisp
wasamasa
even if it turns out to be not their fault, you should get a better assessment of the problem
josteink: they're reachable by some bug tracker with like hundreds of open bugs
myrkraverk
jeroentbt: it's quite probable that if I fix it, it'll also make upstream to gnu emacs. But no idea of when since I haven't gotten around to play with znc yet.
miskatonic
there is always the possibility to explicitly save the content of the scratch buffer
user`
hello
i have opened one eshell in one emacs and im running browser there
can i open new "clear" eshell
in that same emacs
for run something another ?
josteink
wasamasa: it seems last time any commit in cc-mode mentioned "preprocessors" was in 2008 or 2009
wasamasa
josteink: oh well
josteink
wasamasa: if so, this is a pretty long-standing bug
wasamasa
josteink: not like you're going to get around learning syntax tables
josteink
heh
I have a newborn kid, which leaves me 5 minutes a day tops for hacking
tromey
amen to that
josteink
seems a bit suboptimal for learning too much new things
user`
anyone know ?
josteink
Ill issue a bug-report upstream and see what happens
thanks
jeroentbt
user`: C-u M-x eshell
miskatonic
rudybot: M-x shell vs M-x eshell
rudybot
miskatonic: eshell. I might find a use for that someday
slugobers
rudybot: cmd.exe
rudybot
slugobers: whereas if you run cmd.exe directly in windows it will say it is.
user`
about shell
can anybody answer me for question up ?
jeroentbt
user`: please read 5 lines up..
user`
oh i see thanks :)
josteink
wasamasa: except... except it seems there's no standard c++ preprocessor directives where this sort of usage would be supported anyway
http://www.cplusplus.com/doc/tutorial/preprocessor/
seems I may have to fix this myself :(
user`
anyone here using ECB ? Cuz to have directories-window working i must open some text file with emacs, with just "emacs -nw" dont give me directories window
wasamasa
does ecb even work with emacs -nw?
shockingly enough, it does
josteink: well then
user`
wasamasa its working
wasamasa
josteink: so, what exactly is #region in C# anyways?
josteink
wasamasa: its a developer aid. a means to say this code here relates to this. a meta-comment, but with compiler verification
user`
but dont opening me a directories-dir, i mean dont showing me directories in directories-window if i dont open a file with it, can anyone know how to fix that ?
offby1
rudybot: powershell.
rudybot
*offby1: I also don't really care for Powershell.
josteink
wasamasa: if a opened region isnt closed, thats a syntax-error
offby1
rudybot: Financial imbalance.
rudybot
*offby1: there's unconstrained-domain-> if you're interested in a function contract that doesn't do any domain checking, but as for why (-> any some-ctc) doesn't turn into the former, I'm not sure. Probably just the usual imbalance between multiple arguments and return values.
wasamasa
josteink: hmk
offby1
rudybot: The Watusi. The Twist.
rudybot
*offby1: The Watusi?
offby1
(Action) nods gravely
josteink
wasamasa: tooling also suppports expanding and collapsing them rather simply
wasamasa: so its a decent too to be able to "zoom out" and then "zoom back in" to the right region of the file without too much scanning
wasamasa
josteink: doesn't sound like it couldn't be implemented with the existing preprocessor directives then
« prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 next »