Skip to content

Instantly share code, notes, and snippets.

View aaronjensen's full-sized avatar

Aaron Jensen aaronjensen

View GitHub Profile
* src/nsterm.m (ns_term_init): Use writeToFile or writeToURL as
required.
---
I believe this should fix the colour list error.
src/nsterm.m | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/src/nsterm.m b/src/nsterm.m
index 954020dcde..d92d6c3244 100644
>From 9196236afa609a77d294ef9a77b05518c6fb031f Mon Sep 17 00:00:00 2001
From: Alan Third <address@hidden>
Date: Sat, 4 Aug 2018 11:08:23 +0100
Subject: [PATCH] Make all NS drawing be done from drawRect
See bug#31904 and bug#32812.
* src/nsterm.m (ns_update_begin): Don't lock focus, only clip if there
is already a view focused.
(ns_update_end): Don't mess with view focusing any more.
---
I believe this should fix the colour list error.
src/nsterm.m | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/src/nsterm.m b/src/nsterm.m
index 954020dcde..d92d6c3244 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
From bfa5d6e9f2ea0936ca3cfe02bebae986ba64b3da Mon Sep 17 00:00:00 2001
From: Aaron Jensen <aaronjensen@gmail.com>
Date: Wed, 26 Sep 2018 06:56:35 -0700
Subject: [PATCH] Fix rendering
---
src/nsterm.m | 773 ++++++++++++++++++++++++++-------------------------
1 file changed, 389 insertions(+), 384 deletions(-)
diff --git a/src/nsterm.m b/src/nsterm.m
diff --git a/src/buffer.c b/src/buffer.c
index 653e3fe..c8cec8c 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -287,6 +287,8 @@ static void
bset_name (struct buffer *b, Lisp_Object val)
{
b->name_ = val;
+ if (!NILP (val))
+ b->live_name_ = val;
.title-actions > .monaco-toolbar > .monaco-action-bar > .actions-container > .action-item > .action-label.icon.explorer-action {
display: none !important;
}
.editor-actions > .monaco-toolbar > .monaco-action-bar {
display: none !important;
}
@aaronjensen
aaronjensen / SketchSystems.spec
Last active June 8, 2018 20:46
Hello Epics Boards
Hello Epics Boards
Disabled
Install HE as non-account owner -> Not In Account
Install HE as account owner -> In Account
Enabled
Uninstall HE -> Disabled
Not In Account
Add to account -> Active Subscription
Create account -> Active Subscription
In Account
From 02acfa6aa8132d767bf71390b101cd29fd5c1b44 Mon Sep 17 00:00:00 2001
From: Aaron Jensen <aaronjensen@gmail.com>
Date: Thu, 24 May 2018 03:45:03 -0700
Subject: [PATCH] Prevent errant scroll on mouse click (Bug#31546)
* src/nsterm.m (ns_mouse_position): Use correct frame when determining
mouse position.
* lisp/mouse.el (mouse-drag-track): Only account for mode-line height
if `mode-line-format' is non-nil.
---
@aaronjensen
aaronjensen / window_management.lua
Created May 10, 2018 22:12
Hammerspoon window management
hs.window.animationDuration = 0
windowManagementBindings = {
-- Full Screen
{{'cmd', 'ctrl'}, 'i', '[0,0,100,100]'},
-- Left half
{{'cmd', 'ctrl'}, 'h', '[0,0,50,100]'},
-- Top half
{{'cmd', 'ctrl'}, 'k', '[0,0,100,50]'},
-- Bottom half