在摘要模式中,当我按R为gnus的-汇总答复与 - 原始或F为gnus的-汇总随访与 - 原,我的签名被插入在原始消息文本的下方。

我怎么能告诉角马在邮件的最顶端插入我的签名,原来的引用文字的前面?

有帮助吗?

解决方案

看起来好像这不是内置到Gnus的(如v5.10.8)的选项,所以你必须重新定义一个内置的,像这样的功能:

(eval-after-load "gnus-msg"
  (defun gnus-inews-yank-articles (articles)
    (let (beg article yank-string)
      (goto-char (point-max))           ; put articles after signature
      (insert "\n")                     ; and one extra newline
                                        ; was this (message-goto-body)
      (while (setq article (pop articles))
        (when (listp article)
          (setq yank-string (nth 1 article)
                article (nth 0 article)))
        (save-window-excursion
          (set-buffer gnus-summary-buffer)
          (gnus-summary-select-article nil nil nil article)
          (gnus-summary-remove-process-mark article))
        (gnus-copy-article-buffer nil yank-string)
        (let ((message-reply-buffer gnus-article-copy)
              (message-reply-headers
               ;; The headers are decoded.
               (with-current-buffer gnus-article-copy
                 (save-restriction
                   (nnheader-narrow-to-headers)
                   (nnheader-parse-naked-head)))))
          (message-yank-original)
          (setq beg (or beg (mark t))))
        (when articles
          (insert "\n")))
      (push-mark)
      (goto-char beg))))

我包裹'gnus-inews-yank-articles的新定义在eval-after-load形式,使得它得到在适当的时间来定义。很显然,如果你想允许定制,创建一个变量,并编写相应的if语句。

其他提示

Gnus的(和GNU Emacs的)的开发版本可以设置可变message-cite-reply-position为`“上方

我想你已经知道所有关于豆腐和为什么不呢,所以我不会乱说关于这一点。

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top