all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Questions to Mutt-mode
@ 2007-07-23  9:54 Sven Bretfeld
  2007-07-23 12:42 ` Sven Bretfeld
  2007-07-23 13:48 ` Sven Bretfeld
  0 siblings, 2 replies; 6+ messages in thread
From: Sven Bretfeld @ 2007-07-23  9:54 UTC (permalink / raw)
  To: help-gnu-emacs

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-07-27 23:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-23  9:54 Questions to Mutt-mode Sven Bretfeld
2007-07-23 12:42 ` Sven Bretfeld
2007-07-23 13:48 ` Sven Bretfeld
2007-07-23 14:30   ` Peter Dyballa
2007-07-23 14:45     ` Sven Bretfeld
2007-07-27 23:22       ` Chmouel Boudjnah

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.