help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Questions to Mutt-mode


From: Sven Bretfeld
Subject: Questions to Mutt-mode
Date: Mon, 23 Jul 2007 11:54:23 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

Dear Emacsers

I use Mutt as mailclient and Emacs as its editor. To my regret, the
Emacs-Wiki isn't very illuminating how to use the Mutt-mode. So some
problems are still not solved for me since I'm not a skilled Lisp
professional:

- How can I achieve that the new frame, which is started when Mutt
  hands over a new mail to emacsserver, is automatically focussed? By
  now, I have to do an additional Alt-TAB to write my mail.

- The new frame as well as the font are too small. I would like to
  have the frame fill my complete screen. My default font size is set
  to heigt 200. But the new frame of emacsclient uses a much
  smaller font.

- How can I place the point automatically beneath the headers of the
  new mail instead of the top of the buffer?

I'm using Emacs 22.1.50.1 modified by Debian (Debian Emacs-snapshot)
on Debian Etch.

Here is the relevant part of my .emacs. Maybe the way I'm starting the
mutt-mode is not correct either, but it works.

;; .emacs

;; Start emacsclient in its own frame------------------------------
  (add-hook 'server-switch-hook
              (lambda nil
                (let ((server-buf (current-buffer)))
                  (bury-buffer)
                  (switch-to-buffer-other-frame server-buf))))

 (add-hook 'server-done-hook 'delete-frame)
 (add-hook 'server-done-hook (lambda nil (kill-buffer nil)))

;; When in Terminal------------------------------------------------
(when (not window-system)
  (set-keyboard-coding-system locale-coding-system)
  (set-terminal-coding-system locale-coding-system)
  (color-theme-emacs-nw)
)

;; mutt-mode-------------------------------------------------------
(setq load-path (cons "~/elisp/mutt" load-path))
(require 'mutt)
(add-to-list 'auto-mode-alist '("mutt-kamaloka.dhatu" . mutt-mode))
(push '(".*/tmp/mutt.*\\'" . mutt-mode) auto-mode-alist)

;; start server----------------------------------------------------
(server-start)

Thanks for help,

Sven




reply via email to

[Prev in Thread] Current Thread [Next in Thread]