{ "@context":"https://www.w3.org/ns/activitystreams", "type":"Collection", "id":"https://epiktistes.com/objects/y3B2jo6Mpb8/thread", "items":[ { "@context":[ "https://www.w3.org/ns/activitystreams", {"Hashtag":"as:Hashtag"} ], "published":"2023-11-19T16:00:38.980Z", "attributedTo":"https://epiktistes.com/actors/toddsundsted", "to":["https://www.w3.org/ns/activitystreams#Public"], "cc":["https://epiktistes.com/actors/toddsundsted/followers"], "content":"
after all these years it still amazes me how often i fat-finger ^X^C and accidentally exit emacs...
", "mediaType":"text/html", "attachment":[], "tag":[ {"type":"Hashtag","name":"#emacs","href":"https://epiktistes.com/tags/emacs"} ], "type":"Note", "id":"https://epiktistes.com/objects/hrYJsWyVcx8" } , { "@context":[ "https://www.w3.org/ns/activitystreams", {"Hashtag":"as:Hashtag"} ], "published":"2023-11-19T16:03:04.000Z", "attributedTo":"https://ruby.social/users/gd", "inReplyTo":"https://epiktistes.com/objects/hrYJsWyVcx8", "replies":"https://ruby.social/users/gd/statuses/111438055650840785/replies", "to":["https://www.w3.org/ns/activitystreams#Public"], "cc":["https://ruby.social/users/gd/followers","https://epiktistes.com/actors/toddsundsted"], "content":"@toddsundsted Me too.
(setq confirm-kill-emacs 'y-or-n-p)
", "attachment":[], "tag":[ {"type":"Mention","name":"@toddsundsted@epiktistes.com","href":"https://epiktistes.com/actors/toddsundsted"} ], "url":["https://ruby.social/@gd/111438055650840785"], "type":"Note", "id":"https://ruby.social/users/gd/statuses/111438055650840785" } , { "@context":[ "https://www.w3.org/ns/activitystreams", {"Hashtag":"as:Hashtag"} ], "published":"2023-11-19T16:10:37.135Z", "attributedTo":"https://epiktistes.com/actors/toddsundsted", "inReplyTo":"https://ruby.social/users/gd/statuses/111438055650840785", "to":["https://www.w3.org/ns/activitystreams#Public","https://ruby.social/users/gd"], "cc":["https://epiktistes.com/actors/toddsundsted/followers"], "content":"@gd after all these years it still amazes what i learn about emacs. thanks! 😀
", "mediaType":"text/html", "attachment":[], "tag":[ {"type":"Mention","name":"@gd@ruby.social","href":"https://ruby.social/users/gd"} ], "type":"Note", "id":"https://epiktistes.com/objects/Y3rw1GFYyv8" } , { "@context":[ "https://www.w3.org/ns/activitystreams", {"Hashtag":"as:Hashtag"} ], "published":"2023-11-19T16:59:19.000Z", "attributedTo":"https://emacs.ch/users/stevoooo", "inReplyTo":"https://epiktistes.com/objects/hrYJsWyVcx8", "replies":"https://emacs.ch/users/stevoooo/statuses/111438276828299351/replies", "to":["https://www.w3.org/ns/activitystreams#Public"], "cc":["https://emacs.ch/users/stevoooo/followers","https://epiktistes.com/actors/toddsundsted"], "content":"@toddsundsted I used to share your pain - and then I unbound that key-binding (why would you want to exit #Emacs anyway?). And besides, there's always M-x save-buffers-kill-emacs if you really do want to escape for some reason 😬
", "attachment":[], "tag":[ {"type":"Hashtag","name":"#emacs","href":"https://emacs.ch/tags/emacs"}, {"type":"Mention","name":"@toddsundsted@epiktistes.com","href":"https://epiktistes.com/actors/toddsundsted"} ], "url":["https://emacs.ch/@stevoooo/111438276828299351"], "type":"Note", "id":"https://emacs.ch/users/stevoooo/statuses/111438276828299351" } , { "@context":[ "https://www.w3.org/ns/activitystreams", {"Hashtag":"as:Hashtag"} ], "published":"2023-11-19T17:15:36.498Z", "attributedTo":"https://epiktistes.com/actors/toddsundsted", "inReplyTo":"https://emacs.ch/users/stevoooo/statuses/111438276828299351", "to":["https://www.w3.org/ns/activitystreams#Public","https://emacs.ch/users/stevoooo","https://ruby.social/users/gd"], "cc":["https://epiktistes.com/actors/toddsundsted/followers"], "content":"> why would you want to exit #Emacs anyway?
this is a very valid point-of-view imo.
also, @gd hooked me up with (setq confirm-kill-emacs 'y-or-n-p)
and you might consider that, as well.
@toddsundsted @gd yeah, also sounds like a good option, and yet another thing that I didn't know existed despite having used Emacs for quite a while now...
", "attachment":[], "tag":[ {"type":"Mention","name":"@toddsundsted@epiktistes.com","href":"https://epiktistes.com/actors/toddsundsted"}, {"type":"Mention","name":"@gd@ruby.social","href":"https://ruby.social/users/gd"} ], "url":["https://emacs.ch/@stevoooo/111438567987369904"], "type":"Note", "id":"https://emacs.ch/users/stevoooo/statuses/111438567987369904" } , { "@context":[ "https://www.w3.org/ns/activitystreams", {"Hashtag":"as:Hashtag"} ], "published":"2023-11-20T04:22:30.000Z", "attributedTo":"https://fosstodon.org/users/pfpoitras", "inReplyTo":"https://emacs.ch/users/stevoooo/statuses/111438276828299351", "replies":"https://fosstodon.org/users/pfpoitras/statuses/111440963178153633/replies", "to":["https://www.w3.org/ns/activitystreams#Public"], "cc":["https://fosstodon.org/users/pfpoitras/followers","https://emacs.ch/users/stevoooo","https://epiktistes.com/actors/toddsundsted"], "content":"@stevoooo @toddsundsted I rebound it to C-x C-c C-x C-c.
(global-unset-key (kbd "C-x C-c"))
(global-set-key (kbd "C-x C-c C-x C-c") 'kill-emacs)