TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Update of Emacs' calendar to enable changing number of months displayed

2 点作者 sendos将近 13 年前

1 comment

sendos将近 13 年前
Got fed up with lack of way of changing the number of months displayed by Emacs' calendar, and after a fruitless web search for a solution, wrote the fix myself. So, I decided to share.<p>FYI:<p>* Adds the new function 'calendar-set-num-months' to the built-in emacs calendar, which changes the number of months displayed in the calendar<p>* Number of months defaults to 3 (as per original calendar) but can be set to e.g. 6 or 12 months using 'calendar-set-num-months'.<p>* Alternatively, you can change the default number of months by editing the value of 'calendar-num-months' in this file.