emacs31.0.50 使用pyright无法正常工作

有人遇到这样的情况么,更新到emacs31.0.50后就无法正常工作了。

找到原因了, 由于我在workspace中指定了home目录,导致崩了。 没有自动定位到当前工作目录, 自动找project目录的锅。。

<--- Last few GCs --->

[18845:0x7fe969100000]   208950 ms: Mark-Compact 4055.7 (4139.4) -> 4041.8 (4141.4) MB, 1741.90 / 0.00 ms  (average mu = 0.153, current mu = 0.059) allocation failure; scavenge might not succeed
[18845:0x7fe969100000]   210730 ms: Mark-Compact 4057.6 (4141.4) -> 4043.8 (4143.7) MB, 1674.69 / 0.00 ms  (average mu = 0.109, current mu = 0.059) allocation failure; scavenge might not succeed


<--- JS stacktrace --->

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 1: 0x10ccef755 node::Abort() [/usr/local/bin/node]
 2: 0x10ccef936 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [/usr/local/bin/node]
 3: 0x10ce9f91c v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/usr/local/bin/node]
 4: 0x10d08fac7 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/usr/local/bin/node]
 5: 0x10d094097 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [/usr/local/bin/node]
 6: 0x10d0903e5 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::internal::GarbageCollectionReason, char const*) [/usr/local/bin/node]
 7: 0x10d08de80 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/local/bin/node]
 8: 0x10d082b91 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/usr/local/bin/node]
 9: 0x10d0835d5 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/usr/local/bin/node]
10: 0x10d0656c2 v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/usr/local/bin/node]
11: 0x10d4e34c0 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/usr/local/bin/node]
12: 0x10d8b5136 Builtins_CEntry_Return1_ArgvOnStack_NoBuiltinExit [/usr/local/bin/node]

Process pyright stderr finished

由于mac home太多太大,导致的。。。

都 emacs31 了? 有啥新特性啊

同好奇,还在用Emacs30,没想到31都出来了,不知道多了哪些特性。