* Mail avec emacs24
@ 2015-04-29 22:48 Rossi Xavier
2015-04-30 3:52 ` Pierre Lorenzon
2015-04-30 15:38 ` Jorge A. Alfaro-Murillo
0 siblings, 2 replies; 7+ messages in thread
From: Rossi Xavier @ 2015-04-29 22:48 UTC (permalink / raw)
To: help-gnu-emacs
Bonjour,
Je suis un peu novice avec emacs24.
J'aimerais cependant l'utiliser comme client mail.
Compte pop3 et smtp.
Si vous avez des astuces et conseil, merci d'avance.
--
Rossi Xavier
xavrossi@voo.be
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Mail avec emacs24
2015-04-29 22:48 Mail avec emacs24 Rossi Xavier
@ 2015-04-30 3:52 ` Pierre Lorenzon
2015-04-30 5:43 ` Glyn Millington
[not found] ` <mailman.1983.1430374054.904.help-gnu-emacs@gnu.org>
2015-04-30 15:38 ` Jorge A. Alfaro-Murillo
1 sibling, 2 replies; 7+ messages in thread
From: Pierre Lorenzon @ 2015-04-30 3:52 UTC (permalink / raw)
To: xavrossi; +Cc: help-gnu-emacs
From: Rossi Xavier <xavrossi@voo.be>
Subject: Mail avec emacs24
Date: Thu, 30 Apr 2015 00:48:36 +0200
> Bonjour,
>
> Je suis un peu novice avec emacs24.
> J'aimerais cependant l'utiliser comme client mail.
>
> Compte pop3 et smtp.
>
> Si vous avez des astuces et conseil, merci d'avance.
mew : http://www.mew.org
Pierr
>
> --
> Rossi Xavier
> xavrossi@voo.be
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Mail avec emacs24
2015-04-30 3:52 ` Pierre Lorenzon
@ 2015-04-30 5:43 ` Glyn Millington
2015-04-30 15:54 ` Hubert Chathi
[not found] ` <mailman.1983.1430374054.904.help-gnu-emacs@gnu.org>
1 sibling, 1 reply; 7+ messages in thread
From: Glyn Millington @ 2015-04-30 5:43 UTC (permalink / raw)
To: help-gnu-emacs
Pierre Lorenzon <devel@pollock-nageoire.net> writes:
> From: Rossi Xavier <xavrossi@voo.be>
> Subject: Mail avec emacs24
> Date: Thu, 30 Apr 2015 00:48:36 +0200
>
>> Bonjour,
>>
>> Je suis un peu novice avec emacs24.
>> J'aimerais cependant l'utiliser comme client mail.
>>
>> Compte pop3 et smtp.
>>
>> Si vous avez des astuces et conseil, merci d'avance.
http://www.emacswiki.org/emacs/CategoryMail
The packages that come with Emacs are:
Rmail – GNU Emacs default mail reader
Gnus – the news and mail reader with likely the largest user base
MH-E – interface to the MH mail system
Some other packages that are distributed separately are also commonly used:
WanderLust – very good IMAP4 and Offline support
Mew – good IMAP4 support
VM – offers virtual folders and good documentation
NotMuch – an email indexing/search tool with an emacs mail client
mu4e – new email client based on the mu e-mail indexer
I use Gnus and Notmuch
atb
Glyn
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Mail avec emacs24
[not found] ` <mailman.1983.1430374054.904.help-gnu-emacs@gnu.org>
@ 2015-04-30 14:59 ` Rusi
0 siblings, 0 replies; 7+ messages in thread
From: Rusi @ 2015-04-30 14:59 UTC (permalink / raw)
To: help-gnu-emacs
On Thursday, April 30, 2015 at 11:37:37 AM UTC+5:30, Glyn Millington wrote:
> Pierre Lorenzon writes:
>
> > From: Rossi Xavier
> > Subject: Mail avec emacs24
> > Date: Thu, 30 Apr 2015 00:48:36 +0200
> >
> >> Bonjour,
> >>
> >> Je suis un peu novice avec emacs24.
> >> J'aimerais cependant l'utiliser comme client mail.
> >>
> >> Compte pop3 et smtp.
> >>
> >> Si vous avez des astuces et conseil, merci d'avance.
>
> http://www.emacswiki.org/emacs/CategoryMail
>
> The packages that come with Emacs are:
>
> Rmail - GNU Emacs default mail reader
> Gnus - the news and mail reader with likely the largest user base
> MH-E - interface to the MH mail system
>
> Some other packages that are distributed separately are also commonly used:
>
> WanderLust - very good IMAP4 and Offline support
> Mew - good IMAP4 support
> VM - offers virtual folders and good documentation
> NotMuch - an email indexing/search tool with an emacs mail client
> mu4e - new email client based on the mu e-mail indexer
>
>
> I use Gnus and Notmuch
For some reason Alan Perlis' quote comes to mind:
"If you have a function with 10 parameters you probably missed some"
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Mail avec emacs24
2015-04-29 22:48 Mail avec emacs24 Rossi Xavier
2015-04-30 3:52 ` Pierre Lorenzon
@ 2015-04-30 15:38 ` Jorge A. Alfaro-Murillo
1 sibling, 0 replies; 7+ messages in thread
From: Jorge A. Alfaro-Murillo @ 2015-04-30 15:38 UTC (permalink / raw)
To: help-gnu-emacs
Rossi Xavier writes:
> Je suis un peu novice avec emacs24. J'aimerais cependant
> l'utiliser comme client mail.
>
> Compte pop3 et smtp.
>
> Si vous avez des astuces et conseil, merci d'avance.
Gnus. Gnus is to mail and news readers what emacs is to text
editors.
To give you an example, to use gmail with IMAP as an example, you
just have to add this to your .emacs:
#+BEGIN_SRC emacs-lisp
(setq gnus-select-method
'(nnimap "gmail" (nnimap-address "imap.gmail.com"))
#+END_SRC
And you are good to go, just do M-x gnus.
To not be asked for your username and password, create a file
~/.authinfo.gpg with the contents:
#+BEGIN_EXAMPLE
machine imap.gmail.com login your_username password
your_password port 993
machine smtp.gmail.com login your_username password
your_password port 587
#+END_EXAMPLE
Save it, emacs will encrypt it, ask you for a new password, and
from then on, gnus will only ask you the new password once per
session.
To understand how gnus deals with mail, copy this in your scratch
buffer
#+BEGIN_EXAMPLE
(info "(gnus) Mail in a Newsreader")
#+END_EXAMPLE
Go to the end of the line and hit C-j
This covers the basics:
http://koldfront.dk/text/gnus-email-basic-usage.html
Best,
--
Jorge.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Mail avec emacs24
2015-04-30 5:43 ` Glyn Millington
@ 2015-04-30 15:54 ` Hubert Chathi
2015-04-30 19:17 ` Glyn Millington
0 siblings, 1 reply; 7+ messages in thread
From: Hubert Chathi @ 2015-04-30 15:54 UTC (permalink / raw)
To: help-gnu-emacs
On Thu, 30 Apr 2015 06:43:54 +0100, Glyn Millington <glyn.millington@gmail.com> said:
[...]
> I use Gnus and Notmuch
Do you mean you use Gnus and Notmuch separately, or you use Gnus to
access Notmuch? If it's the latter, can you give some information about
how you have that set up? I'd be interested in looking into a setup
like that.
--
Hubert Chathi - Email/Jabber: hubert@uhoreg.ca - http://www.uhoreg.ca/
PGP/GnuPG key: 4096R/113A1368 (Key available at pool.sks-keyservers.net)
Fingerprint: F24C F749 6C73 DDB8 DCB8 72DE B2DE 88D3 113A 1368
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Mail avec emacs24
2015-04-30 15:54 ` Hubert Chathi
@ 2015-04-30 19:17 ` Glyn Millington
0 siblings, 0 replies; 7+ messages in thread
From: Glyn Millington @ 2015-04-30 19:17 UTC (permalink / raw)
To: help-gnu-emacs
Hubert Chathi <hubert@uhoreg.ca> writes:
> On Thu, 30 Apr 2015 06:43:54 +0100, Glyn Millington <glyn.millington@gmail.com> said:
>
> [...]
>
>> I use Gnus and Notmuch
>
> Do you mean you use Gnus and Notmuch separately, or you use Gnus to
> access Notmuch? If it's the latter, can you give some information about
> how you have that set up? I'd be interested in looking into a setup
> like that.
Hi Hubert,
Normally the latter. I did it something like this.
1. Install notmuch!
2. Run it from the command line, and it will take you through various
configuration options.
3. Set up your init.el to run the emacs notmuch mode (which comes with notmuch)
The code I use is below - mostly pinched from Bastien's init file!
http://bzg.fr/emacs.html. I use John Wiegley's wonderful
use-package.el, but you can extract the useful stuff easily enough.
Hope this helps
Glyn
8<------8<------8<------8<------8<------8<------8<------8<------8<------
;;;; NOTMUCH
(use-package notmuch
:defer 3
:config
(progn
;;;; add here stuff required to be configured *before*
;;; notmuch is loaded;
;; address completeion - not needed as we use bbdb
;; (require 'notmuch-address)
;; (setq notmuch-address-command "/usr/local/bin/notmuch-addrlookup")
;; (notmuch-address-message-insinuate)
(setq notmuch-wash-wrap-lines-length 73)
;; set up some useful bindings
(defun gm-notmuch-shortcut ()
(define-key gnus-group-mode-map (kbd "<f7>") 'notmuch-search))
(defun gm-notmuch-new-shortcut ()
(define-key gnus-group-mode-map (kbd "<f6>") (shell-command "notmuch new > /dev/null 2>&1")))
;; hook 'em into gnus-group-mode
(add-hook 'gnus-group-mode-hook 'gm-notmuch-shortcut)
(add-hook 'gnus-group-mode-hook 'gm-notmuch-new-shortcut)
;; getting back into Gnus from notmuch!
(defun gm-notmuch-file-to-group (file)
"Calculate the Gnus group name from the given file name."
(let* ((g0 (directory-file-name (file-name-directory file)))
(g1 (replace-regexp-in-string "/home/glyn/Mail/" "" g0)))
(concat "nnml:" (replace-regexp-in-string "/" "." g1))))
(defun gm-notmuch-goto-message-in-gnus ()
"Open a summary buffer containing the current notmuch
article."
(interactive)
(let ((group (gm-notmuch-file-to-group (notmuch-show-get-filename)))
(message-id (replace-regexp-in-string
"^id:" "" (notmuch-show-get-message-id))))
(setq message-id (replace-regexp-in-string "\"" "" message-id))
(if (and group message-id)
(progn
(switch-to-buffer "*Group*")
(org-gnus-follow-link group message-id))
(message "Couldn't get relevant infos for switching to
Gnus."))))
(define-key notmuch-show-mode-map (kbd "C-c C-c")
'gm-notmuch-goto-message-in-gnus)
(define-key notmuch-search-mode-map "S"
(lambda ()
"mark message as deleted"
(interactive)
(notmuch-search-tag (list "+deleted" "-inbox" "-new")))))
:bind ("<f8>" . notmuch))
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-04-30 19:17 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-29 22:48 Mail avec emacs24 Rossi Xavier
2015-04-30 3:52 ` Pierre Lorenzon
2015-04-30 5:43 ` Glyn Millington
2015-04-30 15:54 ` Hubert Chathi
2015-04-30 19:17 ` Glyn Millington
[not found] ` <mailman.1983.1430374054.904.help-gnu-emacs@gnu.org>
2015-04-30 14:59 ` Rusi
2015-04-30 15:38 ` Jorge A. Alfaro-Murillo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).