6
|
Laurynas Biveinis · 技术社区 · 15 年前 |
![]() |
1
2
我不知道有什么函数可以做到这一点,但它应该很容易实现。基本上,你想
"Find change log file, and add an entry for today and an item for this file. Optional arg WHOAMI (interactive prefix) non-nil means prompt for user name and email (stored in `add-log-full-name' and `add-log-mailing-address'). Second arg FILE-NAME is file name of the change log. If nil, use the value of `change-log-default-name'. Third arg OTHER-WINDOW non-nil means visit in other window. Fourth arg NEW-ENTRY non-nil means always create a new entry at the front; never append to an existing entry. Option `add-log-keep-changes-together' otherwise affects whether a new entry is created. Option `add-log-always-start-new-record' non-nil means always create a new record, even when the last record was made on the same date and by the same person. The change log file can start with a copyright notice and a copying permission notice. The first blank line indicates the end of these notices. Today's date is calculated according to `add-log-time-zone-rule' if non-nil, otherwise in local time." 所以魔法密码看起来像
和
|
![]() |
2
3
有一个函数
|
![]() |
3
3
不幸的是,对于新的文件,比如说,它不能很好地工作:它甚至没有在骨架变更日志条目中包含此类文件的文件名。 您可能会对gcc的mklog脚本有更好的运气,您可以从中获得 http://gcc.gnu.org/viewcvs/gcc/trunk/contrib/mklog . |
![]() |
4
2
我写了一个函数来做一些类似于你所说的事情。你可以在 http://www.emacswiki.org/emacs/log-edit-fill |
![]() |
ptb · Slime\Emacs comint在启动mpi进程时挂起 6 年前 |
![]() |
Hatshepsut · 使用命令行参数使用region调用子流程 6 年前 |
![]() |
Meitham · spacemacs恢复文件筛选器 6 年前 |
![]() |
Chen Li · 与emacs相比,EmacClient有哪些缺点? 6 年前 |
![]() |
Itsbananas · 汇编代码的自定义缩进函数 7 年前 |