문제

요약 모드에서 GNUS-SUMMARY-REPLY-With-Original 또는 F에 대해 R을 누르면 GNUS-SUMMARY-FOLLOUPUP-ORIGINAL의 경우 내 서명이 원래 메시지 텍스트 아래에 삽입됩니다.

원본의 인용 된 텍스트 전에 메시지의 맨 위에 서명을 삽입하도록 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 문을 작성하십시오.

다른 팁

~ 안에 GNU의 개발 버전 (및 gnu emacs) 변수를 설정할 수 있습니다. message-cite-reply-position `위 '까지.

나는 당신이 이미 모든 것을 알고 있다고 생각합니다 두부 그리고 왜 그렇지 않으므로, 나는 그것에 대해 멍청하지 않을 것입니다.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top